@fluentui/react-switch 0.0.0-nightly39ce3cbcf120211206.1 → 0.0.0-nightly50ae56ec3420220218.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.json +126 -27
  2. package/CHANGELOG.md +32 -12
  3. package/dist/react-switch.d.ts +12 -17
  4. package/lib/Switch.js.map +1 -1
  5. package/lib/components/Switch/Switch.js +6 -6
  6. package/lib/components/Switch/Switch.js.map +1 -1
  7. package/lib/components/Switch/Switch.types.d.ts +10 -9
  8. package/lib/components/Switch/Switch.types.js.map +1 -1
  9. package/lib/components/Switch/index.js.map +1 -1
  10. package/lib/components/Switch/renderSwitch.d.ts +1 -1
  11. package/lib/components/Switch/renderSwitch.js +9 -4
  12. package/lib/components/Switch/renderSwitch.js.map +1 -1
  13. package/lib/components/Switch/useSwitch.d.ts +2 -6
  14. package/lib/components/Switch/useSwitch.js +1 -6
  15. package/lib/components/Switch/useSwitch.js.map +1 -1
  16. package/lib/components/Switch/useSwitchState.js +1 -1
  17. package/lib/components/Switch/useSwitchState.js.map +1 -1
  18. package/lib/components/Switch/useSwitchStyles.d.ts +1 -1
  19. package/lib/components/Switch/useSwitchStyles.js +10 -24
  20. package/lib/components/Switch/useSwitchStyles.js.map +1 -1
  21. package/lib/index.js.map +1 -1
  22. package/lib-commonjs/Switch.js.map +1 -1
  23. package/lib-commonjs/components/Switch/Switch.js +3 -3
  24. package/lib-commonjs/components/Switch/Switch.js.map +1 -1
  25. package/lib-commonjs/components/Switch/Switch.types.d.ts +10 -9
  26. package/lib-commonjs/components/Switch/Switch.types.js.map +1 -1
  27. package/lib-commonjs/components/Switch/index.js.map +1 -1
  28. package/lib-commonjs/components/Switch/renderSwitch.d.ts +1 -1
  29. package/lib-commonjs/components/Switch/renderSwitch.js +11 -7
  30. package/lib-commonjs/components/Switch/renderSwitch.js.map +1 -1
  31. package/lib-commonjs/components/Switch/useSwitch.d.ts +2 -6
  32. package/lib-commonjs/components/Switch/useSwitch.js +4 -9
  33. package/lib-commonjs/components/Switch/useSwitch.js.map +1 -1
  34. package/lib-commonjs/components/Switch/useSwitchState.js +1 -1
  35. package/lib-commonjs/components/Switch/useSwitchState.js.map +1 -1
  36. package/lib-commonjs/components/Switch/useSwitchStyles.d.ts +1 -1
  37. package/lib-commonjs/components/Switch/useSwitchStyles.js +25 -38
  38. package/lib-commonjs/components/Switch/useSwitchStyles.js.map +1 -1
  39. package/lib-commonjs/index.js.map +1 -1
  40. package/package.json +7 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-switch",
3
- "version": "0.0.0-nightly39ce3cbcf120211206.1",
3
+ "version": "0.0.0-nightly50ae56ec3420220218.1",
4
4
  "description": "Fluent UI React Switch component.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -22,15 +22,13 @@
22
22
  "test": "jest --passWithNoTests",
23
23
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
24
24
  "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-switch/src && yarn docs",
25
- "storybook": "start-storybook",
25
+ "storybook": "node ../../scripts/storybook/runner",
26
26
  "type-check": "tsc -b tsconfig.json"
27
27
  },
28
28
  "devDependencies": {
29
- "@fluentui/babel-make-styles": "0.0.0-nightly39ce3cbcf120211206.1",
30
29
  "@fluentui/eslint-plugin": "*",
31
- "@fluentui/jest-serializer-make-styles": "0.0.0-nightly39ce3cbcf120211206.1",
32
30
  "@fluentui/react-conformance": "*",
33
- "@fluentui/react-conformance-make-styles": "0.0.0-nightly39ce3cbcf120211206.1",
31
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly50ae56ec3420220218.1",
34
32
  "@fluentui/scripts": "^1.0.0",
35
33
  "@types/enzyme": "3.10.3",
36
34
  "@types/enzyme-adapter-react-16": "1.0.3",
@@ -44,10 +42,10 @@
44
42
  "react-test-renderer": "^16.3.0"
45
43
  },
46
44
  "dependencies": {
47
- "@fluentui/react-make-styles": "0.0.0-nightly39ce3cbcf120211206.1",
48
- "@fluentui/react-shared-contexts": "0.0.0-nightly39ce3cbcf120211206.1",
49
- "@fluentui/react-tabster": "0.0.0-nightly39ce3cbcf120211206.1",
50
- "@fluentui/react-utilities": "0.0.0-nightly39ce3cbcf120211206.1",
45
+ "@fluentui/react-shared-contexts": "0.0.0-nightly50ae56ec3420220218.1",
46
+ "@fluentui/react-tabster": "0.0.0-nightly50ae56ec3420220218.1",
47
+ "@fluentui/react-utilities": "0.0.0-nightly50ae56ec3420220218.1",
48
+ "@griffel/react": "1.0.0",
51
49
  "tslib": "^2.1.0"
52
50
  },
53
51
  "peerDependencies": {