@fluentui/react-skeleton 9.0.36 → 9.0.38

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.
package/CHANGELOG.json CHANGED
@@ -2,7 +2,55 @@
2
2
  "name": "@fluentui/react-skeleton",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 18 Oct 2023 17:47:35 GMT",
5
+ "date": "Wed, 01 Nov 2023 12:51:07 GMT",
6
+ "tag": "@fluentui/react-skeleton_v9.0.38",
7
+ "version": "9.0.38",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-skeleton",
13
+ "comment": "Bump @fluentui/react-field to v9.1.40",
14
+ "commit": "838b05367dbdddb17732b9e0c807090e0a4445d5"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-skeleton",
19
+ "comment": "Bump @fluentui/react-shared-contexts to v9.11.1",
20
+ "commit": "838b05367dbdddb17732b9e0c807090e0a4445d5"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-skeleton",
25
+ "comment": "Bump @fluentui/react-theme to v9.1.15",
26
+ "commit": "838b05367dbdddb17732b9e0c807090e0a4445d5"
27
+ }
28
+ ]
29
+ }
30
+ },
31
+ {
32
+ "date": "Sat, 28 Oct 2023 23:35:59 GMT",
33
+ "tag": "@fluentui/react-skeleton_v9.0.37",
34
+ "version": "9.0.37",
35
+ "comments": {
36
+ "patch": [
37
+ {
38
+ "author": "beachball",
39
+ "package": "@fluentui/react-skeleton",
40
+ "comment": "Bump @fluentui/react-field to v9.1.39",
41
+ "commit": "555b0fae3ec7f052e765557ae243c58000514f92"
42
+ },
43
+ {
44
+ "author": "beachball",
45
+ "package": "@fluentui/react-skeleton",
46
+ "comment": "Bump @fluentui/react-shared-contexts to v9.11.0",
47
+ "commit": "555b0fae3ec7f052e765557ae243c58000514f92"
48
+ }
49
+ ]
50
+ }
51
+ },
52
+ {
53
+ "date": "Wed, 18 Oct 2023 17:54:06 GMT",
6
54
  "tag": "@fluentui/react-skeleton_v9.0.36",
7
55
  "version": "9.0.36",
8
56
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,33 @@
1
1
  # Change Log - @fluentui/react-skeleton
2
2
 
3
- This log was last generated on Wed, 18 Oct 2023 17:47:35 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 01 Nov 2023 12:51:07 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-skeleton_v9.0.38)
8
+
9
+ Wed, 01 Nov 2023 12:51:07 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-skeleton_v9.0.37..@fluentui/react-skeleton_v9.0.38)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-field to v9.1.40 ([PR #29663](https://github.com/microsoft/fluentui/pull/29663) by beachball)
15
+ - Bump @fluentui/react-shared-contexts to v9.11.1 ([PR #29663](https://github.com/microsoft/fluentui/pull/29663) by beachball)
16
+ - Bump @fluentui/react-theme to v9.1.15 ([PR #29663](https://github.com/microsoft/fluentui/pull/29663) by beachball)
17
+
18
+ ## [9.0.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-skeleton_v9.0.37)
19
+
20
+ Sat, 28 Oct 2023 23:35:59 GMT
21
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-skeleton_v9.0.36..@fluentui/react-skeleton_v9.0.37)
22
+
23
+ ### Patches
24
+
25
+ - Bump @fluentui/react-field to v9.1.39 ([commit](https://github.com/microsoft/fluentui/commit/555b0fae3ec7f052e765557ae243c58000514f92) by beachball)
26
+ - Bump @fluentui/react-shared-contexts to v9.11.0 ([commit](https://github.com/microsoft/fluentui/commit/555b0fae3ec7f052e765557ae243c58000514f92) by beachball)
27
+
7
28
  ## [9.0.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-skeleton_v9.0.36)
8
29
 
9
- Wed, 18 Oct 2023 17:47:35 GMT
30
+ Wed, 18 Oct 2023 17:54:06 GMT
10
31
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-skeleton_v9.0.35..@fluentui/react-skeleton_v9.0.36)
11
32
 
12
33
  ### Patches
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-skeleton",
3
- "version": "9.0.36",
3
+ "version": "9.0.38",
4
4
  "description": "Converged v9 Skeleton Component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -32,10 +32,10 @@
32
32
  "@fluentui/scripts-tasks": "*"
33
33
  },
34
34
  "dependencies": {
35
- "@fluentui/react-field": "^9.1.38",
35
+ "@fluentui/react-field": "^9.1.40",
36
36
  "@fluentui/react-jsx-runtime": "^9.0.18",
37
- "@fluentui/react-shared-contexts": "^9.10.0",
38
- "@fluentui/react-theme": "^9.1.14",
37
+ "@fluentui/react-shared-contexts": "^9.11.1",
38
+ "@fluentui/react-theme": "^9.1.15",
39
39
  "@fluentui/react-utilities": "^9.15.1",
40
40
  "@griffel/react": "^1.5.14",
41
41
  "@swc/helpers": "^0.5.1"
package/SPEC.md DELETED
@@ -1,105 +0,0 @@
1
- # @fluentui/react-skeleton Spec
2
-
3
- ## Background
4
-
5
- The `Skeleton` component is a temporary placeholder for UI that is in a loading state.
6
-
7
- ## Prior Art
8
-
9
- | Library | Component Name | Spec Link | Notes |
10
- | ----------- | -------------- | ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
11
- | Ant Design | Skeleton | [Skeleton](https://ant.design/components/skeleton/) | Has an `avatar`, `button`, `list`, and `togglebutton`. Has animated and non-animated versions, and shape variants for the component skeletons(rounded or rectangular). |
12
- | Fast | Skeleton | [Skeleton](https://explore.fast.design/components/fast-skeleton) | Has three components: `Avatar`, `List`, and `Button`. No shape variants. |
13
- | Semantic UI | Placeholder | [Placeholder](https://react.semantic-ui.com/elements/placeholder/) | Has `Header` and `Paragraph` subcomponents. The `Header` can take in an image as a prop |
14
- | UI Fabric | Shimmer | [Shimmer](https://developer.microsoft.com/en-us/fluentui#/controls/web/shimmer) | Shimmer has a way to pass in custom elements as well as the defaults. There is also a prop to change the colors of the Skeleton components. |
15
-
16
- ### Comparison of v8 and v0
17
-
18
- The existing components are:
19
-
20
- - v8
21
- - `Shimmer`
22
- - v0
23
- - Does not have an existing `Skeleton` component.
24
-
25
- ## Sample Code
26
-
27
- Basic example:
28
-
29
- ```jsx
30
- import { Skeleton, SkeletonItem } from '@fluentui/react-skeleton';
31
-
32
- function App() {
33
- return (
34
- <Skeleton>
35
- <SkeletonItem shape="circle" size={24} />
36
- <SkeletonItem shape="rectangle" size={16} />
37
- </Skeleton>
38
- );
39
- }
40
- ```
41
-
42
- ## Variants
43
-
44
- - There are three basic `Skeleton` shapes
45
- - `Rectangle`
46
- - `Circle`
47
- - `Square`
48
-
49
- ### Shape
50
-
51
- The `Skeleton` is a combination of any of the two shapes in order to represent the content that will be loaded onto the screen. That is, it is a combination of rectangles and circles that is a visual representation of the wireframe of a page.
52
-
53
- ## API
54
-
55
- ### Slots
56
-
57
- - `root` - The root slot of the `Skeleton` is the container that will contain the items that make up a `Skeleton` in representation of the data that is loading. The default html element is a `svg`.
58
-
59
- ### Props
60
-
61
- See API at:
62
-
63
- - [Skeleton.types.ts](./src/components/Skeleton/Skeleton.types.ts).
64
- - [SkeletonItem.types.ts](./src/components/SkeletonItem/SkeletonItem.types.ts).
65
-
66
- ## Structure
67
-
68
- ```html
69
- <!-- Container for Skeleton -->
70
-
71
- <div class="fui-Skeleton">
72
- <!-- Container for SkeletonElement -->
73
-
74
- <div class="fui-SkeletonItem" />
75
- </div>
76
- ```
77
-
78
- ## Migration
79
-
80
- See [MIGRATION.md](./MIGRATION.md).
81
-
82
- ## Behaviors
83
-
84
- ### States
85
-
86
- - **Display** - The `Skeleton` will use the following priority:
87
-
88
- - The `appearance` prop will allow the use of a `translucent` appearance.
89
- - Specifying `wave` or `pulse` will change the animation style of the `Skeleton`
90
- - The component also has `rtl` support and will animate the `Skeleton` from right to left if set.
91
- - Setting the `shape` prop in `<SkeletonItem />` will render a `rectangle`, `square`, or a `circle` (default is `rectangle`).
92
- - Setting the `size` prop in `<SkeletonItem />` will allow the user to specify the size of the element (default is 16).
93
-
94
- ### Interaction
95
-
96
- The Skeleton is non-interactive.
97
-
98
- - **Keyboard** - Not keyboard focusable.
99
- - **Mouse** - Nothing
100
-
101
- - **Touch** - Nothing
102
-
103
- ## Accessibility
104
-
105
- - An `aria-label` is added to the `Skeleton` container to let users know that content is loading