@makeswift/runtime 0.2.19 → 0.3.0

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 (228) hide show
  1. package/dist/Box.cjs.js +35 -70
  2. package/dist/Box.cjs.js.map +1 -1
  3. package/dist/Box.es.js +34 -65
  4. package/dist/Box.es.js.map +1 -1
  5. package/dist/Button.cjs.js +176 -208
  6. package/dist/Button.cjs.js.map +1 -1
  7. package/dist/Button.es.js +177 -208
  8. package/dist/Button.es.js.map +1 -1
  9. package/dist/Carousel.cjs.js +227 -249
  10. package/dist/Carousel.cjs.js.map +1 -1
  11. package/dist/Carousel.es.js +229 -247
  12. package/dist/Carousel.es.js.map +1 -1
  13. package/dist/Countdown.cjs.js +270 -203
  14. package/dist/Countdown.cjs.js.map +1 -1
  15. package/dist/Countdown.es.js +273 -202
  16. package/dist/Countdown.es.js.map +1 -1
  17. package/dist/Divider.cjs.js +50 -71
  18. package/dist/Divider.cjs.js.map +1 -1
  19. package/dist/Divider.es.js +51 -68
  20. package/dist/Divider.es.js.map +1 -1
  21. package/dist/Embed.cjs.js +6 -17
  22. package/dist/Embed.cjs.js.map +1 -1
  23. package/dist/Embed.es.js +7 -14
  24. package/dist/Embed.es.js.map +1 -1
  25. package/dist/Form.cjs.js +723 -553
  26. package/dist/Form.cjs.js.map +1 -1
  27. package/dist/Form.es.js +723 -552
  28. package/dist/Form.es.js.map +1 -1
  29. package/dist/Image.cjs.js +16 -38
  30. package/dist/Image.cjs.js.map +1 -1
  31. package/dist/Image.es.js +17 -38
  32. package/dist/Image.es.js.map +1 -1
  33. package/dist/Navigation.cjs.js +318 -224
  34. package/dist/Navigation.cjs.js.map +1 -1
  35. package/dist/Navigation.es.js +318 -220
  36. package/dist/Navigation.es.js.map +1 -1
  37. package/dist/Root.cjs.js +116 -78
  38. package/dist/Root.cjs.js.map +1 -1
  39. package/dist/Root.es.js +99 -77
  40. package/dist/Root.es.js.map +1 -1
  41. package/dist/SocialLinks.cjs.js +119 -86
  42. package/dist/SocialLinks.cjs.js.map +1 -1
  43. package/dist/SocialLinks.es.js +120 -83
  44. package/dist/SocialLinks.es.js.map +1 -1
  45. package/dist/Text.cjs.js +83 -99
  46. package/dist/Text.cjs.js.map +1 -1
  47. package/dist/Text.es.js +84 -99
  48. package/dist/Text.es.js.map +1 -1
  49. package/dist/Video.cjs.js +8 -19
  50. package/dist/Video.cjs.js.map +1 -1
  51. package/dist/Video.es.js +8 -18
  52. package/dist/Video.es.js.map +1 -1
  53. package/dist/components.cjs.js +6 -18
  54. package/dist/components.cjs.js.map +1 -1
  55. package/dist/components.es.js +5 -8
  56. package/dist/components.es.js.map +1 -1
  57. package/dist/controls.es.js +1 -1
  58. package/dist/grid-item.cjs.js +612 -0
  59. package/dist/grid-item.cjs.js.map +1 -0
  60. package/dist/grid-item.es.js +604 -0
  61. package/dist/grid-item.es.js.map +1 -0
  62. package/dist/index.cjs.js +592 -275
  63. package/dist/index.cjs.js.map +1 -1
  64. package/dist/index.cjs2.js +98 -474
  65. package/dist/index.cjs2.js.map +1 -1
  66. package/dist/index.cjs3.js +20 -107
  67. package/dist/index.cjs3.js.map +1 -1
  68. package/dist/index.es.js +587 -274
  69. package/dist/index.es.js.map +1 -1
  70. package/dist/index.es2.js +99 -473
  71. package/dist/index.es2.js.map +1 -1
  72. package/dist/index.es3.js +21 -103
  73. package/dist/index.es3.js.map +1 -1
  74. package/dist/next.cjs.js +1 -2
  75. package/dist/next.cjs.js.map +1 -1
  76. package/dist/next.es.js +2 -3
  77. package/dist/next.es.js.map +1 -1
  78. package/dist/react-builder-preview.cjs.js +1 -2
  79. package/dist/react-builder-preview.cjs.js.map +1 -1
  80. package/dist/react-builder-preview.es.js +3 -4
  81. package/dist/react-builder-preview.es.js.map +1 -1
  82. package/dist/react.cjs.js +1 -2
  83. package/dist/react.cjs.js.map +1 -1
  84. package/dist/react.es.js +1 -2
  85. package/dist/react.es.js.map +1 -1
  86. package/dist/slot.cjs.js +41 -6
  87. package/dist/slot.cjs.js.map +1 -1
  88. package/dist/slot.es.js +36 -6
  89. package/dist/slot.es.js.map +1 -1
  90. package/dist/types/src/components/builtin/Box/Box.d.ts +7 -7
  91. package/dist/types/src/components/builtin/Box/Box.d.ts.map +1 -1
  92. package/dist/types/src/components/builtin/Box/components/Placeholder/index.d.ts.map +1 -1
  93. package/dist/types/src/components/builtin/Box/register.d.ts.map +1 -1
  94. package/dist/types/src/components/builtin/Button/Button.d.ts +46 -34
  95. package/dist/types/src/components/builtin/Button/Button.d.ts.map +1 -1
  96. package/dist/types/src/components/builtin/Carousel/Carousel.d.ts +5 -5
  97. package/dist/types/src/components/builtin/Carousel/Carousel.d.ts.map +1 -1
  98. package/dist/types/src/components/builtin/Carousel/register.d.ts.map +1 -1
  99. package/dist/types/src/components/builtin/Countdown/Countdown.d.ts +3 -3
  100. package/dist/types/src/components/builtin/Countdown/Countdown.d.ts.map +1 -1
  101. package/dist/types/src/components/builtin/Countdown/register.d.ts.map +1 -1
  102. package/dist/types/src/components/builtin/Divider/Divider.d.ts +3 -3
  103. package/dist/types/src/components/builtin/Divider/Divider.d.ts.map +1 -1
  104. package/dist/types/src/components/builtin/Divider/register.d.ts.map +1 -1
  105. package/dist/types/src/components/builtin/Embed/Embed.d.ts +3 -3
  106. package/dist/types/src/components/builtin/Embed/Embed.d.ts.map +1 -1
  107. package/dist/types/src/components/builtin/Form/Form.d.ts +3 -3
  108. package/dist/types/src/components/builtin/Form/Form.d.ts.map +1 -1
  109. package/dist/types/src/components/builtin/Form/components/Field/components/Checkbox/index.d.ts +4 -6
  110. package/dist/types/src/components/builtin/Form/components/Field/components/Checkbox/index.d.ts.map +1 -1
  111. package/dist/types/src/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts +3 -0
  112. package/dist/types/src/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts.map +1 -1
  113. package/dist/types/src/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts +2 -0
  114. package/dist/types/src/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts.map +1 -1
  115. package/dist/types/src/components/builtin/Form/components/Field/components/Input/index.d.ts +3 -7
  116. package/dist/types/src/components/builtin/Form/components/Field/components/Input/index.d.ts.map +1 -1
  117. package/dist/types/src/components/builtin/Form/components/Field/components/Label/index.d.ts +7 -13
  118. package/dist/types/src/components/builtin/Form/components/Field/components/Label/index.d.ts.map +1 -1
  119. package/dist/types/src/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts +2 -0
  120. package/dist/types/src/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts.map +1 -1
  121. package/dist/types/src/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts.map +1 -1
  122. package/dist/types/src/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts +2 -0
  123. package/dist/types/src/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts.map +1 -1
  124. package/dist/types/src/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts +2 -0
  125. package/dist/types/src/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts.map +1 -1
  126. package/dist/types/src/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts.map +1 -1
  127. package/dist/types/src/components/builtin/Form/components/Field/components/RadioButton/index.d.ts +4 -8
  128. package/dist/types/src/components/builtin/Form/components/Field/components/RadioButton/index.d.ts.map +1 -1
  129. package/dist/types/src/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts +2 -0
  130. package/dist/types/src/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts.map +1 -1
  131. package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts.map +1 -1
  132. package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts.map +1 -1
  133. package/dist/types/src/components/builtin/Form/components/Field/components/TextArea/index.d.ts +2 -7
  134. package/dist/types/src/components/builtin/Form/components/Field/components/TextArea/index.d.ts.map +1 -1
  135. package/dist/types/src/components/builtin/Form/components/Field/components/URLTableField/index.d.ts +2 -0
  136. package/dist/types/src/components/builtin/Form/components/Field/components/URLTableField/index.d.ts.map +1 -1
  137. package/dist/types/src/components/builtin/Form/components/Field/services/{cssField.d.ts → responsiveField.d.ts} +5 -4
  138. package/dist/types/src/components/builtin/Form/components/Field/services/responsiveField.d.ts.map +1 -0
  139. package/dist/types/src/components/builtin/Form/components/Placeholder/index.d.ts +2 -3
  140. package/dist/types/src/components/builtin/Form/components/Placeholder/index.d.ts.map +1 -1
  141. package/dist/types/src/components/builtin/Form/components/Spinner/index.d.ts.map +1 -1
  142. package/dist/types/src/components/builtin/Form/register.d.ts.map +1 -1
  143. package/dist/types/src/components/builtin/Image/Image.d.ts +7 -7
  144. package/dist/types/src/components/builtin/Image/Image.d.ts.map +1 -1
  145. package/dist/types/src/components/builtin/Navigation/Navigation.d.ts +3 -3
  146. package/dist/types/src/components/builtin/Navigation/Navigation.d.ts.map +1 -1
  147. package/dist/types/src/components/builtin/Navigation/components/DropDownButton/index.d.ts +8 -81
  148. package/dist/types/src/components/builtin/Navigation/components/DropDownButton/index.d.ts.map +1 -1
  149. package/dist/types/src/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts.map +1 -1
  150. package/dist/types/src/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts +8 -81
  151. package/dist/types/src/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts.map +1 -1
  152. package/dist/types/src/components/builtin/Navigation/components/MobileMenu/index.d.ts.map +1 -1
  153. package/dist/types/src/components/builtin/Navigation/register.d.ts.map +1 -1
  154. package/dist/types/src/components/builtin/Root/Root.d.ts +1 -2
  155. package/dist/types/src/components/builtin/Root/Root.d.ts.map +1 -1
  156. package/dist/types/src/components/builtin/Root/components/Placeholder/index.d.ts +1 -2
  157. package/dist/types/src/components/builtin/Root/components/Placeholder/index.d.ts.map +1 -1
  158. package/dist/types/src/components/builtin/SocialLinks/SocialLinks.d.ts +3 -3
  159. package/dist/types/src/components/builtin/SocialLinks/SocialLinks.d.ts.map +1 -1
  160. package/dist/types/src/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts.map +1 -1
  161. package/dist/types/src/components/builtin/SocialLinks/register.d.ts.map +1 -1
  162. package/dist/types/src/components/builtin/Text/Text.d.ts +3 -3
  163. package/dist/types/src/components/builtin/Text/Text.d.ts.map +1 -1
  164. package/dist/types/src/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts +8 -11
  165. package/dist/types/src/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts.map +1 -1
  166. package/dist/types/src/components/builtin/Text/components/RichTextEditor/components/Mark/index.d.ts +3 -6
  167. package/dist/types/src/components/builtin/Text/components/RichTextEditor/components/Mark/index.d.ts.map +1 -1
  168. package/dist/types/src/components/builtin/Text/components/RichTextEditor/index.d.ts +1 -1
  169. package/dist/types/src/components/builtin/Text/components/RichTextEditor/index.d.ts.map +1 -1
  170. package/dist/types/src/components/builtin/Text/components/RichTextEditor/plugins/Link.d.ts.map +1 -1
  171. package/dist/types/src/components/builtin/Text/register.d.ts.map +1 -1
  172. package/dist/types/src/components/builtin/Video/Video.d.ts +4 -4
  173. package/dist/types/src/components/builtin/Video/Video.d.ts.map +1 -1
  174. package/dist/types/src/components/builtin/Video/register.d.ts.map +1 -1
  175. package/dist/types/src/components/hooks/useBackgrounds.d.ts +1 -1
  176. package/dist/types/src/components/hooks/useBackgrounds.d.ts.map +1 -1
  177. package/dist/types/src/components/index.d.ts +0 -1
  178. package/dist/types/src/components/index.d.ts.map +1 -1
  179. package/dist/types/src/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts.map +1 -1
  180. package/dist/types/src/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -1
  181. package/dist/types/src/components/shared/BackgroundsContainer/index.d.ts +255 -4
  182. package/dist/types/src/components/shared/BackgroundsContainer/index.d.ts.map +1 -1
  183. package/dist/types/src/components/shared/FallbackComponent/FallbackComponent.d.ts.map +1 -1
  184. package/dist/types/src/components/shared/GutterContainer/index.d.ts +8 -4
  185. package/dist/types/src/components/shared/GutterContainer/index.d.ts.map +1 -1
  186. package/dist/types/src/components/shared/grid-item.d.ts +17 -0
  187. package/dist/types/src/components/shared/grid-item.d.ts.map +1 -0
  188. package/dist/types/src/components/utils/responsive-style.d.ts +22 -1
  189. package/dist/types/src/components/utils/responsive-style.d.ts.map +1 -1
  190. package/dist/types/src/controls/style.d.ts +5 -65
  191. package/dist/types/src/controls/style.d.ts.map +1 -1
  192. package/dist/types/src/css/border-radius.d.ts +20 -0
  193. package/dist/types/src/css/border-radius.d.ts.map +1 -0
  194. package/dist/types/src/css/border.d.ts +31 -0
  195. package/dist/types/src/css/border.d.ts.map +1 -0
  196. package/dist/types/src/css/length-percentage.d.ts +10 -0
  197. package/dist/types/src/css/length-percentage.d.ts.map +1 -0
  198. package/dist/types/src/css/length.d.ts +14 -0
  199. package/dist/types/src/css/length.d.ts.map +1 -0
  200. package/dist/types/src/css/margin.d.ts +20 -0
  201. package/dist/types/src/css/margin.d.ts.map +1 -0
  202. package/dist/types/src/css/padding.d.ts +20 -0
  203. package/dist/types/src/css/padding.d.ts.map +1 -0
  204. package/dist/types/src/next/document.d.ts.map +1 -1
  205. package/dist/types/src/prop-controllers/descriptors.d.ts +96 -33
  206. package/dist/types/src/prop-controllers/descriptors.d.ts.map +1 -1
  207. package/dist/types/src/runtimes/react/controls/style.d.ts.map +1 -1
  208. package/dist/types/src/runtimes/react/controls.d.ts +10 -2
  209. package/dist/types/src/runtimes/react/controls.d.ts.map +1 -1
  210. package/dist/types/src/runtimes/react/use-global-style.d.ts +3 -0
  211. package/dist/types/src/runtimes/react/use-global-style.d.ts.map +1 -0
  212. package/dist/useMediaQuery.es.js +1 -1
  213. package/package.json +1 -3
  214. package/dist/cssMediaRules.cjs.js +0 -210
  215. package/dist/cssMediaRules.cjs.js.map +0 -1
  216. package/dist/cssMediaRules.es.js +0 -201
  217. package/dist/cssMediaRules.es.js.map +0 -1
  218. package/dist/index.cjs4.js +0 -18
  219. package/dist/index.cjs4.js.map +0 -1
  220. package/dist/index.es4.js +0 -13
  221. package/dist/index.es4.js.map +0 -1
  222. package/dist/types/src/components/builtin/Form/components/Field/services/cssField.d.ts.map +0 -1
  223. package/dist/types/src/components/utils/cssMediaRules.d.ts +0 -69
  224. package/dist/types/src/components/utils/cssMediaRules.d.ts.map +0 -1
  225. package/dist/useBoxShadow.cjs.js +0 -78
  226. package/dist/useBoxShadow.cjs.js.map +0 -1
  227. package/dist/useBoxShadow.es.js +0 -77
  228. package/dist/useBoxShadow.es.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Divider/Divider.tsx"],"names":[],"mappings":";AAIA,OAAO,EAEL,cAAc,EACd,WAAW,EACX,qBAAqB,EACrB,qBAAqB,EACrB,UAAU,EACX,MAAM,uCAAuC,CAAA;AAG9C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAElE,aAAK,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;AAE/D,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,OAAO,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAA;IAC/C,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAC9B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAsED,QAAA,MAAM,OAAO,kGAYX,CAAA;AAEF,eAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Divider/Divider.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,uCAAuC,CAAA;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAKlE,aAAK,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;AAE/D,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,OAAO,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAA;IAC/C,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,QAAA,MAAM,OAAO,kGAgEX,CAAA;AAEF,eAAe,OAAO,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Divider/register.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAGtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA+BtD"}
