@fluentui/react-divider 9.1.2 → 9.1.4

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,81 @@
2
2
  "name": "@fluentui/react-divider",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 20 Oct 2022 08:35:09 GMT",
5
+ "date": "Fri, 11 Nov 2022 14:53:50 GMT",
6
+ "tag": "@fluentui/react-divider_v9.1.4",
7
+ "version": "9.1.4",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "author": "martinhochel@microsoft.com",
12
+ "package": "@fluentui/react-divider",
13
+ "commit": "87859b052155ca206ef3540a2a9623803f6e2b93",
14
+ "comment": "test: replace deprecated module.parent with require.main within isConformance"
15
+ }
16
+ ],
17
+ "patch": [
18
+ {
19
+ "author": "martinhochel@microsoft.com",
20
+ "package": "@fluentui/react-divider",
21
+ "commit": "b3907043bd8d7b650c55e8e7c3119b14f2606c38",
22
+ "comment": "fix: create valid export maps"
23
+ },
24
+ {
25
+ "author": "beachball",
26
+ "package": "@fluentui/react-divider",
27
+ "comment": "Bump @fluentui/react-theme to v9.1.2",
28
+ "commit": "b4c9a0ae8d7444bf746f1307ab01e2dc16310720"
29
+ },
30
+ {
31
+ "author": "beachball",
32
+ "package": "@fluentui/react-divider",
33
+ "comment": "Bump @fluentui/react-utilities to v9.2.1",
34
+ "commit": "b4c9a0ae8d7444bf746f1307ab01e2dc16310720"
35
+ },
36
+ {
37
+ "author": "beachball",
38
+ "package": "@fluentui/react-divider",
39
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.18",
40
+ "commit": "b4c9a0ae8d7444bf746f1307ab01e2dc16310720"
41
+ }
42
+ ]
43
+ }
44
+ },
45
+ {
46
+ "date": "Wed, 02 Nov 2022 11:57:51 GMT",
47
+ "tag": "@fluentui/react-divider_v9.1.3",
48
+ "version": "9.1.3",
49
+ "comments": {
50
+ "patch": [
51
+ {
52
+ "author": "tristan.watanabe@gmail.com",
53
+ "package": "@fluentui/react-divider",
54
+ "commit": "39c4e5436a5a4eddbed46501fdae741a2c5ffe0a",
55
+ "comment": "chore: Migrate to new package structure."
56
+ },
57
+ {
58
+ "author": "olfedias@microsoft.com",
59
+ "package": "@fluentui/react-divider",
60
+ "commit": "c619ba066f11a8654e95375314824ba6b81b003e",
61
+ "comment": "chore: Update Griffel to latest version"
62
+ },
63
+ {
64
+ "author": "beachball",
65
+ "package": "@fluentui/react-divider",
66
+ "comment": "Bump @fluentui/react-utilities to v9.2.0",
67
+ "commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
68
+ },
69
+ {
70
+ "author": "beachball",
71
+ "package": "@fluentui/react-divider",
72
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.17",
73
+ "commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
74
+ }
75
+ ]
76
+ }
77
+ },
78
+ {
79
+ "date": "Thu, 20 Oct 2022 08:39:33 GMT",
6
80
  "tag": "@fluentui/react-divider_v9.1.2",
7
81
  "version": "9.1.2",
8
82
  "comments": {
@@ -23,19 +97,19 @@
23
97
  "author": "beachball",
24
98
  "package": "@fluentui/react-divider",
25
99
  "comment": "Bump @fluentui/react-theme to v9.1.1",
26
- "commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
100
+ "commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
27
101
  },
28
102
  {
29
103
  "author": "beachball",
30
104
  "package": "@fluentui/react-divider",
31
105
  "comment": "Bump @fluentui/react-utilities to v9.1.2",
32
- "commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
106
+ "commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
33
107
  },
34
108
  {
35
109
  "author": "beachball",
36
110
  "package": "@fluentui/react-divider",
37
111
  "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.16",
38
- "commit": "be27026d83b8a019bcb945d0f42635ae76c00385"
112
+ "commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
39
113
  }
40
114
  ]
41
115
  }
package/CHANGELOG.md CHANGED
@@ -1,21 +1,45 @@
1
1
  # Change Log - @fluentui/react-divider
2
2
 
