@atlaskit/app-provider 2.2.1 → 2.3.0
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.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/app-provider
|
|
2
2
|
|
|
3
|
+
## 2.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#190373](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/190373)
|
|
8
|
+
[`73d6aa20aadb3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/73d6aa20aadb3) -
|
|
9
|
+
Default typography theme changed to modernized behind feature flag
|
|
10
|
+
`platform-default-typography-refreshed`. If testing is successful the change will be available in
|
|
11
|
+
a later release.
|
|
12
|
+
|
|
3
13
|
## 2.2.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -27,7 +27,7 @@ var defaultThemeSettings = function defaultThemeSettings() {
|
|
|
27
27
|
dark: 'dark',
|
|
28
28
|
light: 'light',
|
|
29
29
|
spacing: 'spacing',
|
|
30
|
-
typography: (0, _platformFeatureFlags.fg)('platform-default-typography-
|
|
30
|
+
typography: (0, _platformFeatureFlags.fg)('platform-default-typography-refreshed') ? 'typography' : undefined
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
var ColorModeContext = /*#__PURE__*/(0, _react.createContext)(undefined);
|
|
@@ -6,7 +6,7 @@ const defaultThemeSettings = () => ({
|
|
|
6
6
|
dark: 'dark',
|
|
7
7
|
light: 'light',
|
|
8
8
|
spacing: 'spacing',
|
|
9
|
-
typography: fg('platform-default-typography-
|
|
9
|
+
typography: fg('platform-default-typography-refreshed') ? 'typography' : undefined
|
|
10
10
|
});
|
|
11
11
|
const ColorModeContext = /*#__PURE__*/createContext(undefined);
|
|
12
12
|
const SetColorModeContext = /*#__PURE__*/createContext(undefined);
|
|
@@ -13,7 +13,7 @@ var defaultThemeSettings = function defaultThemeSettings() {
|
|
|
13
13
|
dark: 'dark',
|
|
14
14
|
light: 'light',
|
|
15
15
|
spacing: 'spacing',
|
|
16
|
-
typography: fg('platform-default-typography-
|
|
16
|
+
typography: fg('platform-default-typography-refreshed') ? 'typography' : undefined
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
var ColorModeContext = /*#__PURE__*/createContext(undefined);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/app-provider",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "A top level provider for the Design System.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"status": {
|
|
16
16
|
"type": "beta"
|
|
17
17
|
}
|
|
18
|
-
}
|
|
19
|
-
"runReact18": true
|
|
18
|
+
}
|
|
20
19
|
},
|
|
21
20
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
22
21
|
"main": "dist/cjs/index.js",
|
|
@@ -40,7 +39,7 @@
|
|
|
40
39
|
},
|
|
41
40
|
"dependencies": {
|
|
42
41
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
|
-
"@atlaskit/tokens": "^5.
|
|
42
|
+
"@atlaskit/tokens": "^5.6.0",
|
|
44
43
|
"@babel/runtime": "^7.0.0",
|
|
45
44
|
"bind-event-listener": "^3.0.0"
|
|
46
45
|
},
|
|
@@ -49,9 +48,9 @@
|
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
51
50
|
"@af/visual-regression": "workspace:^",
|
|
52
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
53
|
-
"@atlaskit/ds-lib": "^
|
|
54
|
-
"@atlaskit/primitives": "^14.
|
|
51
|
+
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
52
|
+
"@atlaskit/ds-lib": "^5.0.0",
|
|
53
|
+
"@atlaskit/primitives": "^14.10.0",
|
|
55
54
|
"@atlaskit/visual-regression": "workspace:^",
|
|
56
55
|
"@atlassian/ssr-tests": "^0.2.0",
|
|
57
56
|
"@testing-library/react": "^13.4.0",
|
|
@@ -93,7 +92,7 @@
|
|
|
93
92
|
},
|
|
94
93
|
"homepage": "https://atlassian.design/components/app-provider",
|
|
95
94
|
"platform-feature-flags": {
|
|
96
|
-
"platform-default-typography-
|
|
95
|
+
"platform-default-typography-refreshed": {
|
|
97
96
|
"type": "boolean"
|
|
98
97
|
}
|
|
99
98
|
}
|