@wordpress/dataviews 12.0.1-next.v.202602091733.0 → 12.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/CHANGELOG.md +39 -1
  2. package/README.md +3 -1
  3. package/build/components/dataform-controls/color.cjs +19 -30
  4. package/build/components/dataform-controls/color.cjs.map +3 -3
  5. package/build/components/dataform-controls/date.cjs.map +1 -1
  6. package/build/components/dataform-controls/datetime.cjs +12 -21
  7. package/build/components/dataform-controls/datetime.cjs.map +2 -2
  8. package/build/components/dataform-layouts/card/index.cjs +112 -164
  9. package/build/components/dataform-layouts/card/index.cjs.map +3 -3
  10. package/build/components/dataform-layouts/index.cjs +1 -1
  11. package/build/components/dataform-layouts/index.cjs.map +1 -1
  12. package/build/components/dataform-layouts/normalize-form.cjs +2 -1
  13. package/build/components/dataform-layouts/normalize-form.cjs.map +2 -2
  14. package/build/components/dataform-layouts/panel/dropdown.cjs +79 -65
  15. package/build/components/dataform-layouts/panel/dropdown.cjs.map +3 -3
  16. package/build/components/dataform-layouts/panel/index.cjs +13 -177
  17. package/build/components/dataform-layouts/panel/index.cjs.map +3 -3
  18. package/build/components/dataform-layouts/panel/modal.cjs +12 -9
  19. package/build/components/dataform-layouts/panel/modal.cjs.map +3 -3
  20. package/build/components/dataform-layouts/panel/summary-button.cjs +125 -56
  21. package/build/components/dataform-layouts/panel/summary-button.cjs.map +3 -3
  22. package/build/components/dataform-layouts/panel/utils/get-first-validation-error.cjs +59 -0
  23. package/build/components/dataform-layouts/panel/utils/get-first-validation-error.cjs.map +7 -0
  24. package/build/components/dataform-layouts/panel/utils/get-label-classname.cjs +45 -0
  25. package/build/components/dataform-layouts/panel/utils/get-label-classname.cjs.map +7 -0
  26. package/build/components/dataform-layouts/panel/utils/get-label-content.cjs +36 -0
  27. package/build/components/dataform-layouts/panel/utils/get-label-content.cjs.map +7 -0
  28. package/build/components/dataform-layouts/panel/utils/use-field-from-form-field.cjs +77 -0
  29. package/build/components/dataform-layouts/panel/utils/use-field-from-form-field.cjs.map +7 -0
  30. package/build/components/dataviews-bulk-actions/index.cjs +2 -2
  31. package/build/components/dataviews-bulk-actions/index.cjs.map +2 -2
  32. package/build/components/dataviews-context/index.cjs +1 -0
  33. package/build/components/dataviews-context/index.cjs.map +2 -2
  34. package/build/components/dataviews-filters/filter.cjs.map +1 -1
  35. package/build/components/dataviews-filters/search-widget.cjs +25 -11
  36. package/build/components/dataviews-filters/search-widget.cjs.map +2 -2
  37. package/build/components/dataviews-filters/toggle.cjs +6 -2
  38. package/build/components/dataviews-filters/toggle.cjs.map +2 -2
  39. package/build/components/dataviews-footer/index.cjs +28 -12
  40. package/build/components/dataviews-footer/index.cjs.map +3 -3
  41. package/build/components/dataviews-item-actions/index.cjs +0 -1
  42. package/build/components/dataviews-item-actions/index.cjs.map +2 -2
  43. package/build/components/dataviews-layout/index.cjs +12 -0
  44. package/build/components/dataviews-layout/index.cjs.map +2 -2
  45. package/build/components/dataviews-layouts/activity/index.cjs +41 -26
  46. package/build/components/dataviews-layouts/activity/index.cjs.map +3 -3
  47. package/build/components/dataviews-layouts/grid/composite-grid.cjs +2 -0
  48. package/build/components/dataviews-layouts/grid/composite-grid.cjs.map +2 -2
  49. package/build/components/dataviews-layouts/grid/index.cjs +19 -14
  50. package/build/components/dataviews-layouts/grid/index.cjs.map +3 -3
  51. package/build/components/dataviews-layouts/list/index.cjs +13 -9
  52. package/build/components/dataviews-layouts/list/index.cjs.map +2 -2
  53. package/build/components/dataviews-layouts/picker-table/index.cjs +1 -1
  54. package/build/components/dataviews-layouts/picker-table/index.cjs.map +2 -2
  55. package/build/components/dataviews-layouts/table/index.cjs +40 -19
  56. package/build/components/dataviews-layouts/table/index.cjs.map +2 -2
  57. package/build/dataviews/index.cjs +9 -2
  58. package/build/dataviews/index.cjs.map +3 -3
  59. package/build/dataviews-picker/index.cjs +1 -0
  60. package/build/dataviews-picker/index.cjs.map +2 -2
  61. package/build/hooks/use-data.cjs +46 -0
  62. package/build/hooks/use-data.cjs.map +7 -0
  63. package/build/hooks/use-delayed-loading.cjs +47 -0
  64. package/build/hooks/use-delayed-loading.cjs.map +7 -0
  65. package/build/types/dataform.cjs.map +1 -1
  66. package/build-module/components/dataform-controls/color.mjs +24 -31
  67. package/build-module/components/dataform-controls/color.mjs.map +2 -2
  68. package/build-module/components/dataform-controls/date.mjs.map +1 -1
  69. package/build-module/components/dataform-controls/datetime.mjs +13 -22
  70. package/build-module/components/dataform-controls/datetime.mjs.map +2 -2
  71. package/build-module/components/dataform-layouts/card/index.mjs +113 -161
  72. package/build-module/components/dataform-layouts/card/index.mjs.map +3 -3
  73. package/build-module/components/dataform-layouts/index.mjs +1 -1
  74. package/build-module/components/dataform-layouts/index.mjs.map +1 -1
  75. package/build-module/components/dataform-layouts/normalize-form.mjs +2 -1
  76. package/build-module/components/dataform-layouts/normalize-form.mjs.map +2 -2
  77. package/build-module/components/dataform-layouts/panel/dropdown.mjs +81 -67
  78. package/build-module/components/dataform-layouts/panel/dropdown.mjs.map +2 -2
  79. package/build-module/components/dataform-layouts/panel/index.mjs +14 -178
  80. package/build-module/components/dataform-layouts/panel/index.mjs.map +2 -2
  81. package/build-module/components/dataform-layouts/panel/modal.mjs +12 -9
  82. package/build-module/components/dataform-layouts/panel/modal.mjs.map +2 -2
  83. package/build-module/components/dataform-layouts/panel/summary-button.mjs +117 -58
  84. package/build-module/components/dataform-layouts/panel/summary-button.mjs.map +2 -2
  85. package/build-module/components/dataform-layouts/panel/utils/get-first-validation-error.mjs +38 -0
  86. package/build-module/components/dataform-layouts/panel/utils/get-first-validation-error.mjs.map +7 -0
  87. package/build-module/components/dataform-layouts/panel/utils/get-label-classname.mjs +14 -0
  88. package/build-module/components/dataform-layouts/panel/utils/get-label-classname.mjs.map +7 -0
  89. package/build-module/components/dataform-layouts/panel/utils/get-label-content.mjs +15 -0
  90. package/build-module/components/dataform-layouts/panel/utils/get-label-content.mjs.map +7 -0
  91. package/build-module/components/dataform-layouts/panel/utils/use-field-from-form-field.mjs +46 -0
  92. package/build-module/components/dataform-layouts/panel/utils/use-field-from-form-field.mjs.map +7 -0
  93. package/build-module/components/dataviews-bulk-actions/index.mjs +2 -2
  94. package/build-module/components/dataviews-bulk-actions/index.mjs.map +2 -2
  95. package/build-module/components/dataviews-context/index.mjs +1 -0
  96. package/build-module/components/dataviews-context/index.mjs.map +2 -2
  97. package/build-module/components/dataviews-filters/filter.mjs.map +1 -1
  98. package/build-module/components/dataviews-filters/search-widget.mjs +25 -11
  99. package/build-module/components/dataviews-filters/search-widget.mjs.map +2 -2
  100. package/build-module/components/dataviews-filters/toggle.mjs +6 -2
  101. package/build-module/components/dataviews-filters/toggle.mjs.map +2 -2
  102. package/build-module/components/dataviews-footer/index.mjs +28 -12
  103. package/build-module/components/dataviews-footer/index.mjs.map +2 -2
  104. package/build-module/components/dataviews-item-actions/index.mjs +0 -1
  105. package/build-module/components/dataviews-item-actions/index.mjs.map +2 -2
  106. package/build-module/components/dataviews-layout/index.mjs +12 -0
  107. package/build-module/components/dataviews-layout/index.mjs.map +2 -2
  108. package/build-module/components/dataviews-layouts/activity/index.mjs +41 -26
  109. package/build-module/components/dataviews-layouts/activity/index.mjs.map +2 -2
  110. package/build-module/components/dataviews-layouts/grid/composite-grid.mjs +2 -0
  111. package/build-module/components/dataviews-layouts/grid/composite-grid.mjs.map +2 -2
  112. package/build-module/components/dataviews-layouts/grid/index.mjs +19 -14
  113. package/build-module/components/dataviews-layouts/grid/index.mjs.map +2 -2
  114. package/build-module/components/dataviews-layouts/list/index.mjs +13 -9
  115. package/build-module/components/dataviews-layouts/list/index.mjs.map +2 -2
  116. package/build-module/components/dataviews-layouts/picker-table/index.mjs +1 -1
  117. package/build-module/components/dataviews-layouts/picker-table/index.mjs.map +2 -2
  118. package/build-module/components/dataviews-layouts/table/index.mjs +40 -19
  119. package/build-module/components/dataviews-layouts/table/index.mjs.map +2 -2
  120. package/build-module/dataviews/index.mjs +9 -2
  121. package/build-module/dataviews/index.mjs.map +2 -2
  122. package/build-module/dataviews-picker/index.mjs +1 -0
  123. package/build-module/dataviews-picker/index.mjs.map +2 -2
  124. package/build-module/hooks/use-data.mjs +25 -0
  125. package/build-module/hooks/use-data.mjs.map +7 -0
  126. package/build-module/hooks/use-delayed-loading.mjs +22 -0
  127. package/build-module/hooks/use-delayed-loading.mjs.map +7 -0
  128. package/build-style/style-rtl.css +190 -31
  129. package/build-style/style.css +190 -31
  130. package/build-types/components/dataform-controls/color.d.ts.map +1 -1
  131. package/build-types/components/dataform-controls/datetime.d.ts.map +1 -1
  132. package/build-types/components/dataform-controls/utils/use-disabled-date-matchers.d.ts +16 -0
  133. package/build-types/components/dataform-controls/utils/use-disabled-date-matchers.d.ts.map +1 -0
  134. package/build-types/components/dataform-layouts/card/index.d.ts +1 -10
  135. package/build-types/components/dataform-layouts/card/index.d.ts.map +1 -1
  136. package/build-types/components/dataform-layouts/normalize-form.d.ts.map +1 -1
  137. package/build-types/components/dataform-layouts/panel/dropdown.d.ts +2 -13
  138. package/build-types/components/dataform-layouts/panel/dropdown.d.ts.map +1 -1
  139. package/build-types/components/dataform-layouts/panel/index.d.ts +1 -1
  140. package/build-types/components/dataform-layouts/panel/index.d.ts.map +1 -1
  141. package/build-types/components/dataform-layouts/panel/modal.d.ts +2 -11
  142. package/build-types/components/dataform-layouts/panel/modal.d.ts.map +1 -1
  143. package/build-types/components/dataform-layouts/panel/summary-button.d.ts +6 -5
  144. package/build-types/components/dataform-layouts/panel/summary-button.d.ts.map +1 -1
  145. package/build-types/components/dataform-layouts/panel/utils/get-first-validation-error.d.ts +4 -0
  146. package/build-types/components/dataform-layouts/panel/utils/get-first-validation-error.d.ts.map +1 -0
  147. package/build-types/components/dataform-layouts/panel/utils/get-label-classname.d.ts +4 -0
  148. package/build-types/components/dataform-layouts/panel/utils/get-label-classname.d.ts.map +1 -0
  149. package/build-types/components/dataform-layouts/panel/utils/get-label-content.d.ts +3 -0
  150. package/build-types/components/dataform-layouts/panel/utils/get-label-content.d.ts.map +1 -0
  151. package/build-types/components/dataform-layouts/panel/utils/use-field-from-form-field.d.ts +23 -0
  152. package/build-types/components/dataform-layouts/panel/utils/use-field-from-form-field.d.ts.map +1 -0
  153. package/build-types/components/dataviews-context/index.d.ts +1 -0
  154. package/build-types/components/dataviews-context/index.d.ts.map +1 -1
  155. package/build-types/components/dataviews-filters/filter.d.ts +1 -1
  156. package/build-types/components/dataviews-filters/filter.d.ts.map +1 -1
  157. package/build-types/components/dataviews-filters/search-widget.d.ts.map +1 -1
  158. package/build-types/components/dataviews-filters/toggle.d.ts.map +1 -1
  159. package/build-types/components/dataviews-footer/index.d.ts +1 -1
  160. package/build-types/components/dataviews-footer/index.d.ts.map +1 -1
  161. package/build-types/components/dataviews-item-actions/index.d.ts.map +1 -1
  162. package/build-types/components/dataviews-layout/index.d.ts +1 -1
  163. package/build-types/components/dataviews-layout/index.d.ts.map +1 -1
  164. package/build-types/components/dataviews-layouts/activity/index.d.ts.map +1 -1
  165. package/build-types/components/dataviews-layouts/grid/composite-grid.d.ts +2 -1
  166. package/build-types/components/dataviews-layouts/grid/composite-grid.d.ts.map +1 -1
  167. package/build-types/components/dataviews-layouts/grid/index.d.ts.map +1 -1
  168. package/build-types/components/dataviews-layouts/list/index.d.ts.map +1 -1
  169. package/build-types/components/dataviews-layouts/picker-activity/index.d.ts +3 -0
  170. package/build-types/components/dataviews-layouts/picker-activity/index.d.ts.map +1 -0
  171. package/build-types/components/dataviews-layouts/table/index.d.ts.map +1 -1
  172. package/build-types/components/dataviews-layouts/table/use-scroll-state.d.ts +25 -0
  173. package/build-types/components/dataviews-layouts/table/use-scroll-state.d.ts.map +1 -0
  174. package/build-types/components/dataviews-layouts/utils/grid-config-options.d.ts +2 -0
  175. package/build-types/components/dataviews-layouts/utils/grid-config-options.d.ts.map +1 -0
  176. package/build-types/components/dataviews-layouts/utils/use-infinite-scroll.d.ts +22 -0
  177. package/build-types/components/dataviews-layouts/utils/use-infinite-scroll.d.ts.map +1 -0
  178. package/build-types/dataform/stories/index.story.d.ts +9 -1
  179. package/build-types/dataform/stories/index.story.d.ts.map +1 -1
  180. package/build-types/dataform/stories/layout-panel.d.ts +3 -1
  181. package/build-types/dataform/stories/layout-panel.d.ts.map +1 -1
  182. package/build-types/dataviews/index.d.ts.map +1 -1
  183. package/build-types/dataviews/stories/empty.d.ts.map +1 -1
  184. package/build-types/dataviews/stories/fixtures.d.ts +1 -0
  185. package/build-types/dataviews/stories/fixtures.d.ts.map +1 -1
  186. package/build-types/dataviews/stories/free-composition.d.ts.map +1 -1
  187. package/build-types/dataviews/stories/layout-table.d.ts.map +1 -1
  188. package/build-types/dataviews/stories/minimal-ui.d.ts.map +1 -1
  189. package/build-types/dataviews/stories/with-card.d.ts.map +1 -1
  190. package/build-types/dataviews-picker/index.d.ts.map +1 -1
  191. package/build-types/field-types/utils/is-valid-date-boundary.d.ts +7 -0
  192. package/build-types/field-types/utils/is-valid-date-boundary.d.ts.map +1 -0
  193. package/build-types/hooks/test/use-data.d.ts +2 -0
  194. package/build-types/hooks/test/use-data.d.ts.map +1 -0
  195. package/build-types/hooks/use-data.d.ts +12 -0
  196. package/build-types/hooks/use-data.d.ts.map +1 -0
  197. package/build-types/hooks/use-delayed-loading.d.ts +4 -0
  198. package/build-types/hooks/use-delayed-loading.d.ts.map +1 -0
  199. package/build-types/hooks/use-infinite-scroll.d.ts +21 -0
  200. package/build-types/hooks/use-infinite-scroll.d.ts.map +1 -0
  201. package/build-types/hooks/use-selected-items.d.ts +19 -0
  202. package/build-types/hooks/use-selected-items.d.ts.map +1 -0
  203. package/build-types/types/dataform.d.ts +3 -0
  204. package/build-types/types/dataform.d.ts.map +1 -1
  205. package/build-wp/index.js +2898 -2198
  206. package/package.json +21 -21
  207. package/src/components/dataform-controls/color.tsx +29 -36
  208. package/src/components/dataform-controls/date.tsx +2 -2
  209. package/src/components/dataform-controls/datetime.tsx +19 -34
  210. package/src/components/dataform-controls/style.scss +4 -0
  211. package/src/components/dataform-layouts/card/index.tsx +118 -185
  212. package/src/components/dataform-layouts/index.tsx +1 -1
  213. package/src/components/dataform-layouts/normalize-form.ts +1 -0
  214. package/src/components/dataform-layouts/panel/dropdown.tsx +95 -96
  215. package/src/components/dataform-layouts/panel/index.tsx +10 -245
  216. package/src/components/dataform-layouts/panel/modal.tsx +16 -20
  217. package/src/components/dataform-layouts/panel/style.scss +110 -27
  218. package/src/components/dataform-layouts/panel/summary-button.tsx +140 -62
  219. package/src/components/dataform-layouts/panel/utils/get-first-validation-error.ts +47 -0
  220. package/src/components/dataform-layouts/panel/utils/get-label-classname.ts +18 -0
  221. package/src/components/dataform-layouts/panel/utils/get-label-content.tsx +24 -0
  222. package/src/components/dataform-layouts/panel/utils/use-field-from-form-field.ts +78 -0
  223. package/src/components/dataform-layouts/regular/style.scss +7 -0
  224. package/src/components/dataform-layouts/test/normalize-form.ts +5 -0
  225. package/src/components/dataviews-bulk-actions/index.tsx +2 -2
  226. package/src/components/dataviews-context/index.ts +2 -0
  227. package/src/components/dataviews-filters/filter.tsx +1 -1
  228. package/src/components/dataviews-filters/search-widget.tsx +10 -2
  229. package/src/components/dataviews-filters/style.scss +8 -0
  230. package/src/components/dataviews-filters/toggle.tsx +10 -3
  231. package/src/components/dataviews-footer/index.tsx +39 -12
  232. package/src/components/dataviews-footer/style.scss +6 -1
  233. package/src/components/dataviews-item-actions/index.tsx +0 -3
  234. package/src/components/dataviews-item-actions/style.scss +7 -0
  235. package/src/components/dataviews-layout/index.tsx +24 -0
  236. package/src/components/dataviews-layouts/activity/index.tsx +29 -22
  237. package/src/components/dataviews-layouts/activity/style.scss +5 -0
  238. package/src/components/dataviews-layouts/grid/composite-grid.tsx +5 -1
  239. package/src/components/dataviews-layouts/grid/index.tsx +19 -22
  240. package/src/components/dataviews-layouts/grid/style.scss +5 -0
  241. package/src/components/dataviews-layouts/list/index.tsx +18 -18
  242. package/src/components/dataviews-layouts/list/style.scss +5 -0
  243. package/src/components/dataviews-layouts/picker-table/index.tsx +1 -1
  244. package/src/components/dataviews-layouts/table/index.tsx +48 -22
  245. package/src/components/dataviews-layouts/table/style.scss +8 -2
  246. package/src/dataform/stories/index.story.tsx +5 -0
  247. package/src/dataform/stories/layout-panel.tsx +19 -2
  248. package/src/dataform/test/dataform.tsx +2 -2
  249. package/src/dataviews/index.tsx +11 -3
  250. package/src/dataviews/stories/empty.tsx +1 -7
  251. package/src/dataviews/stories/fixtures.tsx +89 -0
  252. package/src/dataviews/stories/free-composition.tsx +0 -5
  253. package/src/dataviews/stories/layout-table.tsx +1 -7
  254. package/src/dataviews/stories/minimal-ui.tsx +0 -5
  255. package/src/dataviews/stories/with-card.tsx +1 -7
  256. package/src/dataviews/style.scss +25 -0
  257. package/src/dataviews-picker/index.tsx +2 -1
  258. package/src/hooks/use-data.ts +45 -0
  259. package/src/hooks/use-delayed-loading.ts +21 -0
  260. package/src/types/dataform.ts +4 -0