3
- This log was last generated on Thu, 20 Oct 2022 08:35:09 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 11 Nov 2022 14:53:50 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.1.4)
8
+
9
+ Fri, 11 Nov 2022 14:53:50 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.1.3..@fluentui/react-divider_v9.1.4)
11
+
12
+ ### Patches
13
+
14
+ - fix: create valid export maps ([PR #25558](https://github.com/microsoft/fluentui/pull/25558) by martinhochel@microsoft.com)
15
+ - Bump @fluentui/react-theme to v9.1.2 ([PR #25615](https://github.com/microsoft/fluentui/pull/25615) by beachball)
16
+ - Bump @fluentui/react-utilities to v9.2.1 ([PR #25615](https://github.com/microsoft/fluentui/pull/25615) by beachball)
17
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.18 ([PR #25615](https://github.com/microsoft/fluentui/pull/25615) by beachball)
18
+
19
+ ## [9.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.1.3)
20
+
21
+ Wed, 02 Nov 2022 11:57:51 GMT
22
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.1.2..@fluentui/react-divider_v9.1.3)
23
+
24
+ ### Patches
25
+
26
+ - chore: Migrate to new package structure. ([PR #25360](https://github.com/microsoft/fluentui/pull/25360) by tristan.watanabe@gmail.com)
27
+ - chore: Update Griffel to latest version ([PR #25412](https://github.com/microsoft/fluentui/pull/25412) by olfedias@microsoft.com)
28
+ - Bump @fluentui/react-utilities to v9.2.0 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
29
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.17 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
30
+
7
31
  ## [9.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.1.2)
8
32
 
9
- Thu, 20 Oct 2022 08:35:09 GMT
33
+ Thu, 20 Oct 2022 08:39:33 GMT
10
34
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.1.1..@fluentui/react-divider_v9.1.2)
11
35
 
12
36
  ### Patches
13
37
 
14
38
  - chore: Bump peer deps to support React 18 ([PR #24972](https://github.com/microsoft/fluentui/pull/24972) by mgodbolt@microsoft.com)
15
39
  - chore: Update Griffel to latest version ([PR #25212](https://github.com/microsoft/fluentui/pull/25212) by olfedias@microsoft.com)
16
- - Bump @fluentui/react-theme to v9.1.1 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
17
- - Bump @fluentui/react-utilities to v9.1.2 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
18
- - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.16 ([commit](https://github.com/microsoft/fluentui/commit/be27026d83b8a019bcb945d0f42635ae76c00385) by beachball)
40
+ - Bump @fluentui/react-theme to v9.1.1 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
41
+ - Bump @fluentui/react-utilities to v9.1.2 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
42
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.16 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
19
43
 
20
44
  ## [9.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.1.1)
21
45
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fluentui/react-divider",
3
- "version": "9.1.2",
3
+ "version": "9.1.4",
4
4
  "description": "Fluent UI component to visually separate content.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
7
- "typings": "dist/index.d.ts",
7
+ "typings": "./dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
@@ -28,13 +28,13 @@
28
28
  "devDependencies": {
29
29
  "@fluentui/eslint-plugin": "*",
30
30
  "@fluentui/react-conformance": "*",
31
- "@fluentui/react-conformance-griffel": "9.0.0-beta.16",
31
+ "@fluentui/react-conformance-griffel": "9.0.0-beta.18",
32
32
  "@fluentui/scripts": "^1.0.0"
33
33
  },
34
34
  "dependencies": {
35
- "@griffel/react": "^1.4.1",
36
- "@fluentui/react-theme": "^9.1.1",
37
- "@fluentui/react-utilities": "^9.1.2",
35
+ "@griffel/react": "^1.4.2",
36
+ "@fluentui/react-theme": "^9.1.2",
37
+ "@fluentui/react-utilities": "^9.2.1",
38
38
  "tslib": "^2.1.0"
39
39
  },
40
40
  "peerDependencies": {
@@ -51,9 +51,10 @@
51
51
  },
52
52
  "exports": {
53
53
  ".": {
54
- "types": "./lib/index.d.ts",
54
+ "types": "./dist/index.d.ts",
55
55
  "import": "./lib/index.js",
56
56
  "require": "./lib-commonjs/index.js"
57
- }
57
+ },
58
+ "./package.json": "./package.json"
58
59
  }
59
60
  }
package/MIGRATION.md DELETED
@@ -1,32 +0,0 @@
1
- # Divider Migration
2
-
3
- ## Migration from v8
4
-
5
- The v8 `Separator` control supports a very similar set of props to the v9 `Divider` with a few differences that are outlined below:
6
-
7
- - `styles` => NOT SUPPORTED - use `makeStyles` to create styles and apply them with the `className` prop.
8
- - `theme` => NOT SUPPORTED - use `FluentProvider`
9
-
10
- ## Migration from v0
11
-
12
- The v0 `Divider` control supports a very similar set of props to the v9 `Divider` with a few differences that are outlined below:
13
-
14
- - `content` => `children` of the `Divider`
15
- - `fitted` => NOT SUPPORTED - use style customizations via `className` instead
16
- - `important` => NOT SUPPORTED
17
-
18
- ## Property mapping
19
-
20
- | v8 `Separator` | v0 `Divider` | v9 `Divider` |
21
- | -------------- | ------------ | -------------- |
22
- | `alignContent` | - | `alignContent` |
23
- | - | - | `appearance` |
24
- | - | `color` | |
25
- | `children` | `content` | `children` |
26
- | - | `fitted` | |
27
- | - | `important` | |
28
- | - | - | `inset` |
29
- | - | `size` | |
30
- | `styles` | - | |
31
- | `theme` | - | |
32
- | `vertical` | `vertical` | `vertical` |
package/Spec.md DELETED
@@ -1,90 +0,0 @@
1
- # Divider Spec
2
-
3
- ## Background
4
-
5
- A `Divider` is used to visually segment content into groups.
6
-
7
- ## Prior Art
8
-
9
- [Github Epic Convergence Issue #16254](https://github.com/microsoft/fluentui/issues/16254)
10
-
11
- [Github Convergence Issue #15759](https://github.com/microsoft/fluentui/issues/15759)
12
-
13
- [Fluent UI Separator](https://developer.microsoft.com/en-us/fluentui#/controls/web/separator)
14
-
15
- [Open UI Component Matrix](https://open-ui.org/analysis/component-matrix)
16
-
17
- [Ant Design Divider](https://ant.design/components/divider/)
18
-
19
- [Fast Divider](https://explore.fast.design/components/fast-divider)
20
-
21
- [Semantic UI Divider](https://semantic-ui.com/elements/divider.html)
22
-
23
- ## Comparison of v8 and v0
24
-
25
- - v8 - [Separator](https://developer.microsoft.com/en-us/fluentui#/controls/web/separator)
26
- - v0 - [Divider](https://fluentsite.z22.web.core.windows.net/0.52.1/components/divider/definition)
27
-
28
- ## Sample Code
29
-
30
- Basic Examples:
31
-
32
- ```tsx
33
- <Divider />
34
- <Divider vertical />
35
- <Divider>This is a divider with content</Divider>
36
- ```
37
-
38
- ## Variants
39
-
40
- ### Layout
41
-
42
- The `Divider` component has two layout variants:
43
-
44
- - The default `Divider` is separates contents by rendering a horizontal line.
45
- - A `Divider` with the `vertical` prop set to true separates contents by rendering a vertical line.
46
-
47
- ### Inset
48
-
49
- A `Divider` with the `inset` prop adds padding to the beginning and end of the component.
50
-
51
- ### Appearance
52
-
53
- The `Divider` component has four appearance variants:
54
-
55
- - The default `Divider` is styled with the neutral foreground color from the theme.
56
- - appearance="brand": The `Divider` is styled with the brand color from the theme.
57
- - appearance="strong": The `Divider` is styled with a strong color that emphasizes the visual separation.
58
- - appearance="subtle": The `Divider` is styled with a subtle color to de-emphasize the visual separation.
59
-
60
- ## API
61
-
62
- See API at [Divider.types.tsx](./src/components/Divider/Divider.types.ts).
63
-
64
- ## HTML Structure
65
-
66
- ```html
67
- <div>
68
- <!-- ::before to handle the divider line independent of the divider having content or not -->
69
- <div>Content</div>
70
- <!-- ::after to handle the divider line that goes after the content if it has been provided. -->
71
- </div>
72
- ```
73
-
74
- ## Migration
75
-
76
- [See MIGRATION.md](./MIGRATION.md).
77
-
78
- ## Behaviors
79
-
80
- This component has no state.
81
-
82
- This component has no mouse, touch or keyboard interactions.
83
-
84
- Content, if provided, will self-determine its behaviors.
85
-
86
- ## Accessibility
87
-
88
- - The `Divider` component should be assigned a `role="separator"` by default.
89
- - The `Divider` component should be named by its content.
90
- - The `Divider` component should have no other accessibility concerns otherwise. The descendant content in the divider must handle any required accessibility behaviors itself when appropriate.