@atlaskit/primitives 17.1.0 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -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 +321 -320
- 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 +321 -320
- 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 +321 -320
- package/dist/types/xcss/style-maps.partial.d.ts +12 -12
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +12 -12
- package/package.json +5 -5
- package/scripts/color-codegen-template.tsx +5 -8
- package/scripts/elevation-codegen-template.tsx +5 -8
- package/scripts/text-codegen-template.tsx +2 -2
- package/scripts/typography-codegen-template.tsx +7 -4
|
@@ -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.1",
|
|
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.1",
|
|
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.1",
|
|
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.1",
|
|
90
90
|
analyticsData: analyticsContext,
|
|
91
91
|
actionSubject: 'button'
|
|
92
92
|
});
|