@atlaskit/blanket 15.0.32 → 15.0.34

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,17 @@
1
1
  # @atlaskit/blanket
2
2
 
3
+ ## 15.0.34
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 15.0.33
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 15.0.32
4
16
 
5
17
  ### Patch Changes
package/blanket.docs.tsx CHANGED
@@ -1,46 +1,48 @@
1
1
  import path from 'path';
2
2
 
3
- import type { ComponentStructuredContentSource } from '@atlassian/structured-docs-types';
3
+ import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
4
4
 
5
- const documentation: ComponentStructuredContentSource[] = [
6
- {
7
- name: 'Blanket',
8
- description:
9
- 'A component for creating overlay backgrounds behind modals and other layered content.',
10
- status: 'general-availability',
11
- import: {
5
+ const documentation: StructuredContentSource = {
6
+ components: [
7
+ {
12
8
  name: 'Blanket',
13
- package: '@atlaskit/blanket',
14
- type: 'default',
15
- packagePath: path.resolve(__dirname),
16
- packageJson: require('./package.json'),
17
- },
18
- usageGuidelines: [
19
- 'Use behind modals and overlays',
20
- 'Consider click-to-dismiss behavior',
21
- 'Use appropriate tinting for context',
22
- 'Ensure proper z-index layering',
23
- ],
24
- contentGuidelines: [
25
- 'Use consistently across similar overlay contexts',
26
- 'Consider visual hierarchy with overlays',
27
- 'Ensure appropriate contrast with content',
28
- ],
29
- accessibilityGuidelines: [
30
- "Ensure blanket doesn't interfere with focus management",
31
- 'Provide appropriate click handling for dismissal',
32
- 'Consider screen reader experience with overlays',
33
- ],
34
- examples: [
35
- {
9
+ description:
10
+ 'A component for creating overlay backgrounds behind modals and other layered content.',
11
+ status: 'general-availability',
12
+ import: {
36
13
  name: 'Blanket',
37
- description: 'Blanket example',
38
- source: path.resolve(__dirname, './examples/ai/blanket.tsx'),
14
+ package: '@atlaskit/blanket',
15
+ type: 'default',
16
+ packagePath: path.resolve(__dirname),
17
+ packageJson: require('./package.json'),
39
18
  },
40
- ],
41
- keywords: ['blanket', 'overlay', 'backdrop', 'modal', 'layer'],
42
- categories: ['overlay'],
43
- },
44
- ];
19
+ usageGuidelines: [
20
+ 'Use behind modals and overlays',
21
+ 'Consider click-to-dismiss behavior',
22
+ 'Use appropriate tinting for context',
23
+ 'Ensure proper z-index layering',
24
+ ],
25
+ contentGuidelines: [
26
+ 'Use consistently across similar overlay contexts',
27
+ 'Consider visual hierarchy with overlays',
28
+ 'Ensure appropriate contrast with content',
29
+ ],
30
+ accessibilityGuidelines: [
31
+ "Ensure blanket doesn't interfere with focus management",
32
+ 'Provide appropriate click handling for dismissal',
33
+ 'Consider screen reader experience with overlays',
34
+ ],
35
+ examples: [
36
+ {
37
+ name: 'Blanket',
38
+ description: 'Blanket example',
39
+ source: path.resolve(__dirname, './examples/ai/blanket.tsx'),
40
+ },
41
+ ],
42
+ keywords: ['blanket', 'overlay', 'backdrop', 'modal', 'layer'],
43
+ categories: ['overlay'],
44
+ },
45
+ ],
46
+ };
45
47
 
46
48
  export default documentation;
@@ -19,7 +19,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
19
19
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20
20
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21
21
  var packageName = "@atlaskit/blanket";
22
- var packageVersion = "15.0.32";
22
+ var packageVersion = "15.0.33";
23
23
  var analyticsAttributes = {
24
24
  componentName: 'blanket',
25
25
  packageName: packageName,
@@ -7,7 +7,7 @@ import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next/usePlatfor
7
7
  import noop from '@atlaskit/ds-lib/noop';
8
8
  import { layers } from '@atlaskit/theme/constants';
9
9
  const packageName = "@atlaskit/blanket";
10
- const packageVersion = "15.0.32";
10
+ const packageVersion = "15.0.33";
11
11
  const analyticsAttributes = {
12
12
  componentName: 'blanket',
13
13
  packageName,
@@ -10,7 +10,7 @@ import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next/usePlatfor
10
10
  import noop from '@atlaskit/ds-lib/noop';
11
11
  import { layers } from '@atlaskit/theme/constants';
12
12
  var packageName = "@atlaskit/blanket";
13
- var packageVersion = "15.0.32";
13
+ var packageVersion = "15.0.33";
14
14
  var analyticsAttributes = {
15
15
  componentName: 'blanket',
16
16
  packageName: packageName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/blanket",
3
- "version": "15.0.32",
3
+ "version": "15.0.34",
4
4
  "description": "A blanket covers the underlying UI for a layered component, such as a modal dialog or a tooltip.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/analytics-next": "^11.2.0",
44
44
  "@atlaskit/css": "^0.19.0",
45
45
  "@atlaskit/ds-lib": "^7.0.0",
46
- "@atlaskit/theme": "^23.0.0",
46
+ "@atlaskit/theme": "^25.0.0",
47
47
  "@atlaskit/tokens": "^13.0.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@compiled/react": "^0.20.0"
@@ -54,15 +54,15 @@
54
54
  "devDependencies": {
55
55
  "@af/accessibility-testing": "workspace:^",
56
56
  "@af/integration-testing": "workspace:^",
57
- "@atlaskit/badge": "^18.4.0",
57
+ "@atlaskit/badge": "^18.6.0",
58
58
  "@atlaskit/button": "^23.11.0",
59
- "@atlaskit/docs": "^11.7.0",
59
+ "@atlaskit/docs": "^11.8.0",
60
60
  "@atlaskit/heading": "^5.4.0",
61
- "@atlaskit/layering": "^3.6.0",
61
+ "@atlaskit/layering": "^3.7.0",
62
62
  "@atlaskit/link": "^3.4.0",
63
63
  "@atlaskit/primitives": "^19.0.0",
64
- "@atlaskit/section-message": "^8.12.0",
65
- "@atlaskit/toggle": "^15.5.0",
64
+ "@atlaskit/section-message": "^8.13.0",
65
+ "@atlaskit/toggle": "^15.6.0",
66
66
  "@atlassian/react-compiler-gating": "workspace:^",
67
67
  "@atlassian/ssr-tests": "workspace:^",
68
68
  "@atlassian/structured-docs-types": "workspace:^",
@@ -71,6 +71,7 @@
71
71
  "@testing-library/user-event": "^14.4.3",
72
72
  "bind-event-listener": "^3.0.0",
73
73
  "jscodeshift": "^17.0.0",
74
+ "react": "^18.2.0",
74
75
  "react-dom": "^18.2.0",
75
76
  "react-lorem-component": "^0.13.0",
76
77
  "storybook-addon-performance": "^0.17.3"
package/offerings.json DELETED
@@ -1,32 +0,0 @@
1
- [
2
- {
3
- "name": "Blanket",
4
- "package": "@atlaskit/blanket",
5
- "import": {
6
- "name": "Blanket",
7
- "package": "@atlaskit/blanket",
8
- "type": "default"
9
- },
10
- "keywords": ["blanket", "overlay", "backdrop", "modal", "layer"],
11
- "categories": ["overlay"],
12
- "shortDescription": "A component for creating overlay backgrounds behind modals and other layered content.",
13
- "status": "general-availability",
14
- "accessibilityGuidelines": [
15
- "Ensure blanket doesn't interfere with focus management",
16
- "Provide appropriate click handling for dismissal",
17
- "Consider screen reader experience with overlays"
18
- ],
19
- "usageGuidelines": [
20
- "Use behind modals and overlays",
21
- "Consider click-to-dismiss behavior",
22
- "Use appropriate tinting for context",
23
- "Ensure proper z-index layering"
24
- ],
25
- "contentGuidelines": [
26
- "Use consistently across similar overlay contexts",
27
- "Consider visual hierarchy with overlays",
28
- "Ensure appropriate contrast with content"
29
- ],
30
- "examples": ["./examples/ai/blanket.tsx"]
31
- }
32
- ]