hisd3-ui-kit 4.4.0 → 4.5.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/index.cjs.js +99 -81
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.js +143 -125
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1041,8 +1041,13 @@ declare const HISD3Button: React.FC<HISD3ButtonProps>;
|
|
|
1041
1041
|
type HISD3InputProps = InputProps;
|
|
1042
1042
|
/** Plain text input with the HISD3 2px border. */
|
|
1043
1043
|
declare const HISD3Input: React.FC<HISD3InputProps>;
|
|
1044
|
-
interface HISD3SearchInputProps extends InputProps {
|
|
1045
|
-
/**
|
|
1044
|
+
interface HISD3SearchInputProps extends Omit<InputProps, "size"> {
|
|
1045
|
+
/**
|
|
1046
|
+
* "small" 32px, "middle" 40px (default, matches buttons), "large" 56px for a
|
|
1047
|
+
* standalone hero search.
|
|
1048
|
+
*/
|
|
1049
|
+
size?: "small" | "middle" | "large";
|
|
1050
|
+
/** @deprecated use `size` — kept so existing call sites keep working. */
|
|
1046
1051
|
compact?: boolean;
|
|
1047
1052
|
}
|
|
1048
1053
|
/** Grey filled search field with leading icon (the page-level search bar). */
|