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

@fluentui/state

Package Overview
Dependencies
Maintainers
5
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/state - npm Package Compare versions

Comparing version 0.44.0 to 0.45.0

dist/commonjs/createManager.js.map

5

dist/commonjs/createManager.js

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

});
exports.default = void 0;
exports["default"] = void 0;

@@ -104,2 +104,3 @@ var createManager = function createManager(config) {

var _default = createManager;
exports.default = _default;
exports["default"] = _default;
//# sourceMappingURL=createManager.js.map

24

dist/commonjs/index.js

@@ -14,6 +14,19 @@ "use strict";

get: function get() {
return _createManager.default;
return _createManager["default"];
}
});
var _checkboxManager = require("./managers/checkboxManager");
Object.keys(_checkboxManager).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _checkboxManager[key];
}
});
});
var _dialogManager = require("./managers/dialogManager");

@@ -45,5 +58,5 @@

var _listManager = require("./managers/listManager");
var _sliderManager = require("./managers/sliderManager");
Object.keys(_listManager).forEach(function (key) {
Object.keys(_sliderManager).forEach(function (key) {
if (key === "default" || key === "__esModule") return;

@@ -54,3 +67,3 @@ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;

get: function get() {
return _listManager[key];
return _sliderManager[key];
}

@@ -73,2 +86,3 @@ });

});
});
});
//# sourceMappingURL=index.js.map

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

var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return (0, _createManager.default)(Object.assign({}, config, {
return (0, _createManager["default"])(Object.assign({}, config, {
state: Object.assign({

@@ -38,2 +38,3 @@ open: false

exports.createDialogManager = createDialogManager;
exports.createDialogManager = createDialogManager;
//# sourceMappingURL=dialogManager.js.map

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

var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return (0, _createManager.default)(Object.assign({}, config, {
return (0, _createManager["default"])(Object.assign({}, config, {
state: Object.assign({

@@ -63,2 +63,3 @@ multiple: false,

exports.createDropdownManager = createDropdownManager;
exports.createDropdownManager = createDropdownManager;
//# sourceMappingURL=dropdownManager.js.map

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

"use strict";
"use strict";
//# sourceMappingURL=types.js.map

@@ -95,2 +95,3 @@ var createManager = function createManager(config) {

export default createManager;
export default createManager;
//# sourceMappingURL=createManager.js.map

@@ -0,5 +1,6 @@

export * from './managers/checkboxManager';
export * from './managers/dialogManager';
export * from './managers/dropdownManager';
export * from './managers/listManager';
export * from './managers/sliderManager';
export { default as createManager } from './createManager';
export * from './types';

@@ -0,5 +1,7 @@

export * from './managers/checkboxManager';
export * from './managers/dialogManager';
export * from './managers/dropdownManager';
export * from './managers/listManager';
export * from './managers/sliderManager';
export { default as createManager } from './createManager';
export * from './types';
export * from './types';
//# sourceMappingURL=index.js.map

@@ -25,2 +25,3 @@ import createManager from '../createManager';

}));
};
};
//# sourceMappingURL=dialogManager.js.map

@@ -50,2 +50,3 @@ import createManager from '../createManager';

}));
};
};
//# sourceMappingURL=dropdownManager.js.map
{
"name": "@fluentui/state",
"description": "A set of utils to create framework agnostic and reusable state managers",
"version": "0.44.0",
"version": "0.45.0",
"author": "Oleksandr Fediashov <a@fedyashov.com>",
"bugs": "https://github.com/microsoft/fluent-ui-react/issues",
"bugs": "https://github.com/OfficeDev/office-ui-fabric-react/issues",
"dependencies": {
"@babel/runtime": "^7.1.2"
"@babel/runtime": "^7.7.6"
},
"devDependencies": {
"@fluentui/internal-tooling": "^0.44.0",
"@types/react": "16.8.11",
"@uifabric/build": "^7.0.0",
"lerna-alias": "^3.0.3-0"

@@ -17,3 +18,3 @@ },

],
"homepage": "https://github.com/microsoft/fluent-ui-react/tree/master/packages/state",
"homepage": "https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/fluentui/state",
"jsnext:main": "dist/es/index.js",

@@ -26,10 +27,16 @@ "license": "MIT",

},
"repository": "microsoft/fluent-ui-react.git",
"repository": "OfficeDev/office-ui-fabric-react.git",
"scripts": {
"build": "gulp bundle:package:no-umd",
"clean": "gulp bundle:package:clean"
"clean": "gulp bundle:package:clean",
"lint": "yarn lint:eslint && yarn lint:old",
"lint:eslint": "eslint --ext .js,.ts,.tsx .",
"lint:fix": "yarn lint:eslint --fix && yarn lint:old --fix",
"lint:old": "tslint -t stylish -p .",
"test:watch": "gulp test:watch"
},
"sideEffects": false,
"types": "dist/es/index.d.ts",
"gitHead": "39b6d1fbd11d7444d2808a8ff5d06ca2e997fe3b"
"private": false,
"gitHead": "d08e21664e66fd0203260f1d2f441007bca02915"
}

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

`@fluentui/state`
===
# `@fluentui/state`

@@ -9,3 +8,2 @@ A set of utils to create framework agnostic and reusable state managers.

- [Installation](#installation)

@@ -20,2 +18,3 @@ - [Usage](#usage)

**NPM**
```bash

@@ -26,2 +25,3 @@ npm install --save @fluentui/state

**Yarn**
```bash

@@ -34,3 +34,3 @@ yarn add @fluentui/state

```tsx
import { createManager, ManagerFactory } from "@fluentui/state";
import { createManager, ManagerFactory } from '@fluentui/state';

@@ -46,5 +46,5 @@ type InputState = { value: string };

},
state: { value: "", ...config.state }
state: { value: '', ...config.state }
});
const manager = createInputManager({ state: { value: "Hello world!" } });
const manager = createInputManager({ state: { value: 'Hello world!' } });
```

@@ -54,2 +54,2 @@

We provide React bindings under [`@fluentui/react-bindings`](https://github.com/microsoft/fluent-ui-react/tree/master/packages/react-bindings).
We provide React bindings under [`@fluentui/react-bindings`](https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/fluentui/react-bindings).
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