asma-ui-core 3.115.0 → 3.116.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.
- package/dist/asma-ui-core.css +1 -1
- package/dist/components/data-display/chip/StyledChip.js +1 -0
- package/dist/components/inputs/full-screen-picker/FullScreenPicker.js +15 -15
- package/dist/components/inputs/full-screen-picker/pickerCopy.js +4 -6
- package/dist/components/inputs/phone-field/CountryCodeOptions.js +31 -24
- package/dist/components/inputs/phone-field/CountryCodeSelect.js +2 -1
- package/dist/components/inputs/select-autocomplete/SelectAutocompletePicker.js +125 -123
- package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.js +177 -172
- package/dist/hooks/useMediaQuery.hook.js +8 -7
- package/dist/src/components/inputs/full-screen-picker/FullScreenPicker.d.ts +2 -1
- package/dist/src/components/inputs/full-screen-picker/pickerCopy.d.ts +0 -1
- package/dist/src/components/inputs/phone-field/CountryCodeOptions.d.ts +3 -1
- package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +1 -0
- package/dist/src/hooks/useMediaQuery.hook.d.ts +8 -0
- package/dist/tailwind.config.d.ts +3 -0
- package/package.json +1 -1
|
@@ -2,6 +2,14 @@ export declare function makeMediaQueryStore(mediaQuery: string): () => boolean;
|
|
|
2
2
|
export declare const useMobileMediaQuery: () => boolean;
|
|
3
3
|
/** A phone in landscape: too short for a sheet capped at 90vh to leave a usable body. */
|
|
4
4
|
export declare const useShortViewportMediaQuery: () => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* The full-screen picker's one-row header (ASMA-8468 REQ-007): a viewport that is short **and** wide
|
|
7
|
+
* — a phone in landscape. Short alone is not enough: on an upright phone the on-screen keyboard also
|
|
8
|
+
* brings the viewport under 480 px, and moving the focused search into the first row dropped the
|
|
9
|
+
* keyboard, which moved the search back. Upright phones are at most about 440 px wide (iPhone Pro
|
|
10
|
+
* Max); phones held sideways start at 568 px (iPhone SE).
|
|
11
|
+
*/
|
|
12
|
+
export declare const usePickerOneRowHeaderMediaQuery: () => boolean;
|
|
5
13
|
/**
|
|
6
14
|
* ASMA-8468 REQ-001: a searchable select opens as a full-screen picker below 744 CSS px wide or at
|
|
7
15
|
* most 480 CSS px high. The height half is the same boundary as {@link useShortViewportMediaQuery}
|