@fluentui/react-card 0.0.0-nightlyd3bf09bf8120211201.1 → 0.0.0-nightlyd514b3e0ee20220121.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 (65) hide show
  1. package/CHANGELOG.json +70 -20
  2. package/CHANGELOG.md +17 -13
  3. package/README.md +3 -1
  4. package/Spec.md +523 -0
  5. package/assets/Card.png +0 -0
  6. package/assets/CardHeader.png +0 -0
  7. package/assets/CardPreview.png +0 -0
  8. package/assets/context-interaction-keyboard.png +0 -0
  9. package/assets/context-interaction-mouse.png +0 -0
  10. package/assets/context-narrator.png +0 -0
  11. package/assets/disabled-narrator.png +0 -0
  12. package/assets/disabled.png +0 -0
  13. package/assets/interactive-interaction-keyboard.png +0 -0
  14. package/assets/interactive-interaction-mouse.png +0 -0
  15. package/assets/interactive-narrator.png +0 -0
  16. package/assets/non-interactive-interaction-keyboard.png +0 -0
  17. package/assets/non-interactive-interaction-mouse.png +0 -0
  18. package/assets/non-interactive-narrator.png +0 -0
  19. package/assets/non-interactive-selectable-interaction-keyboard.png +0 -0
  20. package/assets/non-interactive-selectable-interaction-mouse.png +0 -0
  21. package/assets/selectable-interaction-keyboard.png +0 -0
  22. package/assets/selectable-interaction-mouse.png +0 -0
  23. package/assets/selectable-narrator.png +0 -0
  24. package/dist/react-card.d.ts +2 -16
  25. package/lib/components/Card/Card.types.d.ts +2 -3
  26. package/lib/components/Card/renderCard.js +2 -1
  27. package/lib/components/Card/renderCard.js.map +1 -1
  28. package/lib/components/Card/useCardStyles.js +1 -0
  29. package/lib/components/Card/useCardStyles.js.map +1 -1
  30. package/lib/components/CardFooter/renderCardFooter.js +4 -3
  31. package/lib/components/CardFooter/renderCardFooter.js.map +1 -1
  32. package/lib/components/CardFooter/useCardFooter.d.ts +1 -5
  33. package/lib/components/CardFooter/useCardFooter.js +0 -5
  34. package/lib/components/CardFooter/useCardFooter.js.map +1 -1
  35. package/lib/components/CardHeader/renderCardHeader.js +8 -3
  36. package/lib/components/CardHeader/renderCardHeader.js.map +1 -1
  37. package/lib/components/CardHeader/useCardHeader.d.ts +1 -2
  38. package/lib/components/CardHeader/useCardHeader.js +0 -1
  39. package/lib/components/CardHeader/useCardHeader.js.map +1 -1
  40. package/lib/components/CardPreview/renderCardPreview.js +4 -3
  41. package/lib/components/CardPreview/renderCardPreview.js.map +1 -1
  42. package/lib/components/CardPreview/useCardPreview.d.ts +1 -5
  43. package/lib/components/CardPreview/useCardPreview.js +0 -5
  44. package/lib/components/CardPreview/useCardPreview.js.map +1 -1
  45. package/lib-commonjs/components/Card/Card.types.d.ts +2 -3
  46. package/lib-commonjs/components/Card/renderCard.js +2 -1
  47. package/lib-commonjs/components/Card/renderCard.js.map +1 -1
  48. package/lib-commonjs/components/Card/useCardStyles.js +2 -0
  49. package/lib-commonjs/components/Card/useCardStyles.js.map +1 -1
  50. package/lib-commonjs/components/CardFooter/renderCardFooter.js +4 -4
  51. package/lib-commonjs/components/CardFooter/renderCardFooter.js.map +1 -1
  52. package/lib-commonjs/components/CardFooter/useCardFooter.d.ts +1 -5
  53. package/lib-commonjs/components/CardFooter/useCardFooter.js +2 -7
  54. package/lib-commonjs/components/CardFooter/useCardFooter.js.map +1 -1
  55. package/lib-commonjs/components/CardHeader/renderCardHeader.js +8 -4
  56. package/lib-commonjs/components/CardHeader/renderCardHeader.js.map +1 -1
  57. package/lib-commonjs/components/CardHeader/useCardHeader.d.ts +1 -2
  58. package/lib-commonjs/components/CardHeader/useCardHeader.js +2 -3
  59. package/lib-commonjs/components/CardHeader/useCardHeader.js.map +1 -1
  60. package/lib-commonjs/components/CardPreview/renderCardPreview.js +4 -4
  61. package/lib-commonjs/components/CardPreview/renderCardPreview.js.map +1 -1
  62. package/lib-commonjs/components/CardPreview/useCardPreview.d.ts +1 -5
  63. package/lib-commonjs/components/CardPreview/useCardPreview.js +2 -7
  64. package/lib-commonjs/components/CardPreview/useCardPreview.js.map +1 -1
  65. package/package.json +11 -11
package/CHANGELOG.json CHANGED
@@ -2,70 +2,120 @@
2
2
  "name": "@fluentui/react-card",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 01 Dec 2021 04:25:36 GMT",
