@wordpress/dataviews 11.4.1-next.v.0 → 12.0.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 (415) hide show
  1. package/CHANGELOG.md +34 -1
  2. package/README.md +44 -2
  3. package/build/components/dataform-controls/adaptive-select.cjs +52 -0
  4. package/build/components/dataform-controls/adaptive-select.cjs.map +7 -0
  5. package/build/components/dataform-controls/array.cjs +2 -0
  6. package/build/components/dataform-controls/array.cjs.map +2 -2
  7. package/build/components/dataform-controls/checkbox.cjs +2 -0
  8. package/build/components/dataform-controls/checkbox.cjs.map +2 -2
  9. package/build/components/dataform-controls/color.cjs +21 -30
  10. package/build/components/dataform-controls/color.cjs.map +3 -3
  11. package/build/components/dataform-controls/date.cjs +23 -9
  12. package/build/components/dataform-controls/date.cjs.map +2 -2
  13. package/build/components/dataform-controls/datetime.cjs +11 -3
  14. package/build/components/dataform-controls/datetime.cjs.map +2 -2
  15. package/build/components/dataform-controls/email.cjs +2 -0
  16. package/build/components/dataform-controls/email.cjs.map +2 -2
  17. package/build/components/dataform-controls/index.cjs +3 -1
  18. package/build/components/dataform-controls/index.cjs.map +3 -3
  19. package/build/components/dataform-controls/password.cjs +2 -0
  20. package/build/components/dataform-controls/password.cjs.map +2 -2
  21. package/build/components/dataform-controls/radio.cjs +2 -0
  22. package/build/components/dataform-controls/radio.cjs.map +2 -2
  23. package/build/components/dataform-controls/select.cjs +2 -0
  24. package/build/components/dataform-controls/select.cjs.map +2 -2
  25. package/build/components/dataform-controls/telephone.cjs +2 -0
  26. package/build/components/dataform-controls/telephone.cjs.map +2 -2
  27. package/build/components/dataform-controls/text.cjs +2 -0
  28. package/build/components/dataform-controls/text.cjs.map +2 -2
  29. package/build/components/dataform-controls/textarea.cjs +2 -0
  30. package/build/components/dataform-controls/textarea.cjs.map +2 -2
  31. package/build/components/dataform-controls/toggle-group.cjs +2 -0
  32. package/build/components/dataform-controls/toggle-group.cjs.map +2 -2
  33. package/build/components/dataform-controls/toggle.cjs +2 -0
  34. package/build/components/dataform-controls/toggle.cjs.map +2 -2
  35. package/build/components/dataform-controls/url.cjs +2 -0
  36. package/build/components/dataform-controls/url.cjs.map +2 -2
  37. package/build/components/dataform-controls/utils/relative-date-control.cjs +1 -1
  38. package/build/components/dataform-controls/utils/relative-date-control.cjs.map +1 -1
  39. package/build/components/dataform-controls/utils/validated-input.cjs +2 -0
  40. package/build/components/dataform-controls/utils/validated-input.cjs.map +2 -2
  41. package/build/components/dataform-controls/utils/validated-number.cjs +2 -0
  42. package/build/components/dataform-controls/utils/validated-number.cjs.map +2 -2
  43. package/build/components/dataform-layouts/card/index.cjs +2 -0
  44. package/build/components/dataform-layouts/card/index.cjs.map +2 -2
  45. package/build/components/dataform-layouts/data-form-layout.cjs +11 -2
  46. package/build/components/dataform-layouts/data-form-layout.cjs.map +2 -2
  47. package/build/components/dataform-layouts/details/index.cjs +1 -1
  48. package/build/components/dataform-layouts/details/index.cjs.map +1 -1
  49. package/build/components/dataform-layouts/index.cjs +5 -5
  50. package/build/components/dataform-layouts/index.cjs.map +1 -1
  51. package/build/components/dataform-layouts/normalize-form.cjs +2 -1
  52. package/build/components/dataform-layouts/normalize-form.cjs.map +2 -2
  53. package/build/components/dataform-layouts/panel/dropdown.cjs +81 -66
  54. package/build/components/dataform-layouts/panel/dropdown.cjs.map +3 -3
  55. package/build/components/dataform-layouts/panel/index.cjs +13 -177
  56. package/build/components/dataform-layouts/panel/index.cjs.map +3 -3
  57. package/build/components/dataform-layouts/panel/modal.cjs +15 -11
  58. package/build/components/dataform-layouts/panel/modal.cjs.map +3 -3
  59. package/build/components/dataform-layouts/panel/summary-button.cjs +125 -56
  60. package/build/components/dataform-layouts/panel/summary-button.cjs.map +3 -3
  61. package/build/components/dataform-layouts/panel/utils/get-first-validation-error.cjs +59 -0
  62. package/build/components/dataform-layouts/panel/utils/get-first-validation-error.cjs.map +7 -0
  63. package/build/components/dataform-layouts/panel/utils/get-label-classname.cjs +45 -0
  64. package/build/components/dataform-layouts/panel/utils/get-label-classname.cjs.map +7 -0
  65. package/build/components/dataform-layouts/panel/utils/get-label-content.cjs +36 -0
  66. package/build/components/dataform-layouts/panel/utils/get-label-content.cjs.map +7 -0
  67. package/build/components/dataform-layouts/panel/utils/use-field-from-form-field.cjs +77 -0
  68. package/build/components/dataform-layouts/panel/utils/use-field-from-form-field.cjs.map +7 -0
  69. package/build/components/dataform-layouts/regular/index.cjs +6 -3
  70. package/build/components/dataform-layouts/regular/index.cjs.map +2 -2
  71. package/build/components/dataform-layouts/row/index.cjs +5 -2
  72. package/build/components/dataform-layouts/row/index.cjs.map +2 -2
  73. package/build/components/dataviews-bulk-actions/index.cjs +4 -4
  74. package/build/components/dataviews-bulk-actions/index.cjs.map +2 -2
  75. package/build/components/dataviews-context/index.cjs.map +2 -2
  76. package/build/components/dataviews-filters/filter.cjs +1 -1
  77. package/build/components/dataviews-filters/filter.cjs.map +1 -1
  78. package/build/components/dataviews-filters/filters.cjs +1 -1
  79. package/build/components/dataviews-filters/filters.cjs.map +1 -1
  80. package/build/components/dataviews-filters/search-widget.cjs +25 -11
  81. package/build/components/dataviews-filters/search-widget.cjs.map +2 -2
  82. package/build/components/dataviews-filters/toggle.cjs.map +1 -1
  83. package/build/components/dataviews-footer/index.cjs +1 -1
  84. package/build/components/dataviews-footer/index.cjs.map +1 -1
  85. package/build/components/dataviews-layouts/activity/activity-item.cjs +4 -4
  86. package/build/components/dataviews-layouts/activity/activity-item.cjs.map +1 -1
  87. package/build/components/dataviews-layouts/activity/index.cjs +1 -1
  88. package/build/components/dataviews-layouts/activity/index.cjs.map +1 -1
  89. package/build/components/dataviews-layouts/grid/composite-grid.cjs +27 -38
  90. package/build/components/dataviews-layouts/grid/composite-grid.cjs.map +2 -2
  91. package/build/components/dataviews-layouts/grid/index.cjs +2 -2
  92. package/build/components/dataviews-layouts/grid/index.cjs.map +1 -1
  93. package/build/components/dataviews-layouts/list/index.cjs +7 -8
  94. package/build/components/dataviews-layouts/list/index.cjs.map +2 -2
  95. package/build/components/dataviews-layouts/picker-grid/index.cjs +5 -5
  96. package/build/components/dataviews-layouts/picker-grid/index.cjs.map +2 -2
  97. package/build/components/dataviews-layouts/picker-table/index.cjs +1 -1
  98. package/build/components/dataviews-layouts/picker-table/index.cjs.map +2 -2
  99. package/build/components/dataviews-layouts/table/column-primary.cjs +1 -1
  100. package/build/components/dataviews-layouts/table/column-primary.cjs.map +1 -1
  101. package/build/components/dataviews-layouts/table/index.cjs +1 -1
  102. package/build/components/dataviews-layouts/table/index.cjs.map +2 -2
  103. package/build/components/dataviews-layouts/utils/item-click-wrapper.cjs.map +2 -2
  104. package/build/components/dataviews-pagination/index.cjs +3 -3
  105. package/build/components/dataviews-pagination/index.cjs.map +2 -2
  106. package/build/components/dataviews-picker-footer/index.cjs +3 -3
  107. package/build/components/dataviews-picker-footer/index.cjs.map +2 -2
  108. package/build/components/dataviews-view-config/index.cjs +74 -57
  109. package/build/components/dataviews-view-config/index.cjs.map +3 -3
  110. package/build/components/dataviews-view-config/properties-section.cjs +1 -1
  111. package/build/components/dataviews-view-config/properties-section.cjs.map +1 -1
  112. package/build/dataviews/index.cjs +7 -5
  113. package/build/dataviews/index.cjs.map +2 -2
  114. package/build/dataviews-picker/index.cjs +3 -3
  115. package/build/dataviews-picker/index.cjs.map +2 -2
  116. package/build/hooks/use-form-validity.cjs +61 -28
  117. package/build/hooks/use-form-validity.cjs.map +2 -2
  118. package/build/types/dataform.cjs.map +1 -1
  119. package/build/types/field-api.cjs.map +1 -1
  120. package/build-module/components/dataform-controls/adaptive-select.mjs +21 -0
  121. package/build-module/components/dataform-controls/adaptive-select.mjs.map +7 -0
  122. package/build-module/components/dataform-controls/array.mjs +2 -0
  123. package/build-module/components/dataform-controls/array.mjs.map +2 -2
  124. package/build-module/components/dataform-controls/checkbox.mjs +2 -0
  125. package/build-module/components/dataform-controls/checkbox.mjs.map +2 -2
  126. package/build-module/components/dataform-controls/color.mjs +26 -31
  127. package/build-module/components/dataform-controls/color.mjs.map +2 -2
  128. package/build-module/components/dataform-controls/date.mjs +23 -9
  129. package/build-module/components/dataform-controls/date.mjs.map +2 -2
  130. package/build-module/components/dataform-controls/datetime.mjs +11 -3
  131. package/build-module/components/dataform-controls/datetime.mjs.map +2 -2
  132. package/build-module/components/dataform-controls/email.mjs +2 -0
  133. package/build-module/components/dataform-controls/email.mjs.map +2 -2
  134. package/build-module/components/dataform-controls/index.mjs +3 -1
  135. package/build-module/components/dataform-controls/index.mjs.map +2 -2
  136. package/build-module/components/dataform-controls/password.mjs +2 -0
  137. package/build-module/components/dataform-controls/password.mjs.map +2 -2
  138. package/build-module/components/dataform-controls/radio.mjs +2 -0
  139. package/build-module/components/dataform-controls/radio.mjs.map +2 -2
  140. package/build-module/components/dataform-controls/select.mjs +2 -0
  141. package/build-module/components/dataform-controls/select.mjs.map +2 -2
  142. package/build-module/components/dataform-controls/telephone.mjs +2 -0
  143. package/build-module/components/dataform-controls/telephone.mjs.map +2 -2
  144. package/build-module/components/dataform-controls/text.mjs +2 -0
  145. package/build-module/components/dataform-controls/text.mjs.map +2 -2
  146. package/build-module/components/dataform-controls/textarea.mjs +2 -0
  147. package/build-module/components/dataform-controls/textarea.mjs.map +2 -2
  148. package/build-module/components/dataform-controls/toggle-group.mjs +2 -0
  149. package/build-module/components/dataform-controls/toggle-group.mjs.map +2 -2
  150. package/build-module/components/dataform-controls/toggle.mjs +2 -0
  151. package/build-module/components/dataform-controls/toggle.mjs.map +2 -2
  152. package/build-module/components/dataform-controls/url.mjs +2 -0
  153. package/build-module/components/dataform-controls/url.mjs.map +2 -2
  154. package/build-module/components/dataform-controls/utils/relative-date-control.mjs +1 -1
  155. package/build-module/components/dataform-controls/utils/relative-date-control.mjs.map +1 -1
  156. package/build-module/components/dataform-controls/utils/validated-input.mjs +2 -0
  157. package/build-module/components/dataform-controls/utils/validated-input.mjs.map +2 -2
  158. package/build-module/components/dataform-controls/utils/validated-number.mjs +2 -0
  159. package/build-module/components/dataform-controls/utils/validated-number.mjs.map +2 -2
  160. package/build-module/components/dataform-layouts/card/index.mjs +2 -0
  161. package/build-module/components/dataform-layouts/card/index.mjs.map +2 -2
  162. package/build-module/components/dataform-layouts/data-form-layout.mjs +12 -3
  163. package/build-module/components/dataform-layouts/data-form-layout.mjs.map +2 -2
  164. package/build-module/components/dataform-layouts/details/index.mjs +1 -1
  165. package/build-module/components/dataform-layouts/details/index.mjs.map +1 -1
  166. package/build-module/components/dataform-layouts/index.mjs +5 -5
  167. package/build-module/components/dataform-layouts/index.mjs.map +1 -1
  168. package/build-module/components/dataform-layouts/normalize-form.mjs +2 -1
  169. package/build-module/components/dataform-layouts/normalize-form.mjs.map +2 -2
  170. package/build-module/components/dataform-layouts/panel/dropdown.mjs +83 -68
  171. package/build-module/components/dataform-layouts/panel/dropdown.mjs.map +2 -2
  172. package/build-module/components/dataform-layouts/panel/index.mjs +14 -178
  173. package/build-module/components/dataform-layouts/panel/index.mjs.map +2 -2
  174. package/build-module/components/dataform-layouts/panel/modal.mjs +15 -11
  175. package/build-module/components/dataform-layouts/panel/modal.mjs.map +2 -2
  176. package/build-module/components/dataform-layouts/panel/summary-button.mjs +117 -58
  177. package/build-module/components/dataform-layouts/panel/summary-button.mjs.map +2 -2
  178. package/build-module/components/dataform-layouts/panel/utils/get-first-validation-error.mjs +38 -0
  179. package/build-module/components/dataform-layouts/panel/utils/get-first-validation-error.mjs.map +7 -0
  180. package/build-module/components/dataform-layouts/panel/utils/get-label-classname.mjs +14 -0
  181. package/build-module/components/dataform-layouts/panel/utils/get-label-classname.mjs.map +7 -0
  182. package/build-module/components/dataform-layouts/panel/utils/get-label-content.mjs +15 -0
  183. package/build-module/components/dataform-layouts/panel/utils/get-label-content.mjs.map +7 -0
  184. package/build-module/components/dataform-layouts/panel/utils/use-field-from-form-field.mjs +46 -0
  185. package/build-module/components/dataform-layouts/panel/utils/use-field-from-form-field.mjs.map +7 -0
  186. package/build-module/components/dataform-layouts/regular/index.mjs +6 -3
  187. package/build-module/components/dataform-layouts/regular/index.mjs.map +2 -2
  188. package/build-module/components/dataform-layouts/row/index.mjs +5 -2
  189. package/build-module/components/dataform-layouts/row/index.mjs.map +2 -2
  190. package/build-module/components/dataviews-bulk-actions/index.mjs +4 -4
  191. package/build-module/components/dataviews-bulk-actions/index.mjs.map +2 -2
  192. package/build-module/components/dataviews-context/index.mjs.map +2 -2
  193. package/build-module/components/dataviews-filters/filter.mjs +1 -1
  194. package/build-module/components/dataviews-filters/filter.mjs.map +1 -1
  195. package/build-module/components/dataviews-filters/filters.mjs +1 -1
  196. package/build-module/components/dataviews-filters/filters.mjs.map +1 -1
  197. package/build-module/components/dataviews-filters/search-widget.mjs +25 -11
  198. package/build-module/components/dataviews-filters/search-widget.mjs.map +2 -2
  199. package/build-module/components/dataviews-filters/toggle.mjs.map +1 -1
  200. package/build-module/components/dataviews-footer/index.mjs +1 -1
  201. package/build-module/components/dataviews-footer/index.mjs.map +1 -1
  202. package/build-module/components/dataviews-layouts/activity/activity-item.mjs +4 -4
  203. package/build-module/components/dataviews-layouts/activity/activity-item.mjs.map +1 -1
  204. package/build-module/components/dataviews-layouts/activity/index.mjs +1 -1
  205. package/build-module/components/dataviews-layouts/activity/index.mjs.map +1 -1
  206. package/build-module/components/dataviews-layouts/grid/composite-grid.mjs +27 -38
  207. package/build-module/components/dataviews-layouts/grid/composite-grid.mjs.map +2 -2
  208. package/build-module/components/dataviews-layouts/grid/index.mjs +2 -2
  209. package/build-module/components/dataviews-layouts/grid/index.mjs.map +1 -1
  210. package/build-module/components/dataviews-layouts/list/index.mjs +7 -8
  211. package/build-module/components/dataviews-layouts/list/index.mjs.map +2 -2
  212. package/build-module/components/dataviews-layouts/picker-grid/index.mjs +5 -5
  213. package/build-module/components/dataviews-layouts/picker-grid/index.mjs.map +2 -2
  214. package/build-module/components/dataviews-layouts/picker-table/index.mjs +1 -1
  215. package/build-module/components/dataviews-layouts/picker-table/index.mjs.map +2 -2
  216. package/build-module/components/dataviews-layouts/table/column-primary.mjs +1 -1
  217. package/build-module/components/dataviews-layouts/table/column-primary.mjs.map +1 -1
  218. package/build-module/components/dataviews-layouts/table/index.mjs +1 -1
  219. package/build-module/components/dataviews-layouts/table/index.mjs.map +2 -2
  220. package/build-module/components/dataviews-layouts/utils/item-click-wrapper.mjs.map +2 -2
  221. package/build-module/components/dataviews-pagination/index.mjs +3 -3
  222. package/build-module/components/dataviews-pagination/index.mjs.map +2 -2
  223. package/build-module/components/dataviews-picker-footer/index.mjs +3 -3
  224. package/build-module/components/dataviews-picker-footer/index.mjs.map +2 -2
  225. package/build-module/components/dataviews-view-config/index.mjs +74 -59
  226. package/build-module/components/dataviews-view-config/index.mjs.map +2 -2
  227. package/build-module/components/dataviews-view-config/properties-section.mjs +1 -1
  228. package/build-module/components/dataviews-view-config/properties-section.mjs.map +1 -1
  229. package/build-module/dataviews/index.mjs +7 -5
  230. package/build-module/dataviews/index.mjs.map +2 -2
  231. package/build-module/dataviews-picker/index.mjs +3 -3
  232. package/build-module/dataviews-picker/index.mjs.map +2 -2
  233. package/build-module/hooks/use-form-validity.mjs +61 -28
  234. package/build-module/hooks/use-form-validity.mjs.map +2 -2
  235. package/build-style/style-rtl.css +144 -217
  236. package/build-style/style.css +144 -217
  237. package/build-types/components/dataform-controls/adaptive-select.d.ts +6 -0
  238. package/build-types/components/dataform-controls/adaptive-select.d.ts.map +1 -0
  239. package/build-types/components/dataform-controls/array.d.ts +1 -1
  240. package/build-types/components/dataform-controls/array.d.ts.map +1 -1
  241. package/build-types/components/dataform-controls/checkbox.d.ts +1 -1
  242. package/build-types/components/dataform-controls/checkbox.d.ts.map +1 -1
  243. package/build-types/components/dataform-controls/color.d.ts +1 -1
  244. package/build-types/components/dataform-controls/color.d.ts.map +1 -1
  245. package/build-types/components/dataform-controls/date.d.ts +1 -1
  246. package/build-types/components/dataform-controls/date.d.ts.map +1 -1
  247. package/build-types/components/dataform-controls/datetime.d.ts +1 -1
  248. package/build-types/components/dataform-controls/datetime.d.ts.map +1 -1
  249. package/build-types/components/dataform-controls/email.d.ts +1 -1
  250. package/build-types/components/dataform-controls/email.d.ts.map +1 -1
  251. package/build-types/components/dataform-controls/index.d.ts.map +1 -1
  252. package/build-types/components/dataform-controls/password.d.ts +1 -1
  253. package/build-types/components/dataform-controls/password.d.ts.map +1 -1
  254. package/build-types/components/dataform-controls/radio.d.ts +1 -1
  255. package/build-types/components/dataform-controls/radio.d.ts.map +1 -1
  256. package/build-types/components/dataform-controls/select.d.ts +1 -1
  257. package/build-types/components/dataform-controls/select.d.ts.map +1 -1
  258. package/build-types/components/dataform-controls/telephone.d.ts +1 -1
  259. package/build-types/components/dataform-controls/telephone.d.ts.map +1 -1
  260. package/build-types/components/dataform-controls/text.d.ts +1 -1
  261. package/build-types/components/dataform-controls/text.d.ts.map +1 -1
  262. package/build-types/components/dataform-controls/textarea.d.ts +1 -1
  263. package/build-types/components/dataform-controls/textarea.d.ts.map +1 -1
  264. package/build-types/components/dataform-controls/toggle-group.d.ts +1 -1
  265. package/build-types/components/dataform-controls/toggle-group.d.ts.map +1 -1
  266. package/build-types/components/dataform-controls/toggle.d.ts +1 -1
  267. package/build-types/components/dataform-controls/toggle.d.ts.map +1 -1
  268. package/build-types/components/dataform-controls/url.d.ts +1 -1
  269. package/build-types/components/dataform-controls/url.d.ts.map +1 -1
  270. package/build-types/components/dataform-controls/utils/validated-input.d.ts +1 -1
  271. package/build-types/components/dataform-controls/utils/validated-input.d.ts.map +1 -1
  272. package/build-types/components/dataform-controls/utils/validated-number.d.ts +1 -1
  273. package/build-types/components/dataform-controls/utils/validated-number.d.ts.map +1 -1
  274. package/build-types/components/dataform-layouts/card/index.d.ts +1 -1
  275. package/build-types/components/dataform-layouts/card/index.d.ts.map +1 -1
  276. package/build-types/components/dataform-layouts/data-form-layout.d.ts +2 -1
  277. package/build-types/components/dataform-layouts/data-form-layout.d.ts.map +1 -1
  278. package/build-types/components/dataform-layouts/normalize-form.d.ts.map +1 -1
  279. package/build-types/components/dataform-layouts/panel/dropdown.d.ts +2 -13
  280. package/build-types/components/dataform-layouts/panel/dropdown.d.ts.map +1 -1
  281. package/build-types/components/dataform-layouts/panel/index.d.ts +1 -1
  282. package/build-types/components/dataform-layouts/panel/index.d.ts.map +1 -1
  283. package/build-types/components/dataform-layouts/panel/modal.d.ts +2 -11
  284. package/build-types/components/dataform-layouts/panel/modal.d.ts.map +1 -1
  285. package/build-types/components/dataform-layouts/panel/summary-button.d.ts +6 -5
  286. package/build-types/components/dataform-layouts/panel/summary-button.d.ts.map +1 -1
  287. package/build-types/components/dataform-layouts/panel/utils/get-first-validation-error.d.ts +4 -0
  288. package/build-types/components/dataform-layouts/panel/utils/get-first-validation-error.d.ts.map +1 -0
  289. package/build-types/components/dataform-layouts/panel/utils/get-label-classname.d.ts +4 -0
  290. package/build-types/components/dataform-layouts/panel/utils/get-label-classname.d.ts.map +1 -0
  291. package/build-types/components/dataform-layouts/panel/utils/get-label-content.d.ts +3 -0
  292. package/build-types/components/dataform-layouts/panel/utils/get-label-content.d.ts.map +1 -0
  293. package/build-types/components/dataform-layouts/panel/utils/use-field-from-form-field.d.ts +23 -0
  294. package/build-types/components/dataform-layouts/panel/utils/use-field-from-form-field.d.ts.map +1 -0
  295. package/build-types/components/dataform-layouts/regular/index.d.ts +1 -1
  296. package/build-types/components/dataform-layouts/regular/index.d.ts.map +1 -1
  297. package/build-types/components/dataform-layouts/row/index.d.ts +1 -1
  298. package/build-types/components/dataform-layouts/row/index.d.ts.map +1 -1
  299. package/build-types/components/dataviews-context/index.d.ts +1 -0
  300. package/build-types/components/dataviews-context/index.d.ts.map +1 -1
  301. package/build-types/components/dataviews-filters/filter.d.ts +1 -1
  302. package/build-types/components/dataviews-filters/filter.d.ts.map +1 -1
  303. package/build-types/components/dataviews-filters/search-widget.d.ts.map +1 -1
  304. package/build-types/components/dataviews-layouts/list/index.d.ts.map +1 -1
  305. package/build-types/components/dataviews-layouts/utils/item-click-wrapper.d.ts +1 -0
  306. package/build-types/components/dataviews-layouts/utils/item-click-wrapper.d.ts.map +1 -1
  307. package/build-types/components/dataviews-view-config/index.d.ts.map +1 -1
  308. package/build-types/dataform/stories/index.story.d.ts +9 -1
  309. package/build-types/dataform/stories/index.story.d.ts.map +1 -1
  310. package/build-types/dataform/stories/layout-panel.d.ts +3 -1
  311. package/build-types/dataform/stories/layout-panel.d.ts.map +1 -1
  312. package/build-types/dataviews/index.d.ts +2 -1
  313. package/build-types/dataviews/index.d.ts.map +1 -1
  314. package/build-types/dataviews/stories/fixtures.d.ts +1 -0
  315. package/build-types/dataviews/stories/fixtures.d.ts.map +1 -1
  316. package/build-types/dataviews/stories/index.story.d.ts +14 -2
  317. package/build-types/dataviews/stories/index.story.d.ts.map +1 -1
  318. package/build-types/dataviews/stories/layout-activity.d.ts +2 -1
  319. package/build-types/dataviews/stories/layout-activity.d.ts.map +1 -1
  320. package/build-types/dataviews/stories/layout-list.d.ts +2 -1
  321. package/build-types/dataviews/stories/layout-list.d.ts.map +1 -1
  322. package/build-types/field-types/stories/index.story.d.ts +42 -16
  323. package/build-types/field-types/stories/index.story.d.ts.map +1 -1
  324. package/build-types/hooks/use-form-validity.d.ts.map +1 -1
  325. package/build-types/types/dataform.d.ts +4 -0
  326. package/build-types/types/dataform.d.ts.map +1 -1
  327. package/build-types/types/field-api.d.ts +4 -0
  328. package/build-types/types/field-api.d.ts.map +1 -1
  329. package/build-wp/index.js +2689 -2167
  330. package/package.json +21 -21
  331. package/src/components/dataform-controls/adaptive-select.tsx +23 -0
  332. package/src/components/dataform-controls/array.tsx +2 -0
  333. package/src/components/dataform-controls/checkbox.tsx +2 -0
  334. package/src/components/dataform-controls/color.tsx +31 -36
  335. package/src/components/dataform-controls/date.tsx +24 -16
  336. package/src/components/dataform-controls/datetime.tsx +16 -6
  337. package/src/components/dataform-controls/email.tsx +2 -0
  338. package/src/components/dataform-controls/index.tsx +3 -1
  339. package/src/components/dataform-controls/password.tsx +2 -0
  340. package/src/components/dataform-controls/radio.tsx +2 -0
  341. package/src/components/dataform-controls/select.tsx +2 -0
  342. package/src/components/dataform-controls/style.scss +4 -0
  343. package/src/components/dataform-controls/telephone.tsx +2 -0
  344. package/src/components/dataform-controls/text.tsx +2 -0
  345. package/src/components/dataform-controls/textarea.tsx +2 -0
  346. package/src/components/dataform-controls/toggle-group.tsx +2 -0
  347. package/src/components/dataform-controls/toggle.tsx +2 -0
  348. package/src/components/dataform-controls/url.tsx +2 -0
  349. package/src/components/dataform-controls/utils/relative-date-control.tsx +1 -1
  350. package/src/components/dataform-controls/utils/validated-input.tsx +2 -0
  351. package/src/components/dataform-controls/utils/validated-number.tsx +2 -0
  352. package/src/components/dataform-layouts/card/index.tsx +2 -0
  353. package/src/components/dataform-layouts/data-form-layout.tsx +18 -4
  354. package/src/components/dataform-layouts/details/index.tsx +1 -1
  355. package/src/components/dataform-layouts/index.tsx +5 -5
  356. package/src/components/dataform-layouts/normalize-form.ts +1 -0
  357. package/src/components/dataform-layouts/panel/dropdown.tsx +97 -96
  358. package/src/components/dataform-layouts/panel/index.tsx +10 -245
  359. package/src/components/dataform-layouts/panel/modal.tsx +24 -22
  360. package/src/components/dataform-layouts/panel/style.scss +109 -27
  361. package/src/components/dataform-layouts/panel/summary-button.tsx +140 -62
  362. package/src/components/dataform-layouts/panel/utils/get-first-validation-error.ts +47 -0
  363. package/src/components/dataform-layouts/panel/utils/get-label-classname.ts +18 -0
  364. package/src/components/dataform-layouts/panel/utils/get-label-content.tsx +26 -0
  365. package/src/components/dataform-layouts/panel/utils/use-field-from-form-field.ts +78 -0
  366. package/src/components/dataform-layouts/regular/index.tsx +8 -3
  367. package/src/components/dataform-layouts/regular/style.scss +10 -0
  368. package/src/components/dataform-layouts/row/index.tsx +5 -2
  369. package/src/components/dataform-layouts/test/normalize-form.ts +5 -0
  370. package/src/components/dataviews-bulk-actions/index.tsx +4 -4
  371. package/src/components/dataviews-context/index.ts +1 -0
  372. package/src/components/dataviews-filters/filter.tsx +2 -2
  373. package/src/components/dataviews-filters/filters.tsx +1 -1
  374. package/src/components/dataviews-filters/search-widget.tsx +10 -2
  375. package/src/components/dataviews-filters/style.scss +8 -0
  376. package/src/components/dataviews-filters/toggle.tsx +1 -1
  377. package/src/components/dataviews-footer/index.tsx +1 -1
  378. package/src/components/dataviews-layouts/activity/activity-item.tsx +4 -4
  379. package/src/components/dataviews-layouts/activity/index.tsx +1 -1
  380. package/src/components/dataviews-layouts/grid/composite-grid.tsx +35 -35
  381. package/src/components/dataviews-layouts/grid/index.tsx +2 -2
  382. package/src/components/dataviews-layouts/grid/style.scss +15 -1
  383. package/src/components/dataviews-layouts/list/index.tsx +7 -8
  384. package/src/components/dataviews-layouts/list/style.scss +1 -0
  385. package/src/components/dataviews-layouts/picker-grid/index.tsx +5 -5
  386. package/src/components/dataviews-layouts/picker-table/index.tsx +1 -1
  387. package/src/components/dataviews-layouts/table/column-primary.tsx +1 -1
  388. package/src/components/dataviews-layouts/table/index.tsx +1 -1
  389. package/src/components/dataviews-layouts/utils/item-click-wrapper.tsx +1 -0
  390. package/src/components/dataviews-pagination/index.tsx +3 -3
  391. package/src/components/dataviews-picker-footer/index.tsx +3 -3
  392. package/src/components/dataviews-view-config/index.tsx +61 -50
  393. package/src/components/dataviews-view-config/properties-section.tsx +1 -1
  394. package/src/components/dataviews-view-config/style.scss +21 -0
  395. package/src/dataform/stories/content.story.tsx +5 -5
  396. package/src/dataform/stories/index.story.tsx +6 -1
  397. package/src/dataform/stories/layout-panel.tsx +19 -2
  398. package/src/dataform/stories/validation.tsx +2 -2
  399. package/src/dataform/test/dataform.tsx +2 -2
  400. package/src/dataviews/index.tsx +7 -4
  401. package/src/dataviews/stories/empty.tsx +1 -1
  402. package/src/dataviews/stories/fixtures.tsx +93 -4
  403. package/src/dataviews/stories/free-composition.tsx +6 -6
  404. package/src/dataviews/stories/index.story.tsx +12 -0
  405. package/src/dataviews/stories/layout-activity.tsx +6 -3
  406. package/src/dataviews/stories/layout-list.tsx +3 -0
  407. package/src/dataviews-picker/index.tsx +4 -4
  408. package/src/dataviews-picker/stories/fixtures.tsx +2 -2
  409. package/src/dataviews-picker/stories/index.story.tsx +1 -1
  410. package/src/field-types/stories/index.story.tsx +99 -5
  411. package/src/hooks/test/use-form-validity.ts +303 -178
  412. package/src/hooks/use-form-validity.ts +85 -36
  413. package/src/style.scss +0 -2
  414. package/src/types/dataform.ts +5 -0
  415. package/src/types/field-api.ts +4 -0
