@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
package/dist/index.d.ts CHANGED
@@ -1,18 +1,942 @@
1
- export * from "./packages/affix";
2
- export * from "./packages/alert";
3
- export * from "./packages/attention";
4
- export * from "./packages/badge";
5
- export * from "./packages/box";
6
- export * from "./packages/breadcrumbs";
7
- export * from "./packages/button";
8
- export * from "./packages/card";
9
- export * from "./packages/expandable";
10
- export * from "./packages/modal";
11
- export * from "./packages/pill";
12
- export * from "./packages/select";
13
- export * from "./packages/textfield";
14
- export * from "./packages/toast/api";
15
- export * from "./packages/toast/toast-container";
16
- export * from "./packages/toast/toast";
17
- export * from "./packages/utils/expand-transition";
18
- export * from "./packages/utils/unstyled-heading";
1
+
2
+ import type { ccSuffix, ccPrefix, WarpAffix } from "./packages/affix/index.ts";
3
+ import type { WarpAlert } from "./packages/alert/index.ts";
4
+ import type { ccButton, WarpButton } from "./packages/button/index.ts";
5
+ import type { ccAttention, WarpAttention } from "./packages/attention/index.ts";
6
+ import type { WarpBadge } from "./packages/badge/index.ts";
7
+ import type { WarpBox } from "./packages/box/index.ts";
8
+ import type { ccBreadcrumbs, WarpBreadcrumbs } from "./packages/breadcrumbs/index.ts";
9
+ import type { ccCard, WarpCard } from "./packages/card/index.ts";
10
+ import type { ccBox, ccExpandable, WarpExpandable } from "./packages/expandable/index.ts";
11
+ import type { pillStyles, WarpPill } from "./packages/pill/index.ts";
12
+ import type { ccSelect, ccLabel, ccHelpText, WarpSelect } from "./packages/select/index.ts";
13
+ import type { ccinput, WarpTextField } from "./packages/textfield/index.ts";
14
+ import type { ModalFooter } from "./packages/modal/modal-footer.ts";
15
+ import type { ModalHeader } from "./packages/modal/modal-header.ts";
16
+ import type { ModalMain } from "./packages/modal/modal-main.ts";
17
+ import type { WarpToastContainer } from "./packages/toast/toast-container.ts";
18
+
19
+ /**
20
+ * This type can be used to create scoped tags for your components.
21
+ *
22
+ * Usage:
23
+ *
24
+ * ```ts
25
+ * import type { ScopedElements } from "path/to/library/jsx-integration";
26
+ *
27
+ * declare module "my-library" {
28
+ * namespace JSX {
29
+ * interface IntrinsicElements
30
+ * extends ScopedElements<'test-', ''> {}
31
+ * }
32
+ * }
33
+ * ```
34
+ *
35
+ * @deprecated Runtime scoped elements result in duplicate types and can confusing for developers. It is recommended to use the `prefix` and `suffix` options to generate new types instead.
36
+ */
37
+ export type ScopedElements<
38
+ Prefix extends string = "",
39
+ Suffix extends string = ""
40
+ > = {
41
+ [Key in keyof CustomElements as `${Prefix}${Key}${Suffix}`]: CustomElements[Key];
42
+ };
43
+
44
+ type BaseProps<T extends HTMLElement> = {
45
+
46
+ /** Content added between the opening and closing tags of the element */
47
+ children?: any;
48
+ /** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
49
+ class?: string;
50
+ /** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
51
+ className?: string;
52
+ /** Takes an object where the key is the class name(s) and the value is a boolean expression. When true, the class is applied, and when false, it is removed. */
53
+ classList?: Record<string, boolean | undefined>;
54
+ /** Specifies the text direction of the element. */
55
+ dir?: "ltr" | "rtl";
56
+ /** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
57
+ exportparts?: string;
58
+ /** For <label> and <output>, lets you associate the label with some control. */
59
+ htmlFor?: string;
60
+ /** Specifies whether the element should be hidden. */
61
+ hidden?: boolean | string;
62
+ /** A unique identifier for the element. */
63
+ id?: string;
64
+ /** Keys tell React which array item each component corresponds to */
65
+ key?: string | number;
66
+ /** Specifies the language of the element. */
67
+ lang?: string;
68
+ /** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
69
+ part?: string;
70
+ /** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
71
+ ref?: T | ((e: T) => void);
72
+ /** Adds a reference for a custom element slot */
73
+ slot?: string;
74
+ /** Prop for setting inline styles */
75
+ style?: Record<string, string | number>;
76
+ /** Overrides the default Tab button behavior. Avoid using values other than -1 and 0. */
77
+ tabIndex?: number;
78
+ /** Specifies the tooltip text for the element. */
79
+ title?: string;
80
+ /** Passing 'no' excludes the element content from being translated. */
81
+ translate?: "yes" | "no";
82
+ /** The popover global attribute is used to designate an element as a popover element. */
83
+ popover?: "auto" | "hint" | "manual";
84
+ /** Turns an element element into a popover control button; takes the ID of the popover element to control as its value. */
85
+ popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
86
+ /** Specifies the action to be performed on a popover element being controlled by a control element. */
87
+ popovertargetaction?: "show" | "hide" | "toggle";
88
+
89
+ } ;
90
+
91
+ type BaseEvents = {
92
+
93
+
94
+ };
95
+
96
+
97
+
98
+ export type WarpAffixProps = {
99
+ /** */
100
+ "aria-label"?: WarpAffix['ariaLabel'];
101
+ /** */
102
+ "ariaLabel"?: WarpAffix['ariaLabel'];
103
+ /** Add this property to render a clickable Warp close icon.
104
+
105
+ Set an `aria-label` that explains the action when using this. */
106
+ "clear"?: WarpAffix['clear'];
107
+ /** Add this property to render a clickable Warp search icon.
108
+
109
+ Set an `aria-label` that explains the action when using this. */
110
+ "search"?: WarpAffix['search'];
111
+ /** */
112
+ "label"?: WarpAffix['label'];
113
+
114
+
115
+ }
116
+
117
+
118
+ export type WarpAlertProps = {
119
+ /** */
120
+ "variant"?: WarpAlert['variant'];
121
+ /** */
122
+ "show"?: WarpAlert['show'];
123
+ /** */
124
+ "role"?: WarpAlert['role'];
125
+
126
+
127
+ }
128
+
129
+
130
+ export type WarpButtonProps = {
131
+ /** */
132
+ "type"?: WarpButton['type'];
133
+ /** */
134
+ "autofocus"?: WarpButton['autofocus'];
135
+ /** */
136
+ "variant"?: WarpButton['variant'];
137
+ /** */
138
+ "quiet"?: WarpButton['quiet'];
139
+ /** */
140
+ "small"?: WarpButton['small'];
141
+ /** */
142
+ "loading"?: WarpButton['loading'];
143
+ /** */
144
+ "href"?: WarpButton['href'];
145
+ /** */
146
+ "target"?: WarpButton['target'];
147
+ /** */
148
+ "rel"?: WarpButton['rel'];
149
+ /** */
150
+ "full-width"?: WarpButton['fullWidth'];
151
+ /** */
152
+ "fullWidth"?: WarpButton['fullWidth'];
153
+ /** */
154
+ "button-class"?: WarpButton['buttonClass'];
155
+ /** */
156
+ "buttonClass"?: WarpButton['buttonClass'];
157
+ /** */
158
+ "name"?: WarpButton['name'];
159
+ /** */
160
+ "value"?: WarpButton['value'];
161
+ /** */
162
+ "ariaValueTextLoading"?: WarpButton['ariaValueTextLoading'];
163
+
164
+
165
+ }
166
+
167
+
168
+ export type WarpAttentionProps = {
169
+ /** */
170
+ "show"?: WarpAttention['show'];
171
+ /** */
172
+ "placement"?: WarpAttention['placement'];
173
+ /** */
174
+ "tooltip"?: WarpAttention['tooltip'];
175
+ /** */
176
+ "callout"?: WarpAttention['callout'];
177
+ /** */
178
+ "popover"?: WarpAttention['popover'];
179
+ /** */
180
+ "highlight"?: WarpAttention['highlight'];
181
+ /** */
182
+ "can-close"?: WarpAttention['canClose'];
183
+ /** */
184
+ "canClose"?: WarpAttention['canClose'];
185
+ /** */
186
+ "no-arrow"?: WarpAttention['noArrow'];
187
+ /** */
188
+ "noArrow"?: WarpAttention['noArrow'];
189
+ /** */
190
+ "distance"?: WarpAttention['distance'];
191
+ /** */
192
+ "skidding"?: WarpAttention['skidding'];
193
+ /** */
194
+ "flip"?: WarpAttention['flip'];
195
+ /** */
196
+ "cross-axis"?: WarpAttention['crossAxis'];
197
+ /** */
198
+ "crossAxis"?: WarpAttention['crossAxis'];
199
+ /** */
200
+ "fallback-placements"?: WarpAttention['fallbackPlacements'];
201
+ /** */
202
+ "fallbackPlacements"?: WarpAttention['fallbackPlacements'];
203
+ /** */
204
+ "_initialPlacement"?: WarpAttention['_initialPlacement'];
205
+ /** */
206
+ "_actualDirection"?: WarpAttention['_actualDirection'];
207
+
208
+
209
+ }
210
+
211
+
212
+ export type WarpBadgeProps = {
213
+ /** */
214
+ "variant"?: WarpBadge['variant'];
215
+ /** */
216
+ "position"?: WarpBadge['position'];
217
+
218
+
219
+ }
220
+
221
+
222
+ export type WarpBoxProps = {
223
+ /** */
224
+ "bleed"?: WarpBox['bleed'];
225
+ /** */
226
+ "bordered"?: WarpBox['bordered'];
227
+ /** */
228
+ "info"?: WarpBox['info'];
229
+ /** */
230
+ "neutral"?: WarpBox['neutral'];
231
+ /** */
232
+ "role"?: WarpBox['role'];
233
+
234
+
235
+ }
236
+
237
+
238
+ export type WarpBreadcrumbsProps = {
239
+ /** */
240
+ "aria-label"?: WarpBreadcrumbs['ariaLabel'];
241
+ /** */
242
+ "ariaLabel"?: WarpBreadcrumbs['ariaLabel'];
243
+
244
+
245
+ }
246
+
247
+
248
+ export type WarpCardProps = {
249
+ /** */
250
+ "selected"?: WarpCard['selected'];
251
+ /** */
252
+ "flat"?: WarpCard['flat'];
253
+ /** */
254
+ "clickable"?: WarpCard['clickable'];
255
+ /** */
256
+ "buttonText"?: WarpCard['buttonText'];
257
+
258
+
259
+ }
260
+
261
+
262
+ export type WarpExpandableProps = {
263
+ /** */
264
+ "expanded"?: WarpExpandable['expanded'];
265
+ /** */
266
+ "title"?: WarpExpandable['title'];
267
+ /** */
268
+ "box"?: WarpExpandable['box'];
269
+ /** */
270
+ "bleed"?: WarpExpandable['bleed'];
271
+ /** */
272
+ "button-class"?: WarpExpandable['buttonClass'];
273
+ /** */
274
+ "buttonClass"?: WarpExpandable['buttonClass'];
275
+ /** */
276
+ "content-class"?: WarpExpandable['contentClass'];
277
+ /** */
278
+ "contentClass"?: WarpExpandable['contentClass'];
279
+ /** */
280
+ "no-chevron"?: WarpExpandable['noChevron'];
281
+ /** */
282
+ "noChevron"?: WarpExpandable['noChevron'];
283
+ /** */
284
+ "animated"?: WarpExpandable['animated'];
285
+ /** */
286
+ "heading-level"?: WarpExpandable['headingLevel'];
287
+ /** */
288
+ "headingLevel"?: WarpExpandable['headingLevel'];
289
+ /** */
290
+ "_hasTitle"?: WarpExpandable['_hasTitle'];
291
+ /** */
292
+ "_showChevronUp"?: WarpExpandable['_showChevronUp'];
293
+
294
+
295
+ }
296
+
297
+
298
+ export type WarpPillProps = {
299
+ /** */
300
+ "can-close"?: WarpPill['canClose'];
301
+ /** */
302
+ "canClose"?: WarpPill['canClose'];
303
+ /** */
304
+ "suggestion"?: WarpPill['suggestion'];
305
+ /** @deprecated Used "open-arial-label" instead. */
306
+ "open-sr-label"?: WarpPill['openSrLabel'];
307
+ /** @deprecated Used "open-arial-label" instead. */
308
+ "openSrLabel"?: WarpPill['openSrLabel'];
309
+ /** */
310
+ "open-aria-label"?: WarpPill['openAriaLabel'];
311
+ /** */
312
+ "openAriaLabel"?: WarpPill['openAriaLabel'];
313
+ /** @deprecated Used "close-arial-label" instead. */
314
+ "close-sr-label"?: WarpPill['closeSrLabel'];
315
+ /** @deprecated Used "close-arial-label" instead. */
316
+ "closeSrLabel"?: WarpPill['closeSrLabel'];
317
+ /** */
318
+ "close-aria-label"?: WarpPill['closeAriaLabel'];
319
+ /** */
320
+ "closeAriaLabel"?: WarpPill['closeAriaLabel'];
321
+ /** */
322
+ "openFilterSrText"?: WarpPill['openFilterSrText'];
323
+ /** */
324
+ "removeFilterSrText"?: WarpPill['removeFilterSrText'];
325
+
326
+ /** */
327
+ "onw-pill-click"?: (e: CustomEvent<CustomEvent>) => void;
328
+ /** */
329
+ "onw-pill-close"?: (e: CustomEvent<CustomEvent>) => void;
330
+ }
331
+
332
+
333
+ export type WarpSelectProps = {
334
+ /** Whether the element should receive focus on render */
335
+ "auto-focus"?: WarpSelect['autoFocus'];
336
+ /** Whether the element should receive focus on render */
337
+ "autoFocus"?: WarpSelect['autoFocus'];
338
+ /** Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error */
339
+ "invalid"?: WarpSelect['invalid'];
340
+ /** Whether to always show a hint */
341
+ "always"?: WarpSelect['always'];
342
+ /** The content displayed as the help text */
343
+ "hint"?: WarpSelect['hint'];
344
+ /** The content to disply as the label */
345
+ "label"?: WarpSelect['label'];
346
+ /** Whether to show optional text */
347
+ "optional"?: WarpSelect['optional'];
348
+ /** Renders the field in a disabled state. */
349
+ "disabled"?: WarpSelect['disabled'];
350
+ /** Renders the field in a readonly state. */
351
+ "read-only"?: WarpSelect['readOnly'];
352
+ /** Renders the field in a readonly state. */
353
+ "readOnly"?: WarpSelect['readOnly'];
354
+ /** */
355
+ "name"?: WarpSelect['name'];
356
+ /** */
357
+ "value"?: WarpSelect['value'];
358
+
359
+
360
+ }
361
+
362
+
363
+ export type WarpTextFieldProps = {
364
+ /** */
365
+ "disabled"?: WarpTextField['disabled'];
366
+ /** */
367
+ "invalid"?: WarpTextField['invalid'];
368
+ /** */
369
+ "id"?: WarpTextField['id'];
370
+ /** */
371
+ "label"?: WarpTextField['label'];
372
+ /** */
373
+ "help-text"?: WarpTextField['helpText'];
374
+ /** */
375
+ "helpText"?: WarpTextField['helpText'];
376
+ /** */
377
+ "size"?: WarpTextField['size'];
378
+ /** */
379
+ "max"?: WarpTextField['max'];
380
+ /** */
381
+ "min"?: WarpTextField['min'];
382
+ /** */
383
+ "min-length"?: WarpTextField['minLength'];
384
+ /** */
385
+ "minLength"?: WarpTextField['minLength'];
386
+ /** */
387
+ "max-length"?: WarpTextField['maxLength'];
388
+ /** */
389
+ "maxLength"?: WarpTextField['maxLength'];
390
+ /** */
391
+ "pattern"?: WarpTextField['pattern'];
392
+ /** */
393
+ "placeholder"?: WarpTextField['placeholder'];
394
+ /** */
395
+ "read-only"?: WarpTextField['readOnly'];
396
+ /** */
397
+ "readOnly"?: WarpTextField['readOnly'];
398
+ /** */
399
+ "required"?: WarpTextField['required'];
400
+ /** */
401
+ "type"?: WarpTextField['type'];
402
+ /** */
403
+ "value"?: WarpTextField['value'];
404
+ /** */
405
+ "name"?: WarpTextField['name'];
406
+ /** Function to format value when the input field.
407
+
408
+ Only active when the input field does not have focus,
409
+ similar to the accessible input masking example from Filament Group
410
+
411
+ https://css-tricks.com/input-masking/
412
+ https://filamentgroup.github.io/politespace/demo/demo.html */
413
+ "formatter"?: WarpTextField['formatter'];
414
+
415
+
416
+ }
417
+
418
+
419
+ export type ModalFooterProps = {
420
+
421
+
422
+ }
423
+
424
+
425
+ export type ModalHeaderProps = {
426
+ /** */
427
+ "title"?: ModalHeader['title'];
428
+ /** */
429
+ "back"?: ModalHeader['back'];
430
+ /** */
431
+ "no-close"?: ModalHeader['noClose'];
432
+ /** */
433
+ "noClose"?: ModalHeader['noClose'];
434
+ /** */
435
+ "titleEl"?: ModalHeader['titleEl'];
436
+
437
+ /** */
438
+ "onbackClicked"?: (e: CustomEvent<CustomEvent>) => void;
439
+ }
440
+
441
+
442
+ export type ModalMainProps = {
443
+ /** */
444
+ "show"?: ModalMain['show'];
445
+ /** */
446
+ "content-id"?: ModalMain['contentId'];
447
+ /** */
448
+ "contentId"?: ModalMain['contentId'];
449
+ /** */
450
+ "ignore-backdrop-clicks"?: ModalMain['ignoreBackdropClicks'];
451
+ /** */
452
+ "ignoreBackdropClicks"?: ModalMain['ignoreBackdropClicks'];
453
+ /** */
454
+ "dialogEl"?: ModalMain['dialogEl'];
455
+ /** */
456
+ "dialogInnerEl"?: ModalMain['dialogInnerEl'];
457
+ /** */
458
+ "contentEl"?: ModalMain['contentEl'];
459
+
460
+ /** */
461
+ "onshown"?: (e: CustomEvent<CustomEvent>) => void;
462
+ /** */
463
+ "onhidden"?: (e: CustomEvent<CustomEvent>) => void;
464
+ }
465
+
466
+
467
+ export type WarpToastContainerProps = {
468
+
469
+
470
+ }
471
+
472
+ export type CustomElements = {
473
+
474
+
475
+ /**
476
+ * This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.
477
+ *
478
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)
479
+ *
480
+ * ## Attributes & Properties
481
+ *
482
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
483
+ *
484
+ * - `aria-label`/`ariaLabel`: undefined
485
+ * - `clear`: Add this property to render a clickable Warp close icon.
486
+ *
487
+ * Set an `aria-label` that explains the action when using this.
488
+ * - `search`: Add this property to render a clickable Warp search icon.
489
+ *
490
+ * Set an `aria-label` that explains the action when using this.
491
+ * - `label`: undefined
492
+ */
493
+ "w-affix": Partial<WarpAffixProps & BaseProps<WarpAffix> & BaseEvents>;
494
+
495
+
496
+ /**
497
+ * Alert is an inline component used for displaying different types of messages.
498
+ *
499
+ * For accessibility reasons, alert should appear close to the element that triggered it.
500
+ *
501
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)
502
+ *
503
+ * ## Attributes & Properties
504
+ *
505
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
506
+ *
507
+ * - `variant`: undefined
508
+ * - `show`: undefined
509
+ * - `role`: undefined
510
+ */
511
+ "w-alert": Partial<WarpAlertProps & BaseProps<WarpAlert> & BaseEvents>;
512
+
513
+
514
+ /**
515
+ * Buttons are used to perform actions, widh different visuals for different needs.
516
+ *
517
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)
518
+ *
519
+ * ## Attributes & Properties
520
+ *
521
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
522
+ *
523
+ * - `type`: undefined
524
+ * - `autofocus`: undefined
525
+ * - `variant`: undefined
526
+ * - `quiet`: undefined
527
+ * - `small`: undefined
528
+ * - `loading`: undefined
529
+ * - `href`: undefined
530
+ * - `target`: undefined
531
+ * - `rel`: undefined
532
+ * - `full-width`/`fullWidth`: undefined
533
+ * - `button-class`/`buttonClass`: undefined
534
+ * - `name`: undefined
535
+ * - `value`: undefined
536
+ * - `ariaValueTextLoading`: undefined (property only)
537
+ */
538
+ "w-button": Partial<WarpButtonProps & BaseProps<WarpButton> & BaseEvents>;
539
+
540
+
541
+ /**
542
+ *
543
+ *
544
+ * ## Attributes & Properties
545
+ *
546
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
547
+ *
548
+ * - `show`: undefined
549
+ * - `placement`: undefined
550
+ * - `tooltip`: undefined
551
+ * - `callout`: undefined
552
+ * - `popover`: undefined
553
+ * - `highlight`: undefined
554
+ * - `can-close`/`canClose`: undefined
555
+ * - `no-arrow`/`noArrow`: undefined
556
+ * - `distance`: undefined
557
+ * - `skidding`: undefined
558
+ * - `flip`: undefined
559
+ * - `cross-axis`/`crossAxis`: undefined
560
+ * - `fallback-placements`/`fallbackPlacements`: undefined
561
+ * - `_initialPlacement`: undefined (property only)
562
+ * - `_actualDirection`: undefined (property only)
563
+ *
564
+ * ## Methods
565
+ *
566
+ * Methods that can be called to access component functionality.
567
+ *
568
+ * - `handleDone() => void`: undefined
569
+ * - `pointingAtDirection() => void`: undefined
570
+ * - `activeAttentionType() => void`: undefined
571
+ * - `defaultAriaLabel() => void`: undefined
572
+ * - `setAriaLabels() => void`: undefined
573
+ * - `close() => void`: undefined
574
+ * - `keypressed(e: KeyboardEvent) => void`: undefined
575
+ */
576
+ "w-attention": Partial<WarpAttentionProps & BaseProps<WarpAttention> & BaseEvents>;
577
+
578
+
579
+ /**
580
+ * `w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.
581
+ *
582
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)
583
+ *
584
+ * ## Attributes & Properties
585
+ *
586
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
587
+ *
588
+ * - `variant`: undefined
589
+ * - `position`: undefined
590
+ */
591
+ "w-badge": Partial<WarpBadgeProps & BaseProps<WarpBadge> & BaseEvents>;
592
+
593
+
594
+ /**
595
+ * Box is a layout component used for separating content areas on a page.
596
+ *
597
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)
598
+ *
599
+ * ## Attributes & Properties
600
+ *
601
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
602
+ *
603
+ * - `bleed`: undefined
604
+ * - `bordered`: undefined
605
+ * - `info`: undefined
606
+ * - `neutral`: undefined
607
+ * - `role`: undefined
608
+ */
609
+ "w-box": Partial<WarpBoxProps & BaseProps<WarpBox> & BaseEvents>;
610
+
611
+
612
+ /**
613
+ * Breadcrumbs show the navigation structure for the current location.
614
+ *
615
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)
616
+ *
617
+ * ## Attributes & Properties
618
+ *
619
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
620
+ *
621
+ * - `aria-label`/`ariaLabel`: undefined
622
+ */
623
+ "w-breadcrumbs": Partial<WarpBreadcrumbsProps & BaseProps<WarpBreadcrumbs> & BaseEvents>;
624
+
625
+
626
+ /**
627
+ * Card is a layout component used for separating content areas on a page.
628
+ *
629
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)
630
+ *
631
+ * ## Attributes & Properties
632
+ *
633
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
634
+ *
635
+ * - `selected`: undefined
636
+ * - `flat`: undefined
637
+ * - `clickable`: undefined
638
+ * - `buttonText`: undefined (property only)
639
+ *
640
+ * ## Methods
641
+ *
642
+ * Methods that can be called to access component functionality.
643
+ *
644
+ * - `keypressed(e: KeyboardEvent) => void`: undefined
645
+ */
646
+ "w-card": Partial<WarpCardProps & BaseProps<WarpCard> & BaseEvents>;
647
+
648
+
649
+ /**
650
+ * Expandable is a layout component used for creating expandable content areas on a page.
651
+ *
652
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)
653
+ *
654
+ * ## Attributes & Properties
655
+ *
656
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
657
+ *
658
+ * - `expanded`: undefined
659
+ * - `title`: undefined
660
+ * - `box`: undefined
661
+ * - `bleed`: undefined
662
+ * - `button-class`/`buttonClass`: undefined
663
+ * - `content-class`/`contentClass`: undefined
664
+ * - `no-chevron`/`noChevron`: undefined
665
+ * - `animated`: undefined
666
+ * - `heading-level`/`headingLevel`: undefined
667
+ * - `_hasTitle`: undefined
668
+ * - `_showChevronUp`: undefined
669
+ *
670
+ * ## Slots
671
+ *
672
+ * Areas where markup can be added to the component.
673
+ *
674
+ * - `title`: Alternative to the `title` attribute should you need to provide some additional markup.
675
+ */
676
+ "w-expandable": Partial<WarpExpandableProps & BaseProps<WarpExpandable> & BaseEvents>;
677
+
678
+
679
+ /**
680
+ * 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.
681
+ *
682
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)
683
+ *
684
+ * ## Attributes & Properties
685
+ *
686
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
687
+ *
688
+ * - `can-close`/`canClose`: undefined
689
+ * - `suggestion`: undefined
690
+ * - `open-sr-label`/`openSrLabel`: undefined
691
+ * - `open-aria-label`/`openAriaLabel`: undefined
692
+ * - `close-sr-label`/`closeSrLabel`: undefined
693
+ * - `close-aria-label`/`closeAriaLabel`: undefined
694
+ * - `openFilterSrText`: undefined (property only)
695
+ * - `removeFilterSrText`: undefined (property only)
696
+ *
697
+ * ## Events
698
+ *
699
+ * Events that will be emitted by the component.
700
+ *
701
+ * - `w-pill-click`: undefined
702
+ * - `w-pill-close`: undefined
703
+ */
704
+ "w-pill": Partial<WarpPillProps & BaseProps<WarpPill> & BaseEvents>;
705
+
706
+
707
+ /**
708
+ * A dropdown component for selecting a single value.
709
+ *
710
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)
711
+ *
712
+ * ## Attributes & Properties
713
+ *
714
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
715
+ *
716
+ * - `auto-focus`/`autoFocus`: Whether the element should receive focus on render
717
+ * - `invalid`: Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error
718
+ * - `always`: Whether to always show a hint
719
+ * - `hint`: The content displayed as the help text
720
+ * - `label`: The content to disply as the label
721
+ * - `optional`: Whether to show optional text
722
+ * - `disabled`: Renders the field in a disabled state.
723
+ * - `read-only`/`readOnly`: Renders the field in a readonly state.
724
+ * - `name`: undefined
725
+ * - `value`: undefined
726
+ *
727
+ * ## Methods
728
+ *
729
+ * Methods that can be called to access component functionality.
730
+ *
731
+ * - `handleKeyDown(event: KeyboardEvent) => void`: undefined
732
+ * - `onChange({ target }) => void`: undefined
733
+ */
734
+ "w-select": Partial<WarpSelectProps & BaseProps<WarpSelect> & BaseEvents>;
735
+
736
+
737
+ /**
738
+ * A single line text input element.
739
+ *
740
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
741
+ *
742
+ * ## Attributes & Properties
743
+ *
744
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
745
+ *
746
+ * - `disabled`: undefined
747
+ * - `invalid`: undefined
748
+ * - `id`: undefined
749
+ * - `label`: undefined
750
+ * - `help-text`/`helpText`: undefined
751
+ * - `size`: undefined
752
+ * - `max`: undefined
753
+ * - `min`: undefined
754
+ * - `min-length`/`minLength`: undefined
755
+ * - `max-length`/`maxLength`: undefined
756
+ * - `pattern`: undefined
757
+ * - `placeholder`: undefined
758
+ * - `read-only`/`readOnly`: undefined
759
+ * - `required`: undefined
760
+ * - `type`: undefined
761
+ * - `value`: undefined
762
+ * - `name`: undefined
763
+ * - `formatter`: Function to format value when the input field.
764
+ *
765
+ * Only active when the input field does not have focus,
766
+ * similar to the accessible input masking example from Filament Group
767
+ *
768
+ * https://css-tricks.com/input-masking/
769
+ * https://filamentgroup.github.io/politespace/demo/demo.html (property only)
770
+ *
771
+ * ## Methods
772
+ *
773
+ * Methods that can be called to access component functionality.
774
+ *
775
+ * - `handler(e: Event) => void`: undefined
776
+ * - `prefixSlotChange() => void`: undefined
777
+ * - `suffixSlotChange() => void`: undefined
778
+ */
779
+ "w-textfield": Partial<WarpTextFieldProps & BaseProps<WarpTextField> & BaseEvents>;
780
+
781
+
782
+ /**
783
+ * The footer section of a modal, typically where you place actions.
784
+ *
785
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
786
+ */
787
+ "w-modal-footer": Partial<ModalFooterProps & BaseProps<ModalFooter> & BaseEvents>;
788
+
789
+
790
+ /**
791
+ * The header section of a modal, typically where you place the title and a close button.
792
+ *
793
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
794
+ *
795
+ * ## Attributes & Properties
796
+ *
797
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
798
+ *
799
+ * - `title`: undefined
800
+ * - `back`: undefined
801
+ * - `no-close`/`noClose`: undefined
802
+ * - `titleEl`: undefined (property only)
803
+ * - `titleClasses`: undefined (property only) (readonly)
804
+ * - `backButton`: undefined (property only) (readonly)
805
+ * - `closeButton`: undefined (property only) (readonly)
806
+ *
807
+ * ## Events
808
+ *
809
+ * Events that will be emitted by the component.
810
+ *
811
+ * - `backClicked`: undefined
812
+ *
813
+ * ## Slots
814
+ *
815
+ * Areas where markup can be added to the component.
816
+ *
817
+ * - `top`: 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.
818
+ *
819
+ * ## Methods
820
+ *
821
+ * Methods that can be called to access component functionality.
822
+ *
823
+ * - `emitBack() => void`: undefined
824
+ * - `handleTopSlotChange(slotEvent) => void`: undefined
825
+ */
826
+ "w-modal-header": Partial<ModalHeaderProps & BaseProps<ModalHeader> & BaseEvents>;
827
+
828
+
829
+ /**
830
+ * Modals (or dialogs) display important information that users need to acknowledge.
831
+ *
832
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
833
+ *
834
+ * ## Attributes & Properties
835
+ *
836
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
837
+ *
838
+ * - `show`: undefined
839
+ * - `content-id`/`contentId`: undefined
840
+ * - `ignore-backdrop-clicks`/`ignoreBackdropClicks`: undefined
841
+ * - `dialogEl`: undefined (property only)
842
+ * - `dialogInnerEl`: undefined (property only)
843
+ * - `contentEl`: undefined (property only)
844
+ *
845
+ * ## Events
846
+ *
847
+ * Events that will be emitted by the component.
848
+ *
849
+ * - `shown`: undefined
850
+ * - `hidden`: undefined
851
+ *
852
+ * ## Slots
853
+ *
854
+ * Areas where markup can be added to the component.
855
+ *
856
+ * - `header`: Typically where you would use the `w-modal-header` component.
857
+ * - `content`: The main content of the modal.
858
+ * - `footer`: Typically where you would use the `w-modal-footer` component, for things like actions.
859
+ *
860
+ * ## Methods
861
+ *
862
+ * Methods that can be called to access component functionality.
863
+ *
864
+ * - `open() => void`: undefined
865
+ * - `close() => void`: undefined
866
+ * - `handleListeners(verb = 'addEventListener') => void`: undefined
867
+ * - `eventPreventer(evt: Event) => void`: undefined
868
+ * - `closeOnBackdropClick(evt: MouseEvent) => void`: undefined
869
+ * - `interceptEscape(evt: KeyboardEvent) => void`: undefined
870
+ * - `modifyBorderRadius() => void`: undefined
871
+ */
872
+ "w-modal": Partial<ModalMainProps & BaseProps<ModalMain> & BaseEvents>;
873
+
874
+
875
+ /**
876
+ *
877
+ *
878
+ * ## Methods
879
+ *
880
+ * Methods that can be called to access component functionality.
881
+ *
882
+ * - `init() => void`: undefined
883
+ * - `get(id: string | number) => ToastInternal | undefined`: undefined
884
+ * - `set(toast: ToastOptions) => Map<string | number, ToastInternal>`: undefined
885
+ * - `del(id: string | number) => Promise<boolean>`: undefined
886
+ */
887
+ "w-toast-container": Partial<WarpToastContainerProps & BaseProps<WarpToastContainer> & BaseEvents>;
888
+ }
889
+
890
+ export type CustomCssProperties = {
891
+
892
+ }
893
+
894
+
895
+ declare module 'react' {
896
+ namespace JSX {
897
+ interface IntrinsicElements extends CustomElements {}
898
+ }
899
+ export interface CSSProperties extends CustomCssProperties {}
900
+ }
901
+
902
+ declare module 'preact' {
903
+ namespace JSX {
904
+ interface IntrinsicElements extends CustomElements {}
905
+ }
906
+ export interface CSSProperties extends CustomCssProperties {}
907
+ }
908
+
909
+ declare module '@builder.io/qwik' {
910
+ namespace JSX {
911
+ interface IntrinsicElements extends CustomElements {}
912
+ }
913
+ export interface CSSProperties extends CustomCssProperties {}
914
+ }
915
+
916
+ declare module '@stencil/core' {
917
+ namespace JSX {
918
+ interface IntrinsicElements extends CustomElements {}
919
+ }
920
+ export interface CSSProperties extends CustomCssProperties {}
921
+ }
922
+
923
+ declare module 'hono' {
924
+ namespace JSX {
925
+ interface IntrinsicElements extends CustomElements {}
926
+ }
927
+ export interface CSSProperties extends CustomCssProperties {}
928
+ }
929
+
930
+ declare module 'react-native' {
931
+ namespace JSX {
932
+ interface IntrinsicElements extends CustomElements {}
933
+ }
934
+ export interface CSSProperties extends CustomCssProperties {}
935
+ }
936
+
937
+ declare global {
938
+ namespace JSX {
939
+ interface IntrinsicElements extends CustomElements {}
940
+ }
941
+ export interface CSSProperties extends CustomCssProperties {}
942
+ }