@openmrs/esm-styleguide 9.0.3-pre.4740 → 9.0.3-pre.4762

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.
@@ -1,3 +1,3 @@
1
- [0] Successfully compiled: 123 files, copied 164 files with swc (279.91ms)
1
+ [0] Successfully compiled: 123 files, copied 164 files with swc (204.86ms)
2
2
  [0] swc --strip-leading-paths --copy-files src -d dist && svgo -rf dist --quiet exited with code 0
3
3
  [1] tsc --project tsconfig.build.json exited with code 0
@@ -392,6 +392,15 @@
392
392
  outline: none;
393
393
  }
394
394
 
395
+ // The bundled Carbon version's `cds--search--lg` class only repositions the magnifier;
396
+ // it doesn't set --cds-layout-size-height, so `<Search size="lg">` renders at md (40px).
397
+ // Setting the layout token here lets the existing clamp resolve to lg (48px).
398
+ // Remove once @carbon/styles is bumped to a version that emits
399
+ // `.cds--search--lg .cds--search-input { block-size: 3rem }` directly.
400
+ .cds--search--lg {
401
+ --cds-layout-size-height: var(--cds-layout-size-height-lg);
402
+ }
403
+
395
404
  /* Radio buttons */
396
405
  .cds--radio-button-group--vertical .cds--radio-button-wrapper:not(:last-of-type) {
397
406
  margin-bottom: 0;
@@ -158,6 +158,8 @@
158
158
  }
159
159
 
160
160
  .separator {
161
+ display: flex;
162
+ align-items: center;
161
163
  margin-inline: 0.5rem;
162
164
  }
163
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-styleguide",
3
- "version": "9.0.3-pre.4740",
3
+ "version": "9.0.3-pre.4762",
4
4
  "license": "MPL-2.0",
5
5
  "description": "The styleguide for OpenMRS SPA",
6
6
  "module": "dist/internal.js",
@@ -98,18 +98,18 @@
98
98
  "swr": "2.x"
99
99
  },
100
100
  "devDependencies": {
101
- "@openmrs/esm-api": "9.0.3-pre.4740",
102
- "@openmrs/esm-config": "9.0.3-pre.4740",
103
- "@openmrs/esm-emr-api": "9.0.3-pre.4740",
104
- "@openmrs/esm-error-handling": "9.0.3-pre.4740",
105
- "@openmrs/esm-extensions": "9.0.3-pre.4740",
106
- "@openmrs/esm-globals": "9.0.3-pre.4740",
107
- "@openmrs/esm-navigation": "9.0.3-pre.4740",
108
- "@openmrs/esm-react-utils": "9.0.3-pre.4740",
109
- "@openmrs/esm-routes": "9.0.3-pre.4740",
110
- "@openmrs/esm-state": "9.0.3-pre.4740",
111
- "@openmrs/esm-translations": "9.0.3-pre.4740",
112
- "@openmrs/esm-utils": "9.0.3-pre.4740",
101
+ "@openmrs/esm-api": "9.0.3-pre.4762",
102
+ "@openmrs/esm-config": "9.0.3-pre.4762",
103
+ "@openmrs/esm-emr-api": "9.0.3-pre.4762",
104
+ "@openmrs/esm-error-handling": "9.0.3-pre.4762",
105
+ "@openmrs/esm-extensions": "9.0.3-pre.4762",
106
+ "@openmrs/esm-globals": "9.0.3-pre.4762",
107
+ "@openmrs/esm-navigation": "9.0.3-pre.4762",
108
+ "@openmrs/esm-react-utils": "9.0.3-pre.4762",
109
+ "@openmrs/esm-routes": "9.0.3-pre.4762",
110
+ "@openmrs/esm-state": "9.0.3-pre.4762",
111
+ "@openmrs/esm-translations": "9.0.3-pre.4762",
112
+ "@openmrs/esm-utils": "9.0.3-pre.4762",
113
113
  "@swc/cli": "0.8.1",
114
114
  "@swc/core": "1.15.21",
115
115
  "@types/geopattern": "^1.2.9",
@@ -392,6 +392,15 @@
392
392
  outline: none;
393
393
  }
394
394
 
395
+ // The bundled Carbon version's `cds--search--lg` class only repositions the magnifier;
396
+ // it doesn't set --cds-layout-size-height, so `<Search size="lg">` renders at md (40px).
397
+ // Setting the layout token here lets the existing clamp resolve to lg (48px).
398
+ // Remove once @carbon/styles is bumped to a version that emits
399
+ // `.cds--search--lg .cds--search-input { block-size: 3rem }` directly.
400
+ .cds--search--lg {
401
+ --cds-layout-size-height: var(--cds-layout-size-height-lg);
402
+ }
403
+
395
404
  /* Radio buttons */
396
405
  .cds--radio-button-group--vertical .cds--radio-button-wrapper:not(:last-of-type) {
397
406
  margin-bottom: 0;
@@ -158,6 +158,8 @@
158
158
  }
159
159
 
160
160
  .separator {
161
+ display: flex;
162
+ align-items: center;
161
163
  margin-inline: 0.5rem;
162
164
  }
163
165