@atlaskit/primitives 14.15.3 → 14.15.5
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 +16 -0
- package/dist/cjs/compiled/components/anchor.js +1 -1
- package/dist/cjs/compiled/components/pressable.js +1 -1
- package/dist/cjs/components/anchor.js +1 -1
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/cjs/xcss/style-maps.partial.js +2 -2
- package/dist/es2019/compiled/components/anchor.js +1 -1
- package/dist/es2019/compiled/components/pressable.js +1 -1
- package/dist/es2019/components/anchor.js +1 -1
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/es2019/xcss/style-maps.partial.js +2 -2
- package/dist/esm/compiled/components/anchor.js +1 -1
- package/dist/esm/compiled/components/pressable.js +1 -1
- package/dist/esm/components/anchor.js +1 -1
- package/dist/esm/components/pressable.js +1 -1
- package/dist/esm/xcss/style-maps.partial.js +2 -2
- package/dist/types/responsive/constants.d.ts +24 -24
- package/dist/types/xcss/style-maps.partial.d.ts +2 -2
- package/dist/types/xcss/xcss.d.ts +91 -1751
- package/dist/types-ts4.5/responsive/constants.d.ts +24 -24
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +2 -2
- package/dist/types-ts4.5/xcss/xcss.d.ts +91 -1751
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 14.15.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9d6e4b66e81f9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9d6e4b66e81f9) -
|
|
8
|
+
Internal changes.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 14.15.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`437668dfbdec9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/437668dfbdec9) -
|
|
16
|
+
Add explicit types to a number of DST components
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 14.15.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -70,7 +70,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
70
70
|
action: 'clicked',
|
|
71
71
|
componentName: componentName || 'Anchor',
|
|
72
72
|
packageName: "@atlaskit/primitives",
|
|
73
|
-
packageVersion: "14.15.
|
|
73
|
+
packageVersion: "14.15.4",
|
|
74
74
|
analyticsData: analyticsContext,
|
|
75
75
|
actionSubject: 'link'
|
|
76
76
|
});
|
|
@@ -61,7 +61,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
61
61
|
action: 'clicked',
|
|
62
62
|
componentName: componentName || 'Pressable',
|
|
63
63
|
packageName: "@atlaskit/primitives",
|
|
64
|
-
packageVersion: "14.15.
|
|
64
|
+
packageVersion: "14.15.4",
|
|
65
65
|
analyticsData: analyticsContext,
|
|
66
66
|
actionSubject: 'button'
|
|
67
67
|
});
|
|
@@ -105,7 +105,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
105
105
|
action: 'clicked',
|
|
106
106
|
componentName: componentName || 'Anchor',
|
|
107
107
|
packageName: "@atlaskit/primitives",
|
|
108
|
-
packageVersion: "14.15.
|
|
108
|
+
packageVersion: "14.15.4",
|
|
109
109
|
analyticsData: analyticsContext,
|
|
110
110
|
actionSubject: 'link'
|
|
111
111
|
});
|
|
@@ -97,7 +97,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
97
97
|
action: 'clicked',
|
|
98
98
|
componentName: componentName || 'Pressable',
|
|
99
99
|
packageName: "@atlaskit/primitives",
|
|
100
|
-
packageVersion: "14.15.
|
|
100
|
+
packageVersion: "14.15.4",
|
|
101
101
|
analyticsData: analyticsContext,
|
|
102
102
|
actionSubject: 'button'
|
|
103
103
|
});
|
|
@@ -474,11 +474,11 @@ var layerMap = exports.layerMap = {
|
|
|
474
474
|
|
|
475
475
|
/**
|
|
476
476
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
477
|
-
* @codegen <<SignedSource::
|
|
477
|
+
* @codegen <<SignedSource::4d0bfc4c706b9fbda2e8a4c73134354e>>
|
|
478
478
|
* @codegenId border
|
|
479
479
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
480
480
|
* @codegenParams ["width", "radius"]
|
|
481
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
481
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::c4d3b4472a9cb61697f29cba3433c11f>>
|
|
482
482
|
*/
|
|
483
483
|
var borderWidthMap = exports.borderWidthMap = {
|
|
484
484
|
'border.width': "var(--ds-border-width, 1px)",
|
|
@@ -48,7 +48,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
48
48
|
action: 'clicked',
|
|
49
49
|
componentName: componentName || 'Pressable',
|
|
50
50
|
packageName: "@atlaskit/primitives",
|
|
51
|
-
packageVersion: "14.15.
|
|
51
|
+
packageVersion: "14.15.4",
|
|
52
52
|
analyticsData: analyticsContext,
|
|
53
53
|
actionSubject: 'button'
|
|
54
54
|
});
|
|
@@ -86,7 +86,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
86
86
|
action: 'clicked',
|
|
87
87
|
componentName: componentName || 'Pressable',
|
|
88
88
|
packageName: "@atlaskit/primitives",
|
|
89
|
-
packageVersion: "14.15.
|
|
89
|
+
packageVersion: "14.15.4",
|
|
90
90
|
analyticsData: analyticsContext,
|
|
91
91
|
actionSubject: 'button'
|
|
92
92
|
});
|
|
@@ -469,11 +469,11 @@ export const layerMap = {
|
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
471
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
472
|
-
* @codegen <<SignedSource::
|
|
472
|
+
* @codegen <<SignedSource::4d0bfc4c706b9fbda2e8a4c73134354e>>
|
|
473
473
|
* @codegenId border
|
|
474
474
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
475
475
|
* @codegenParams ["width", "radius"]
|
|
476
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
476
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::c4d3b4472a9cb61697f29cba3433c11f>>
|
|
477
477
|
*/
|
|
478
478
|
export const borderWidthMap = {
|
|
479
479
|
'border.width': "var(--ds-border-width, 1px)",
|
|
@@ -61,7 +61,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
61
61
|
action: 'clicked',
|
|
62
62
|
componentName: componentName || 'Anchor',
|
|
63
63
|
packageName: "@atlaskit/primitives",
|
|
64
|
-
packageVersion: "14.15.
|
|
64
|
+
packageVersion: "14.15.4",
|
|
65
65
|
analyticsData: analyticsContext,
|
|
66
66
|
actionSubject: 'link'
|
|
67
67
|
});
|
|
@@ -52,7 +52,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
52
52
|
action: 'clicked',
|
|
53
53
|
componentName: componentName || 'Pressable',
|
|
54
54
|
packageName: "@atlaskit/primitives",
|
|
55
|
-
packageVersion: "14.15.
|
|
55
|
+
packageVersion: "14.15.4",
|
|
56
56
|
analyticsData: analyticsContext,
|
|
57
57
|
actionSubject: 'button'
|
|
58
58
|
});
|
|
@@ -99,7 +99,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
99
99
|
action: 'clicked',
|
|
100
100
|
componentName: componentName || 'Anchor',
|
|
101
101
|
packageName: "@atlaskit/primitives",
|
|
102
|
-
packageVersion: "14.15.
|
|
102
|
+
packageVersion: "14.15.4",
|
|
103
103
|
analyticsData: analyticsContext,
|
|
104
104
|
actionSubject: 'link'
|
|
105
105
|
});
|
|
@@ -91,7 +91,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
91
91
|
action: 'clicked',
|
|
92
92
|
componentName: componentName || 'Pressable',
|
|
93
93
|
packageName: "@atlaskit/primitives",
|
|
94
|
-
packageVersion: "14.15.
|
|
94
|
+
packageVersion: "14.15.4",
|
|
95
95
|
analyticsData: analyticsContext,
|
|
96
96
|
actionSubject: 'button'
|
|
97
97
|
});
|
|
@@ -469,11 +469,11 @@ export var layerMap = {
|
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
471
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
472
|
-
* @codegen <<SignedSource::
|
|
472
|
+
* @codegen <<SignedSource::4d0bfc4c706b9fbda2e8a4c73134354e>>
|
|
473
473
|
* @codegenId border
|
|
474
474
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
475
475
|
* @codegenParams ["width", "radius"]
|
|
476
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
476
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::c4d3b4472a9cb61697f29cba3433c11f>>
|
|
477
477
|
*/
|
|
478
478
|
export var borderWidthMap = {
|
|
479
479
|
'border.width': "var(--ds-border-width, 1px)",
|
|
@@ -8,39 +8,39 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const UNSAFE_BREAKPOINTS_CONFIG: {
|
|
10
10
|
readonly xxs: {
|
|
11
|
-
readonly gridItemGutter:
|
|
12
|
-
readonly gridMargin:
|
|
13
|
-
readonly min:
|
|
14
|
-
readonly max:
|
|
11
|
+
readonly gridItemGutter: 'var(--ds-space-200)';
|
|
12
|
+
readonly gridMargin: 'var(--ds-space-200)';
|
|
13
|
+
readonly min: '0rem';
|
|
14
|
+
readonly max: '29.99rem';
|
|
15
15
|
};
|
|
16
16
|
readonly xs: {
|
|
17
|
-
readonly gridItemGutter:
|
|
18
|
-
readonly gridMargin:
|
|
19
|
-
readonly min:
|
|
20
|
-
readonly max:
|
|
17
|
+
readonly gridItemGutter: 'var(--ds-space-200)';
|
|
18
|
+
readonly gridMargin: 'var(--ds-space-200)';
|
|
19
|
+
readonly min: '30rem';
|
|
20
|
+
readonly max: '47.99rem';
|
|
21
21
|
};
|
|
22
22
|
readonly sm: {
|
|
23
|
-
readonly gridItemGutter:
|
|
24
|
-
readonly gridMargin:
|
|
25
|
-
readonly min:
|
|
26
|
-
readonly max:
|
|
23
|
+
readonly gridItemGutter: 'var(--ds-space-200)';
|
|
24
|
+
readonly gridMargin: 'var(--ds-space-300)';
|
|
25
|
+
readonly min: '48rem';
|
|
26
|
+
readonly max: '63.99rem';
|
|
27
27
|
};
|
|
28
28
|
readonly md: {
|
|
29
|
-
readonly gridItemGutter:
|
|
30
|
-
readonly gridMargin:
|
|
31
|
-
readonly min:
|
|
32
|
-
readonly max:
|
|
29
|
+
readonly gridItemGutter: 'var(--ds-space-300)';
|
|
30
|
+
readonly gridMargin: 'var(--ds-space-400)';
|
|
31
|
+
readonly min: '64rem';
|
|
32
|
+
readonly max: '89.99rem';
|
|
33
33
|
};
|
|
34
34
|
readonly lg: {
|
|
35
|
-
readonly gridItemGutter:
|
|
36
|
-
readonly gridMargin:
|
|
37
|
-
readonly min:
|
|
38
|
-
readonly max:
|
|
35
|
+
readonly gridItemGutter: 'var(--ds-space-400)';
|
|
36
|
+
readonly gridMargin: 'var(--ds-space-400)';
|
|
37
|
+
readonly min: '90rem';
|
|
38
|
+
readonly max: '110.49rem';
|
|
39
39
|
};
|
|
40
40
|
readonly xl: {
|
|
41
|
-
readonly gridItemGutter:
|
|
42
|
-
readonly gridMargin:
|
|
43
|
-
readonly min:
|
|
41
|
+
readonly gridItemGutter: 'var(--ds-space-400)';
|
|
42
|
+
readonly gridMargin: 'var(--ds-space-500)';
|
|
43
|
+
readonly min: '110.5rem';
|
|
44
44
|
readonly max: null;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
@@ -57,4 +57,4 @@ export declare const UNSAFE_BREAKPOINTS_ORDERED_LIST: ["xxs", "xs", "sm", "md",
|
|
|
57
57
|
* 1. It is the default value for shorthands, eg. `<GridItem span={6} />` maps to `{ [SMALLEST_BREAKPOINT]: props.span }`
|
|
58
58
|
* 2. It's omitted in `media.below` as there's nothing below `0px`.
|
|
59
59
|
*/
|
|
60
|
-
export declare const SMALLEST_BREAKPOINT:
|
|
60
|
+
export declare const SMALLEST_BREAKPOINT: 'xxs';
|
|
@@ -493,11 +493,11 @@ export type Layer = keyof typeof layerMap;
|
|
|
493
493
|
*/
|
|
494
494
|
/**
|
|
495
495
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
496
|
-
* @codegen <<SignedSource::
|
|
496
|
+
* @codegen <<SignedSource::4d0bfc4c706b9fbda2e8a4c73134354e>>
|
|
497
497
|
* @codegenId border
|
|
498
498
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
499
499
|
* @codegenParams ["width", "radius"]
|
|
500
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
500
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::c4d3b4472a9cb61697f29cba3433c11f>>
|
|
501
501
|
*/
|
|
502
502
|
export declare const borderWidthMap: {
|
|
503
503
|
'border.width': 'var(--ds-border-width)';
|