1
+ {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Divider/register.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAGtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAkCtD"}
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- import { ElementIDValue, MarginValue, TextAreaValue, WidthValue } from '../../../prop-controllers/descriptors';
2
+ import { ElementIDValue, TextAreaValue } from '../../../prop-controllers/descriptors';
3
3
  declare type Props = {
4
4
  id?: ElementIDValue;
5
5
  html?: TextAreaValue;
6
- width?: WidthValue;
7
- margin?: MarginValue;
6
+ width?: string;
7
+ margin?: string;
8
8
  };
9
9
  declare const Embed: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
10
10
  export default Embed;
@@ -1 +1 @@
1
- {"version":3,"file":"Embed.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Embed/Embed.tsx"],"names":[],"mappings":";AAMA,OAAO,EACL,cAAc,EACd,WAAW,EACX,aAAa,EACb,UAAU,EACX,MAAM,uCAAuC,CAAA;AAG9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAmCD,QAAA,MAAM,KAAK,kGA0ET,CAAA;AAEF,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"Embed.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Embed/Embed.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAKrF,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AA2BD,QAAA,MAAM,KAAK,kGA2ET,CAAA;AAEF,eAAe,KAAK,CAAA"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Size, Shape, Contrast, Alignment } from './context/FormContext';
3
- import { ElementIDValue, GapYValue, LinkValue, MarginValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TableFormFieldsDescriptor, TableFormFieldsValue, TableValue, TextInputValue, TextStyleValue, WidthValue } from '../../../prop-controllers/descriptors';
3
+ import { ElementIDValue, GapYValue, LinkValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TableFormFieldsDescriptor, TableFormFieldsValue, TableValue, TextInputValue, TextStyleValue } from '../../../prop-controllers/descriptors';
4
4
  import { BoxModelHandle } from '../../../box-model';
5
5
  import { PropControllersHandle } from '../../../state/modules/prop-controller-handles';
6
6
  import { ResponsiveColor } from '../../../runtimes/react/controls';
@@ -22,8 +22,8 @@ declare type Props = {
22
22
  submitVariant?: ResponsiveSelectValue<'flat' | 'outline' | 'shadow' | 'clear' | 'blocky' | 'bubbly' | 'skewed'>;
23
23
  submitWidth?: ResponsiveLengthValue;
24
24
  submitAlignment?: ResponsiveIconRadioGroupValue<Alignment>;
25
- width?: WidthValue;
26
- margin?: MarginValue;
25
+ width?: string;
26
+ margin?: string;
27
27
  };
28
28
  declare type Descriptors = {
29
29
  fields?: TableFormFieldsDescriptor;
@@ -1 +1 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Form/Form.tsx"],"names":[],"mappings":";AAiBA,OAAO,EACL,IAAI,EAGJ,KAAK,EACL,QAAQ,EACR,SAAS,EAEV,MAAM,uBAAuB,CAAA;AAO9B,OAAO,EACL,cAAc,EACd,SAAS,EACT,SAAS,EACT,WAAW,EACX,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,oBAAoB,EACpB,UAAU,EACV,cAAc,EACd,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAA;AAItF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAqBlE,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,6BAA6B,CAAC,KAAK,CAAC,CAAA;IAC5C,IAAI,CAAC,EAAE,6BAA6B,CAAC,IAAI,CAAC,CAAA;IAC1C,QAAQ,CAAC,EAAE,6BAA6B,CAAC,QAAQ,CAAC,CAAA;IAClD,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,cAAc,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACvC,eAAe,CAAC,EAAE,cAAc,CAAA;IAChC,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACnC,eAAe,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACxC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,aAAa,CAAC,EAAE,qBAAqB,CACnC,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CACzE,CAAA;IACD,WAAW,CAAC,EAAE,qBAAqB,CAAA;IACnC,eAAe,CAAC,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAA;IAC1D,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAoHD,aAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,yBAAyB,CAAA;CAAE,CAAA;AAEzD,QAAA,MAAM,IAAI,uIA0QR,CAAA;AAEF,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Form/Form.tsx"],"names":[],"mappings":";AAiBA,OAAO,EACL,IAAI,EAGJ,KAAK,EACL,QAAQ,EACR,SAAS,EAEV,MAAM,uBAAuB,CAAA;AAM9B,OAAO,EACL,cAAc,EACd,SAAS,EACT,SAAS,EACT,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EAErB,yBAAyB,EACzB,oBAAoB,EACpB,UAAU,EACV,cAAc,EACd,cAAc,EACf,MAAM,uCAAuC,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAA;AAItF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAwBlE,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,6BAA6B,CAAC,KAAK,CAAC,CAAA;IAC5C,IAAI,CAAC,EAAE,6BAA6B,CAAC,IAAI,CAAC,CAAA;IAC1C,QAAQ,CAAC,EAAE,6BAA6B,CAAC,QAAQ,CAAC,CAAA;IAClD,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,cAAc,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACvC,eAAe,CAAC,EAAE,cAAc,CAAA;IAChC,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACnC,eAAe,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACxC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,aAAa,CAAC,EAAE,qBAAqB,CACnC,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CACzE,CAAA;IACD,WAAW,CAAC,EAAE,qBAAqB,CAAA;IACnC,eAAe,CAAC,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAA;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAkKD,aAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,yBAAyB,CAAA;CAAE,CAAA;AAEzD,QAAA,MAAM,IAAI,uIA0QR,CAAA;AAEF,eAAe,IAAI,CAAA"}
@@ -1,15 +1,13 @@
1
- import { CSSProperties, ComponentPropsWithoutRef } from 'react';
1
+ import { CSSProperties } from 'react';
2
2
  import { Value as FormContextValue } from '../../../../context/FormContext';
3
- declare const HiddenCheckbox: import("styled-components").StyledComponent<"input", any, Pick<FormContextValue, "size" | "contrast" | "brandColor"> & {
4
- error?: boolean | undefined;
5
- }, never>;
6
3
  declare type BaseProps = {
7
4
  error?: boolean;
8
5
  className?: string;
9
6
  style?: CSSProperties;
10
7
  form?: unknown;
11
8
  };
12
- declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof HiddenCheckbox>, keyof BaseProps>;
13
- declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLInputElement>>;
9
+ declare const _default: import("react").ForwardRefExoticComponent<BaseProps & Omit<Pick<Partial<Pick<FormContextValue, "size" | "contrast" | "brandColor">> & {
10
+ error?: boolean | undefined;
11
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "size" | "error" | "contrast" | "brandColor"> & import("react").RefAttributes<HTMLInputElement>, "color" | "height" | "translate" | "width" | "type" | "property" | "key" | "is" | "value" | "style" | "id" | "size" | "hidden" | "defaultValue" | "name" | "min" | "max" | "step" | "error" | "resource" | "dir" | "form" | "slot" | "title" | "onError" | "children" | "pattern" | "list" | "itemProp" | "dangerouslySetInnerHTML" | "crossOrigin" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "enterKeyHint" | "multiple" | "disabled" | "src" | "alt" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "autoComplete" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "contrast" | "brandColor">, keyof BaseProps> & import("react").RefAttributes<HTMLInputElement>>;
14
12
  export default _default;
15
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/Checkbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,aAAa,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAK3E,OAAO,EAEL,KAAK,IAAI,gBAAgB,EAG1B,MAAM,iCAAiC,CAAA;AAkDxC,QAAA,MAAM,cAAc;;SAkFnB,CAAA;AAED,aAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAE/F,wBAqBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/Checkbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,aAAa,EAA0C,MAAM,OAAO,CAAA;AAIzF,OAAO,EAEL,KAAK,IAAI,gBAAgB,EAG1B,MAAM,iCAAiC,CAAA;AA+IxC,aAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;;;;AAID,wBA8BE"}
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { FormikProps } from 'formik';
3
+ import { TableColumn } from '../../../../types';
3
4
  declare type Props = {
4
5
  form: FormikProps<{
5
6
  [key: string]: boolean;
@@ -9,6 +10,8 @@ declare type Props = {
9
10
  name: string;
10
11
  value?: boolean;
11
12
  error?: string;
13
+ hideLabel?: boolean;
14
+ tableColumn?: TableColumn | null;
12
15
  };
13
16
  declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
14
17
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/CheckboxTableField/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AA0BpC,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,WAAW,CAAC;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KACvB,CAAC,CAAA;IACF,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;;AAED,wBA0BE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/CheckboxTableField/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AASpC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,aAAK,KAAK,GAAG;IACX,IAAI,EAAE,WAAW,CAAC;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KACvB,CAAC,CAAA;IACF,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;CACjC,CAAA;;AAED,wBA+CE"}
@@ -1,10 +1,12 @@
1
1
  /// <reference types="react" />
2
+ import { TableColumn } from '../../../../types';
2
3
  declare type Props = {
3
4
  id: string;
4
5
  label?: string;
5
6
  name: string;
6
7
  error?: string;
7
8
  hideLabel?: boolean;
9
+ tableColumn?: TableColumn | null;
8
10
  };
9
11
  declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
10
12
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/EmailTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/EmailTableField/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;CACjC,CAAA;;AAED,wBAkBE"}
@@ -1,14 +1,10 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- import { Size, Value } from '../../../../context/FormContext';
1
+ /// <reference types="react" />
2
+ import { Size } from '../../../../context/FormContext';
3
3
  export declare function getSizeHeight(size: Size): number;
4
- declare const Base: import("styled-components").StyledComponent<"input", any, Pick<Value, "shape" | "size" | "contrast" | "brandColor"> & {
5
- error?: boolean | undefined;
6
- }, never>;
7
4
  declare type BaseProps = {
8
5
  error?: boolean;
9
6
  form?: unknown;
10
7
  };
11
- declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof Base>, keyof BaseProps>;
12
- declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLInputElement>>;
8
+ declare const _default: import("react").ForwardRefExoticComponent<BaseProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, keyof BaseProps> & import("react").RefAttributes<HTMLInputElement>>;
13
9
  export default _default;
14
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/Input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAc,MAAM,OAAO,CAAA;AAI5D,OAAO,EAAE,IAAI,EAAyB,KAAK,EAAE,MAAM,iCAAiC,CAAA;AAGpF,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAchD;AAED,QAAA,MAAM,IAAI;;SAcT,CAAA;AAED,aAAK,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAEpD,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAErF,wBAkBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/Input/index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,IAAI,EAAyB,MAAM,iCAAiC,CAAA;AAG7E,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAchD;AAED,aAAK,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;;AAIpD,wBAsBE"}
@@ -1,16 +1,10 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- import { ResponsiveValue } from '../../../../../../../prop-controllers';
3
- import { TextStyleValue } from '../../../../../../../prop-controllers/descriptors';
4
- import { Size, Contrast } from '../../../../context/FormContext';
5
- import { ColorValue } from '../../../../../../utils/types';
1
+ import { ComponentPropsWithoutRef, ElementType } from 'react';
2
+ import { Size } from '../../../../context/FormContext';
6
3
  export declare function getSizeHeight(size: Size): number;
7
- declare const Base: import("styled-components").StyledComponent<"label", any, {
8
- contrast?: ResponsiveValue<Contrast> | null | undefined;
9
- size?: ResponsiveValue<Size> | null | undefined;
10
- textStyle?: TextStyleValue | null | undefined;
11
- textColor?: ResponsiveValue<ColorValue> | null | undefined;
12
- }, never>;
13
- declare type Props = ComponentPropsWithoutRef<typeof Base>;
14
- export default function Label(props: Props): JSX.Element;
4
+ declare type BaseProps<T extends ElementType> = {
5
+ as?: T;
6
+ };
7
+ declare type Props<T extends ElementType> = BaseProps<T> & Omit<ComponentPropsWithoutRef<'label'>, keyof BaseProps<T>>;
8
+ export default function Label<T extends ElementType = 'label'>({ as, className, ...restOfProps }: Props<T>): JSX.Element;
15
9
  export {};
16
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/Label/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAA;AAIlF,OAAO,EAAkB,IAAI,EAAS,QAAQ,EAAa,MAAM,iCAAiC,CAAA;AAClG,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE1D,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAchD;AAeD,QAAA,MAAM,IAAI;eAKG,gBAAgB,QAAQ,CAAC,GAAG,IAAI,GAAG,SAAS;WAChD,gBAAgB,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS;gBACnC,cAAc,GAAG,IAAI,GAAG,SAAS;gBACjC,gBAAgB,UAAU,CAAC,GAAG,IAAI,GAAG,SAAS;SAa3D,CAAA;AAED,aAAK,KAAK,GAAG,wBAAwB,CAAC,OAAO,IAAI,CAAC,CAAA;AAElD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAYvD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/Label/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAG7D,OAAO,EAAkB,IAAI,EAA8B,MAAM,iCAAiC,CAAA;AAKlG,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAchD;AAeD,aAAK,SAAS,CAAC,CAAC,SAAS,WAAW,IAAI;IACtC,EAAE,CAAC,EAAE,CAAC,CAAA;CACP,CAAA;AAED,aAAK,KAAK,CAAC,CAAC,SAAS,WAAW,IAAI,SAAS,CAAC,CAAC,CAAC,GAC9C,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC,CAAA;AAE7D,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,CAAC,SAAS,WAAW,GAAG,OAAO,EAAE,EAC7D,EAAE,EACF,SAAS,EACT,GAAG,WAAW,EACf,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,CAuBxB"}
@@ -1,9 +1,11 @@
1
1
  /// <reference types="react" />
2
+ import { TableColumn } from '../../../../types';
2
3
  declare type Props = {
3
4
  id: string;
4
5
  label?: string;
5
6
  error?: string;
6
7
  hideLabel?: boolean;
8
+ tableColumn?: TableColumn | null;
7
9
  };
8
10
  declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLTextAreaElement>>;
9
11
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/LongTextTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAUE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/LongTextTableField/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAK/C,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;CACjC,CAAA;;AAED,wBAUE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2C,cAAc,EAAE,MAAM,OAAO,CAAA;AAwB/E,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE;QACX,OAAO,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;IACD,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC,KAAK,OAAO,CAAA;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;cAIa;QACR,YAAY,EAAE,OAAO,CAAA;QACrB,YAAY,EAAE,OAAO,CAAA;KACtB;;AALL,wBAuDE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,EAEf,MAAM,OAAO,CAAA;AAgCd,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE;QACX,OAAO,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;IACD,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC,KAAK,OAAO,CAAA;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;cAIa;QACR,YAAY,EAAE,OAAO,CAAA;QACrB,YAAY,EAAE,OAAO,CAAA;KACtB;;AALL,wBAuDE"}
@@ -1,10 +1,12 @@
1
1
  /// <reference types="react" />
2
+ import { TableColumn } from '../../../../types';
2
3
  declare type Props = {
3
4
  id: string;
4
5
  label?: string;
5
6
  name: string;
6
7
  error?: string;
7
8
  hideLabel?: boolean;
9
+ tableColumn?: TableColumn | null;
8
10
  };
9
11
  declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
10
12
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/NumberTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/NumberTableField/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;CACjC,CAAA;;AAED,wBAkBE"}
@@ -1,10 +1,12 @@
1
1
  /// <reference types="react" />
2
+ import { TableColumn } from '../../../../types';
2
3
  declare type Props = {
3
4
  id: string;
4
5
  label?: string;
5
6
  name: string;
6
7
  error?: string;
7
8
  hideLabel?: boolean;
9
+ tableColumn?: TableColumn | null;
8
10
  };
9
11
  declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
10
12
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;CACjC,CAAA;;AAED,wBAkBE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/PlaceholderTableField/index.tsx"],"names":[],"mappings":";AAgDA,MAAM,CAAC,OAAO,UAAU,qBAAqB,IAAI,GAAG,CAAC,OAAO,CAS3D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/PlaceholderTableField/index.tsx"],"names":[],"mappings":";AA2DA,MAAM,CAAC,OAAO,UAAU,qBAAqB,IAAI,GAAG,CAAC,OAAO,CAS3D"}
@@ -1,17 +1,13 @@
1
- import { CSSProperties, ComponentPropsWithoutRef } from 'react';
1
+ import { CSSProperties } from 'react';
2
2
  import { Value } from '../../../../context/FormContext';
3
- declare const HiddenRadioButton: import("styled-components").StyledComponent<"input", any, {
4
- type: "radio";
5
- } & Pick<Value, "contrast" | "brandColor"> & {
6
- error?: boolean | undefined;
7
- }, "type">;
8
3
  declare type BaseProps = {
9
4
  error?: boolean;
10
5
  className?: string;
11
6
  style?: CSSProperties;
12
7
  form?: unknown;
13
8
  };
14
- declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof HiddenRadioButton>, keyof BaseProps>;
15
- declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLInputElement>>;
9
+ declare const _default: import("react").ForwardRefExoticComponent<BaseProps & Omit<Pick<Partial<Pick<Value, "contrast" | "brandColor">> & {
10
+ error?: boolean | undefined;
11
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "error" | "contrast" | "brandColor"> & import("react").RefAttributes<HTMLInputElement>, "key" | "error" | keyof import("react").InputHTMLAttributes<HTMLInputElement> | "contrast" | "brandColor">, keyof BaseProps> & import("react").RefAttributes<HTMLInputElement>>;
16
12
  export default _default;
17
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/RadioButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,aAAa,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAK3E,OAAO,EAAoC,KAAK,EAAE,MAAM,iCAAiC,CAAA;AA+CzF,QAAA,MAAM,iBAAiB;;;;UAwEtB,CAAA;AAED,aAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAElG,wBAkBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/RadioButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,aAAa,EAA0C,MAAM,OAAO,CAAA;AAIzF,OAAO,EAAoC,KAAK,EAAE,MAAM,iCAAiC,CAAA;AA0JzF,aAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;;;;AAID,wBAkBE"}
@@ -1,10 +1,12 @@
1
1
  /// <reference types="react" />
2
+ import { TableColumn } from '../../../../types';
2
3
  declare type Props = {
3
4
  id: string;
4
5
  label?: string;
5
6
  name: string;
6
7
  error?: string;
7
8
  hideLabel?: boolean;
9
+ tableColumn?: TableColumn | null;
8
10
  };
9
11
  declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
10
12
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;CACjC,CAAA;;AAED,wBAkBE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2C,cAAc,EAAE,MAAM,OAAO,CAAA;AAoB/E,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE;QACX,OAAO,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC,KAAK,OAAO,CAAA;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;;cAIa;QACR,YAAY,EAAE,OAAO,CAAA;QACrB,YAAY,EAAE,OAAO,CAAA;KACtB;;AALL,wBAmDE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,cAAc,EAEf,MAAM,OAAO,CAAA;AA8Bd,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE;QACX,OAAO,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,gBAAgB,CAAC,KAAK,OAAO,CAAA;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;;cAIa;QACR,YAAY,EAAE,OAAO,CAAA;QACrB,YAAY,EAAE,OAAO,CAAA;KACtB;;AALL,wBAmDE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.tsx"],"names":[],"mappings":";AA0DA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE;QACX,OAAO,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;;AAED,wBAqCE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.tsx"],"names":[],"mappings":";AA2FA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE;QACX,OAAO,EAAE,KAAK,CAAC;YACb,EAAE,EAAE,MAAM,CAAA;YACV,IAAI,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACH,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;;AAED,wBAqCE"}
@@ -1,13 +1,8 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- import { Value } from '../../../../context/FormContext';
3
- declare const Base: import("styled-components").StyledComponent<"textarea", any, Value & {
4
- error?: boolean | undefined;
5
- }, never>;
1
+ /// <reference types="react" />
6
2
  declare type BaseProps = {
7
3
  error?: boolean;
8
4
  form?: unknown;
9
5
  };
10
- declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof Base>, keyof BaseProps>;
11
- declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLTextAreaElement>>;
6
+ declare const _default: import("react").ForwardRefExoticComponent<BaseProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "key" | keyof import("react").TextareaHTMLAttributes<HTMLTextAreaElement>>, keyof BaseProps> & import("react").RefAttributes<HTMLTextAreaElement>>;
12
7
  export default _default;
13
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/TextArea/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAI5D,OAAO,EAAE,KAAK,EAAkB,MAAM,iCAAiC,CAAA;AAEvE,QAAA,MAAM,IAAI;;SAOT,CAAA;AAED,aAAK,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAEpD,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAErF,wBAkBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/TextArea/index.tsx"],"names":[],"mappings":";AAMA,aAAK,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;;AAIpD,wBAiBE"}
@@ -1,10 +1,12 @@
1
1
  /// <reference types="react" />
2
+ import { TableColumn } from '../../../../types';
2
3
  declare type Props = {
3
4
  id: string;
4
5
  label?: string;
5
6
  name: string;
6
7
  error?: string;
7
8
  hideLabel?: boolean;
9
+ tableColumn?: TableColumn | null;
8
10
  };
9
11
  declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
10
12
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/URLTableField/index.tsx"],"names":[],"mappings":";AAKA,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;;AAED,wBAkBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/components/builtin/Form/components/Field/components/URLTableField/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,aAAK,KAAK,GAAG;IACX,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;CACjC,CAAA;;AAED,wBAkBE"}
@@ -1,11 +1,12 @@
1
1
  import { Size, Shape, Contrast, Value } from '../../../context/FormContext';
2
+ import { CSSObject } from '@emotion/css';
2
3
  export declare function getSizeHeight(size: Size): number;
3
4
  export declare function getSizeHorizontalPadding(size: Size): number;
4
5
  export declare function getShapeBorderRadius(shape: Shape): number;
5
6
  export declare function getContrastBorderColor(contrast: Contrast, error?: boolean): string;
6
7
  export declare function getContrastBackgroundColor(contrast: Contrast): string;
7
8
  export declare function getContrastColor(contrast: Contrast): string;
8
- export default function cssField(): import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<Pick<Value, "shape" | "size" | "contrast" | "brandColor"> & {
9
- error?: boolean | undefined;
10
- }, any>>;
11
- //# sourceMappingURL=cssField.d.ts.map
9
+ export default function responsiveField(props: Pick<Value, 'shape' | 'size' | 'contrast' | 'brandColor'> & {
10
+ error?: boolean;
11
+ }): CSSObject;
12
+ //# sourceMappingURL=responsiveField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responsiveField.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Form/components/Field/services/responsiveField.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,IAAI,EACJ,KAAK,EACL,QAAQ,EAIR,KAAK,EACN,MAAM,8BAA8B,CAAA;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAchD;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAc3D;AAkBD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAczD;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAWlF;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAWrE;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAW3D;AAeD,MAAM,CAAC,OAAO,UAAU,eAAe,CACrC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,YAAY,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,GACrF,SAAS,CAgCX"}
@@ -1,9 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { MarginValue, WidthValue } from '../../../../../prop-controllers/descriptors';
3
2
  declare type Props = {
4
3
  className?: string;
5
- width?: WidthValue;
6
- margin?: MarginValue;
4
+ width?: string;
5
+ margin?: string;
7
6
  };
8
7
  declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
9
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/builtin/Form/components/Placeholder/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAA;AA2CrF,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;;AAED,wBAmBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/builtin/Form/components/Placeholder/index.tsx"],"names":[],"mappings":";AAmDA,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;;AAED,wBA2BE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/builtin/Form/components/Spinner/index.tsx"],"names":[],"mappings":";AAmBA,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,GAAG,CAAC,OAAO,CAE7C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/builtin/Form/components/Spinner/index.tsx"],"names":[],"mappings":";AAaA,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,GAAG,CAAC,OAAO,CAU7C"}
@@ -1 +1 @@
1
- {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Form/register.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAKtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA0HtD"}
1
+ {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Form/register.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAKtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA2HtD"}
@@ -1,16 +1,16 @@
1
1
  /// <reference types="react" />
2
- import { BorderRadiusValue, BorderValue, ElementIDValue, ImageValue, LinkValue, MarginValue, PaddingValue, ResponsiveOpacityValue, ShadowsValue, TextInputValue, WidthValue } from '../../../prop-controllers/descriptors';
2
+ import { ElementIDValue, ImageValue, LinkValue, ResponsiveOpacityValue, TextInputValue, WidthValue } from '../../../prop-controllers/descriptors';
3
3
  declare type Props = {
4
4
  id?: ElementIDValue;
5
5
  file?: ImageValue;
6
6
  altText?: TextInputValue;
7
7
  link?: LinkValue;
8
8
  width?: WidthValue;
9
- margin?: MarginValue;
10
- padding?: PaddingValue;
11
- border?: BorderValue;
12
- borderRadius?: BorderRadiusValue;
13
- boxShadow?: ShadowsValue;
9
+ margin?: string;
10
+ padding?: string;
11
+ border?: string;
12
+ borderRadius?: string;
13
+ boxShadow?: string;
14
14
  opacity?: ResponsiveOpacityValue;
15
15
  placeholder?: {
16
16
  src: string;
@@ -21,6 +21,6 @@ declare type Props = {
21
21
  };
22
22
  className?: string;
23
23
  };
24
- declare const ImageComponent: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLImageElement>>;
24
+ declare const ImageComponent: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLAnchorElement & HTMLDivElement>>;
25
25
  export default ImageComponent;
26
26
  //# sourceMappingURL=Image.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Image/Image.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAsB9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,OAAO,CAAC,EAAE,sBAAsB,CAAA;IAChC,WAAW,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AA8ED,QAAA,MAAM,cAAc,oGA8ElB,CAAA;AAEF,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Image/Image.tsx"],"names":[],"mappings":";AAGA,OAAO,EACL,cAAc,EACd,UAAU,EACV,SAAS,EACT,sBAAsB,EACtB,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAU9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,sBAAsB,CAAA;IAChC,WAAW,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAkCD,QAAA,MAAM,cAAc,sHA2ElB,CAAA;AAEF,eAAe,cAAc,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { CheckboxValue, ElementIDValue, GapXValue, ImageValue, LinkValue, MarginValue, NavigationLinksValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TextInputValue, TextStyleValue, WidthValue } from '../../../prop-controllers/descriptors';
2
+ import { CheckboxValue, ElementIDValue, GapXValue, ImageValue, LinkValue, NavigationLinksValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TextInputValue, TextStyleValue } from '../../../prop-controllers/descriptors';
3
3
  import { ResponsiveColor } from '../../../runtimes/react/controls';
4
4
  declare type Props = {
5
5
  id?: ElementIDValue;
@@ -16,8 +16,8 @@ declare type Props = {
16
16
  mobileMenuOpenIconColor?: ResponsiveColor | null;
17
17
  mobileMenuCloseIconColor?: ResponsiveColor | null;
18
18
  mobileMenuBackgroundColor?: ResponsiveColor | null;
19
- width?: WidthValue;
20
- margin?: MarginValue;
19
+ width?: string;
20
+ margin?: string;
21
21
  };
22
22
  declare const Navigation: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
23
23
  export default Navigation;
@@ -1 +1 @@
1
- {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Navigation/Navigation.tsx"],"names":[],"mappings":";AAWA,OAAO,EAEL,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,cAAc,EAEd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAI9C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAGlE,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,aAAa,CAAC,EAAE,cAAc,CAAA;IAC9B,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,YAAY,GAAG,WAAW,CAAC,CAAA;IACvE,uBAAuB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAChD,wBAAwB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACjD,yBAAyB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAClD,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AA0FD,QAAA,MAAM,UAAU,kGAiFd,CAAA;AAEF,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Navigation/Navigation.tsx"],"names":[],"mappings":";AAUA,OAAO,EAEL,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,cAAc,EAEf,MAAM,uCAAuC,CAAA;AAG9C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAMlE,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,aAAa,CAAC,EAAE,cAAc,CAAA;IAC9B,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,YAAY,GAAG,WAAW,CAAC,CAAA;IACvE,uBAAuB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAChD,wBAAwB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACjD,yBAAyB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AA4ID,QAAA,MAAM,UAAU,kGAgFd,CAAA;AAEF,eAAe,UAAU,CAAA"}