Socket
Socket
Sign inDemoInstall

@fluentui/react-aria

Package Overview
Dependencies
Maintainers
12
Versions
819
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-aria - npm Package Compare versions

Comparing version 9.0.0-alpha.5 to 9.0.0-alpha.6

.cache/jest/jest-transform-cache-9b3796a5dc8d2d2a9be80211957eafe8-d0e7c439bf6eb5a4bf3a6371fdd259d1/00/index_0080ddad4bef87b0fe942200d3f6dba6

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Thu, 01 Jul 2021 07:31:44 GMT",
"date": "Fri, 02 Jul 2021 07:35:03 GMT",
"tag": "@fluentui/react-aria_v9.0.0-alpha.6",
"version": "9.0.0-alpha.6",
"comments": {
"prerelease": [
{
"comment": "Rename typings and getSlots to have the Compat Suffix",
"author": "bsunderhus@microsoft.com",
"commit": "c939e67b1840a9eb5f7706afcda8c14df8f18d33",
"package": "@fluentui/react-aria"
}
]
}
},
{
"date": "Thu, 01 Jul 2021 07:35:05 GMT",
"tag": "@fluentui/react-aria_v9.0.0-alpha.5",

@@ -8,0 +23,0 @@ "version": "9.0.0-alpha.5",

# Change Log - @fluentui/react-aria
This log was last generated on Thu, 01 Jul 2021 07:31:44 GMT and should not be manually modified.
This log was last generated on Fri, 02 Jul 2021 07:35:03 GMT and should not be manually modified.
<!-- Start content -->
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.6)
Fri, 02 Jul 2021 07:35:03 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.5..@fluentui/react-aria_v9.0.0-alpha.6)
### Changes
- Rename typings and getSlots to have the Compat Suffix ([PR #18796](https://github.com/microsoft/fluentui/pull/18796) by bsunderhus@microsoft.com)
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-aria_v9.0.0-alpha.5)
Thu, 01 Jul 2021 07:31:44 GMT
Thu, 01 Jul 2021 07:35:05 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-aria_v9.0.0-alpha.4..@fluentui/react-aria_v9.0.0-alpha.5)

@@ -11,0 +20,0 @@

4

dist/react-aria.d.ts

@@ -1,2 +0,2 @@

import { ObjectShorthandProps } from '@fluentui/react-utilities';
import { ObjectShorthandPropsCompat } from '@fluentui/react-utilities';
import * as React_2 from 'react';

@@ -9,4 +9,4 @@

*/
export declare function useARIAButton(shorthand: ObjectShorthandProps<React_2.ButtonHTMLAttributes<HTMLElement>>): ObjectShorthandProps<React_2.ButtonHTMLAttributes<HTMLElement>>;
export declare function useARIAButton(shorthand: ObjectShorthandPropsCompat<React_2.ButtonHTMLAttributes<HTMLElement>>): ObjectShorthandPropsCompat<React_2.ButtonHTMLAttributes<HTMLElement>>;
export { }

@@ -7,7 +7,7 @@ ## API Report File for "@fluentui/react-aria"

import { ObjectShorthandProps } from '@fluentui/react-utilities';
import { ObjectShorthandPropsCompat } from '@fluentui/react-utilities';
import * as React_2 from 'react';
// @public
export function useARIAButton(shorthand: ObjectShorthandProps<React_2.ButtonHTMLAttributes<HTMLElement>>): ObjectShorthandProps<React_2.ButtonHTMLAttributes<HTMLElement>>;
export function useARIAButton(shorthand: ObjectShorthandPropsCompat<React_2.ButtonHTMLAttributes<HTMLElement>>): ObjectShorthandPropsCompat<React_2.ButtonHTMLAttributes<HTMLElement>>;

@@ -14,0 +14,0 @@

import * as React from 'react';
import { ObjectShorthandProps } from '@fluentui/react-utilities';
import { ObjectShorthandPropsCompat } from '@fluentui/react-utilities';
/**

@@ -8,2 +8,2 @@ * button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec

*/
export declare function useARIAButton(shorthand: ObjectShorthandProps<React.ButtonHTMLAttributes<HTMLElement>>): ObjectShorthandProps<React.ButtonHTMLAttributes<HTMLElement>>;
export declare function useARIAButton(shorthand: ObjectShorthandPropsCompat<React.ButtonHTMLAttributes<HTMLElement>>): ObjectShorthandPropsCompat<React.ButtonHTMLAttributes<HTMLElement>>;

@@ -7,3 +7,3 @@ define(["require", "exports", "tslib", "@fluentui/react-utilities", "react", "./useARIAButton"], function (require, exports, tslib_1, react_utilities_1, React, useARIAButton_1) {

var props = useARIAButton_1.useARIAButton({ as: 'button', onClick: args.onClick });
var _a = react_utilities_1.getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = react_utilities_1.getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return React.createElement(slots.root, tslib_1.__assign({}, slotProps.root), "this is a button");

@@ -20,3 +20,3 @@ };

});
var _a = react_utilities_1.getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = react_utilities_1.getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return (React.createElement(slots.root, tslib_1.__assign({ href: "/" }, slotProps.root), "this is an anchor"));

@@ -27,3 +27,3 @@ };

