@openmrs/esm-form-builder-app 3.4.2-pre.3524 → 3.4.2-pre.3526

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.
@@ -2284,9 +2284,9 @@
2284
2284
  "rendered": true,
2285
2285
  "initial": false,
2286
2286
  "entry": false,
2287
- "size": 765723,
2287
+ "size": 766151,
2288
2288
  "sizes": {
2289
- "javascript": 765723
2289
+ "javascript": 766151
2290
2290
  },
2291
2291
  "names": [],
2292
2292
  "idHints": [],
@@ -2300,7 +2300,7 @@
2300
2300
  "auxiliaryFiles": [
2301
2301
  "9969.js.map"
2302
2302
  ],
2303
- "hash": "e82d98ebe6d2bf54",
2303
+ "hash": "5c5a675d6491877a",
2304
2304
  "childrenByOrder": {}
2305
2305
  },
2306
2306
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.2.0"},"pages":[{"component":"root","route":"form-builder","online":true,"offline":true,"order":1}],"extensions":[{"name":"system-administration-form-builder-card-link","slot":"system-admin-page-card-link-slot","component":"systemAdministrationFormBuilderCardLink","online":true,"offline":true}],"modals":[{"name":"new-form-modal","component":"newFormModal"},{"name":"new-page-modal","component":"newPageModal"},{"name":"delete-page-modal","component":"deletePageModal"},{"name":"new-section-modal","component":"newSectionModal"},{"name":"delete-section-modal","component":"deleteSectionModal"},{"name":"add-form-reference-modal","component":"addFormReferenceModal"},{"name":"question-modal","component":"questionModal"},{"name":"delete-question-modal","component":"deleteQuestionModal"},{"name":"edit-question-modal","component":"editQuestionModal"},{"name":"restore-draft-schema-modal","component":"restoreDraftSchemaModal"},{"name":"unpublish-form-modal","component":"unpublishFormModal"},{"name":"delete-form-modal","component":"deleteFormModal"},{"name":"edit-translation-modal","component":"editTranslationModal"}],"version":"3.4.2-pre.3524"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.2.0"},"pages":[{"component":"root","route":"form-builder","online":true,"offline":true,"order":1}],"extensions":[{"name":"system-administration-form-builder-card-link","slot":"system-admin-page-card-link-slot","component":"systemAdministrationFormBuilderCardLink","online":true,"offline":true}],"modals":[{"name":"new-form-modal","component":"newFormModal"},{"name":"new-page-modal","component":"newPageModal"},{"name":"delete-page-modal","component":"deletePageModal"},{"name":"new-section-modal","component":"newSectionModal"},{"name":"delete-section-modal","component":"deleteSectionModal"},{"name":"add-form-reference-modal","component":"addFormReferenceModal"},{"name":"question-modal","component":"questionModal"},{"name":"delete-question-modal","component":"deleteQuestionModal"},{"name":"edit-question-modal","component":"editQuestionModal"},{"name":"restore-draft-schema-modal","component":"restoreDraftSchemaModal"},{"name":"unpublish-form-modal","component":"unpublishFormModal"},{"name":"delete-form-modal","component":"deleteFormModal"},{"name":"edit-translation-modal","component":"editTranslationModal"}],"version":"3.4.2-pre.3526"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-form-builder-app",
3
- "version": "3.4.2-pre.3524",
3
+ "version": "3.4.2-pre.3526",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Form Builder for O3",
6
6
  "browser": "dist/openmrs-esm-form-builder-app.js",
@@ -404,6 +404,7 @@ function FormsList({ forms, isValidating, mutate, t }: FormsListProps) {
404
404
  <TableToolbarContent className={styles.headerContainer}>
405
405
  <TableToolbarSearch
406
406
  expanded
407
+ size={responsiveSize}
407
408
  className={styles.searchbox}
408
409
  onChange={handleSearch}
409
410
  placeholder={t('searchThisList', 'Search this list')}
@@ -32,6 +32,13 @@
32
32
  .toolbarWrapper {
33
33
  height: layout.$spacing-07;
34
34
  }
35
+
36
+ // The expanded toolbar search stretches to the toolbar content height, which
37
+ // overrides its `size` and leaves it taller than the sm "Create a new form"
38
+ // button on desktop. Pin it to the same height so the two line up.
39
+ .searchbox {
40
+ height: layout.$spacing-07;
41
+ }
35
42
  }
36
43
 
37
44
  .tableToolbar {