@atlaskit/primitives 2.0.2 → 2.0.3
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 +7 -0
- package/constellation/overview/index.mdx +1 -1
- package/dist/cjs/xcss/style-maps.partial.js +3 -2
- package/dist/es2019/xcss/style-maps.partial.js +3 -2
- package/dist/esm/xcss/style-maps.partial.js +3 -2
- package/dist/types/xcss/style-maps.partial.d.ts +3 -2
- package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 2.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#74836](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74836) [`3963062ac997`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3963062ac997) - Codegen to add in new font family tokens. Not exposed in any components.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 2.0.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -67,7 +67,7 @@ The behavior within and around these boxes can then be broken down into their ho
|
|
|
67
67
|
|
|
68
68
|
<SectionMessage>
|
|
69
69
|
The ESLint rule{' '}
|
|
70
|
-
<a href="/components/eslint-plugin-design-system/
|
|
70
|
+
<a href="/components/eslint-plugin-design-system/use-primitives">
|
|
71
71
|
use-primitives
|
|
72
72
|
</a>{' '}
|
|
73
73
|
offers suggestions for possible primitives to apply in a layout.
|
|
@@ -496,7 +496,7 @@ var borderRadiusMap = exports.borderRadiusMap = {
|
|
|
496
496
|
|
|
497
497
|
/**
|
|
498
498
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
499
|
-
* @codegen <<SignedSource::
|
|
499
|
+
* @codegen <<SignedSource::aa70005b608c537f3d255a4a7f631198>>
|
|
500
500
|
* @codegenId typography
|
|
501
501
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
502
502
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight", "body", "ui"]
|
|
@@ -521,7 +521,8 @@ var fontWeightMap = exports.fontWeightMap = {
|
|
|
521
521
|
};
|
|
522
522
|
var fontFamilyMap = exports.fontFamilyMap = {
|
|
523
523
|
'font.family.body': "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
524
|
-
'font.family.brand': "var(--ds-font-family-brand, Charlie
|
|
524
|
+
'font.family.brand.body': "var(--ds-font-family-brand-body, \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
525
|
+
'font.family.brand.heading': "var(--ds-font-family-brand-heading, \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
525
526
|
'font.family.code': "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
526
527
|
'font.family.heading': "var(--ds-font-family-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
527
528
|
'font.family.monospace': "var(--ds-font-family-monospace, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
@@ -484,7 +484,7 @@ export const borderRadiusMap = {
|
|
|
484
484
|
*/
|
|
485
485
|
/**
|
|
486
486
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
487
|
-
* @codegen <<SignedSource::
|
|
487
|
+
* @codegen <<SignedSource::aa70005b608c537f3d255a4a7f631198>>
|
|
488
488
|
* @codegenId typography
|
|
489
489
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
490
490
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight", "body", "ui"]
|
|
@@ -509,7 +509,8 @@ export const fontWeightMap = {
|
|
|
509
509
|
};
|
|
510
510
|
export const fontFamilyMap = {
|
|
511
511
|
'font.family.body': "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
512
|
-
'font.family.brand': "var(--ds-font-family-brand, Charlie
|
|
512
|
+
'font.family.brand.body': "var(--ds-font-family-brand-body, \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
513
|
+
'font.family.brand.heading': "var(--ds-font-family-brand-heading, \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
513
514
|
'font.family.code': "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
514
515
|
'font.family.heading': "var(--ds-font-family-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
515
516
|
'font.family.monospace': "var(--ds-font-family-monospace, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
@@ -484,7 +484,7 @@ export var borderRadiusMap = {
|
|
|
484
484
|
*/
|
|
485
485
|
/**
|
|
486
486
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
487
|
-
* @codegen <<SignedSource::
|
|
487
|
+
* @codegen <<SignedSource::aa70005b608c537f3d255a4a7f631198>>
|
|
488
488
|
* @codegenId typography
|
|
489
489
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
490
490
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight", "body", "ui"]
|
|
@@ -509,7 +509,8 @@ export var fontWeightMap = {
|
|
|
509
509
|
};
|
|
510
510
|
export var fontFamilyMap = {
|
|
511
511
|
'font.family.body': "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
512
|
-
'font.family.brand': "var(--ds-font-family-brand, Charlie
|
|
512
|
+
'font.family.brand.body': "var(--ds-font-family-brand-body, \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
513
|
+
'font.family.brand.heading': "var(--ds-font-family-brand-heading, \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
513
514
|
'font.family.code': "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
514
515
|
'font.family.heading': "var(--ds-font-family-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
515
516
|
'font.family.monospace': "var(--ds-font-family-monospace, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
@@ -515,7 +515,7 @@ export type BorderRadius = keyof typeof 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::aa70005b608c537f3d255a4a7f631198>>
|
|
519
519
|
* @codegenId typography
|
|
520
520
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
521
521
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight", "body", "ui"]
|
|
@@ -542,7 +542,8 @@ export declare const fontWeightMap: {
|
|
|
542
542
|
export type FontWeight = keyof typeof fontWeightMap;
|
|
543
543
|
export declare const fontFamilyMap: {
|
|
544
544
|
'font.family.body': "var(--ds-font-family-body)";
|
|
545
|
-
'font.family.brand': "var(--ds-font-family-brand)";
|
|
545
|
+
'font.family.brand.body': "var(--ds-font-family-brand-body)";
|
|
546
|
+
'font.family.brand.heading': "var(--ds-font-family-brand-heading)";
|
|
546
547
|
'font.family.code': "var(--ds-font-family-code)";
|
|
547
548
|
'font.family.heading': "var(--ds-font-family-heading)";
|
|
548
549
|
'font.family.monospace': "var(--ds-font-family-monospace)";
|
|
@@ -515,7 +515,7 @@ export type BorderRadius = keyof typeof 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::aa70005b608c537f3d255a4a7f631198>>
|
|
519
519
|
* @codegenId typography
|
|
520
520
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
521
521
|
* @codegenParams ["fontSize", "fontWeight", "fontFamily", "lineHeight", "body", "ui"]
|
|
@@ -542,7 +542,8 @@ export declare const fontWeightMap: {
|
|
|
542
542
|
export type FontWeight = keyof typeof fontWeightMap;
|
|
543
543
|
export declare const fontFamilyMap: {
|
|
544
544
|
'font.family.body': "var(--ds-font-family-body)";
|
|
545
|
-
'font.family.brand': "var(--ds-font-family-brand)";
|
|
545
|
+
'font.family.brand.body': "var(--ds-font-family-brand-body)";
|
|
546
|
+
'font.family.brand.heading': "var(--ds-font-family-brand-heading)";
|
|
546
547
|
'font.family.code': "var(--ds-font-family-code)";
|
|
547
548
|
'font.family.heading': "var(--ds-font-family-heading)";
|
|
548
549
|
'font.family.monospace': "var(--ds-font-family-monospace)";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"@atlaskit/app-provider": "^1.0.0",
|
|
108
|
-
"@atlaskit/tokens": "^1.
|
|
108
|
+
"@atlaskit/tokens": "^1.38.0",
|
|
109
109
|
"@babel/runtime": "^7.0.0",
|
|
110
110
|
"@emotion/react": "^11.7.1",
|
|
111
111
|
"@emotion/serialize": "^1.1.0",
|