@@ -133,6 +133,25 @@
133
133
  }
134
134
  }
135
135
 
136
+ .dataviews-no-results.is-refreshing {
137
+ opacity: 0.5;
138
+ pointer-events: none;
139
+ }
140
+ @media not (prefers-reduced-motion) {
141
+ .dataviews-no-results.is-refreshing {
142
+ opacity: 1;
143
+ animation: dataviews-pulse 1s ease-in-out infinite;
144
+ }
145
+ }
146
+
147
+ @keyframes dataviews-pulse {
148
+ 0%, 100% {
149
+ opacity: 1;
150
+ }
151
+ 50% {
152
+ opacity: 0.5;
153
+ }
154
+ }
136
155
  .dataviews-loading-more {
137
156
  text-align: center;
138
157
  }
@@ -396,6 +415,12 @@
396
415
  border-color: var(--wp-admin-theme-color-darker-20, #183ad6);
397
416
  background: var(--wp-admin-theme-color-darker-20, #183ad6);
398
417
  }
418
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
419
+ overflow: hidden;
420
+ text-overflow: ellipsis;
421
+ white-space: nowrap;
422
+ min-width: 0;
423
+ }
399
424
  .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
400
425
  display: block;
401
426
  overflow: hidden;
@@ -484,6 +509,7 @@
484
509
  }
