mdlz-prmtz
Advanced tools
Comparing version 0.0.38 to 0.0.39-select-api
import React from 'react'; | ||
import { StyleConfig } from '../types/style-config'; | ||
declare type SelectProps = { | ||
@@ -22,13 +23,11 @@ children: React.ReactNode; | ||
unstable__disableLock?: boolean; | ||
buttonCss?: any; | ||
buttonIconCss?: any; | ||
scrollIndicatorCss?: any; | ||
menuCss?: any; | ||
optionCss?: any; | ||
optionHighlightedCss?: any; | ||
optionDisabledCss?: any; | ||
optionGroupedCss?: any; | ||
optionIconCss?: any; | ||
optionGroupCss?: any; | ||
optionGroupLabelCss?: any; | ||
buttonStyle?: StyleConfig<'hover' | 'focus'>; | ||
buttonIconStyle?: StyleConfig; | ||
menuStyle?: StyleConfig; | ||
scrollIndicatorStyle?: StyleConfig; | ||
optionStyle?: StyleConfig<'hover' | 'highlighted' | 'disabled' | 'grouped'>; | ||
optionIconStyle?: StyleConfig; | ||
optionGroupStyle?: StyleConfig; | ||
optionGroupLabelStyle?: StyleConfig; | ||
variantsMap?: any; | ||
}; | ||
@@ -35,0 +34,0 @@ export declare function Select(props: SelectProps): JSX.Element; |
declare type PositionSelectMenuOptions = { | ||
button: HTMLButtonElement | null; | ||
buttonText: HTMLSpanElement | null; | ||
menuWrapper: HTMLDivElement | null; | ||
menu: HTMLDivElement | null; | ||
menuScrollPane: HTMLDivElement | null; | ||
scrollIndicator: HTMLDivElement | null; | ||
selectedOption: HTMLDivElement | null; | ||
selectedOptionText: HTMLSpanElement | null; | ||
viewportGap: number; | ||
@@ -13,3 +16,3 @@ }; | ||
*/ | ||
export declare function positionSelectMenu({ button, menuWrapper, menu, menuScrollPane, selectedOption, viewportGap: VIEWPORT_GAP, }: PositionSelectMenuOptions): void; | ||
export declare function positionSelectMenu({ button, buttonText, menuWrapper, menu, menuScrollPane, scrollIndicator, selectedOption, selectedOptionText, viewportGap: VIEWPORT_GAP, }: PositionSelectMenuOptions): void; | ||
declare type StartExpandingSelectMenuOnScrollOptions = { | ||
@@ -32,4 +35,5 @@ menuWrapper: HTMLDivElement | null; | ||
menuScrollPane: HTMLDivElement | null; | ||
scrollIndicator: HTMLDivElement | null; | ||
}; | ||
export declare function scrollOptionIntoView({ option, menu, menuScrollPane, }: ScrollOptionIntoViewOptions): void; | ||
export declare function scrollOptionIntoView({ option, menu, menuScrollPane, scrollIndicator, }: ScrollOptionIntoViewOptions): void; | ||
export {}; |
{ | ||
"name": "mdlz-prmtz", | ||
"version": "0.0.38", | ||
"version": "0.0.39-select-api", | ||
"description": "Accessible and customisable primitives for the web", | ||
@@ -34,5 +34,6 @@ "author": "Pedro Duarte <pedro@modulz.app>", | ||
"@styled-system/theme-get": "^5.1.2", | ||
"lodash.merge": "^4.6.2", | ||
"lodash.omit": "^4.5.0", | ||
"lodash.pick": "^4.4.0", | ||
"react-focus-on": "^3.1.2", | ||
"react-focus-on": "^3.1.3", | ||
"react-spring": "^8.0.27", | ||
@@ -39,0 +40,0 @@ "resize-observer-polyfill": "^1.5.1" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
281136
60
5473
13
+ Addedlodash.merge@^4.6.2
+ Addedlodash.merge@4.6.2(transitive)
Updatedreact-focus-on@^3.1.3