6
- "tag": "@fluentui/react-card_v0.0.0-nightlyd3bf09bf8120211201.1",
7
- "version": "0.0.0-nightlyd3bf09bf8120211201.1",
5
+ "date": "Fri, 21 Jan 2022 04:16:19 GMT",
6
+ "tag": "@fluentui/react-card_v0.0.0-nightlyd514b3e0ee20220121.1",
7
+ "version": "0.0.0-nightlyd514b3e0ee20220121.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-card",
13
- "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7",
13
+ "commit": "89feafb688fbb160fb8519724479b3c68a79d090",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "ololubek@microsoft.com",
18
+ "package": "@fluentui/react-card",
19
+ "commit": "63cbefe55e5db10eedbde19392aa8b6376d6a7f7",
20
+ "comment": "Update react-icons usage to resizable icons"
21
+ },
22
+ {
23
+ "author": "Humberto.Morimoto@microsoft.com",
24
+ "package": "@fluentui/react-card",
25
+ "commit": "37772e1ef0b587bf08984dd053ebb356c57c5247",
26
+ "comment": "react-card: Replacing use of functions in makeStyles with direct use of tokens."
27
+ },
28
+ {
29
+ "author": "elcraig@microsoft.com",
30
+ "package": "@fluentui/react-card",
31
+ "commit": "d892c7f79c543b6008634ecd669b75b5108cad46",
32
+ "comment": "Remove empty CardCommons type and outdated boilerplate comments"
33
+ },
16
34
  {
17
35
  "author": "olfedias@microsoft.com",
18
36
  "package": "@fluentui/react-card",
19
37
  "commit": "158d89b5d98e3544e06f4f09967d2af8ab43e249",
20
38
  "comment": "update styles no not use CSS shorthands"
21
39
  },
40
+ {
41
+ "author": "behowell@microsoft.com",
42
+ "package": "@fluentui/react-card",
43
+ "commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
44
+ "comment": "Remove component's shorthandProps array"
45
+ },
22
46
  {
23
47
  "author": "beachball",
24
48
  "package": "@fluentui/react-card",
25
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
26
- "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
49
+ "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyd514b3e0ee20220121.1",
50
+ "commit": "89feafb688fbb160fb8519724479b3c68a79d090"
27
51
  },
28
52
  {
29
53
  "author": "beachball",
30
54
  "package": "@fluentui/react-card",
31
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyd3bf09bf8120211201.1",
32
- "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
55
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyd514b3e0ee20220121.1",
56
+ "commit": "89feafb688fbb160fb8519724479b3c68a79d090"
33
57
  },
34
58
  {
35
59
  "author": "beachball",
36
60
  "package": "@fluentui/react-card",
37
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyd3bf09bf8120211201.1",
38
- "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
61
+ "comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyd514b3e0ee20220121.1",
62
+ "commit": "89feafb688fbb160fb8519724479b3c68a79d090"
39
63
  },
40
64
  {
41
65
  "author": "beachball",
42
66
  "package": "@fluentui/react-card",
43
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
44
- "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
67
+ "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyd514b3e0ee20220121.1",
68
+ "commit": "89feafb688fbb160fb8519724479b3c68a79d090"
45
69
  },
46
70
  {
47
71
  "author": "beachball",
48
72
  "package": "@fluentui/react-card",
49
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
50
- "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
73
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd514b3e0ee20220121.1",
74
+ "commit": "89feafb688fbb160fb8519724479b3c68a79d090"
51
75
  },
52
76
  {
53
77
  "author": "beachball",
54
78
  "package": "@fluentui/react-card",
55
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
56
- "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
79
+ "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd514b3e0ee20220121.1",
80
+ "commit": "89feafb688fbb160fb8519724479b3c68a79d090"
57
81
  },
58
82
  {
59
83
  "author": "beachball",
60
84
  "package": "@fluentui/react-card",
61
- "comment": "Bump @fluentui/react-text to v0.0.0-nightlyd3bf09bf8120211201.1",
62
- "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
85
+ "comment": "Bump @fluentui/react-text to v0.0.0-nightlyd514b3e0ee20220121.1",
86
+ "commit": "89feafb688fbb160fb8519724479b3c68a79d090"
63
87
  },
64
88
  {
65
89
  "author": "beachball",
66
90
  "package": "@fluentui/react-card",
67
- "comment": "Bump @fluentui/react-button to v0.0.0-nightlyd3bf09bf8120211201.1",
68
- "commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
91
+ "comment": "Bump @fluentui/react-button to v0.0.0-nightlyd514b3e0ee20220121.1",
92
+ "commit": "89feafb688fbb160fb8519724479b3c68a79d090"
93
+ }
94
+ ],
95
+ "none": [
96
+ {
97
+ "author": "39736248+andrefcdias@users.noreply.github.com",
98
+ "package": "@fluentui/react-card",
99
+ "commit": "8e04b14546f264bb197ffce70bdff8ec83762c49",
100
+ "comment": "Add Alpha notice"
101
+ },
102
+ {
103
+ "author": "martinhochel@microsoft.com",
104
+ "package": "@fluentui/react-card",
105
+ "commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
106
+ "comment": "chore: use storybook runner for all vNext packages"
107
+ },
108
+ {
109
+ "author": "andredias@microsoft.com",
110
+ "package": "@fluentui/react-card",
111
+ "commit": "c6c745b664df52f5cbdd5a190cc08cae971216e0",
112
+ "comment": "Add component spec"
113
+ },
114
+ {
115
+ "author": "olfedias@microsoft.com",
116
+ "package": "@fluentui/react-card",
117
+ "commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
118
+ "comment": "remove inline-style-expand-shorthand from tsconfigs"
69
119
  }
70
120
  ]
