New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zendeskgarden/container-selection

Package Overview
Dependencies
Maintainers
0
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zendeskgarden/container-selection - npm Package Compare versions

Comparing version 3.0.10 to 3.1.0

5

dist/index.cjs.js

@@ -63,2 +63,3 @@ /**

focusedValue,
allowDefaultOnSelect = false,
onSelect,

@@ -104,3 +105,3 @@ onFocus

'data-garden-container-id': 'containers.selection',
'data-garden-container-version': '3.0.10',
'data-garden-container-version': '3.1.0',
...other

@@ -208,3 +209,3 @@ };

});
event.preventDefault();
!allowDefaultOnSelect && event.preventDefault();
}

@@ -211,0 +212,0 @@ }

@@ -61,2 +61,3 @@ /**

focusedValue,
allowDefaultOnSelect = false,
onSelect,

@@ -102,3 +103,3 @@ onFocus

'data-garden-container-id': 'containers.selection',
'data-garden-container-version': '3.0.10',
'data-garden-container-version': '3.1.0',
...other

@@ -206,3 +207,3 @@ };

});
event.preventDefault();
!allowDefaultOnSelect && event.preventDefault();
}

@@ -209,0 +210,0 @@ }

2

dist/typings/types.d.ts

@@ -23,2 +23,4 @@ /**

focusedValue?: Value;
/** Allows `preventDefault` to be called on selection */
allowDefaultOnSelect?: boolean;
/**

@@ -25,0 +27,0 @@ * Handles controlled value selection

@@ -8,2 +8,2 @@ /**

import { IUseSelectionProps, IUseSelectionReturnValue } from './types';
export declare const useSelection: <Value>({ values, direction, defaultFocusedValue, defaultSelectedValue, rtl, selectedValue, focusedValue, onSelect, onFocus }: IUseSelectionProps<Value>) => IUseSelectionReturnValue<Value>;
export declare const useSelection: <Value>({ values, direction, defaultFocusedValue, defaultSelectedValue, rtl, selectedValue, focusedValue, allowDefaultOnSelect, onSelect, onFocus }: IUseSelectionProps<Value>) => IUseSelectionReturnValue<Value>;
{
"name": "@zendeskgarden/container-selection",
"version": "3.0.10",
"version": "3.1.0",
"description": "Containers relating to selection in the Garden Design System",

@@ -44,3 +44,3 @@ "license": "Apache-2.0",

"zendeskgarden:src": "src/index.ts",
"gitHead": "f20538e24c81c09be96684315918d74937d814e0"
"gitHead": "491956bc834aab2e23db721f85c77254cc37e178"
}
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