@@ -1,194 +1,3 @@
1
- @charset "UTF-8";
2
- /* -------------------------------------------
3
- * Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
4
- * ------------------------------------------- */
5
- :root {
6
- --wpds-border-radius-lg: 8px; /* Large radius */
7
- --wpds-border-radius-md: 4px; /* Medium radius */
8
- --wpds-border-radius-sm: 2px; /* Small radius */
9
- --wpds-border-radius-xs: 1px; /* Extra small radius */
10
- --wpds-border-width-focus: 2px; /* Border width for focus ring */
11
- --wpds-border-width-lg: 8px; /* Large width */
12
- --wpds-border-width-md: 4px; /* Medium width */
13
- --wpds-border-width-sm: 2px; /* Small width */
14
- --wpds-border-width-xs: 1px; /* Extra small width */
15
- --wpds-color-bg-interactive-brand-strong: #3858e9; /* Background color for interactive elements with brand tone and strong emphasis. */
16
- --wpds-color-bg-interactive-brand-strong-active: #2e49d9; /* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
17
- --wpds-color-bg-interactive-brand-weak: #00000000; /* Background color for interactive elements with brand tone and weak emphasis. */
18
- --wpds-color-bg-interactive-brand-weak-active: #e6eaf4; /* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
19
- --wpds-color-bg-interactive-error: #00000000; /* Background color for interactive elements with error tone and normal emphasis. */
20
- --wpds-color-bg-interactive-error-active: #fff6f4; /* Background color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
21
- --wpds-color-bg-interactive-error-strong: #cc1818; /* Background color for interactive elements with error tone and strong emphasis. */
22
- --wpds-color-bg-interactive-error-strong-active: #b90000; /* Background color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
23
- --wpds-color-bg-interactive-error-weak: #00000000; /* Background color for interactive elements with error tone and weak emphasis. */
24
- --wpds-color-bg-interactive-error-weak-active: #f6e6e3; /* Background color for interactive elements with error tone and weak emphasis that are hovered, focused, or active. */
25
- --wpds-color-bg-interactive-neutral-strong: #2d2d2d; /* Background color for interactive elements with neutral tone and strong emphasis. */
26
- --wpds-color-bg-interactive-neutral-strong-active: #1e1e1e; /* Background color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
27
- --wpds-color-bg-interactive-neutral-strong-disabled: #e2e2e2; /* Background color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
28
- --wpds-color-bg-interactive-neutral-weak: #00000000; /* Background color for interactive elements with neutral tone and weak emphasis. */
29
- --wpds-color-bg-interactive-neutral-weak-active: #eaeaea; /* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
30
- --wpds-color-bg-interactive-neutral-weak-disabled: #00000000; /* Background color for interactive elements with weak emphasis, in their disabled state, regardless of the tone. */
31
- --wpds-color-bg-surface-brand: #ecf0f9; /* Background color for surfaces with brand tone and normal emphasis. */
32
- --wpds-color-bg-surface-caution: #fee994; /* Background color for surfaces with caution tone and normal emphasis. */
33
- --wpds-color-bg-surface-caution-weak: #fff9c9; /* Background color for surfaces with caution tone and weak emphasis. */
34
- --wpds-color-bg-surface-error: #f6e6e3; /* Background color for surfaces with error tone and normal emphasis. */
35
- --wpds-color-bg-surface-error-weak: #fff6f4; /* Background color for surfaces with error tone and weak emphasis. */
36
- --wpds-color-bg-surface-info: #deebfa; /* Background color for surfaces with info tone and normal emphasis. */
37
- --wpds-color-bg-surface-info-weak: #f2f9ff; /* Background color for surfaces with info tone and weak emphasis. */
38
- --wpds-color-bg-surface-neutral: #f8f8f8; /* Background color for surfaces with normal emphasis. */
39
- --wpds-color-bg-surface-neutral-strong: #ffffff; /* Background color for surfaces with strong emphasis. */
40
- --wpds-color-bg-surface-neutral-weak: #f0f0f0; /* Background color for surfaces with weak emphasis. */
41
- --wpds-color-bg-surface-success: #c5f7cc; /* Background color for surfaces with success tone and normal emphasis. */
42
- --wpds-color-bg-surface-success-weak: #eaffed; /* Background color for surfaces with success tone and weak emphasis. */
43
- --wpds-color-bg-surface-warning: #fde6bd; /* Background color for surfaces with warning tone and normal emphasis. */
44
- --wpds-color-bg-surface-warning-weak: #fff7e0; /* Background color for surfaces with warning tone and weak emphasis. */
45
- --wpds-color-bg-thumb-brand: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
46
- --wpds-color-bg-thumb-brand-active: #3858e9; /* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
47
- --wpds-color-bg-thumb-neutral-disabled: #d8d8d8; /* Background color for thumbs with normal emphasis (eg. slider thumb and filled track), in their disabled state, regardless of the tone. */
48
- --wpds-color-bg-thumb-neutral-weak: #8a8a8a; /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb). */
49
- --wpds-color-bg-thumb-neutral-weak-active: #6c6c6c; /* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb) that are hovered, focused, or active. */
50
- --wpds-color-bg-track-neutral: #d8d8d8; /* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
51
- --wpds-color-bg-track-neutral-weak: #e0e0e0; /* Background color for tracks with a neutral tone and weak emphasis (eg. scrollbar track). */
52
- --wpds-color-fg-content-caution: #281d00; /* Foreground color for content like text with caution tone and normal emphasis. */
53
- --wpds-color-fg-content-caution-weak: #826a00; /* Foreground color for content like text with caution tone and weak emphasis. */
54
- --wpds-color-fg-content-error: #470000; /* Foreground color for content like text with error tone and normal emphasis. */
55
- --wpds-color-fg-content-error-weak: #cc1818; /* Foreground color for content like text with error tone and weak emphasis. */
56
- --wpds-color-fg-content-info: #001b4f; /* Foreground color for content like text with info tone and normal emphasis. */
57
- --wpds-color-fg-content-info-weak: #006bd7; /* Foreground color for content like text with info tone and weak emphasis. */
58
- --wpds-color-fg-content-neutral: #1e1e1e; /* Foreground color for content like text with normal emphasis. */
59
- --wpds-color-fg-content-neutral-weak: #6d6d6d; /* Foreground color for content like text with weak emphasis. */
60
- --wpds-color-fg-content-success: #002900; /* Foreground color for content like text with success tone and normal emphasis. */
61
- --wpds-color-fg-content-success-weak: #007f30; /* Foreground color for content like text with success tone and weak emphasis. */
62
- --wpds-color-fg-content-warning: #2e1900; /* Foreground color for content like text with warning tone and normal emphasis. */
63
- --wpds-color-fg-content-warning-weak: #926300; /* Foreground color for content like text with warning tone and weak emphasis. */
64
- --wpds-color-fg-interactive-brand: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis. */
65
- --wpds-color-fg-interactive-brand-active: #3858e9; /* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
66
- --wpds-color-fg-interactive-brand-strong: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis. */
67
- --wpds-color-fg-interactive-brand-strong-active: #eff0f2; /* Foreground color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
68
- --wpds-color-fg-interactive-error: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis. */
69
- --wpds-color-fg-interactive-error-active: #cc1818; /* Foreground color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
70
- --wpds-color-fg-interactive-error-strong: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis. */
71
- --wpds-color-fg-interactive-error-strong-active: #f2efef; /* Foreground color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
72
- --wpds-color-fg-interactive-neutral: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis. */
73
- --wpds-color-fg-interactive-neutral-active: #1e1e1e; /* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
74
- --wpds-color-fg-interactive-neutral-disabled: #8a8a8a; /* Foreground color for interactive elements with normal emphasis, in their disabled state, regardless of the tone. */
75
- --wpds-color-fg-interactive-neutral-strong: #f0f0f0; /* Foreground color for interactive elements with neutral tone and strong emphasis. */
76
- --wpds-color-fg-interactive-neutral-strong-active: #f0f0f0; /* Foreground color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
77
- --wpds-color-fg-interactive-neutral-strong-disabled: #8a8a8a; /* Foreground color for interactive elements with strong emphasis, in their disabled state, regardless of the tone. */
78
- --wpds-color-fg-interactive-neutral-weak: #6d6d6d; /* Foreground color for interactive elements with neutral tone and weak emphasis. */
79
- --wpds-color-fg-interactive-neutral-weak-disabled: #8a8a8a; /* Foreground color for interactive elements with weak emphasis, in their disabled state, regardless of the tone. */
80
- --wpds-color-stroke-focus-brand: #3858e9; /* Accessible stroke color applied to focus rings. */
81
- --wpds-color-stroke-interactive-brand: #3858e9; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis. */
82
- --wpds-color-stroke-interactive-brand-active: #2337c8; /* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
83
- --wpds-color-stroke-interactive-error: #cc1818; /* Accessible stroke color used for interactive error-toned elements with normal emphasis. */
84
- --wpds-color-stroke-interactive-error-active: #9d0000; /* Accessible stroke color used for interactive error-toned elements with normal emphasis that are hovered, focused, or active. */
85
- --wpds-color-stroke-interactive-error-strong: #cc1818; /* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
86
- --wpds-color-stroke-interactive-neutral: #8a8a8a; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
87
- --wpds-color-stroke-interactive-neutral-active: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
88
- --wpds-color-stroke-interactive-neutral-disabled: #d8d8d8; /* Accessible stroke color used for interactive elements with normal emphasis, in their disabled state, regardless of the tone. */
89
- --wpds-color-stroke-interactive-neutral-strong: #6c6c6c; /* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
90
- --wpds-color-stroke-surface-brand: #a3b1d4; /* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
91
- --wpds-color-stroke-surface-brand-strong: #3858e9; /* Decorative stroke color used to define brand-toned surface boundaries with strong emphasis. */
92
- --wpds-color-stroke-surface-error: #daa39b; /* Decorative stroke color used to define error-toned surface boundaries with normal emphasis. */
93
- --wpds-color-stroke-surface-error-strong: #cc1818; /* Decorative stroke color used to define error-toned surface boundaries with strong emphasis. */
94
- --wpds-color-stroke-surface-info: #9fbcdc; /* Decorative stroke color used to define info-toned surface boundaries with normal emphasis. */
95
- --wpds-color-stroke-surface-info-strong: #006bd7; /* Decorative stroke color used to define info-toned surface boundaries with strong emphasis. */
96
- --wpds-color-stroke-surface-neutral: #d8d8d8; /* Decorative stroke color used to define neutrally-toned surface boundaries with normal emphasis. */
97
- --wpds-color-stroke-surface-neutral-strong: #8a8a8a; /* Decorative stroke color used to define neutrally-toned surface boundaries with strong emphasis. */
98
- --wpds-color-stroke-surface-neutral-weak: #e0e0e0; /* Decorative stroke color used to define neutrally-toned surface boundaries with weak emphasis. */
99
- --wpds-color-stroke-surface-success: #8ac894; /* Decorative stroke color used to define success-toned surface boundaries with normal emphasis. */
100
- --wpds-color-stroke-surface-success-strong: #007f30; /* Decorative stroke color used to define success-toned surface boundaries with strong emphasis. */
101
- --wpds-color-stroke-surface-warning: #d0b381; /* Decorative stroke color used to define warning-toned surface boundaries with normal emphasis. */
102
- --wpds-color-stroke-surface-warning-strong: #926300; /* Decorative stroke color used to define warning-toned surface boundaries with strong emphasis. */
103
- --wpds-dimension-base: 4px; /* Base dimension unit */
104
- --wpds-dimension-gap-2xs: 4px; /* 2x extra small gap */
105
- --wpds-dimension-gap-lg: 24px; /* Large gap */
106
- --wpds-dimension-gap-md: 16px; /* Medium gap */
107
- --wpds-dimension-gap-sm: 12px; /* Small gap */
108
- --wpds-dimension-gap-xl: 40px; /* Extra large gap */
109
- --wpds-dimension-gap-xs: 8px; /* Extra small gap */
110
- --wpds-dimension-padding-surface-2xs: 4px; /* 2x extra small spacing for surfaces */
111
- --wpds-dimension-padding-surface-lg: 32px; /* Large spacing for surfaces */
112
- --wpds-dimension-padding-surface-md: 24px; /* Medium spacing for surfaces */
113
- --wpds-dimension-padding-surface-sm: 16px; /* Small spacing for surfaces */
114
- --wpds-dimension-padding-surface-xs: 8px; /* Extra small spacing for surfaces */
115
- --wpds-elevation-large: 0 5px 15px 0 #00000014, 0 15px 27px 0 #00000012,
116
- 0 30px 36px 0 #0000000a, 0 50px 43px 0 #00000005; /* For components that confirm decisions or handle necessary interruptions. Example: Modals. */
117
- --wpds-elevation-medium: 0 2px 3px 0 #0000000d, 0 4px 5px 0 #0000000a,
118
- 0 12px 12px 0 #00000008, 0 16px 16px 0 #00000005; /* For components that offer additional actions. Example: Menus, Command Palette */
119
- --wpds-elevation-small: 0 1px 2px 0 #0000000d, 0 2px 3px 0 #0000000a,
120
- 0 6px 6px 0 #00000008, 0 8px 8px 0 #00000005; /* For components that provide contextual feedback without being intrusive. Generally non-interruptive. Example: Tooltips, Snackbar. */
121
- --wpds-elevation-x-small: 0 1px 1px 0 #00000008, 0 1px 2px 0 #00000005,
122
- 0 3px 3px 0 #00000005, 0 4px 4px 0 #00000003; /* For sections and containers that group related content and controls, which may overlap other content. Example: Preview Frame. */
123
- --wpds-font-family-body: -apple-system, system-ui, 'Segoe UI', 'Roboto',
124
- 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; /* Body font family */
125
- --wpds-font-family-heading: -apple-system, system-ui, 'Segoe UI', 'Roboto',
126
- 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif; /* Headings font family */
127
- --wpds-font-family-mono: 'Menlo', 'Consolas', monaco, monospace; /* Monospace font family */
128
- --wpds-font-line-height-2xl: 40px; /* 2X large line height */
129
- --wpds-font-line-height-lg: 28px; /* Large line height */
130
- --wpds-font-line-height-md: 24px; /* Medium line height */
131
- --wpds-font-line-height-sm: 20px; /* Small line height */
132
- --wpds-font-line-height-xl: 32px; /* Extra large line height */
133
- --wpds-font-line-height-xs: 16px; /* Extra small line height */
134
- --wpds-font-size-2xl: 32px; /* 2X large font size */
135
- --wpds-font-size-lg: 15px; /* Large font size */
136
- --wpds-font-size-md: 13px; /* Medium font size */
137
- --wpds-font-size-sm: 12px; /* Small font size */
138
- --wpds-font-size-xl: 20px; /* Extra large font size */
139
- --wpds-font-size-xs: 11px; /* Extra small font size */
140
- --wpds-font-weight-medium: 499; /* Medium font weight for emphasis and headings */
141
- --wpds-font-weight-regular: 400; /* Regular font weight for body text */
142
- }
143
-
144
- [data-wpds-theme-provider-id][data-wpds-density=default] {
145
- --wpds-dimension-base: 4px; /* Base dimension unit */
146
- --wpds-dimension-gap-2xs: 4px; /* 2x extra small gap */
147
- --wpds-dimension-gap-lg: 24px; /* Large gap */
148
- --wpds-dimension-gap-md: 16px; /* Medium gap */
149
- --wpds-dimension-gap-sm: 12px; /* Small gap */
150
- --wpds-dimension-gap-xl: 40px; /* Extra large gap */
151
- --wpds-dimension-gap-xs: 8px; /* Extra small gap */
152
- --wpds-dimension-padding-surface-2xs: 4px; /* 2x extra small spacing for surfaces */
153
- --wpds-dimension-padding-surface-lg: 32px; /* Large spacing for surfaces */
154
- --wpds-dimension-padding-surface-md: 24px; /* Medium spacing for surfaces */
155
- --wpds-dimension-padding-surface-sm: 16px; /* Small spacing for surfaces */
156
- --wpds-dimension-padding-surface-xs: 8px; /* Extra small spacing for surfaces */
157
- }
158
-
159
- [data-wpds-theme-provider-id][data-wpds-density=compact] {
160
- --wpds-dimension-gap-2xs: 4px; /* 2x extra small gap */
161
- --wpds-dimension-gap-lg: 20px; /* Large gap */
162
- --wpds-dimension-gap-md: 12px; /* Medium gap */
163
- --wpds-dimension-gap-sm: 8px; /* Small gap */
164
- --wpds-dimension-gap-xl: 32px; /* Extra large gap */
165
- --wpds-dimension-gap-xs: 4px; /* Extra small gap */
166
- --wpds-dimension-padding-surface-2xs: 4px; /* 2x extra small spacing for surfaces */
167
- --wpds-dimension-padding-surface-lg: 24px; /* Large spacing for surfaces */
168
- --wpds-dimension-padding-surface-md: 20px; /* Medium spacing for surfaces */
169
- --wpds-dimension-padding-surface-sm: 12px; /* Small spacing for surfaces */
170
- --wpds-dimension-padding-surface-xs: 4px; /* Extra small spacing for surfaces */
171
- }
172
-
173
- [data-wpds-theme-provider-id][data-wpds-density=comfortable] {
174
- --wpds-dimension-gap-2xs: 8px; /* 2x extra small gap */
175
- --wpds-dimension-gap-lg: 32px; /* Large gap */
176
- --wpds-dimension-gap-md: 20px; /* Medium gap */
177
- --wpds-dimension-gap-sm: 16px; /* Small gap */
178
- --wpds-dimension-gap-xl: 48px; /* Extra large gap */
179
- --wpds-dimension-gap-xs: 12px; /* Extra small gap */
180
- --wpds-dimension-padding-surface-2xs: 8px; /* 2x extra small spacing for surfaces */
181
- --wpds-dimension-padding-surface-lg: 40px; /* Large spacing for surfaces */
182
- --wpds-dimension-padding-surface-md: 32px; /* Medium spacing for surfaces */
183
- --wpds-dimension-padding-surface-sm: 20px; /* Small spacing for surfaces */
184
- --wpds-dimension-padding-surface-xs: 12px; /* Extra small spacing for surfaces */
185
- }
186
-
187
- @media (min-resolution: 192dpi) {
188
- :root {
189
- --wpds-border-width-focus: 1.5px; /* Border width for focus ring */
190
- }
191
- }
192
1
  /**
193
2
  * Colors
194
3
  */
@@ -587,6 +396,12 @@
587
396
  border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
588
397
  background: var(--wp-admin-theme-color-darker-20, #183ad6);
589
398
  }
399
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
400
+ overflow: hidden;
401
+ text-overflow: ellipsis;
402
+ white-space: nowrap;
403
+ min-width: 0;
404
+ }
590
405
  .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
591
406
  display: block;
592
407
  overflow: hidden;
@@ -675,6 +490,7 @@
675
490
  }
676
491
  .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
677
492
  --checkbox-size: 24px;
493
+ flex-shrink: 0;
678
494
  border: 1px solid #1e1e1e;
679
495
  margin-right: 12px;
680
496
  transition: none;
@@ -1029,10 +845,30 @@
1029
845
  grid-column: span 2;
1030
846
  }
1031
847
  }
848
+ .dataviews-view-config__sort-controls > * {
849
+ flex: 1;
850
+ }
851
+
1032
852
  .dataviews-view-config__label {
1033
853
  text-wrap: nowrap;
1034
854
  }
1035
855
 
856
+ .dataviews-view-config__toggle-wrapper {
857
+ position: relative;
858
+ display: inline-flex;
859
+ }
860
+
861
+ .dataviews-view-config__modified-indicator {
862
+ position: absolute;
863
+ top: 4px;
864
+ right: 4px;
865
+ width: 4px;
866
+ height: 4px;
867
+ background: var(--wp-admin-theme-color, #3858e9);
868
+ border-radius: 50%;
869
+ pointer-events: none;
870
+ }
871
+
1036
872
  .dataviews-view-grid-items {
1037
873
  margin-bottom: auto;
1038
874
  display: grid;
@@ -1086,7 +922,7 @@
1086
922
  justify-content: flex-start;
1087
923
  position: relative;
1088
924
  }
1089
- .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-actions {
925
+ .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title {
1090
926
  padding: 8px 0 4px;
1091
927
  }
1092
928
  .dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-field {
@@ -1119,6 +955,9 @@
1119
955
  overflow: hidden;
1120
956
  position: relative;
1121
957
  }
958
+ .dataviews-view-grid .dataviews-view-grid__media.dataviews-view-grid__media--placeholder {
959
+ aspect-ratio: 3/1;
960
+ }
1122
961
  .dataviews-view-grid .dataviews-view-grid__media img {
1123
962
  object-fit: cover;
1124
963
  width: 100%;
@@ -1135,6 +974,14 @@
1135
974
  border-radius: 4px;
1136
975
  pointer-events: none;
1137
976
  }
977
+ .dataviews-view-grid .dataviews-view-grid__media .dataviews-view-grid__media-placeholder {
978
+ width: 100%;
979
+ height: 100%;
980
+ display: block;
981
+ border-radius: 4px;
982
+ box-shadow: none;
983
+ background: #f0f0f0;
984
+ }
1138
985
  .dataviews-view-grid .dataviews-view-grid__fields {
1139
986
  position: relative;
1140
987
  font-size: 12px;
@@ -1205,6 +1052,7 @@
1205
1052
 
1206
1053
  .dataviews-view-grid__card .dataviews-view-grid__media-actions {
1207
1054
  position: absolute;
1055
+ z-index: 1;
1208
1056
  top: 4px;
1209
1057
  opacity: 0;
1210
1058
  right: 4px;
@@ -1411,6 +1259,7 @@ div.dataviews-view-list {
1411
1259
  .dataviews-view-list .dataviews-view-list__field-wrapper {
1412
1260
  min-height: 52px;
1413
1261
  flex-grow: 1;
1262
+ min-width: 0;
1414
1263
  }
1415
1264
  .dataviews-view-list .dataviews-view-list__field {
1416
1265
  color: #757575;
@@ -2083,6 +1932,10 @@ div.dataviews-view-list {
2083
1932
  min-width: 0;
2084
1933
  }
2085
1934
 
1935
+ .dataviews-controls__color-picker-dropdown {
1936
+ display: flex;
1937
+ }
1938
+
2086
1939
  .dataviews-controls__date-preset {
2087
1940
  border: 1px solid #ddd;
2088
1941
  }
@@ -2090,35 +1943,100 @@ div.dataviews-view-list {
2090
1943
  background-color: #000;
2091
1944
  }
2092
1945
 
2093
- .dataforms-layouts-panel__field {
1946
+ .dataforms-layouts-panel__field-trigger {
1947
+ position: relative;
1948
+ color: inherit;
1949
+ display: flex;
2094
1950
  width: 100%;
2095
- min-height: 32px;
2096
- justify-content: flex-start !important;
2097
- align-items: flex-start !important;
1951
+ min-height: 24px;
1952
+ cursor: pointer;
1953
+ align-items: flex-start;
1954
+ border-radius: 2px;
1955
+ isolation: isolate;
2098
1956
  }
2099
- .dataforms-layouts-panel__field--label-position-none {
2100
- align-items: center !important;
1957
+ .dataforms-layouts-panel__field-trigger--label-side {
1958
+ flex-direction: row;
1959
+ gap: var(--wpds-dimension-gap-md);
1960
+ }
1961
+ .dataforms-layouts-panel__field-trigger--label-top {
1962
+ display: grid;
1963
+ grid-template-columns: 1fr auto;
1964
+ }
1965
+ .dataforms-layouts-panel__field-trigger--label-none {
1966
+ align-items: center;
1967
+ }
1968
+ .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover {
1969
+ color: var(--wp-admin-theme-color);
1970
+ }
1971
+ .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-trigger-icon {
1972
+ opacity: 1;
1973
+ }
1974
+ .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-label {
1975
+ color: var(--wp-admin-theme-color);
1976
+ }
1977
+ .dataforms-layouts-panel__field-trigger.is-disabled {
1978
+ cursor: default;
1979
+ }
1980
+ .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
1981
+ color: #757575;
1982
+ font-weight: var(--wpds-font-weight-regular);
1983
+ }
1984
+
1985
+ .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
1986
+ opacity: 1;
1987
+ fill: currentColor;
1988
+ }
1989
+ .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:hover, .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon:focus-visible {
1990
+ fill: var(--wp-admin-theme-color);
1991
+ }
1992
+
1993
+ .dataforms-layouts-panel__field-trigger-icon {
1994
+ padding: 0;
1995
+ color: var(--wp-admin-theme-color);
1996
+ flex: 0 0 auto;
1997
+ opacity: 0;
1998
+ border-radius: var(--wpds-border-radius-xs);
1999
+ }
2000
+ .dataforms-layouts-panel__field-trigger-icon:focus-visible {
2001
+ opacity: 1;
2002
+ outline: var(--wpds-border-width-focus) solid var(--wp-admin-theme-color);
2003
+ }
2004
+
2005
+ .dataforms-layouts-panel__field-dropdown-anchor {
2006
+ width: 100%;
2007
+ }
2008
+ .dataforms-layouts-panel__field-dropdown-anchor .components-dropdown {
2009
+ width: 100%;
2101
2010
  }
2102
2011
 
2103
2012
  .dataforms-layouts-panel__field-label {
2104
2013
  width: 38%;
2105
2014
  flex-shrink: 0;
2106
- min-height: 32px;
2015
+ min-height: 24px;
2107
2016
  display: flex;
2108
2017
  align-items: center;
2109
2018
  line-height: 20px;
2110
2019
  hyphens: auto;
2020
+ color: #757575;
2111
2021
  }
2112
- .dataforms-layouts-panel__field-label--label-position-side {
2113
- align-self: center;
2022
+ .dataforms-layouts-panel__field-label .components-base-control__label {
2023
+ display: inline;
2024
+ margin-bottom: 0;
2025
+ line-height: inherit;
2114
2026
  }
2115
2027
  .dataforms-layouts-panel__field-label.has-error {
2116
2028
  color: #cc1818;
2117
2029
  }
2118
2030
 
2119
2031
  .dataforms-layouts-panel__field-label-error-content {
2032
+ position: relative;
2033
+ z-index: 1;
2120
2034
  cursor: help;
2121
2035
  fill: #cc1818;
2036
+ display: inline-flex;
2037
+ flex-direction: row;
2038
+ align-items: center;
2039
+ gap: 4px;
2122
2040
  }
2123
2041
  .dataforms-layouts-panel__field-label-error-content svg {
2124
2042
  fill: currentColor;
@@ -2126,23 +2044,29 @@ div.dataviews-view-list {
2126
2044
 
2127
2045
  .dataforms-layouts-panel__field-control {
2128
2046
  flex-grow: 1;
2129
- min-height: 32px;
2047
+ min-width: 0;
2048
+ min-height: 24px;
2049
+ line-height: var(--wpds-font-line-height-md);
2130
2050
  display: flex;
2131
2051
  align-items: center;
2052
+ overflow: hidden;
2053
+ font-weight: var(--wpds-font-weight-medium);
2132
2054
  }
2133
- .dataforms-layouts-panel__field-control .components-button {
2134
- max-width: 100%;
2135
- text-align: left;
2136
- white-space: normal;
2137
- text-wrap: balance;
2138
- text-wrap: pretty;
2139
- min-height: 32px;
2055
+ .dataforms-layouts-panel__field-control > * {
2056
+ min-width: 0;
2140
2057
  }
2141
- .dataforms-layouts-panel__field-control.components-button.is-link[aria-disabled=true] {
2142
- text-decoration: none;
2058
+
2059
+ .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-label {
2060
+ width: 100%;
2143
2061
  }
2144
- .dataforms-layouts-panel__field-control .components-dropdown {
2145
- max-width: 100%;
2062
+
2063
+ .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-control {
2064
+ grid-column: 1/-1;
2065
+ }
2066
+
2067
+ .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-trigger-icon {
2068
+ grid-row: 1;
2069
+ grid-column: 2;
2146
2070
  }
2147
2071
 
2148
2072
  .dataforms-layouts-panel__field-dropdown .components-popover__content {
@@ -2162,16 +2086,16 @@ div.dataviews-view-list {
2162
2086
  z-index: 159990;
2163
2087
  }
2164
2088
 
2165
- .dataforms-layouts-panel__summary-button:empty {
2166
- min-width: 160px;
2167
- }
2168
-
2169
2089
  .dataforms-layouts-regular__field {
2170
2090
  width: 100%;
2171
2091
  min-height: 32px;
2172
2092
  justify-content: flex-start !important;
2173
2093
  align-items: flex-start !important;
2174
2094
  }
2095
+ .dataforms-layouts-regular__field .components-base-control__label,
2096
+ .dataforms-layouts-regular__field .components-input-control__label {
2097
+ color: #757575;
2098
+ }
2175
2099
 
2176
2100
  .dataforms-layouts-regular__field-label {
2177
2101
  width: 38%;
@@ -2185,6 +2109,9 @@ div.dataviews-view-list {
2185
2109
  .dataforms-layouts-regular__field-label--label-position-side {
2186
2110
  align-self: center;
2187
2111
  }
2112
+ .dataforms-layouts-regular__field-label .components-base-control__label {
2113
+ margin-bottom: 0;
2114
+ }
2188
2115
 
2189
2116
  .dataforms-layouts-regular__field-control {
2190
2117
  flex-grow: 1;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import type { DataFormControlProps } from '../../types';
5
+ export default function AdaptiveSelect<Item>(props: DataFormControlProps<Item>): import("react").JSX.Element;
6
+ //# sourceMappingURL=adaptive-select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adaptive-select.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/adaptive-select.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAE,IAAI,EAC3C,KAAK,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAWnC"}
@@ -2,5 +2,5 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { DataFormControlProps } from '../../types';
5
- export default function ArrayControl<Item>({ data, field, onChange, hideLabelFromVision, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
5
+ export default function ArrayControl<Item>({ data, field, onChange, hideLabelFromVision, markWhenOptional, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
6
6
  //# sourceMappingURL=array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/array.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAE,IAAI,EAAI,EAC7C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BA2F9B"}
1
+ {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/array.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAE,IAAI,EAAI,EAC7C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BA4F9B"}
@@ -2,5 +2,5 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { DataFormControlProps } from '../../types';
5
- export default function Checkbox<Item>({ field, onChange, data, hideLabelFromVision, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
5
+ export default function Checkbox<Item>({ field, onChange, data, hideLabelFromVision, markWhenOptional, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
6
6
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/checkbox.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAMxD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAE,IAAI,EAAI,EACzC,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,mBAAmB,EACnB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAoB9B"}
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/checkbox.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAMxD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAE,IAAI,EAAI,EACzC,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAqB9B"}
@@ -2,5 +2,5 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { DataFormControlProps } from '../../types';
5
- export default function Color<Item>({ data, field, onChange, hideLabelFromVision, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
5
+ export default function Color<Item>({ data, field, onChange, hideLabelFromVision, markWhenOptional, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
6
6
  //# sourceMappingURL=color.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/color.tsx"],"names":[],"mappings":"AAeA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAsDxD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAE,IAAI,EAAI,EACtC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAqC9B"}
1
+ {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/color.tsx"],"names":[],"mappings":"AAoBA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAwCxD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAE,IAAI,EAAI,EACtC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAwC9B"}
@@ -1,3 +1,3 @@
1
1
  import type { DataFormControlProps } from '../../types';
2
- export default function DateControl<Item>({ data, field, onChange, hideLabelFromVision, operator, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
2
+ export default function DateControl<Item>({ data, field, onChange, hideLabelFromVision, markWhenOptional, operator, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
3
3
  //# sourceMappingURL=date.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/date.tsx"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EACX,oBAAoB,EAIpB,MAAM,aAAa,CAAC;AAsnBrB,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,IAAI,EAAI,EAC5C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAmC9B"}
1
+ {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/date.tsx"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EACX,oBAAoB,EAIpB,MAAM,aAAa,CAAC;AA2nBrB,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,IAAI,EAAI,EAC5C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,EACR,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAqC9B"}
@@ -2,5 +2,5 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { DataFormControlProps } from '../../types';
5
- export default function DateTime<Item>({ data, field, onChange, hideLabelFromVision, operator, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
5
+ export default function DateTime<Item>({ data, field, onChange, hideLabelFromVision, markWhenOptional, operator, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
6
6
  //# sourceMappingURL=datetime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/datetime.tsx"],"names":[],"mappings":"AAiBA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAkB,MAAM,aAAa,CAAC;AAyLxE,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAE,IAAI,EAAI,EACzC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAuB9B"}
1
+ {"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/datetime.tsx"],"names":[],"mappings":"AAiBA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAkB,MAAM,aAAa,CAAC;AAiMxE,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAE,IAAI,EAAI,EACzC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,EACR,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAwB9B"}
@@ -2,5 +2,5 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { DataFormControlProps } from '../../types';
5
- export default function Email<Item>({ data, field, onChange, hideLabelFromVision, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
5
+ export default function Email<Item>({ data, field, onChange, hideLabelFromVision, markWhenOptional, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
6
6
  //# sourceMappingURL=email.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/email.tsx"],"names":[],"mappings":"AASA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAGxD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAE,IAAI,EAAI,EACtC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAkB9B"}
1
+ {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/email.tsx"],"names":[],"mappings":"AASA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAGxD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAE,IAAI,EAAI,EACtC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAmB9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAc,MAAM,aAAa,CAAC;AAkE3E,wBAAgB,UAAU,CAAE,IAAI,EAC/B,KAAK,EAAE,KAAK,CAAE,IAAI,CAAE,EACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,GACrB,aAAa,CAAE,oBAAoB,CAAE,IAAI,CAAE,CAAE,GAAG,IAAI,CAsBtD;AAED,wBAAgB,gBAAgB,CAAE,IAAI,EAAE,MAAM,mDAM7C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAc,MAAM,aAAa,CAAC;AAoE3E,wBAAgB,UAAU,CAAE,IAAI,EAC/B,KAAK,EAAE,KAAK,CAAE,IAAI,CAAE,EACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,GACrB,aAAa,CAAE,oBAAoB,CAAE,IAAI,CAAE,CAAE,GAAG,IAAI,CAsBtD;AAED,wBAAgB,gBAAgB,CAAE,IAAI,EAAE,MAAM,mDAM7C"}
@@ -1,3 +1,3 @@
1
1
  import type { DataFormControlProps } from '../../types';
2
- export default function Password<Item>({ data, field, onChange, hideLabelFromVision, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
2
+ export default function Password<Item>({ data, field, onChange, hideLabelFromVision, markWhenOptional, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
3
3
  //# sourceMappingURL=password.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"password.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/password.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAE,IAAI,EAAI,EACzC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAiC9B"}
1
+ {"version":3,"file":"password.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/password.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAE,IAAI,EAAI,EACzC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAkC9B"}
@@ -2,5 +2,5 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { DataFormControlProps } from '../../types';
5
- export default function Radio<Item>({ data, field, onChange, hideLabelFromVision, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
5
+ export default function Radio<Item>({ data, field, onChange, hideLabelFromVision, markWhenOptional, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
6
6
  //# sourceMappingURL=radio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/radio.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAE,IAAI,EAAI,EACtC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BA8B9B"}
1
+ {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/radio.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAE,IAAI,EAAI,EACtC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BA+B9B"}
@@ -2,5 +2,5 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { DataFormControlProps } from '../../types';
5
- export default function Select<Item>({ data, field, onChange, hideLabelFromVision, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
5
+ export default function Select<Item>({ data, field, onChange, hideLabelFromVision, markWhenOptional, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
6
6
  //# sourceMappingURL=select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/select.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAE,IAAI,EAAI,EACvC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAmC9B"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/select.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAE,IAAI,EAAI,EACvC,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAoC9B"}
@@ -2,5 +2,5 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { DataFormControlProps } from '../../types';
5
- export default function Telephone<Item>({ data, field, onChange, hideLabelFromVision, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
5
+ export default function Telephone<Item>({ data, field, onChange, hideLabelFromVision, markWhenOptional, validity, }: DataFormControlProps<Item>): import("react").JSX.Element;
6
6
  //# sourceMappingURL=telephone.d.ts.map