var props = useARIAButton_1.useARIAButton({ as: 'span', onClick: args.onClick });
var _a = react_utilities_1.getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = react_utilities_1.getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return React.createElement(slots.root, tslib_1.__assign({}, slotProps.root), "this is a span");

@@ -34,3 +34,3 @@ };

var props = useARIAButton_1.useARIAButton({ as: 'div', onClick: args.onClick });
var _a = react_utilities_1.getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = react_utilities_1.getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return React.createElement(slots.root, tslib_1.__assign({}, slotProps.root), "this is a div");

@@ -37,0 +37,0 @@ };

import * as React from 'react';
import { ObjectShorthandProps } from '@fluentui/react-utilities';
import { ObjectShorthandPropsCompat } from '@fluentui/react-utilities';
/**

@@ -8,2 +8,2 @@ * button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec

*/
export declare function useARIAButton(shorthand: ObjectShorthandProps<React.ButtonHTMLAttributes<HTMLElement>>): ObjectShorthandProps<React.ButtonHTMLAttributes<HTMLElement>>;
export declare function useARIAButton(shorthand: ObjectShorthandPropsCompat<React.ButtonHTMLAttributes<HTMLElement>>): ObjectShorthandPropsCompat<React.ButtonHTMLAttributes<HTMLElement>>;

@@ -10,3 +10,3 @@ "use strict";

var props = useARIAButton_1.useARIAButton({ as: 'button', onClick: args.onClick });
var _a = react_utilities_1.getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = react_utilities_1.getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return React.createElement(slots.root, tslib_1.__assign({}, slotProps.root), "this is a button");

@@ -23,3 +23,3 @@ };

});
var _a = react_utilities_1.getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = react_utilities_1.getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return (React.createElement(slots.root, tslib_1.__assign({ href: "/" }, slotProps.root), "this is an anchor"));

@@ -30,3 +30,3 @@ };

var props = useARIAButton_1.useARIAButton({ as: 'span', onClick: args.onClick });
var _a = react_utilities_1.getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = react_utilities_1.getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return React.createElement(slots.root, tslib_1.__assign({}, slotProps.root), "this is a span");

@@ -37,3 +37,3 @@ };

var props = useARIAButton_1.useARIAButton({ as: 'div', onClick: args.onClick });
var _a = react_utilities_1.getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = react_utilities_1.getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return React.createElement(slots.root, tslib_1.__assign({}, slotProps.root), "this is a div");

@@ -40,0 +40,0 @@ };

import * as React from 'react';
import { ObjectShorthandProps } from '@fluentui/react-utilities';
import { ObjectShorthandPropsCompat } from '@fluentui/react-utilities';
/**

@@ -8,2 +8,2 @@ * button keyboard handling, role, disabled and tabIndex implementation that ensures ARIA spec

*/
export declare function useARIAButton(shorthand: ObjectShorthandProps<React.ButtonHTMLAttributes<HTMLElement>>): ObjectShorthandProps<React.ButtonHTMLAttributes<HTMLElement>>;
export declare function useARIAButton(shorthand: ObjectShorthandPropsCompat<React.ButtonHTMLAttributes<HTMLElement>>): ObjectShorthandPropsCompat<React.ButtonHTMLAttributes<HTMLElement>>;
import { __assign } from "tslib";
import { getSlots } from '@fluentui/react-utilities';
import { getSlotsCompat } from '@fluentui/react-utilities';
import * as React from 'react';

@@ -7,3 +7,3 @@ import { useARIAButton } from './useARIAButton';

var props = useARIAButton({ as: 'button', onClick: args.onClick });
var _a = getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return React.createElement(slots.root, __assign({}, slotProps.root), "this is a button");

@@ -19,3 +19,3 @@ };

});
var _a = getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return (React.createElement(slots.root, __assign({ href: "/" }, slotProps.root), "this is an anchor"));

@@ -25,3 +25,3 @@ };

var props = useARIAButton({ as: 'span', onClick: args.onClick });
var _a = getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return React.createElement(slots.root, __assign({}, slotProps.root), "this is a span");

@@ -31,3 +31,3 @@ };

var props = useARIAButton({ as: 'div', onClick: args.onClick });
var _a = getSlots(props, []), slots = _a.slots, slotProps = _a.slotProps;
var _a = getSlotsCompat(props, []), slots = _a.slots, slotProps = _a.slotProps;
return React.createElement(slots.root, __assign({}, slotProps.root), "this is a div");

@@ -34,0 +34,0 @@ };

{
"name": "@fluentui/react-aria",
"version": "9.0.0-alpha.5",
"version": "9.0.0-alpha.6",
"description": "React helper to ensure ARIA",

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

"@fluentui/eslint-plugin": "^1.3.1",
"@fluentui/jest-serializer-make-styles": "^9.0.0-alpha.20",
"@fluentui/jest-serializer-make-styles": "^9.0.0-alpha.21",
"@fluentui/react-conformance": "^0.4.1",

@@ -45,4 +45,4 @@ "@fluentui/scripts": "^1.0.0",

"@fluentui/keyboard-key": "^0.3.2",
"@fluentui/react-make-styles": "^9.0.0-alpha.44",
"@fluentui/react-utilities": "^9.0.0-alpha.29",
"@fluentui/react-make-styles": "^9.0.0-alpha.45",
"@fluentui/react-utilities": "^9.0.0-alpha.30",
"tslib": "^2.1.0"

@@ -49,0 +49,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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