71
121
  }
package/CHANGELOG.md CHANGED
@@ -1,26 +1,30 @@
1
1
  # Change Log - @fluentui/react-card
2
2
 
3
- This log was last generated on Wed, 01 Dec 2021 04:25:36 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 21 Jan 2022 04:16:19 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightlyd3bf09bf8120211201.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v0.0.0-nightlyd3bf09bf8120211201.1)
7
+ ## [0.0.0-nightlyd514b3e0ee20220121.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v0.0.0-nightlyd514b3e0ee20220121.1)
8
8
 
9
- Wed, 01 Dec 2021 04:25:36 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.5..@fluentui/react-card_v0.0.0-nightlyd3bf09bf8120211201.1)
9
+ Fri, 21 Jan 2022 04:16:19 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-card_v9.0.0-beta.5..@fluentui/react-card_v0.0.0-nightlyd514b3e0ee20220121.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by email not defined)
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/89feafb688fbb160fb8519724479b3c68a79d090) by email not defined)
15
+ - Update react-icons usage to resizable icons ([PR #21074](https://github.com/microsoft/fluentui/pull/21074) by ololubek@microsoft.com)
16
+ - react-card: Replacing use of functions in makeStyles with direct use of tokens. ([PR #21040](https://github.com/microsoft/fluentui/pull/21040) by Humberto.Morimoto@microsoft.com)
17
+ - Remove empty CardCommons type and outdated boilerplate comments ([PR #21150](https://github.com/microsoft/fluentui/pull/21150) by elcraig@microsoft.com)
15
18
  - update styles no not use CSS shorthands ([PR #20794](https://github.com/microsoft/fluentui/pull/20794) by olfedias@microsoft.com)
16
- - Bump @fluentui/react-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
17
- - Bump @fluentui/react-utilities to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
18
- - Bump @fluentui/react-tabster to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
19
- - Bump @fluentui/babel-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
20
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
21
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
22
- - Bump @fluentui/react-text to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
23
- - Bump @fluentui/react-button to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
19
+ - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
20
+ - Bump @fluentui/react-make-styles to v0.0.0-nightlyd514b3e0ee20220121.1 ([commit](https://github.com/microsoft/fluentui/commit/89feafb688fbb160fb8519724479b3c68a79d090) by beachball)
21
+ - Bump @fluentui/react-utilities to v0.0.0-nightlyd514b3e0ee20220121.1 ([commit](https://github.com/microsoft/fluentui/commit/89feafb688fbb160fb8519724479b3c68a79d090) by beachball)
22
+ - Bump @fluentui/react-tabster to v0.0.0-nightlyd514b3e0ee20220121.1 ([commit](https://github.com/microsoft/fluentui/commit/89feafb688fbb160fb8519724479b3c68a79d090) by beachball)
23
+ - Bump @fluentui/babel-make-styles to v0.0.0-nightlyd514b3e0ee20220121.1 ([commit](https://github.com/microsoft/fluentui/commit/89feafb688fbb160fb8519724479b3c68a79d090) by beachball)
24
+ - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd514b3e0ee20220121.1 ([commit](https://github.com/microsoft/fluentui/commit/89feafb688fbb160fb8519724479b3c68a79d090) by beachball)
25
+ - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd514b3e0ee20220121.1 ([commit](https://github.com/microsoft/fluentui/commit/89feafb688fbb160fb8519724479b3c68a79d090) by beachball)
26
+ - Bump @fluentui/react-text to v0.0.0-nightlyd514b3e0ee20220121.1 ([commit](https://github.com/microsoft/fluentui/commit/89feafb688fbb160fb8519724479b3c68a79d090) by beachball)
27
+ - Bump @fluentui/react-button to v0.0.0-nightlyd514b3e0ee20220121.1 ([commit](https://github.com/microsoft/fluentui/commit/89feafb688fbb160fb8519724479b3c68a79d090) by beachball)
24
28
 
25
29
  ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-card_v9.0.0-beta.5)
26
30
 
package/README.md CHANGED
@@ -1,7 +1,9 @@
1
- # @fluentui/react-card
1
+ # @fluentui/react-card [ALPHA]
2
2
 
3
3
  **React Card components for [Fluent UI React](https://developer.microsoft.com/en-us/fluentui)**
4
4
 
5
+ **⚠️ Please note that functionality is still being added to this package. Due to lockstep versioning, the version of this package is aligned with the others in _react-components_.**
6
+
5
7
  These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
6
8
 
7
9
  To import React Card components: