Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mdlz-prmtz

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdlz-prmtz - npm Package Compare versions

Comparing version 0.0.38 to 0.0.39-select-api

dist/types/style-config.d.ts

21

dist/components/Select.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc