@atlaskit/primitives 17.1.0 → 17.1.1
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 +9 -0
- package/dist/cjs/compiled/components/anchor.js +1 -1
- package/dist/cjs/compiled/components/metric-text.compiled.css +3 -3
- package/dist/cjs/compiled/components/metric-text.js +3 -3
- package/dist/cjs/compiled/components/pressable.js +1 -1
- package/dist/cjs/compiled/components/text.compiled.css +5 -5
- package/dist/cjs/compiled/components/text.js +6 -6
- package/dist/cjs/components/anchor.js +1 -1
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/cjs/components/text.js +1 -1
- package/dist/cjs/xcss/style-maps.partial.js +29 -29
- package/dist/es2019/compiled/components/anchor.js +1 -1
- package/dist/es2019/compiled/components/metric-text.compiled.css +3 -3
- package/dist/es2019/compiled/components/metric-text.js +3 -3
- package/dist/es2019/compiled/components/pressable.js +1 -1
- package/dist/es2019/compiled/components/text.compiled.css +5 -5
- package/dist/es2019/compiled/components/text.js +6 -6
- package/dist/es2019/components/anchor.js +1 -1
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/es2019/components/text.js +1 -1
- package/dist/es2019/xcss/style-maps.partial.js +29 -29
- package/dist/esm/compiled/components/anchor.js +1 -1
- package/dist/esm/compiled/components/metric-text.compiled.css +3 -3
- package/dist/esm/compiled/components/metric-text.js +3 -3
- package/dist/esm/compiled/components/pressable.js +1 -1
- package/dist/esm/compiled/components/text.compiled.css +5 -5
- package/dist/esm/compiled/components/text.js +6 -6
- package/dist/esm/components/anchor.js +1 -1
- package/dist/esm/components/pressable.js +1 -1
- package/dist/esm/components/text.js +1 -1
- package/dist/esm/xcss/style-maps.partial.js +29 -29
- package/dist/types/xcss/style-maps.partial.d.ts +2 -2
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +2 -2
- package/package.json +3 -3
- package/scripts/text-codegen-template.tsx +1 -1
- package/scripts/typography-codegen-template.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 17.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f111803c4e253`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f111803c4e253) -
|
|
8
|
+
Updating typography fallbacks to refreshed typography values as the deprecated legacy typography
|
|
9
|
+
theme has been removed.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 17.1.0
|
|
4
13
|
|
|
5
14
|
### Minor 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: "
|
|
73
|
+
packageVersion: "17.1.0",
|
|
74
74
|
analyticsData: analyticsContext,
|
|
75
75
|
actionSubject: 'link'
|
|
76
76
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
._11c81xwm{font:var(--ds-font-metric-large,normal 653 28px/2pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c85kmp{font:var(--ds-font-metric-medium,normal 653 24px/28px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._11c8ys40{font:var(--ds-font-metric-small,normal 653 1pc/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
4
4
|
._18u0idpf{margin-left:0}
|
|
5
5
|
._19pkidpf{margin-top:0}
|
|
6
6
|
._2hwxidpf{margin-right:0}
|
|
@@ -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: "
|
|
64
|
+
packageVersion: "17.1.0",
|
|
65
65
|
analyticsData: analyticsContext,
|
|
66
66
|
actionSubject: 'button'
|
|
67
67
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
1
|
+
._11c81d4k{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._11c8rymc{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
4
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
5
5
|
._18m915vq{overflow-y:hidden}
|
|
6
6
|
._18u0idpf{margin-left:0}
|
|
7
7
|
._19pkidpf{margin-top:0}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
._k48p1pd9{font-weight:var(--ds-font-weight-semibold,600)}
|
|
14
14
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
15
15
|
._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
|
|
16
|
-
.
|
|
16
|
+
._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
|
|
17
17
|
._otyridpf{margin-bottom:0}
|
|
18
18
|
._sudp1e54{-webkit-box-orient:vertical}
|
|
19
19
|
._syaz12v7{color:var(--ds-text-accent-teal-bolder,#164555)}
|
|
@@ -37,7 +37,7 @@ var useColor = function useColor(colorProp, hasTextAncestor) {
|
|
|
37
37
|
};
|
|
38
38
|
var styles = {
|
|
39
39
|
root: "_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1i4qfg65",
|
|
40
|
-
'as.strong': "
|
|
40
|
+
'as.strong': "_k48pwu06",
|
|
41
41
|
'as.em': "_zg8l1m30",
|
|
42
42
|
'textAlign.center': "_y3gn1h6o",
|
|
43
43
|
'textAlign.end': "_y3gnh9n0",
|
|
@@ -46,13 +46,13 @@ var styles = {
|
|
|
46
46
|
breakAll: "_1nmz9jpi"
|
|
47
47
|
};
|
|
48
48
|
var fontSizeMap = {
|
|
49
|
-
medium: "
|
|
50
|
-
UNSAFE_small: "
|
|
51
|
-
large: "
|
|
52
|
-
small: "
|
|
49
|
+
medium: "_11c8fhey",
|
|
50
|
+
UNSAFE_small: "_11c8rymc",
|
|
51
|
+
large: "_11c81d4k",
|
|
52
|
+
small: "_11c8wadc"
|
|
53
53
|
};
|
|
54
54
|
var fontWeightMap = {
|
|
55
|
-
bold: "
|
|
55
|
+
bold: "_k48pwu06",
|
|
56
56
|
medium: "_k48p1wq8",
|
|
57
57
|
regular: "_k48pi7a9",
|
|
58
58
|
semibold: "_k48p1pd9"
|
|
@@ -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: "
|
|
108
|
+
packageVersion: "17.1.0",
|
|
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: "
|
|
100
|
+
packageVersion: "17.1.0",
|
|
101
101
|
analyticsData: analyticsContext,
|
|
102
102
|
actionSubject: 'button'
|
|
103
103
|
});
|
|
@@ -27,7 +27,7 @@ var resetStyles = (0, _react2.css)({
|
|
|
27
27
|
overflowWrap: 'anywhere'
|
|
28
28
|
});
|
|
29
29
|
var strongStyles = (0, _react2.css)({
|
|
30
|
-
fontWeight: "var(--ds-font-weight-bold,
|
|
30
|
+
fontWeight: "var(--ds-font-weight-bold, 653)"
|
|
31
31
|
});
|
|
32
32
|
var emStyles = (0, _react2.css)({
|
|
33
33
|
fontStyle: 'italic'
|
|
@@ -521,7 +521,7 @@ var borderRadiusMap = exports.borderRadiusMap = {
|
|
|
521
521
|
|
|
522
522
|
/**
|
|
523
523
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
524
|
-
* @codegen <<SignedSource::
|
|
524
|
+
* @codegen <<SignedSource::f81d01fb664f365972ac87a2be86aba6>>
|
|
525
525
|
* @codegenId typography
|
|
526
526
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
527
527
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight", "body", "ui"]
|
|
@@ -529,34 +529,34 @@ var borderRadiusMap = exports.borderRadiusMap = {
|
|
|
529
529
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
530
530
|
*/
|
|
531
531
|
var fontMap = exports.fontMap = {
|
|
532
|
-
'font.body': "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
533
|
-
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
534
|
-
'font.body.large': "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
535
|
-
'font.body.small': "var(--ds-font-body-small, normal 400
|
|
536
|
-
'font.code': "var(--ds-font-code, normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
537
|
-
'font.heading.large': "var(--ds-font-heading-large, normal
|
|
538
|
-
'font.heading.medium': "var(--ds-font-heading-medium, normal
|
|
539
|
-
'font.heading.small': "var(--ds-font-heading-small, normal
|
|
540
|
-
'font.heading.xlarge': "var(--ds-font-heading-xlarge, normal
|
|
541
|
-
'font.heading.xsmall': "var(--ds-font-heading-xsmall, normal
|
|
542
|
-
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge, normal
|
|
543
|
-
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall, normal
|
|
544
|
-
'font.metric.large': "var(--ds-font-metric-large, normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
545
|
-
'font.metric.medium': "var(--ds-font-metric-medium, normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
546
|
-
'font.metric.small': "var(--ds-font-metric-small, normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
532
|
+
'font.body': "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
533
|
+
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
534
|
+
'font.body.large': "var(--ds-font-body-large, normal 400 16px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
535
|
+
'font.body.small': "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
536
|
+
'font.code': "var(--ds-font-code, normal 400 0.875em/1 \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
537
|
+
'font.heading.large': "var(--ds-font-heading-large, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
538
|
+
'font.heading.medium': "var(--ds-font-heading-medium, normal 653 20px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
539
|
+
'font.heading.small': "var(--ds-font-heading-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
540
|
+
'font.heading.xlarge': "var(--ds-font-heading-xlarge, normal 653 28px/32px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
541
|
+
'font.heading.xsmall': "var(--ds-font-heading-xsmall, normal 653 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
542
|
+
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge, normal 653 32px/36px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
543
|
+
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall, normal 653 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
544
|
+
'font.metric.large': "var(--ds-font-metric-large, normal 653 28px/32px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
545
|
+
'font.metric.medium': "var(--ds-font-metric-medium, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
546
|
+
'font.metric.small': "var(--ds-font-metric-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
547
547
|
};
|
|
548
548
|
var fontWeightMap = exports.fontWeightMap = {
|
|
549
|
-
'font.weight.bold': "var(--ds-font-weight-bold,
|
|
549
|
+
'font.weight.bold': "var(--ds-font-weight-bold, 653)",
|
|
550
550
|
'font.weight.medium': "var(--ds-font-weight-medium, 500)",
|
|
551
551
|
'font.weight.regular': "var(--ds-font-weight-regular, 400)",
|
|
552
552
|
'font.weight.semibold': "var(--ds-font-weight-semibold, 600)"
|
|
553
553
|
};
|
|
554
554
|
var fontFamilyMap = exports.fontFamilyMap = {
|
|
555
|
-
'font.family.body': "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
555
|
+
'font.family.body': "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
556
556
|
'font.family.brand.body': "var(--ds-font-family-brand-body, \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
557
557
|
'font.family.brand.heading': "var(--ds-font-family-brand-heading, \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
558
|
-
'font.family.code': "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
559
|
-
'font.family.heading': "var(--ds-font-family-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
558
|
+
'font.family.code': "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
559
|
+
'font.family.heading': "var(--ds-font-family-heading, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
560
560
|
};
|
|
561
561
|
/**
|
|
562
562
|
* @codegenEnd
|
|
@@ -564,28 +564,28 @@ var fontFamilyMap = exports.fontFamilyMap = {
|
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
566
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
567
|
-
* @codegen <<SignedSource::
|
|
567
|
+
* @codegen <<SignedSource::aeebc24b95e2189021f1d98f1715a6a0>>
|
|
568
568
|
* @codegenId text
|
|
569
569
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
570
570
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
571
571
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
572
572
|
*/
|
|
573
573
|
var textSizeMap = exports.textSizeMap = {
|
|
574
|
-
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
575
|
-
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
576
|
-
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
577
|
-
small: "var(--ds-font-body-small, normal 400
|
|
574
|
+
medium: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
575
|
+
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
576
|
+
large: "var(--ds-font-body-large, normal 400 16px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
577
|
+
small: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
578
578
|
};
|
|
579
579
|
var textWeightMap = exports.textWeightMap = {
|
|
580
|
-
bold: "var(--ds-font-weight-bold,
|
|
580
|
+
bold: "var(--ds-font-weight-bold, 653)",
|
|
581
581
|
medium: "var(--ds-font-weight-medium, 500)",
|
|
582
582
|
regular: "var(--ds-font-weight-regular, 400)",
|
|
583
583
|
semibold: "var(--ds-font-weight-semibold, 600)"
|
|
584
584
|
};
|
|
585
585
|
var metricTextSizeMap = exports.metricTextSizeMap = {
|
|
586
|
-
large: "var(--ds-font-metric-large, normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
587
|
-
medium: "var(--ds-font-metric-medium, normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
588
|
-
small: "var(--ds-font-metric-small, normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
586
|
+
large: "var(--ds-font-metric-large, normal 653 28px/32px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
587
|
+
medium: "var(--ds-font-metric-medium, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
588
|
+
small: "var(--ds-font-metric-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
589
589
|
};
|
|
590
590
|
|
|
591
591
|
/**
|
|
@@ -56,7 +56,7 @@ const AnchorNoRef = ({
|
|
|
56
56
|
action: 'clicked',
|
|
57
57
|
componentName: componentName || 'Anchor',
|
|
58
58
|
packageName: "@atlaskit/primitives",
|
|
59
|
-
packageVersion: "
|
|
59
|
+
packageVersion: "17.1.0",
|
|
60
60
|
analyticsData: analyticsContext,
|
|
61
61
|
actionSubject: 'link'
|
|
62
62
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
._11c81xwm{font:var(--ds-font-metric-large,normal 653 28px/2pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c85kmp{font:var(--ds-font-metric-medium,normal 653 24px/28px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._11c8ys40{font:var(--ds-font-metric-small,normal 653 1pc/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
4
4
|
._18u0idpf{margin-left:0}
|
|
5
5
|
._19pkidpf{margin-top:0}
|
|
6
6
|
._2hwxidpf{margin-right:0}
|
|
@@ -48,7 +48,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
48
48
|
action: 'clicked',
|
|
49
49
|
componentName: componentName || 'Pressable',
|
|
50
50
|
packageName: "@atlaskit/primitives",
|
|
51
|
-
packageVersion: "
|
|
51
|
+
packageVersion: "17.1.0",
|
|
52
52
|
analyticsData: analyticsContext,
|
|
53
53
|
actionSubject: 'button'
|
|
54
54
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
1
|
+
._11c81d4k{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._11c8rymc{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
4
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
5
5
|
._18m915vq{overflow-y:hidden}
|
|
6
6
|
._18u0idpf{margin-left:0}
|
|
7
7
|
._19pkidpf{margin-top:0}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
._k48p1pd9{font-weight:var(--ds-font-weight-semibold,600)}
|
|
14
14
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
15
15
|
._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
|
|
16
|
-
.
|
|
16
|
+
._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
|
|
17
17
|
._otyridpf{margin-bottom:0}
|
|
18
18
|
._sudp1e54{-webkit-box-orient:vertical}
|
|
19
19
|
._syaz12v7{color:var(--ds-text-accent-teal-bolder,#164555)}
|
|
@@ -28,7 +28,7 @@ const useColor = (colorProp, hasTextAncestor) => {
|
|
|
28
28
|
};
|
|
29
29
|
const styles = {
|
|
30
30
|
root: "_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1i4qfg65",
|
|
31
|
-
'as.strong': "
|
|
31
|
+
'as.strong': "_k48pwu06",
|
|
32
32
|
'as.em': "_zg8l1m30",
|
|
33
33
|
'textAlign.center': "_y3gn1h6o",
|
|
34
34
|
'textAlign.end': "_y3gnh9n0",
|
|
@@ -37,13 +37,13 @@ const styles = {
|
|
|
37
37
|
breakAll: "_1nmz9jpi"
|
|
38
38
|
};
|
|
39
39
|
const fontSizeMap = {
|
|
40
|
-
medium: "
|
|
41
|
-
UNSAFE_small: "
|
|
42
|
-
large: "
|
|
43
|
-
small: "
|
|
40
|
+
medium: "_11c8fhey",
|
|
41
|
+
UNSAFE_small: "_11c8rymc",
|
|
42
|
+
large: "_11c81d4k",
|
|
43
|
+
small: "_11c8wadc"
|
|
44
44
|
};
|
|
45
45
|
const fontWeightMap = {
|
|
46
|
-
bold: "
|
|
46
|
+
bold: "_k48pwu06",
|
|
47
47
|
medium: "_k48p1wq8",
|
|
48
48
|
regular: "_k48pi7a9",
|
|
49
49
|
semibold: "_k48p1pd9"
|
|
@@ -94,7 +94,7 @@ const AnchorNoRef = ({
|
|
|
94
94
|
action: 'clicked',
|
|
95
95
|
componentName: componentName || 'Anchor',
|
|
96
96
|
packageName: "@atlaskit/primitives",
|
|
97
|
-
packageVersion: "
|
|
97
|
+
packageVersion: "17.1.0",
|
|
98
98
|
analyticsData: analyticsContext,
|
|
99
99
|
actionSubject: 'link'
|
|
100
100
|
});
|
|
@@ -86,7 +86,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
86
86
|
action: 'clicked',
|
|
87
87
|
componentName: componentName || 'Pressable',
|
|
88
88
|
packageName: "@atlaskit/primitives",
|
|
89
|
-
packageVersion: "
|
|
89
|
+
packageVersion: "17.1.0",
|
|
90
90
|
analyticsData: analyticsContext,
|
|
91
91
|
actionSubject: 'button'
|
|
92
92
|
});
|
|
@@ -515,7 +515,7 @@ export const borderRadiusMap = {
|
|
|
515
515
|
|
|
516
516
|
/**
|
|
517
517
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
518
|
-
* @codegen <<SignedSource::
|
|
518
|
+
* @codegen <<SignedSource::f81d01fb664f365972ac87a2be86aba6>>
|
|
519
519
|
* @codegenId typography
|
|
520
520
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
521
521
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight", "body", "ui"]
|
|
@@ -523,34 +523,34 @@ export const borderRadiusMap = {
|
|
|
523
523
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
524
524
|
*/
|
|
525
525
|
export const fontMap = {
|
|
526
|
-
'font.body': "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
527
|
-
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
528
|
-
'font.body.large': "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
529
|
-
'font.body.small': "var(--ds-font-body-small, normal 400
|
|
530
|
-
'font.code': "var(--ds-font-code, normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
531
|
-
'font.heading.large': "var(--ds-font-heading-large, normal
|
|
532
|
-
'font.heading.medium': "var(--ds-font-heading-medium, normal
|
|
533
|
-
'font.heading.small': "var(--ds-font-heading-small, normal
|
|
534
|
-
'font.heading.xlarge': "var(--ds-font-heading-xlarge, normal
|
|
535
|
-
'font.heading.xsmall': "var(--ds-font-heading-xsmall, normal
|
|
536
|
-
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge, normal
|
|
537
|
-
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall, normal
|
|
538
|
-
'font.metric.large': "var(--ds-font-metric-large, normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
539
|
-
'font.metric.medium': "var(--ds-font-metric-medium, normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
540
|
-
'font.metric.small': "var(--ds-font-metric-small, normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
526
|
+
'font.body': "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
527
|
+
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
528
|
+
'font.body.large': "var(--ds-font-body-large, normal 400 16px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
529
|
+
'font.body.small': "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
530
|
+
'font.code': "var(--ds-font-code, normal 400 0.875em/1 \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
531
|
+
'font.heading.large': "var(--ds-font-heading-large, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
532
|
+
'font.heading.medium': "var(--ds-font-heading-medium, normal 653 20px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
533
|
+
'font.heading.small': "var(--ds-font-heading-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
534
|
+
'font.heading.xlarge': "var(--ds-font-heading-xlarge, normal 653 28px/32px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
535
|
+
'font.heading.xsmall': "var(--ds-font-heading-xsmall, normal 653 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
536
|
+
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge, normal 653 32px/36px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
537
|
+
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall, normal 653 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
538
|
+
'font.metric.large': "var(--ds-font-metric-large, normal 653 28px/32px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
539
|
+
'font.metric.medium': "var(--ds-font-metric-medium, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
540
|
+
'font.metric.small': "var(--ds-font-metric-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
541
541
|
};
|
|
542
542
|
export const fontWeightMap = {
|
|
543
|
-
'font.weight.bold': "var(--ds-font-weight-bold,
|
|
543
|
+
'font.weight.bold': "var(--ds-font-weight-bold, 653)",
|
|
544
544
|
'font.weight.medium': "var(--ds-font-weight-medium, 500)",
|
|
545
545
|
'font.weight.regular': "var(--ds-font-weight-regular, 400)",
|
|
546
546
|
'font.weight.semibold': "var(--ds-font-weight-semibold, 600)"
|
|
547
547
|
};
|
|
548
548
|
export const fontFamilyMap = {
|
|
549
|
-
'font.family.body': "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
549
|
+
'font.family.body': "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
550
550
|
'font.family.brand.body': "var(--ds-font-family-brand-body, \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
551
551
|
'font.family.brand.heading': "var(--ds-font-family-brand-heading, \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
552
|
-
'font.family.code': "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
553
|
-
'font.family.heading': "var(--ds-font-family-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
552
|
+
'font.family.code': "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
553
|
+
'font.family.heading': "var(--ds-font-family-heading, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
554
554
|
};
|
|
555
555
|
/**
|
|
556
556
|
* @codegenEnd
|
|
@@ -558,28 +558,28 @@ export const fontFamilyMap = {
|
|
|
558
558
|
|
|
559
559
|
/**
|
|
560
560
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
561
|
-
* @codegen <<SignedSource::
|
|
561
|
+
* @codegen <<SignedSource::aeebc24b95e2189021f1d98f1715a6a0>>
|
|
562
562
|
* @codegenId text
|
|
563
563
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
564
564
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
565
565
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
566
566
|
*/
|
|
567
567
|
export const textSizeMap = {
|
|
568
|
-
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
569
|
-
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
570
|
-
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
571
|
-
small: "var(--ds-font-body-small, normal 400
|
|
568
|
+
medium: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
569
|
+
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
570
|
+
large: "var(--ds-font-body-large, normal 400 16px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
571
|
+
small: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
572
572
|
};
|
|
573
573
|
export const textWeightMap = {
|
|
574
|
-
bold: "var(--ds-font-weight-bold,
|
|
574
|
+
bold: "var(--ds-font-weight-bold, 653)",
|
|
575
575
|
medium: "var(--ds-font-weight-medium, 500)",
|
|
576
576
|
regular: "var(--ds-font-weight-regular, 400)",
|
|
577
577
|
semibold: "var(--ds-font-weight-semibold, 600)"
|
|
578
578
|
};
|
|
579
579
|
export const metricTextSizeMap = {
|
|
580
|
-
large: "var(--ds-font-metric-large, normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
581
|
-
medium: "var(--ds-font-metric-medium, normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
582
|
-
small: "var(--ds-font-metric-small, normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
580
|
+
large: "var(--ds-font-metric-large, normal 653 28px/32px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
581
|
+
medium: "var(--ds-font-metric-medium, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
582
|
+
small: "var(--ds-font-metric-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
583
583
|
};
|
|
584
584
|
|
|
585
585
|
/**
|
|
@@ -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: "
|
|
64
|
+
packageVersion: "17.1.0",
|
|
65
65
|
analyticsData: analyticsContext,
|
|
66
66
|
actionSubject: 'link'
|
|
67
67
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
._11c81xwm{font:var(--ds-font-metric-large,normal 653 28px/2pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c85kmp{font:var(--ds-font-metric-medium,normal 653 24px/28px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._11c8ys40{font:var(--ds-font-metric-small,normal 653 1pc/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
4
4
|
._18u0idpf{margin-left:0}
|
|
5
5
|
._19pkidpf{margin-top:0}
|
|
6
6
|
._2hwxidpf{margin-right:0}
|
|
@@ -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: "
|
|
55
|
+
packageVersion: "17.1.0",
|
|
56
56
|
analyticsData: analyticsContext,
|
|
57
57
|
actionSubject: 'button'
|
|
58
58
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
.
|
|
1
|
+
._11c81d4k{font:var(--ds-font-body-large,normal 400 1pc/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._11c8rymc{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
4
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
5
5
|
._18m915vq{overflow-y:hidden}
|
|
6
6
|
._18u0idpf{margin-left:0}
|
|
7
7
|
._19pkidpf{margin-top:0}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
._k48p1pd9{font-weight:var(--ds-font-weight-semibold,600)}
|
|
14
14
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
15
15
|
._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
|
|
16
|
-
.
|
|
16
|
+
._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
|
|
17
17
|
._otyridpf{margin-bottom:0}
|
|
18
18
|
._sudp1e54{-webkit-box-orient:vertical}
|
|
19
19
|
._syaz12v7{color:var(--ds-text-accent-teal-bolder,#164555)}
|
|
@@ -28,7 +28,7 @@ var useColor = function useColor(colorProp, hasTextAncestor) {
|
|
|
28
28
|
};
|
|
29
29
|
var styles = {
|
|
30
30
|
root: "_19pkidpf _2hwxidpf _otyridpf _18u0idpf _1i4qfg65",
|
|
31
|
-
'as.strong': "
|
|
31
|
+
'as.strong': "_k48pwu06",
|
|
32
32
|
'as.em': "_zg8l1m30",
|
|
33
33
|
'textAlign.center': "_y3gn1h6o",
|
|
34
34
|
'textAlign.end': "_y3gnh9n0",
|
|
@@ -37,13 +37,13 @@ var styles = {
|
|
|
37
37
|
breakAll: "_1nmz9jpi"
|
|
38
38
|
};
|
|
39
39
|
var fontSizeMap = {
|
|
40
|
-
medium: "
|
|
41
|
-
UNSAFE_small: "
|
|
42
|
-
large: "
|
|
43
|
-
small: "
|
|
40
|
+
medium: "_11c8fhey",
|
|
41
|
+
UNSAFE_small: "_11c8rymc",
|
|
42
|
+
large: "_11c81d4k",
|
|
43
|
+
small: "_11c8wadc"
|
|
44
44
|
};
|
|
45
45
|
var fontWeightMap = {
|
|
46
|
-
bold: "
|
|
46
|
+
bold: "_k48pwu06",
|
|
47
47
|
medium: "_k48p1wq8",
|
|
48
48
|
regular: "_k48pi7a9",
|
|
49
49
|
semibold: "_k48p1pd9"
|
|
@@ -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: "
|
|
102
|
+
packageVersion: "17.1.0",
|
|
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: "
|
|
94
|
+
packageVersion: "17.1.0",
|
|
95
95
|
analyticsData: analyticsContext,
|
|
96
96
|
actionSubject: 'button'
|
|
97
97
|
});
|
|
@@ -515,7 +515,7 @@ export var borderRadiusMap = {
|
|
|
515
515
|
|
|
516
516
|
/**
|
|
517
517
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
518
|
-
* @codegen <<SignedSource::
|
|
518
|
+
* @codegen <<SignedSource::f81d01fb664f365972ac87a2be86aba6>>
|
|
519
519
|
* @codegenId typography
|
|
520
520
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
521
521
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight", "body", "ui"]
|
|
@@ -523,34 +523,34 @@ export var borderRadiusMap = {
|
|
|
523
523
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
524
524
|
*/
|
|
525
525
|
export var fontMap = {
|
|
526
|
-
'font.body': "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
527
|
-
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
528
|
-
'font.body.large': "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
529
|
-
'font.body.small': "var(--ds-font-body-small, normal 400
|
|
530
|
-
'font.code': "var(--ds-font-code, normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
531
|
-
'font.heading.large': "var(--ds-font-heading-large, normal
|
|
532
|
-
'font.heading.medium': "var(--ds-font-heading-medium, normal
|
|
533
|
-
'font.heading.small': "var(--ds-font-heading-small, normal
|
|
534
|
-
'font.heading.xlarge': "var(--ds-font-heading-xlarge, normal
|
|
535
|
-
'font.heading.xsmall': "var(--ds-font-heading-xsmall, normal
|
|
536
|
-
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge, normal
|
|
537
|
-
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall, normal
|
|
538
|
-
'font.metric.large': "var(--ds-font-metric-large, normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
539
|
-
'font.metric.medium': "var(--ds-font-metric-medium, normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
540
|
-
'font.metric.small': "var(--ds-font-metric-small, normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
526
|
+
'font.body': "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
527
|
+
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
528
|
+
'font.body.large': "var(--ds-font-body-large, normal 400 16px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
529
|
+
'font.body.small': "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
530
|
+
'font.code': "var(--ds-font-code, normal 400 0.875em/1 \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
531
|
+
'font.heading.large': "var(--ds-font-heading-large, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
532
|
+
'font.heading.medium': "var(--ds-font-heading-medium, normal 653 20px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
533
|
+
'font.heading.small': "var(--ds-font-heading-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
534
|
+
'font.heading.xlarge': "var(--ds-font-heading-xlarge, normal 653 28px/32px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
535
|
+
'font.heading.xsmall': "var(--ds-font-heading-xsmall, normal 653 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
536
|
+
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge, normal 653 32px/36px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
537
|
+
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall, normal 653 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
538
|
+
'font.metric.large': "var(--ds-font-metric-large, normal 653 28px/32px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
539
|
+
'font.metric.medium': "var(--ds-font-metric-medium, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
540
|
+
'font.metric.small': "var(--ds-font-metric-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
541
541
|
};
|
|
542
542
|
export var fontWeightMap = {
|
|
543
|
-
'font.weight.bold': "var(--ds-font-weight-bold,
|
|
543
|
+
'font.weight.bold': "var(--ds-font-weight-bold, 653)",
|
|
544
544
|
'font.weight.medium': "var(--ds-font-weight-medium, 500)",
|
|
545
545
|
'font.weight.regular': "var(--ds-font-weight-regular, 400)",
|
|
546
546
|
'font.weight.semibold': "var(--ds-font-weight-semibold, 600)"
|
|
547
547
|
};
|
|
548
548
|
export var fontFamilyMap = {
|
|
549
|
-
'font.family.body': "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
549
|
+
'font.family.body': "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
550
550
|
'font.family.brand.body': "var(--ds-font-family-brand-body, \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
551
551
|
'font.family.brand.heading': "var(--ds-font-family-brand-heading, \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
552
|
-
'font.family.code': "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
553
|
-
'font.family.heading': "var(--ds-font-family-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
552
|
+
'font.family.code': "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
553
|
+
'font.family.heading': "var(--ds-font-family-heading, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
554
554
|
};
|
|
555
555
|
/**
|
|
556
556
|
* @codegenEnd
|
|
@@ -558,28 +558,28 @@ export var fontFamilyMap = {
|
|
|
558
558
|
|
|
559
559
|
/**
|
|
560
560
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
561
|
-
* @codegen <<SignedSource::
|
|
561
|
+
* @codegen <<SignedSource::aeebc24b95e2189021f1d98f1715a6a0>>
|
|
562
562
|
* @codegenId text
|
|
563
563
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
564
564
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
565
565
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
566
566
|
*/
|
|
567
567
|
export var textSizeMap = {
|
|
568
|
-
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
569
|
-
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
570
|
-
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
571
|
-
small: "var(--ds-font-body-small, normal 400
|
|
568
|
+
medium: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
569
|
+
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
570
|
+
large: "var(--ds-font-body-large, normal 400 16px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
571
|
+
small: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
572
572
|
};
|
|
573
573
|
export var textWeightMap = {
|
|
574
|
-
bold: "var(--ds-font-weight-bold,
|
|
574
|
+
bold: "var(--ds-font-weight-bold, 653)",
|
|
575
575
|
medium: "var(--ds-font-weight-medium, 500)",
|
|
576
576
|
regular: "var(--ds-font-weight-regular, 400)",
|
|
577
577
|
semibold: "var(--ds-font-weight-semibold, 600)"
|
|
578
578
|
};
|
|
579
579
|
export var metricTextSizeMap = {
|
|
580
|
-
large: "var(--ds-font-metric-large, normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
581
|
-
medium: "var(--ds-font-metric-medium, normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
582
|
-
small: "var(--ds-font-metric-small, normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
580
|
+
large: "var(--ds-font-metric-large, normal 653 28px/32px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
581
|
+
medium: "var(--ds-font-metric-medium, normal 653 24px/28px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
582
|
+
small: "var(--ds-font-metric-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
583
583
|
};
|
|
584
584
|
|
|
585
585
|
/**
|
|
@@ -542,7 +542,7 @@ export type BorderRadius = keyof typeof borderRadiusMap;
|
|
|
542
542
|
*/
|
|
543
543
|
/**
|
|
544
544
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
545
|
-
* @codegen <<SignedSource::
|
|
545
|
+
* @codegen <<SignedSource::f81d01fb664f365972ac87a2be86aba6>>
|
|
546
546
|
* @codegenId typography
|
|
547
547
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
548
548
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight", "body", "ui"]
|
|
@@ -587,7 +587,7 @@ export type FontFamily = keyof typeof fontFamilyMap;
|
|
|
587
587
|
*/
|
|
588
588
|
/**
|
|
589
589
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
590
|
-
* @codegen <<SignedSource::
|
|
590
|
+
* @codegen <<SignedSource::aeebc24b95e2189021f1d98f1715a6a0>>
|
|
591
591
|
* @codegenId text
|
|
592
592
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
593
593
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
@@ -542,7 +542,7 @@ export type BorderRadius = keyof typeof borderRadiusMap;
|
|
|
542
542
|
*/
|
|
543
543
|
/**
|
|
544
544
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
545
|
-
* @codegen <<SignedSource::
|
|
545
|
+
* @codegen <<SignedSource::f81d01fb664f365972ac87a2be86aba6>>
|
|
546
546
|
* @codegenId typography
|
|
547
547
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
548
548
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight", "body", "ui"]
|
|
@@ -587,7 +587,7 @@ export type FontFamily = keyof typeof fontFamilyMap;
|
|
|
587
587
|
*/
|
|
588
588
|
/**
|
|
589
589
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
590
|
-
* @codegen <<SignedSource::
|
|
590
|
+
* @codegen <<SignedSource::aeebc24b95e2189021f1d98f1715a6a0>>
|
|
591
591
|
* @codegenId text
|
|
592
592
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
593
593
|
* @codegenDependency ../../../primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "17.1.
|
|
3
|
+
"version": "17.1.1",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"@atlaskit/css": "^0.19.0",
|
|
138
138
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
139
139
|
"@atlaskit/interaction-context": "^3.1.0",
|
|
140
|
-
"@atlaskit/tokens": "^
|
|
140
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
141
141
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
142
142
|
"@babel/runtime": "^7.0.0",
|
|
143
143
|
"@compiled/react": "^0.18.6",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"@atlaskit/button": "^23.9.0",
|
|
159
159
|
"@atlaskit/checkbox": "^17.3.0",
|
|
160
160
|
"@atlaskit/code": "^17.4.0",
|
|
161
|
-
"@atlaskit/docs": "^11.
|
|
161
|
+
"@atlaskit/docs": "^11.3.0",
|
|
162
162
|
"@atlaskit/dropdown-menu": "^16.4.0",
|
|
163
163
|
"@atlaskit/flag": "^17.8.0",
|
|
164
164
|
"@atlaskit/form": "^15.3.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import format from '@af/formatting/sync';
|
|
2
|
-
import {
|
|
2
|
+
import { typography as tokens } from '@atlaskit/tokens/tokens-raw';
|
|
3
3
|
|
|
4
4
|
import { capitalize, constructTokenFunctionCall, generateTypeDefs } from './utils';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import format from '@af/formatting/sync';
|
|
2
|
-
import {
|
|
2
|
+
import { typography as tokens } from '@atlaskit/tokens/tokens-raw';
|
|
3
3
|
|
|
4
4
|
import { capitalize, constructTokenFunctionCall, generateTypeDefs } from './utils';
|
|
5
5
|
|