485
510
  .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
486
511
  --checkbox-size: 24px;
512
+ flex-shrink: 0;
487
513
  border: 1px solid #1e1e1e;
488
514
  margin-right: 12px;
489
515
  transition: none;
@@ -734,18 +760,28 @@
734
760
  .dataviews-footer {
735
761
  z-index: 2;
736
762
  }
763
+ .dataviews-footer .is-refreshing {
764
+ opacity: 0.5;
765
+ pointer-events: none;
766
+ }
767
+ @media not (prefers-reduced-motion) {
768
+ .dataviews-footer .is-refreshing {
769
+ opacity: 1;
770
+ animation: dataviews-pulse 1s ease-in-out infinite;
771
+ }
772
+ }
737
773
 
738
774
  @container (max-width: 560px) {
739
- .dataviews-footer {
775
+ .dataviews-footer__content {
740
776
  flex-direction: column !important;
741
777
  }
742
- .dataviews-footer .dataviews-bulk-actions-footer__container {
778
+ .dataviews-footer__content .dataviews-bulk-actions-footer__container {
743
779
  width: 100%;
744
780
  }
745
- .dataviews-footer .dataviews-bulk-actions-footer__item-count {
781
+ .dataviews-footer__content .dataviews-bulk-actions-footer__item-count {
746
782
  flex-grow: 1;
747
783
  }
748
- .dataviews-footer .dataviews-pagination {
784
+ .dataviews-footer__content .dataviews-pagination {
749
785
  width: 100%;
750
786
  justify-content: space-between;
751
787
  }
@@ -766,6 +802,10 @@
766
802
  z-index: 1000001;
767
803
  }
768
804
 
805
+ .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
806
+ padding: 0 4px;
807
+ }
808
+
769
809
  .dataviews-selection-checkbox {
770
810
  --checkbox-input-size: 24px;
771
811
  }
@@ -1011,6 +1051,16 @@
1011
1051
  .dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty) {
1012
1052
  padding-bottom: 12px;
1013
1053
  }
1054
+ .dataviews-view-grid.is-refreshing {
1055
+ opacity: 0.5;
1056
+ pointer-events: none;
1057
+ }
1058
+ @media not (prefers-reduced-motion) {
1059
+ .dataviews-view-grid.is-refreshing {
1060
+ opacity: 1;
1061
+ animation: dataviews-pulse 1s ease-in-out infinite;
1062
+ }
1063
+ }
1014
1064
 
1015
1065
  .dataviews-view-grid__field-value:empty,
1016
1066
  .dataviews-view-grid__field:empty {
@@ -1323,6 +1373,16 @@ div.dataviews-view-list {
1323
1373
  min-height: 32px;
1324
1374
  line-height: 24px;
1325
1375
  }
1376
+ .dataviews-view-list.is-refreshing {
1377
+ opacity: 0.5;
1378
+ pointer-events: none;
1379
+ }
1380
+ @media not (prefers-reduced-motion) {
1381
+ .dataviews-view-list.is-refreshing {
1382
+ opacity: 1;
1383
+ animation: dataviews-pulse 1s ease-in-out infinite;
1384
+ }
1385
+ }
1326
1386
 
1327
1387
  .dataviews-view-list__group-header {
1328
1388
  font-size: 15px;
@@ -1449,10 +1509,10 @@ div.dataviews-view-list {
1449
1509
  gap: 4px;
1450
1510
  }
1451
1511
  .dataviews-view-table thead th:has(.dataviews-view-table-header-button):first-child {
1452
- padding-left: 40px;
1512
+ padding-left: 16px;
1453
1513
  }
1454
1514
  .dataviews-view-table thead th:has(.dataviews-view-table-header-button):last-child {
1455
- padding-right: 40px;
1515
+ padding-right: 16px;
1456
1516
  }
1457
1517
  .dataviews-view-table tbody td {
1458
1518
  vertical-align: top;
@@ -1465,6 +1525,7 @@ div.dataviews-view-list {
1465
1525
  }
1466
1526
  .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-end {
1467
1527
  justify-content: flex-end;
1528
+ font-variant-numeric: tabular-nums;
1468
1529
  }
1469
1530
  .dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-center {
1470
1531
  justify-content: center;
@@ -1566,6 +1627,17 @@ div.dataviews-view-list {
1566
1627
  width: 1%;
1567
1628
  }
1568
1629
 
1630
+ .dataviews-view-table.is-refreshing {
1631
+ opacity: 0.5;
1632
+ pointer-events: none;
1633
+ }
1634
+ @media not (prefers-reduced-motion) {
1635
+ .dataviews-view-table.is-refreshing {
1636
+ opacity: 1;
1637
+ animation: dataviews-pulse 1s ease-in-out infinite;
1638
+ }
1639
+ }
1640
+
1569
1641
  .dataviews-view-picker-grid .dataviews-view-picker-grid__card {
1570
1642
  height: 100%;
1571
1643
  justify-content: flex-start;
@@ -1892,6 +1964,16 @@ div.dataviews-view-list {
1892
1964
  content: "";
1893
1965
  background-color: #ddd;
1894
1966
  }
1967
+ .dataviews-view-activity.is-refreshing {
1968
+ opacity: 0.5;
1969
+ pointer-events: none;
1970
+ }
1971
+ @media not (prefers-reduced-motion) {
1972
+ .dataviews-view-activity.is-refreshing {
1973
+ opacity: 1;
1974
+ animation: dataviews-pulse 1s ease-in-out infinite;
1975
+ }
1976
+ }
1895
1977
  .dataviews-view-activity + .dataviews-pagination {
1896
1978
  justify-content: space-between;
1897
1979
  }
@@ -1925,6 +2007,10 @@ div.dataviews-view-list {
1925
2007
  min-width: 0;
1926
2008
  }
1927
2009
 
2010
+ .dataviews-controls__color-picker-dropdown {
2011
+ display: flex;
2012
+ }
2013
+
1928
2014
  .dataviews-controls__date-preset {
1929
2015
  border: 1px solid #ddd;
1930
2016
  }
@@ -1932,35 +2018,101 @@ div.dataviews-view-list {
1932
2018
  background-color: #000;
1933
2019
  }
1934
2020
 
1935
- .dataforms-layouts-panel__field {
2021
+ .dataforms-layouts-panel__field-trigger {
2022
+ position: relative;
2023
+ color: inherit;
2024
+ display: flex;
1936
2025
  width: 100%;
1937
- min-height: 32px;
1938
- justify-content: flex-start !important;
1939
- align-items: flex-start !important;
2026
+ min-height: 24px;
2027
+ cursor: pointer;
2028
+ align-items: flex-start;
2029
+ border-radius: 2px;
2030
+ isolation: isolate;
1940
2031
  }
1941
- .dataforms-layouts-panel__field--label-position-none {
1942
- align-items: center !important;
2032
+ .dataforms-layouts-panel__field-trigger--label-side {
2033
+ flex-direction: row;
2034
+ gap: var(--wpds-dimension-gap-md, 12px);
2035
+ }
2036
+ .dataforms-layouts-panel__field-trigger--label-top {
2037
+ display: grid;
2038
+ grid-template-columns: 1fr auto;
2039
+ }
2040
+ .dataforms-layouts-panel__field-trigger--label-none {
2041
+ align-items: center;
2042
+ }
2043
+ .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover {
2044
+ color: var(--wp-admin-theme-color);
2045
+ }
2046
+ .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-trigger-icon {
2047
+ opacity: 1;
2048
+ }
2049
+ .dataforms-layouts-panel__field-trigger:not(.is-disabled):hover .dataforms-layouts-panel__field-label {
2050
+ color: var(--wp-admin-theme-color);
2051
+ }
2052
+ .dataforms-layouts-panel__field-trigger.is-disabled {
2053
+ cursor: default;
2054
+ }
2055
+ .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
2056
+ color: #757575;
2057
+ font-weight: var(--wpds-font-weight-regular, 400);
2058
+ }
2059
+
2060
+ .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
2061
+ opacity: 1;
2062
+ fill: currentColor;
2063
+ }
2064
+ .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 {
2065
+ fill: var(--wp-admin-theme-color);
2066
+ }
2067
+
2068
+ .dataforms-layouts-panel__field-trigger-icon {
2069
+ padding: 0;
2070
+ color: var(--wp-admin-theme-color);
2071
+ flex: 0 0 auto;
2072
+ opacity: 0;
2073
+ border-radius: var(--wpds-border-radius-xs, 1px);
2074
+ }
2075
+ .dataforms-layouts-panel__field-trigger-icon:focus-visible {
2076
+ opacity: 1;
2077
+ outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wp-admin-theme-color);
2078
+ }
2079
+
2080
+ .dataforms-layouts-panel__field-dropdown-anchor {
2081
+ width: 100%;
2082
+ }
2083
+ .dataforms-layouts-panel__field-dropdown-anchor .components-dropdown {
2084
+ width: 100%;
1943
2085
  }
1944
2086
 
1945
2087
  .dataforms-layouts-panel__field-label {
1946
2088
  width: 38%;
1947
2089
  flex-shrink: 0;
1948
- min-height: 32px;
2090
+ min-height: 24px;
1949
2091
  display: flex;
1950
2092
  align-items: center;
1951
2093
  line-height: 20px;
1952
2094
  hyphens: auto;
2095
+ color: #757575;
2096
+ text-transform: capitalize;
1953
2097
  }
1954
- .dataforms-layouts-panel__field-label--label-position-side {
1955
- align-self: center;
2098
+ .dataforms-layouts-panel__field-label .components-base-control__label {
2099
+ display: inline;
2100
+ margin-bottom: 0;
2101
+ line-height: inherit;
1956
2102
  }
1957
2103
  .dataforms-layouts-panel__field-label.has-error {
1958
2104
  color: #cc1818;
1959
2105
  }
1960
2106
 
1961
2107
  .dataforms-layouts-panel__field-label-error-content {
2108
+ position: relative;
2109
+ z-index: 1;
1962
2110
  cursor: help;
1963
2111
  fill: #cc1818;
2112
+ display: inline-flex;
2113
+ flex-direction: row;
2114
+ align-items: center;
2115
+ gap: 4px;
1964
2116
  }
1965
2117
  .dataforms-layouts-panel__field-label-error-content svg {
1966
2118
  fill: currentColor;
@@ -1968,23 +2120,29 @@ div.dataviews-view-list {
1968
2120
 
1969
2121
  .dataforms-layouts-panel__field-control {
1970
2122
  flex-grow: 1;
1971
- min-height: 32px;
2123
+ min-width: 0;
2124
+ min-height: 24px;
2125
+ line-height: var(--wpds-font-line-height-md, 24px);
1972
2126
  display: flex;
1973
2127
  align-items: center;
2128
+ overflow: hidden;
2129
+ font-weight: var(--wpds-font-weight-medium, 499);
1974
2130
  }
1975
- .dataforms-layouts-panel__field-control .components-button {
1976
- max-width: 100%;
1977
- text-align: left;
1978
- white-space: normal;
1979
- text-wrap: balance;
1980
- text-wrap: pretty;
1981
- min-height: 32px;
2131
+ .dataforms-layouts-panel__field-control > * {
2132
+ min-width: 0;
1982
2133
  }
1983
- .dataforms-layouts-panel__field-control.components-button.is-link[aria-disabled=true] {
1984
- text-decoration: none;
2134
+
2135
+ .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-label {
2136
+ width: 100%;
1985
2137
  }
1986
- .dataforms-layouts-panel__field-control .components-dropdown {
1987
- max-width: 100%;
2138
+
2139
+ .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-control {
2140
+ grid-column: 1/-1;
2141
+ }
2142
+
2143
+ .dataforms-layouts-panel__field-trigger--label-top .dataforms-layouts-panel__field-trigger-icon {
2144
+ grid-row: 1;
2145
+ grid-column: 2;
1988
2146
  }
1989
2147
 
1990
2148
  .dataforms-layouts-panel__field-dropdown .components-popover__content {
@@ -2004,16 +2162,17 @@ div.dataviews-view-list {
2004
2162
  z-index: 159990;
2005
2163
  }
2006
2164
 
2007
- .dataforms-layouts-panel__summary-button:empty {
2008
- min-width: 160px;
2009
- }
2010
-
2011
2165
  .dataforms-layouts-regular__field {
2012
2166
  width: 100%;
2013
2167
  min-height: 32px;
2014
2168
  justify-content: flex-start !important;
2015
2169
  align-items: flex-start !important;
2016
2170
  }
2171
+ .dataforms-layouts-regular__field .components-base-control__label,
2172
+ .dataforms-layouts-regular__field .components-input-control__label,
2173
+ .dataforms-layouts-regular__field .components-form-token-field__label {
2174
+ color: #1e1e1e;
2175
+ }
2017
2176
 
2018
2177
  .dataforms-layouts-regular__field-label {
2019
2178
  width: 38%;
@@ -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,gBAAgB,EAChB,QAAQ,GACR,EAAE,oBAAoB,CAAE,IAAI,CAAE,+BAsC9B"}
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 +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;AAgMxE,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"}
1
+ {"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-controls/datetime.tsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,OAAO,KAAK,EAAE,oBAAoB,EAAkB,MAAM,aAAa,CAAC;AAsLxE,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"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import type { NormalizedRules } from '../../../types';
5
+ type DateMatcher = {
6
+ before: Date;
7
+ } | {
8
+ after: Date;
9
+ };
10
+ export default function useDisabledDateMatchers<Item>(isValid: NormalizedRules<Item>, parseDateFn: (dateString?: string) => Date | null): {
11
+ minConstraint: string | undefined;
12
+ maxConstraint: string | undefined;
13
+ disabledMatchers: DateMatcher[] | undefined;
14
+ };
15
+ export {};
16
+ //# sourceMappingURL=use-disabled-date-matchers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-disabled-date-matchers.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-controls/utils/use-disabled-date-matchers.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,IAAI,CAAA;CAAE,CAAC;AAEtD,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAE,IAAI,EACpD,OAAO,EAAE,eAAe,CAAE,IAAI,CAAE,EAChC,WAAW,EAAE,CAAE,UAAU,CAAC,EAAE,MAAM,KAAM,IAAI,GAAG,IAAI,GACjD;IACF,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,gBAAgB,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC;CAC5C,CA4BA"}
@@ -1,12 +1,3 @@
1
- import type { FieldLayoutProps, NormalizedCardLayout } from '../../../types';
2
- export declare function useCardHeader(layout: NormalizedCardLayout): {
3
- isOpen: boolean;
4
- CardHeader: ({ children, ...props }: {
5
- children: React.ReactNode;
6
- [key: string]: any;
7
- }) => import("react").JSX.Element;
8
- touched: boolean;
9
- setTouched: import("react").Dispatch<import("react").SetStateAction<boolean>>;
10
- };
1
+ import type { FieldLayoutProps } from '../../../types';
11
2
  export default function FormCardField<Item>({ data, field, onChange, hideLabelFromVision, markWhenOptional, validity, }: FieldLayoutProps<Item>): import("react").JSX.Element | null;
12
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/card/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACX,gBAAgB,EAChB,oBAAoB,EAIpB,MAAM,gBAAgB,CAAC;AA4BxB,wBAAgB,aAAa,CAAE,MAAM,EAAE,oBAAoB;;yCAuBtD;QACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,CAAE,GAAG,EAAE,MAAM,GAAI,GAAG,CAAC;KACrB;;;EA2CF;AAqDD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAE,IAAI,EAAI,EAC9C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,GACR,EAAE,gBAAgB,CAAE,IAAI,CAAE,sCA0K1B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/card/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EACX,gBAAgB,EAKhB,MAAM,gBAAgB,CAAC;AA0DxB,MAAM,CAAC,OAAO,UAAU,aAAa,CAAE,IAAI,EAAI,EAC9C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,QAAQ,GACR,EAAE,gBAAgB,CAAE,IAAI,CAAE,sCAiM1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"normalize-form.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-layouts/normalize-form.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACX,IAAI,EAEJ,cAAc,EAEd,gBAAgB,EAQhB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,cAAc,EAAE,gBAGD,CAAC;AAsF7B,iBAAS,aAAa,CAAE,IAAI,EAAE,IAAI,GAAI,cAAc,CAsCnD;AAED,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"normalize-form.d.ts","sourceRoot":"","sources":["../../../src/components/dataform-layouts/normalize-form.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACX,IAAI,EAEJ,cAAc,EAEd,gBAAgB,EAQhB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,cAAc,EAAE,gBAGD,CAAC;AAuF7B,iBAAS,aAAa,CAAE,IAAI,EAAE,IAAI,GAAI,cAAc,CAsCnD;AAED,eAAe,aAAa,CAAC"}
@@ -1,18 +1,7 @@
1
1
  /**
2
2
  * Internal dependencies
3
3
  */
4
- import type { FieldValidity, NormalizedFormField, NormalizedField } from '../../../types';
5
- declare function PanelDropdown<Item>({ data, field, onChange, validity, labelPosition, summaryFields, fieldDefinition, popoverAnchor, onClose: onCloseCallback, touched, }: {
6
- data: Item;
7
- field: NormalizedFormField;
8
- onChange: (value: any) => void;
9
- validity?: FieldValidity;
10
- labelPosition: 'side' | 'top' | 'none';
11
- summaryFields: NormalizedField<Item>[];
12
- fieldDefinition: NormalizedField<Item>;
13
- popoverAnchor: HTMLElement | null;
14
- onClose?: () => void;
15
- touched: boolean;
16
- }): import("react").JSX.Element;
4
+ import type { FieldLayoutProps } from '../../../types';
5
+ declare function PanelDropdown<Item>({ data, field, onChange, validity, }: FieldLayoutProps<Item>): import("react").JSX.Element | null;
17
6
  export default PanelDropdown;
18
7
  //# sourceMappingURL=dropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/dropdown.tsx"],"names":[],"mappings":"AAeA;;GAEG;AACH,OAAO,KAAK,EACX,aAAa,EAEb,mBAAmB,EAEnB,eAAe,EACf,MAAM,gBAAgB,CAAC;AAmDxB,iBAAS,aAAa,CAAE,IAAI,EAAI,EAC/B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,aAAsB,EACtB,aAAa,EACb,eAAe,EACf,aAAa,EACb,OAAO,EAAE,eAAe,EACxB,OAAO,GACP,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,EAAE,CAAE,KAAK,EAAE,GAAG,KAAM,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;IACvC,aAAa,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IACzC,eAAe,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;IACzC,aAAa,EAAE,WAAW,GAAG,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CACjB,+BAoGA;AAED,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/dropdown.tsx"],"names":[],"mappings":"AAeA;;GAEG;AACH,OAAO,KAAK,EACX,gBAAgB,EAGhB,MAAM,gBAAgB,CAAC;AAoDxB,iBAAS,aAAa,CAAE,IAAI,EAAI,EAC/B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,GACR,EAAE,gBAAgB,CAAE,IAAI,CAAE,sCAqH1B;AAED,eAAe,aAAa,CAAC"}
@@ -2,5 +2,5 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import type { FieldLayoutProps } from '../../../types';
5
- export default function FormPanelField<Item>({ data, field, onChange, validity, }: FieldLayoutProps<Item>): import("react").JSX.Element | null;
5
+ export default function FormPanelField<Item>({ data, field, onChange, validity, }: FieldLayoutProps<Item>): import("react").JSX.Element;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/index.tsx"],"names":[],"mappings":"AAaA;;GAEG;AACH,OAAO,KAAK,EACX,gBAAgB,EAKhB,MAAM,gBAAgB,CAAC;AAgHxB,MAAM,CAAC,OAAO,UAAU,cAAc,CAAE,IAAI,EAAI,EAC/C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,GACR,EAAE,gBAAgB,CAAE,IAAI,CAAE,sCAkI1B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAyB,MAAM,gBAAgB,CAAC;AAI9E,MAAM,CAAC,OAAO,UAAU,cAAc,CAAE,IAAI,EAAI,EAC/C,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,GACR,EAAE,gBAAgB,CAAE,IAAI,CAAE,+BAsB1B"}
@@ -1,16 +1,7 @@
1
1
  /**
2
2
  * Internal dependencies
3
3
  */
4
- import type { NormalizedFormField, NormalizedField } from '../../../types';
5
- declare function PanelModal<Item>({ data, field, onChange, labelPosition, summaryFields, fieldDefinition, onClose: onCloseCallback, touched, }: {
6
- data: Item;
7
- field: NormalizedFormField;
8
- onChange: (value: any) => void;
9
- labelPosition: 'side' | 'top' | 'none';
10
- summaryFields: NormalizedField<Item>[];
11
- fieldDefinition: NormalizedField<Item>;
12
- onClose?: () => void;
13
- touched: boolean;
14
- }): import("react").JSX.Element;
4
+ import type { FieldLayoutProps } from '../../../types';
5
+ declare function PanelModal<Item>({ data, field, onChange, validity, }: FieldLayoutProps<Item>): import("react").JSX.Element | null;
15
6
  export default PanelModal;
16
7
  //# sourceMappingURL=modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/modal.tsx"],"names":[],"mappings":"AAkBA;;GAEG;AACH,OAAO,KAAK,EAGX,mBAAmB,EACnB,eAAe,EACf,MAAM,gBAAgB,CAAC;AAwIxB,iBAAS,UAAU,CAAE,IAAI,EAAI,EAC5B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,aAAa,EACb,aAAa,EACb,eAAe,EACf,OAAO,EAAE,eAAe,EACxB,OAAO,GACP,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,EAAE,CAAE,KAAK,EAAE,GAAG,KAAM,IAAI,CAAC;IACjC,aAAa,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;IACvC,aAAa,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IACzC,eAAe,EAAE,eAAe,CAAE,IAAI,CAAE,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CACjB,+BAiCA;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/modal.tsx"],"names":[],"mappings":"AAkBA;;GAEG;AACH,OAAO,KAAK,EAIX,gBAAgB,EAChB,MAAM,gBAAgB,CAAC;AAyIxB,iBAAS,UAAU,CAAE,IAAI,EAAI,EAC5B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,GACR,EAAE,gBAAgB,CAAE,IAAI,CAAE,sCAyC1B;AAED,eAAe,UAAU,CAAC"}
@@ -1,15 +1,16 @@
1
1
  /**
2
2
  * Internal dependencies
3
3
  */
4
- import type { NormalizedField } from '../../../types';
5
- declare function SummaryButton<Item>({ summaryFields, data, labelPosition, fieldLabel, disabled, onClick, 'aria-expanded': ariaExpanded, }: {
6
- summaryFields: NormalizedField<Item>[];
4
+ import type { FieldValidity, NormalizedField, NormalizedFormField } from '../../../types';
5
+ export default function SummaryButton<Item>({ data, field, fieldLabel, summaryFields, validity, touched, disabled, onClick, 'aria-expanded': ariaExpanded, }: {
7
6
  data: Item;
8
- labelPosition: 'side' | 'top' | 'none';
7
+ field: NormalizedFormField;
9
8
  fieldLabel?: string;
9
+ summaryFields: NormalizedField<Item>[];
10
+ validity?: FieldValidity;
11
+ touched: boolean;
10
12
  disabled?: boolean;
11
13
  onClick: () => void;
12
14
  'aria-expanded'?: boolean;
13
15
  }): import("react").JSX.Element;
14
- export default SummaryButton;
15
16
  //# sourceMappingURL=summary-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"summary-button.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/summary-button.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,iBAAS,aAAa,CAAE,IAAI,EAAI,EAC/B,aAAa,EACb,IAAI,EACJ,aAAa,EACb,UAAU,EACV,QAAQ,EACR,OAAO,EACP,eAAe,EAAE,YAAY,GAC7B,EAAE;IACF,aAAa,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IACzC,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B,+BA8DA;AAED,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"summary-button.d.ts","sourceRoot":"","sources":["../../../../src/components/dataform-layouts/panel/summary-button.tsx"],"names":[],"mappings":"AAcA;;GAEG;AACH,OAAO,KAAK,EACX,aAAa,EACb,eAAe,EACf,mBAAmB,EAEnB,MAAM,gBAAgB,CAAC;AAKxB,MAAM,CAAC,OAAO,UAAU,aAAa,CAAE,IAAI,EAAI,EAC9C,IAAI,EACJ,KAAK,EACL,UAAU,EACV,aAAa,EACb,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,OAAO,EACP,eAAe,EAAE,YAAY,GAC7B,EAAE;IACF,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,mBAAmB,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IACzC,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B,+BA0HA"}
@@ -0,0 +1,4 @@
1
+ import type { FieldValidity } from '../../../../types';
2
+ declare function getFirstValidationError(validity: FieldValidity | undefined): string | undefined;
3
+ export default getFirstValidationError;
4
+ //# sourceMappingURL=get-first-validation-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-first-validation-error.d.ts","sourceRoot":"","sources":["../../../../../src/components/dataform-layouts/panel/utils/get-first-validation-error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,iBAAS,uBAAuB,CAC/B,QAAQ,EAAE,aAAa,GAAG,SAAS,GACjC,MAAM,GAAG,SAAS,CAwCpB;AAED,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { LabelPosition } from '../../../../types';
2
+ declare function getLabelClassName(labelPosition: LabelPosition, showError?: boolean): string;
3
+ export default getLabelClassName;
4
+ //# sourceMappingURL=get-label-classname.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-label-classname.d.ts","sourceRoot":"","sources":["../../../../../src/components/dataform-layouts/panel/utils/get-label-classname.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,iBAAS,iBAAiB,CACzB,aAAa,EAAE,aAAa,EAC5B,SAAS,CAAC,EAAE,OAAO,UAOnB;AAED,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare function getLabelContent(showError?: boolean, errorMessage?: string, fieldLabel?: string): string | import("react").JSX.Element | undefined;
2
+ export default getLabelContent;
3
+ //# sourceMappingURL=get-label-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-label-content.d.ts","sourceRoot":"","sources":["../../../../../src/components/dataform-layouts/panel/utils/get-label-content.tsx"],"names":[],"mappings":"AAMA,iBAAS,eAAe,CACvB,SAAS,CAAC,EAAE,OAAO,EACnB,YAAY,CAAC,EAAE,MAAM,EACrB,UAAU,CAAC,EAAE,MAAM,oDAYnB;AAED,eAAe,eAAe,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ import type { NormalizedFormField, NormalizedField } from '../../../../types';
5
+ /**
6
+ * Determines the field definition and summary fields for a panel layout.
7
+ *
8
+ * Summary fields are determined with the following priority:
9
+ * 1. Use layout.summary fields if they exist
10
+ * 2. Fall back to the field definition that matches the form field's id
11
+ * 3. If the form field id doesn't exist, pick the first child field
12
+ * 4. If no field definition is found, return empty summary fields
13
+ *
14
+ * @param field The form field to get definition for
15
+ * @return Object containing fieldDefinition, fieldLabel, and summaryFields
16
+ */
17
+ declare function useFieldFromFormField(field: NormalizedFormField): {
18
+ summaryFields: NormalizedField<any>[];
19
+ fieldDefinition: NormalizedField<any> | undefined;
20
+ fieldLabel: string | undefined;
21
+ };
22
+ export default useFieldFromFormField;
23
+ //# sourceMappingURL=use-field-from-form-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-field-from-form-field.d.ts","sourceRoot":"","sources":["../../../../../src/components/dataform-layouts/panel/utils/use-field-from-form-field.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,OAAO,KAAK,EACX,mBAAmB,EACnB,eAAe,EAEf,MAAM,mBAAmB,CAAC;AA+B3B;;;;;;;;;;;GAWG;AACH,iBAAS,qBAAqB,CAAE,KAAK,EAAE,mBAAmB;;;;EAoBzD;AAED,eAAe,qBAAqB,CAAC"}
@@ -40,6 +40,7 @@ type DataViewsContextType<Item> = {
40
40
  perPageSizes: number[];
41
41
  };
42
42
  empty?: ReactNode;
43
+ hasInitiallyLoaded?: boolean;
43
44
  hasInfiniteScrollHandler: boolean;
44
45
  itemListLabel?: string;
45
46
  onReset?: (() => void) | false;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-context/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOrE;;GAEG;AACH,OAAO,KAAK,EACX,IAAI,EACJ,MAAM,EACN,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGxD,KAAK,oBAAoB,CAAE,IAAI,IAAK;IACnC,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,IAAI,CAAC;IACrC,MAAM,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,CAAC;IAC3B,IAAI,EAAE,IAAI,EAAE,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE;QACf,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,iBAAiB,EAAE,YAAY,CAAC;IAChC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,CAAE,YAAY,EAAE,MAAM,GAAG,IAAI,KAAM,IAAI,CAAC;IACzD,SAAS,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,MAAM,CAAC;IACpC,YAAY,CAAC,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,MAAM,CAAC;IACxC,WAAW,CAAC,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,IAAI,CAAC;IACrC,cAAc,CAAC,EAAE,CAChB,KAAK,EAAE;QACN,IAAI,EAAE,IAAI,CAAC;KACX,GAAG,cAAc,CAAE,GAAG,CAAE,KACrB,YAAY,CAAC;IAClB,eAAe,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,OAAO,CAAC;IAC3C,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAE,cAAc,GAAG,IAAI,CAAE,CAAC;IAC9D,iBAAiB,EACd,CAAE,CAAE,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,KAAM,IAAI,CAAE,GAC/C,KAAK,CAAC,SAAS,CAAE,cAAc,CAAE,CAAC;IACrC,cAAc,EAAE,gBAAgB,CAAC;IACjC,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,CAAE,KAAK,EAAE,OAAO,KAAM,IAAI,CAAC;IAC/C,MAAM,EAAE;QAAE,YAAY,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wBAAwB,EAAE,OAAO,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,CAAE,MAAM,IAAI,CAAE,GAAG,KAAK,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,gBAAgB,oDA2BnB,CAAC;AAIJ,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-context/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOrE;;GAEG;AACH,OAAO,KAAK,EACX,IAAI,EACJ,MAAM,EACN,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGxD,KAAK,oBAAoB,CAAE,IAAI,IAAK;IACnC,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,IAAI,CAAC;IACrC,MAAM,EAAE,eAAe,CAAE,IAAI,CAAE,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAE,IAAI,CAAE,EAAE,CAAC;IAC3B,IAAI,EAAE,IAAI,EAAE,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE;QACf,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,iBAAiB,EAAE,YAAY,CAAC;IAChC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,CAAE,YAAY,EAAE,MAAM,GAAG,IAAI,KAAM,IAAI,CAAC;IACzD,SAAS,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,MAAM,CAAC;IACpC,YAAY,CAAC,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,MAAM,CAAC;IACxC,WAAW,CAAC,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,IAAI,CAAC;IACrC,cAAc,CAAC,EAAE,CAChB,KAAK,EAAE;QACN,IAAI,EAAE,IAAI,CAAC;KACX,GAAG,cAAc,CAAE,GAAG,CAAE,KACrB,YAAY,CAAC;IAClB,eAAe,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,OAAO,CAAC;IAC3C,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAE,cAAc,GAAG,IAAI,CAAE,CAAC;IAC9D,iBAAiB,EACd,CAAE,CAAE,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,KAAM,IAAI,CAAE,GAC/C,KAAK,CAAC,SAAS,CAAE,cAAc,CAAE,CAAC;IACrC,cAAc,EAAE,gBAAgB,CAAC;IACjC,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,CAAE,KAAK,EAAE,OAAO,KAAM,IAAI,CAAC;IAC/C,MAAM,EAAE;QAAE,YAAY,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,wBAAwB,EAAE,OAAO,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,CAAE,MAAM,IAAI,CAAE,GAAG,KAAK,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,gBAAgB,oDA4BnB,CAAC;AAIJ,eAAe,gBAAgB,CAAC"}
@@ -6,7 +6,7 @@ interface OperatorSelectorProps {
6
6
  onChangeView: (view: View) => void;
7
7
  }
8
8
  interface FilterProps extends OperatorSelectorProps {
9
- addFilterRef: RefObject<HTMLButtonElement>;
9
+ addFilterRef: RefObject<HTMLButtonElement | null>;
10
10
  openedFilter: string | null;
11
11
  fields: NormalizedField<any>[];
12
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-filters/filter.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAuBvC,OAAO,KAAK,EAEX,eAAe,EACf,gBAAgB,EAGhB,IAAI,EACJ,MAAM,aAAa,CAAC;AAYrB,UAAU,qBAAqB;IAC9B,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,IAAI,CAAC;CACrC;AAED,UAAU,WAAY,SAAQ,qBAAqB;IAClD,YAAY,EAAE,SAAS,CAAE,iBAAiB,CAAE,CAAC;IAC7C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,eAAe,CAAE,GAAG,CAAE,EAAE,CAAC;CACjC;AAoHD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAE,EAC/B,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,GAAG,WAAW,EACd,EAAE,WAAW,+BAgMb"}
1
+ {"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-filters/filter.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAuBvC,OAAO,KAAK,EAEX,eAAe,EACf,gBAAgB,EAGhB,IAAI,EACJ,MAAM,aAAa,CAAC;AAYrB,UAAU,qBAAqB;IAC9B,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,IAAI,CAAC;CACrC;AAED,UAAU,WAAY,SAAQ,qBAAqB;IAClD,YAAY,EAAE,SAAS,CAAE,iBAAiB,GAAG,IAAI,CAAE,CAAC;IACpD,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,eAAe,CAAE,GAAG,CAAE,EAAE,CAAC;CACjC;AAoHD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAE,EAC/B,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,GAAG,WAAW,EACd,EAAE,WAAW,+BAgMb"}
@@ -1 +1 @@
1
- {"version":3,"file":"search-widget.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-filters/search-widget.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAU,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1E,UAAU,iBAAiB;IAC1B,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,gBAAgB,GAAG;QAC1B,QAAQ,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC;IACF,YAAY,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,IAAI,CAAC;CACrC;AAsSD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAE,KAAK,EAAE,iBAAiB,+BAwB7D"}
1
+ {"version":3,"file":"search-widget.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-filters/search-widget.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAU,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1E,UAAU,iBAAiB;IAC1B,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,gBAAgB,GAAG;QAC1B,QAAQ,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC;IACF,YAAY,EAAE,CAAE,IAAI,EAAE,IAAI,KAAM,IAAI,CAAC;CACrC;AA8SD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAE,KAAK,EAAE,iBAAiB,+BAwB7D"}
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-filters/toggle.tsx"],"names":[],"mappings":"AAeA,iBAAS,aAAa,uCAwErB;AA8BD,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-filters/toggle.tsx"],"names":[],"mappings":"AAeA,iBAAS,aAAa,uCA+ErB;AA8BD,eAAe,aAAa,CAAC"}
@@ -1,2 +1,2 @@
1
- export default function DataViewsFooter(): false | import("react").JSX.Element | null;
1
+ export default function DataViewsFooter(): false | import("react").JSX.Element | null | undefined;
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-footer/index.tsx"],"names":[],"mappings":"AAmBA,MAAM,CAAC,OAAO,UAAU,eAAe,+CAgCtC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dataviews-footer/index.tsx"],"names":[],"mappings":"AAyBA,MAAM,CAAC,OAAO,UAAU,eAAe,2DAqDtC"}