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

@fluentui/react-utilities

Package Overview
Dependencies
Maintainers
13
Versions
918
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-utilities - npm Package Compare versions

Comparing version 0.0.0-nightly58c310891320211216.1 to 0.0.0-nightly5ab766c40f20220114.1

18

CHANGELOG.json

@@ -5,5 +5,5 @@ {

{
"date": "Thu, 16 Dec 2021 04:14:58 GMT",
"tag": "@fluentui/react-utilities_v0.0.0-nightly58c310891320211216.1",
"version": "0.0.0-nightly58c310891320211216.1",
"date": "Fri, 14 Jan 2022 04:15:04 GMT",
"tag": "@fluentui/react-utilities_v0.0.0-nightly5ab766c40f20220114.1",
"version": "0.0.0-nightly5ab766c40f20220114.1",
"comments": {

@@ -14,6 +14,12 @@ "prerelease": [

"package": "@fluentui/react-utilities",
"commit": "919f08a1b25cd5045dc729d44a65f64f7838f4dc",
"commit": "afbf0defba27d6180bd53e24443fff8da633f9dd",
"comment": "Release nightly v9"
},
{
"author": "behowell@microsoft.com",
"package": "@fluentui/react-utilities",
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
"comment": "getSlots: remove slotNames param, and infer from state.components instead"
},
{
"author": "elcraig@microsoft.com",

@@ -27,4 +33,4 @@ "package": "@fluentui/react-utilities",

"package": "@fluentui/react-utilities",
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly58c310891320211216.1",
"commit": "919f08a1b25cd5045dc729d44a65f64f7838f4dc"
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightly5ab766c40f20220114.1",
"commit": "afbf0defba27d6180bd53e24443fff8da633f9dd"
}

@@ -31,0 +37,0 @@ ],

# Change Log - @fluentui/react-utilities
This log was last generated on Thu, 16 Dec 2021 04:14:58 GMT and should not be manually modified.
This log was last generated on Fri, 14 Jan 2022 04:15:04 GMT and should not be manually modified.
<!-- Start content -->
## [0.0.0-nightly58c310891320211216.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v0.0.0-nightly58c310891320211216.1)
## [0.0.0-nightly5ab766c40f20220114.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v0.0.0-nightly5ab766c40f20220114.1)
Thu, 16 Dec 2021 04:14:58 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-utilities_v9.0.0-beta.4..@fluentui/react-utilities_v0.0.0-nightly58c310891320211216.1)
Fri, 14 Jan 2022 04:15:04 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-utilities_v9.0.0-beta.4..@fluentui/react-utilities_v0.0.0-nightly5ab766c40f20220114.1)
### Changes
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/919f08a1b25cd5045dc729d44a65f64f7838f4dc) by email not defined)
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/afbf0defba27d6180bd53e24443fff8da633f9dd) by email not defined)
- getSlots: remove slotNames param, and infer from state.components instead ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
- [breaking] Remove useControllableValue hook (use useControllableState instead) ([PR #20865](https://github.com/microsoft/fluentui/pull/20865) by elcraig@microsoft.com)
- Bump @fluentui/keyboard-keys to v0.0.0-nightly58c310891320211216.1 ([commit](https://github.com/microsoft/fluentui/commit/919f08a1b25cd5045dc729d44a65f64f7838f4dc) by beachball)
- Bump @fluentui/keyboard-keys to v0.0.0-nightly5ab766c40f20220114.1 ([commit](https://github.com/microsoft/fluentui/commit/afbf0defba27d6180bd53e24443fff8da633f9dd) by beachball)

@@ -18,0 +19,0 @@ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-utilities_v9.0.0-beta.4)

@@ -79,3 +79,3 @@ import { DispatchWithoutAction } from 'react';

export declare type ComponentState<Shorthands extends ObjectShorthandPropsRecord> = {
components?: {
components: {
[Key in keyof Shorthands]-?: React_2.ComponentType<NonNullable<Shorthands[Key]> extends ObjectShorthandProps<infer P> ? P : NonNullable<Shorthands[Key]>> | (NonNullable<Shorthands[Key]> extends AsIntrinsicElement<infer As> ? As : keyof JSX.IntrinsicElements);

@@ -189,6 +189,5 @@ };

* @param state - State including slot definitions
* @param slotNames - Name of which props are slots
* @returns An object containing the `slots` map and `slotProps` map.
*/
export declare function getSlots<R extends ObjectShorthandPropsRecord>(state: ComponentState<R>, slotNames?: (keyof R)[]): {
export declare function getSlots<R extends ObjectShorthandPropsRecord>(state: ComponentState<R>): {
slots: Slots<R>;

@@ -195,0 +194,0 @@ slotProps: SlotProps<R>;

@@ -24,6 +24,5 @@ import * as React from 'react';

* @param state - State including slot definitions
* @param slotNames - Name of which props are slots
* @returns An object containing the `slots` map and `slotProps` map.
*/
export declare function getSlots<R extends ObjectShorthandPropsRecord>(state: ComponentState<R>, slotNames?: (keyof R)[]): {
export declare function getSlots<R extends ObjectShorthandPropsRecord>(state: ComponentState<R>): {
slots: Slots<R>;

@@ -30,0 +29,0 @@ slotProps: SlotProps<R>;

@@ -28,3 +28,2 @@ "use strict";

* @param state - State including slot definitions
* @param slotNames - Name of which props are slots
* @returns An object containing the `slots` map and `slotProps` map.

@@ -34,5 +33,6 @@ */

function getSlots(state, slotNames = ['root']) {
function getSlots(state) {
const slots = {};
const slotProps = {};
const slotNames = Object.keys(state.components);

@@ -39,0 +39,0 @@ for (const slotName of slotNames) {

@@ -82,3 +82,3 @@ import * as React from 'react';

export declare type ComponentState<Shorthands extends ObjectShorthandPropsRecord> = {
components?: {
components: {
[Key in keyof Shorthands]-?: React.ComponentType<NonNullable<Shorthands[Key]> extends ObjectShorthandProps<infer P> ? P : NonNullable<Shorthands[Key]>> | (NonNullable<Shorthands[Key]> extends AsIntrinsicElement<infer As> ? As : keyof JSX.IntrinsicElements);

@@ -85,0 +85,0 @@ };

@@ -24,6 +24,5 @@ import * as React from 'react';

* @param state - State including slot definitions
* @param slotNames - Name of which props are slots
* @returns An object containing the `slots` map and `slotProps` map.
*/
export declare function getSlots<R extends ObjectShorthandPropsRecord>(state: ComponentState<R>, slotNames?: (keyof R)[]): {
export declare function getSlots<R extends ObjectShorthandPropsRecord>(state: ComponentState<R>): {
slots: Slots<R>;

@@ -30,0 +29,0 @@ slotProps: SlotProps<R>;

@@ -19,9 +19,9 @@ import * as React from 'react';

* @param state - State including slot definitions
* @param slotNames - Name of which props are slots
* @returns An object containing the `slots` map and `slotProps` map.
*/
export function getSlots(state, slotNames = ['root']) {
export function getSlots(state) {
const slots = {};
const slotProps = {};
const slotNames = Object.keys(state.components);

@@ -28,0 +28,0 @@ for (const slotName of slotNames) {

@@ -82,3 +82,3 @@ import * as React from 'react';

export declare type ComponentState<Shorthands extends ObjectShorthandPropsRecord> = {
components?: {
components: {
[Key in keyof Shorthands]-?: React.ComponentType<NonNullable<Shorthands[Key]> extends ObjectShorthandProps<infer P> ? P : NonNullable<Shorthands[Key]>> | (NonNullable<Shorthands[Key]> extends AsIntrinsicElement<infer As> ? As : keyof JSX.IntrinsicElements);

@@ -85,0 +85,0 @@ };

{
"name": "@fluentui/react-utilities",
"version": "0.0.0-nightly58c310891320211216.1",
"version": "0.0.0-nightly5ab766c40f20220114.1",
"description": "A set of general React-specific utilities.",

@@ -36,3 +36,3 @@ "main": "lib-commonjs/index.js",

"dependencies": {
"@fluentui/keyboard-keys": "0.0.0-nightly58c310891320211216.1",
"@fluentui/keyboard-keys": "0.0.0-nightly5ab766c40f20220114.1",
"tslib": "^2.1.0"

@@ -39,0 +39,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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