@atlaskit/primitives 1.6.3 → 1.6.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 +12 -0
- package/constellation/overview/index.mdx +12 -3
- package/dist/cjs/xcss/style-maps.partial.js +6 -6
- package/dist/es2019/xcss/style-maps.partial.js +6 -6
- package/dist/esm/xcss/style-maps.partial.js +6 -6
- package/dist/types/components/inline.d.ts +4 -4
- package/dist/types/components/stack.d.ts +4 -4
- package/dist/types/xcss/style-maps.partial.d.ts +6 -6
- package/dist/types-ts4.5/components/inline.d.ts +4 -4
- package/dist/types-ts4.5/components/stack.d.ts +4 -4
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +6 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 1.6.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41563](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41563) [`50de1ccacd7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50de1ccacd7) - Additional documentation details for alignment props on Inline and Stack.
|
|
8
|
+
|
|
9
|
+
## 1.6.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#40324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40324) [`8d123310957`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d123310957) - Minor internal changes. There is no expected behaviour change
|
|
14
|
+
|
|
3
15
|
## 1.6.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -61,7 +61,10 @@ You might like to think first about breaking down a page into `Box` containers,
|
|
|
61
61
|
identifying larger pieces of a design that function in a similar manner or fulfill a singular purpose
|
|
62
62
|
in a layout and grouping them together under a `Box`.
|
|
63
63
|
|
|
64
|
-
<Image
|
|
64
|
+
<Image
|
|
65
|
+
src={boxUsageExample}
|
|
66
|
+
alt="Screenshot of a typical Jira board with swimlanes. Various areas are highlighted as examples of how Box containers are used for layout"
|
|
67
|
+
/>
|
|
65
68
|
|
|
66
69
|
The behavior within and around these boxes can then be broken down into their horizontal `Inline` and vertical `Stack` components.
|
|
67
70
|
|
|
@@ -73,8 +76,14 @@ The behavior within and around these boxes can then be broken down into their ho
|
|
|
73
76
|
offers suggestions for possible primitives to apply in a layout.
|
|
74
77
|
</SectionMessage>
|
|
75
78
|
|
|
76
|
-
<Image
|
|
77
|
-
|
|
79
|
+
<Image
|
|
80
|
+
src={inlineUsageExample}
|
|
81
|
+
alt="Screenshot of a typical Jira board with swimlanes. Various areas are highlighted as examples of how Inline containers are used for layout"
|
|
82
|
+
/>
|
|
83
|
+
<Image
|
|
84
|
+
src={stackUsageExample}
|
|
85
|
+
alt="Screenshot of a typical Jira board with swimlanes. Various areas are highlighted as examples of how Stack containers are used for layout"
|
|
86
|
+
/>
|
|
78
87
|
|
|
79
88
|
## Related
|
|
80
89
|
|
|
@@ -32,10 +32,10 @@ var dimensionMap = exports.dimensionMap = {
|
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
35
|
-
* @codegen <<SignedSource::
|
|
35
|
+
* @codegen <<SignedSource::3cd327a4cd23dce8564f0b76a0d600ce>>
|
|
36
36
|
* @codegenId spacing
|
|
37
37
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
38
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
38
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::55622b91aca9b3afac4bce440f222b71>>
|
|
39
39
|
*/
|
|
40
40
|
var spaceMap = exports.spaceMap = {
|
|
41
41
|
'space.0': "var(--ds-space-0, 0px)",
|
|
@@ -70,11 +70,11 @@ var negativeSpaceMap = exports.negativeSpaceMap = {
|
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
73
|
-
* @codegen <<SignedSource::
|
|
73
|
+
* @codegen <<SignedSource::b93d845e13422e2b25a860f34dc6882b>>
|
|
74
74
|
* @codegenId colors
|
|
75
75
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
76
76
|
* @codegenParams ["border", "background", "shadow", "text", "fill", "surface"]
|
|
77
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
77
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::5188ac15a9f4d65b80cf12e4eecac815>>
|
|
78
78
|
*/
|
|
79
79
|
var borderColorMap = exports.borderColorMap = {
|
|
80
80
|
'color.border': "var(--ds-border, #091e4221)",
|
|
@@ -409,11 +409,11 @@ var layerMap = exports.layerMap = {
|
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
412
|
-
* @codegen <<SignedSource::
|
|
412
|
+
* @codegen <<SignedSource::d44c306cfe2334f9664fc122aa7d9fe6>>
|
|
413
413
|
* @codegenId border
|
|
414
414
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
415
415
|
* @codegenParams ["width", "radius"]
|
|
416
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
416
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::80457377fd80c31f5dfcb5cc743d7016>>
|
|
417
417
|
*/
|
|
418
418
|
var borderWidthMap = exports.borderWidthMap = {
|
|
419
419
|
'border.width': "var(--ds-border-width, 1px)",
|
|
@@ -24,10 +24,10 @@ export const dimensionMap = {
|
|
|
24
24
|
*/
|
|
25
25
|
/**
|
|
26
26
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
27
|
-
* @codegen <<SignedSource::
|
|
27
|
+
* @codegen <<SignedSource::3cd327a4cd23dce8564f0b76a0d600ce>>
|
|
28
28
|
* @codegenId spacing
|
|
29
29
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
30
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
30
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::55622b91aca9b3afac4bce440f222b71>>
|
|
31
31
|
*/
|
|
32
32
|
export const spaceMap = {
|
|
33
33
|
'space.0': "var(--ds-space-0, 0px)",
|
|
@@ -61,11 +61,11 @@ export const negativeSpaceMap = {
|
|
|
61
61
|
*/
|
|
62
62
|
/**
|
|
63
63
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
64
|
-
* @codegen <<SignedSource::
|
|
64
|
+
* @codegen <<SignedSource::b93d845e13422e2b25a860f34dc6882b>>
|
|
65
65
|
* @codegenId colors
|
|
66
66
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
67
67
|
* @codegenParams ["border", "background", "shadow", "text", "fill", "surface"]
|
|
68
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
68
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::5188ac15a9f4d65b80cf12e4eecac815>>
|
|
69
69
|
*/
|
|
70
70
|
export const borderColorMap = {
|
|
71
71
|
'color.border': "var(--ds-border, #091e4221)",
|
|
@@ -398,11 +398,11 @@ export const layerMap = {
|
|
|
398
398
|
*/
|
|
399
399
|
/**
|
|
400
400
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
401
|
-
* @codegen <<SignedSource::
|
|
401
|
+
* @codegen <<SignedSource::d44c306cfe2334f9664fc122aa7d9fe6>>
|
|
402
402
|
* @codegenId border
|
|
403
403
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
404
404
|
* @codegenParams ["width", "radius"]
|
|
405
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
405
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::80457377fd80c31f5dfcb5cc743d7016>>
|
|
406
406
|
*/
|
|
407
407
|
export const borderWidthMap = {
|
|
408
408
|
'border.width': "var(--ds-border-width, 1px)",
|
|
@@ -25,10 +25,10 @@ export var dimensionMap = {
|
|
|
25
25
|
*/
|
|
26
26
|
/**
|
|
27
27
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
28
|
-
* @codegen <<SignedSource::
|
|
28
|
+
* @codegen <<SignedSource::3cd327a4cd23dce8564f0b76a0d600ce>>
|
|
29
29
|
* @codegenId spacing
|
|
30
30
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
31
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
31
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::55622b91aca9b3afac4bce440f222b71>>
|
|
32
32
|
*/
|
|
33
33
|
export var spaceMap = {
|
|
34
34
|
'space.0': "var(--ds-space-0, 0px)",
|
|
@@ -62,11 +62,11 @@ export var negativeSpaceMap = {
|
|
|
62
62
|
*/
|
|
63
63
|
/**
|
|
64
64
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
65
|
-
* @codegen <<SignedSource::
|
|
65
|
+
* @codegen <<SignedSource::b93d845e13422e2b25a860f34dc6882b>>
|
|
66
66
|
* @codegenId colors
|
|
67
67
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
68
68
|
* @codegenParams ["border", "background", "shadow", "text", "fill", "surface"]
|
|
69
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
69
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::5188ac15a9f4d65b80cf12e4eecac815>>
|
|
70
70
|
*/
|
|
71
71
|
export var borderColorMap = {
|
|
72
72
|
'color.border': "var(--ds-border, #091e4221)",
|
|
@@ -399,11 +399,11 @@ export var layerMap = {
|
|
|
399
399
|
*/
|
|
400
400
|
/**
|
|
401
401
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
402
|
-
* @codegen <<SignedSource::
|
|
402
|
+
* @codegen <<SignedSource::d44c306cfe2334f9664fc122aa7d9fe6>>
|
|
403
403
|
* @codegenId border
|
|
404
404
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
405
405
|
* @codegenParams ["width", "radius"]
|
|
406
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
406
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::80457377fd80c31f5dfcb5cc743d7016>>
|
|
407
407
|
*/
|
|
408
408
|
export var borderWidthMap = {
|
|
409
409
|
'border.width': "var(--ds-border-width, 1px)",
|
|
@@ -8,11 +8,11 @@ export type InlineProps<T extends ElementType = 'div'> = {
|
|
|
8
8
|
*/
|
|
9
9
|
as?: 'div' | 'span' | 'ul' | 'ol' | 'li';
|
|
10
10
|
/**
|
|
11
|
-
* Used to align children along the
|
|
11
|
+
* Used to align children along the block axis (typically vertical).
|
|
12
12
|
*/
|
|
13
13
|
alignBlock?: AlignBlock;
|
|
14
14
|
/**
|
|
15
|
-
* Used to align children along the
|
|
15
|
+
* Used to align children along the inline axis (typically horizontal).
|
|
16
16
|
*/
|
|
17
17
|
alignInline?: AlignInline;
|
|
18
18
|
/**
|
|
@@ -69,11 +69,11 @@ declare const Inline: import("react").MemoExoticComponent<import("react").Forwar
|
|
|
69
69
|
*/
|
|
70
70
|
as?: "div" | "li" | "ol" | "span" | "ul" | undefined;
|
|
71
71
|
/**
|
|
72
|
-
* Used to align children along the
|
|
72
|
+
* Used to align children along the block axis (typically vertical).
|
|
73
73
|
*/
|
|
74
74
|
alignBlock?: AlignBlock | undefined;
|
|
75
75
|
/**
|
|
76
|
-
* Used to align children along the
|
|
76
|
+
* Used to align children along the inline axis (typically horizontal).
|
|
77
77
|
*/
|
|
78
78
|
alignInline?: AlignInline | undefined;
|
|
79
79
|
/**
|
|
@@ -8,11 +8,11 @@ export type StackProps<T extends ElementType = 'div'> = {
|
|
|
8
8
|
*/
|
|
9
9
|
as?: 'div' | 'span' | 'ul' | 'ol';
|
|
10
10
|
/**
|
|
11
|
-
* Used to align children along the
|
|
11
|
+
* Used to align children along the block axis (typically vertical).
|
|
12
12
|
*/
|
|
13
13
|
alignBlock?: Exclude<AlignBlock, 'baseline'>;
|
|
14
14
|
/**
|
|
15
|
-
* Used to align children along the
|
|
15
|
+
* Used to align children along the inline axis (typically horizontal).
|
|
16
16
|
*/
|
|
17
17
|
alignInline?: AlignInline;
|
|
18
18
|
/**
|
|
@@ -56,11 +56,11 @@ declare const Stack: import("react").MemoExoticComponent<import("react").Forward
|
|
|
56
56
|
*/
|
|
57
57
|
as?: "div" | "ol" | "span" | "ul" | undefined;
|
|
58
58
|
/**
|
|
59
|
-
* Used to align children along the
|
|
59
|
+
* Used to align children along the block axis (typically vertical).
|
|
60
60
|
*/
|
|
61
61
|
alignBlock?: "stretch" | "center" | "end" | "start" | undefined;
|
|
62
62
|
/**
|
|
63
|
-
* Used to align children along the
|
|
63
|
+
* Used to align children along the inline axis (typically horizontal).
|
|
64
64
|
*/
|
|
65
65
|
alignInline?: AlignInline | undefined;
|
|
66
66
|
/**
|
|
@@ -23,10 +23,10 @@ export type Dimension = keyof typeof dimensionMap;
|
|
|
23
23
|
*/
|
|
24
24
|
/**
|
|
25
25
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
26
|
-
* @codegen <<SignedSource::
|
|
26
|
+
* @codegen <<SignedSource::3cd327a4cd23dce8564f0b76a0d600ce>>
|
|
27
27
|
* @codegenId spacing
|
|
28
28
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
29
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
29
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::55622b91aca9b3afac4bce440f222b71>>
|
|
30
30
|
*/
|
|
31
31
|
export declare const spaceMap: {
|
|
32
32
|
'space.0': "var(--ds-space-0)";
|
|
@@ -62,11 +62,11 @@ export type NegativeSpace = keyof typeof negativeSpaceMap;
|
|
|
62
62
|
*/
|
|
63
63
|
/**
|
|
64
64
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
65
|
-
* @codegen <<SignedSource::
|
|
65
|
+
* @codegen <<SignedSource::b93d845e13422e2b25a860f34dc6882b>>
|
|
66
66
|
* @codegenId colors
|
|
67
67
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
68
68
|
* @codegenParams ["border", "background", "shadow", "text", "fill", "surface"]
|
|
69
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
69
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::5188ac15a9f4d65b80cf12e4eecac815>>
|
|
70
70
|
*/
|
|
71
71
|
export declare const borderColorMap: {
|
|
72
72
|
readonly 'color.border': "var(--ds-border)";
|
|
@@ -406,11 +406,11 @@ export type Layer = keyof typeof layerMap;
|
|
|
406
406
|
*/
|
|
407
407
|
/**
|
|
408
408
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
409
|
-
* @codegen <<SignedSource::
|
|
409
|
+
* @codegen <<SignedSource::d44c306cfe2334f9664fc122aa7d9fe6>>
|
|
410
410
|
* @codegenId border
|
|
411
411
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
412
412
|
* @codegenParams ["width", "radius"]
|
|
413
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
413
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::80457377fd80c31f5dfcb5cc743d7016>>
|
|
414
414
|
*/
|
|
415
415
|
export declare const borderWidthMap: {
|
|
416
416
|
readonly 'border.width': "var(--ds-border-width)";
|
|
@@ -8,11 +8,11 @@ export type InlineProps<T extends ElementType = 'div'> = {
|
|
|
8
8
|
*/
|
|
9
9
|
as?: 'div' | 'span' | 'ul' | 'ol' | 'li';
|
|
10
10
|
/**
|
|
11
|
-
* Used to align children along the
|
|
11
|
+
* Used to align children along the block axis (typically vertical).
|
|
12
12
|
*/
|
|
13
13
|
alignBlock?: AlignBlock;
|
|
14
14
|
/**
|
|
15
|
-
* Used to align children along the
|
|
15
|
+
* Used to align children along the inline axis (typically horizontal).
|
|
16
16
|
*/
|
|
17
17
|
alignInline?: AlignInline;
|
|
18
18
|
/**
|
|
@@ -69,11 +69,11 @@ declare const Inline: import("react").MemoExoticComponent<import("react").Forwar
|
|
|
69
69
|
*/
|
|
70
70
|
as?: "div" | "li" | "ol" | "span" | "ul" | undefined;
|
|
71
71
|
/**
|
|
72
|
-
* Used to align children along the
|
|
72
|
+
* Used to align children along the block axis (typically vertical).
|
|
73
73
|
*/
|
|
74
74
|
alignBlock?: AlignBlock | undefined;
|
|
75
75
|
/**
|
|
76
|
-
* Used to align children along the
|
|
76
|
+
* Used to align children along the inline axis (typically horizontal).
|
|
77
77
|
*/
|
|
78
78
|
alignInline?: AlignInline | undefined;
|
|
79
79
|
/**
|
|
@@ -8,11 +8,11 @@ export type StackProps<T extends ElementType = 'div'> = {
|
|
|
8
8
|
*/
|
|
9
9
|
as?: 'div' | 'span' | 'ul' | 'ol';
|
|
10
10
|
/**
|
|
11
|
-
* Used to align children along the
|
|
11
|
+
* Used to align children along the block axis (typically vertical).
|
|
12
12
|
*/
|
|
13
13
|
alignBlock?: Exclude<AlignBlock, 'baseline'>;
|
|
14
14
|
/**
|
|
15
|
-
* Used to align children along the
|
|
15
|
+
* Used to align children along the inline axis (typically horizontal).
|
|
16
16
|
*/
|
|
17
17
|
alignInline?: AlignInline;
|
|
18
18
|
/**
|
|
@@ -56,11 +56,11 @@ declare const Stack: import("react").MemoExoticComponent<import("react").Forward
|
|
|
56
56
|
*/
|
|
57
57
|
as?: "div" | "ol" | "span" | "ul" | undefined;
|
|
58
58
|
/**
|
|
59
|
-
* Used to align children along the
|
|
59
|
+
* Used to align children along the block axis (typically vertical).
|
|
60
60
|
*/
|
|
61
61
|
alignBlock?: "stretch" | "center" | "end" | "start" | undefined;
|
|
62
62
|
/**
|
|
63
|
-
* Used to align children along the
|
|
63
|
+
* Used to align children along the inline axis (typically horizontal).
|
|
64
64
|
*/
|
|
65
65
|
alignInline?: AlignInline | undefined;
|
|
66
66
|
/**
|
|
@@ -23,10 +23,10 @@ export type Dimension = keyof typeof dimensionMap;
|
|
|
23
23
|
*/
|
|
24
24
|
/**
|
|
25
25
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
26
|
-
* @codegen <<SignedSource::
|
|
26
|
+
* @codegen <<SignedSource::3cd327a4cd23dce8564f0b76a0d600ce>>
|
|
27
27
|
* @codegenId spacing
|
|
28
28
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
29
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
29
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::55622b91aca9b3afac4bce440f222b71>>
|
|
30
30
|
*/
|
|
31
31
|
export declare const spaceMap: {
|
|
32
32
|
'space.0': "var(--ds-space-0)";
|
|
@@ -62,11 +62,11 @@ export type NegativeSpace = keyof typeof negativeSpaceMap;
|
|
|
62
62
|
*/
|
|
63
63
|
/**
|
|
64
64
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
65
|
-
* @codegen <<SignedSource::
|
|
65
|
+
* @codegen <<SignedSource::b93d845e13422e2b25a860f34dc6882b>>
|
|
66
66
|
* @codegenId colors
|
|
67
67
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
68
68
|
* @codegenParams ["border", "background", "shadow", "text", "fill", "surface"]
|
|
69
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
69
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::5188ac15a9f4d65b80cf12e4eecac815>>
|
|
70
70
|
*/
|
|
71
71
|
export declare const borderColorMap: {
|
|
72
72
|
readonly 'color.border': "var(--ds-border)";
|
|
@@ -406,11 +406,11 @@ export type Layer = keyof typeof layerMap;
|
|
|
406
406
|
*/
|
|
407
407
|
/**
|
|
408
408
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
409
|
-
* @codegen <<SignedSource::
|
|
409
|
+
* @codegen <<SignedSource::d44c306cfe2334f9664fc122aa7d9fe6>>
|
|
410
410
|
* @codegenId border
|
|
411
411
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
412
412
|
* @codegenParams ["width", "radius"]
|
|
413
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
413
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::80457377fd80c31f5dfcb5cc743d7016>>
|
|
414
414
|
*/
|
|
415
415
|
export declare const borderWidthMap: {
|
|
416
416
|
readonly 'border.width': "var(--ds-border-width)";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.5",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"codegen-styles": "ts-node -r tsconfig-paths/register ./scripts/codegen-styles.tsx"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@atlaskit/tokens": "^1.
|
|
119
|
+
"@atlaskit/tokens": "^1.26.0",
|
|
120
120
|
"@babel/runtime": "^7.0.0",
|
|
121
121
|
"@emotion/react": "^11.7.1",
|
|
122
122
|
"@emotion/serialize": "^1.1.0",
|