@atlaskit/forge-react-types 0.56.2 → 0.57.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 +7 -0
- package/dist/cjs/components/__generated__/AtlassianTileProps.codegen.js +5 -0
- package/dist/cjs/components/__generated__/tokens.codegen.js +34 -33
- package/dist/es2019/components/__generated__/AtlassianTileProps.codegen.js +1 -0
- package/dist/es2019/components/__generated__/tokens.codegen.js +34 -33
- package/dist/esm/components/__generated__/AtlassianTileProps.codegen.js +1 -0
- package/dist/esm/components/__generated__/tokens.codegen.js +34 -33
- package/dist/types/components/__generated__/AtlassianTileProps.codegen.d.ts +50 -0
- package/dist/types/components/__generated__/index.d.ts +1 -0
- package/dist/types/components/__generated__/tokens.codegen.d.ts +6 -6
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/components/__generated__/AtlassianTileProps.codegen.d.ts +50 -0
- package/dist/types-ts4.5/components/__generated__/index.d.ts +1 -0
- package/dist/types-ts4.5/components/__generated__/tokens.codegen.d.ts +6 -6
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/components/__generated__/AtlassianTileProps.codegen.tsx +55 -0
- package/src/components/__generated__/index.ts +1 -0
- package/src/components/__generated__/tokens.codegen.tsx +34 -33
- package/src/index.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -16,9 +16,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
*
|
|
17
17
|
* Shared tokens file for UI Kit components. Contains design token maps for xcss support. Source: `packages/forge/forge-ui/src/components/UIKit/tokens.partial.tsx`
|
|
18
18
|
*
|
|
19
|
-
* @codegen <<SignedSource::
|
|
19
|
+
* @codegen <<SignedSource::33ae3cd474ec98484f2403079ac6bcab>>
|
|
20
20
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
21
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::
|
|
21
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::34ba5fed5a73ed69de68004bceafe652>>
|
|
22
22
|
*/ /* eslint-disable @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766 */ /* eslint-disable @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766 */ /**
|
|
23
23
|
* Token maps and utilities for Forge UI Kit
|
|
24
24
|
*
|
|
@@ -30,14 +30,14 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
30
30
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
31
31
|
/**
|
|
32
32
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
33
|
-
* @codegen <<SignedSource::
|
|
33
|
+
* @codegen <<SignedSource::ecfd4e431024c4f6fca22ac357edbfef>>
|
|
34
34
|
* @codegenId forge-tokens
|
|
35
35
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
36
36
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
37
37
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
38
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
39
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
40
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
38
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::38a7d4716f6999a6bdda9e4fe2bca6a1>>
|
|
39
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::535518e7add48ef24f526d0904f70060>>
|
|
40
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::8817f4073995e5dc9c2bb766316632d6>>
|
|
41
41
|
*/
|
|
42
42
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
43
43
|
var dimensionMap = exports.dimensionMap = {
|
|
@@ -441,51 +441,52 @@ var layerMap = exports.layerMap = {
|
|
|
441
441
|
tooltip: 800
|
|
442
442
|
};
|
|
443
443
|
var fontMap = exports.fontMap = {
|
|
444
|
-
'font.body': "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
445
|
-
|
|
446
|
-
'font.body.
|
|
447
|
-
'font.body.
|
|
448
|
-
'font.
|
|
449
|
-
'font.
|
|
450
|
-
'font.heading.
|
|
451
|
-
'font.heading.
|
|
452
|
-
'font.heading.
|
|
453
|
-
'font.heading.
|
|
454
|
-
'font.heading.
|
|
455
|
-
'font.heading.
|
|
456
|
-
'font.
|
|
457
|
-
'font.metric.
|
|
458
|
-
'font.metric.
|
|
444
|
+
'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)",
|
|
445
|
+
// @deprecated
|
|
446
|
+
'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)",
|
|
447
|
+
'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)",
|
|
448
|
+
'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)",
|
|
449
|
+
'font.code': "var(--ds-font-code, normal 400 0.875em/1 \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
450
|
+
'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)",
|
|
451
|
+
'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)",
|
|
452
|
+
'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)",
|
|
453
|
+
'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)",
|
|
454
|
+
'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)",
|
|
455
|
+
'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)",
|
|
456
|
+
'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)",
|
|
457
|
+
'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)",
|
|
458
|
+
'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)",
|
|
459
|
+
'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)"
|
|
459
460
|
};
|
|
460
461
|
var fontWeightMap = exports.fontWeightMap = {
|
|
461
|
-
'font.weight.bold': "var(--ds-font-weight-bold,
|
|
462
|
+
'font.weight.bold': "var(--ds-font-weight-bold, 653)",
|
|
462
463
|
'font.weight.medium': "var(--ds-font-weight-medium, 500)",
|
|
463
464
|
'font.weight.regular': "var(--ds-font-weight-regular, 400)",
|
|
464
465
|
'font.weight.semibold': "var(--ds-font-weight-semibold, 600)"
|
|
465
466
|
};
|
|
466
467
|
var fontFamilyMap = exports.fontFamilyMap = {
|
|
467
|
-
'font.family.body': "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
468
|
+
'font.family.body': "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
468
469
|
'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)",
|
|
469
470
|
'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)",
|
|
470
|
-
'font.family.code': "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
471
|
-
'font.family.heading': "var(--ds-font-family-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
471
|
+
'font.family.code': "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
472
|
+
'font.family.heading': "var(--ds-font-family-heading, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
472
473
|
};
|
|
473
474
|
var textSizeMap = exports.textSizeMap = {
|
|
474
|
-
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
475
|
-
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)",
|
|
476
|
-
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
477
|
-
small: "var(--ds-font-body-small, normal 400
|
|
475
|
+
medium: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
476
|
+
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)",
|
|
477
|
+
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)",
|
|
478
|
+
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)"
|
|
478
479
|
};
|
|
479
480
|
var textWeightMap = exports.textWeightMap = {
|
|
480
|
-
bold: "var(--ds-font-weight-bold,
|
|
481
|
+
bold: "var(--ds-font-weight-bold, 653)",
|
|
481
482
|
medium: "var(--ds-font-weight-medium, 500)",
|
|
482
483
|
regular: "var(--ds-font-weight-regular, 400)",
|
|
483
484
|
semibold: "var(--ds-font-weight-semibold, 600)"
|
|
484
485
|
};
|
|
485
486
|
var metricTextSizeMap = exports.metricTextSizeMap = {
|
|
486
|
-
large: "var(--ds-font-metric-large, normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
487
|
-
medium: "var(--ds-font-metric-medium, normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
488
|
-
small: "var(--ds-font-metric-small, normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
487
|
+
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)",
|
|
488
|
+
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)",
|
|
489
|
+
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)"
|
|
489
490
|
};
|
|
490
491
|
/**
|
|
491
492
|
* @codegenEnd
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shared tokens file for UI Kit components. Contains design token maps for xcss support. Source: `packages/forge/forge-ui/src/components/UIKit/tokens.partial.tsx`
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::33ae3cd474ec98484f2403079ac6bcab>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::34ba5fed5a73ed69de68004bceafe652>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766 */
|
|
11
11
|
/* eslint-disable @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766 */
|
|
@@ -25,14 +25,14 @@ import { CURRENT_SURFACE_CSS_VAR } from '@atlaskit/tokens';
|
|
|
25
25
|
import { css } from '@emotion/react';
|
|
26
26
|
/**
|
|
27
27
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
28
|
-
* @codegen <<SignedSource::
|
|
28
|
+
* @codegen <<SignedSource::ecfd4e431024c4f6fca22ac357edbfef>>
|
|
29
29
|
* @codegenId forge-tokens
|
|
30
30
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
31
31
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
32
32
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
33
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
34
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
35
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
33
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::38a7d4716f6999a6bdda9e4fe2bca6a1>>
|
|
34
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::535518e7add48ef24f526d0904f70060>>
|
|
35
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::8817f4073995e5dc9c2bb766316632d6>>
|
|
36
36
|
*/
|
|
37
37
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
38
38
|
export const dimensionMap = {
|
|
@@ -439,51 +439,52 @@ export const layerMap = {
|
|
|
439
439
|
tooltip: 800
|
|
440
440
|
};
|
|
441
441
|
export const fontMap = {
|
|
442
|
-
'font.body': "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
443
|
-
|
|
444
|
-
'font.body.
|
|
445
|
-
'font.body.
|
|
446
|
-
'font.
|
|
447
|
-
'font.
|
|
448
|
-
'font.heading.
|
|
449
|
-
'font.heading.
|
|
450
|
-
'font.heading.
|
|
451
|
-
'font.heading.
|
|
452
|
-
'font.heading.
|
|
453
|
-
'font.heading.
|
|
454
|
-
'font.
|
|
455
|
-
'font.metric.
|
|
456
|
-
'font.metric.
|
|
442
|
+
'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)",
|
|
443
|
+
// @deprecated
|
|
444
|
+
'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)",
|
|
445
|
+
'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)",
|
|
446
|
+
'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)",
|
|
447
|
+
'font.code': "var(--ds-font-code, normal 400 0.875em/1 \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
448
|
+
'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)",
|
|
449
|
+
'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)",
|
|
450
|
+
'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)",
|
|
451
|
+
'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)",
|
|
452
|
+
'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)",
|
|
453
|
+
'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)",
|
|
454
|
+
'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)",
|
|
455
|
+
'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)",
|
|
456
|
+
'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)",
|
|
457
|
+
'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)"
|
|
457
458
|
};
|
|
458
459
|
export const fontWeightMap = {
|
|
459
|
-
'font.weight.bold': "var(--ds-font-weight-bold,
|
|
460
|
+
'font.weight.bold': "var(--ds-font-weight-bold, 653)",
|
|
460
461
|
'font.weight.medium': "var(--ds-font-weight-medium, 500)",
|
|
461
462
|
'font.weight.regular': "var(--ds-font-weight-regular, 400)",
|
|
462
463
|
'font.weight.semibold': "var(--ds-font-weight-semibold, 600)"
|
|
463
464
|
};
|
|
464
465
|
export const fontFamilyMap = {
|
|
465
|
-
'font.family.body': "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
466
|
+
'font.family.body': "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
466
467
|
'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)",
|
|
467
468
|
'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)",
|
|
468
|
-
'font.family.code': "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
469
|
-
'font.family.heading': "var(--ds-font-family-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
469
|
+
'font.family.code': "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
470
|
+
'font.family.heading': "var(--ds-font-family-heading, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
470
471
|
};
|
|
471
472
|
export const textSizeMap = {
|
|
472
|
-
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
473
|
-
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)",
|
|
474
|
-
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
475
|
-
small: "var(--ds-font-body-small, normal 400
|
|
473
|
+
medium: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
474
|
+
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)",
|
|
475
|
+
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)",
|
|
476
|
+
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)"
|
|
476
477
|
};
|
|
477
478
|
export const textWeightMap = {
|
|
478
|
-
bold: "var(--ds-font-weight-bold,
|
|
479
|
+
bold: "var(--ds-font-weight-bold, 653)",
|
|
479
480
|
medium: "var(--ds-font-weight-medium, 500)",
|
|
480
481
|
regular: "var(--ds-font-weight-regular, 400)",
|
|
481
482
|
semibold: "var(--ds-font-weight-semibold, 600)"
|
|
482
483
|
};
|
|
483
484
|
export const metricTextSizeMap = {
|
|
484
|
-
large: "var(--ds-font-metric-large, normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
485
|
-
medium: "var(--ds-font-metric-medium, normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
486
|
-
small: "var(--ds-font-metric-small, normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
485
|
+
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)",
|
|
486
|
+
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)",
|
|
487
|
+
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)"
|
|
487
488
|
};
|
|
488
489
|
/**
|
|
489
490
|
* @codegenEnd
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,9 +8,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
*
|
|
9
9
|
* Shared tokens file for UI Kit components. Contains design token maps for xcss support. Source: `packages/forge/forge-ui/src/components/UIKit/tokens.partial.tsx`
|
|
10
10
|
*
|
|
11
|
-
* @codegen <<SignedSource::
|
|
11
|
+
* @codegen <<SignedSource::33ae3cd474ec98484f2403079ac6bcab>>
|
|
12
12
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
13
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::
|
|
13
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::34ba5fed5a73ed69de68004bceafe652>>
|
|
14
14
|
*/
|
|
15
15
|
/* eslint-disable @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766 */
|
|
16
16
|
/* eslint-disable @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766 */
|
|
@@ -30,14 +30,14 @@ import { CURRENT_SURFACE_CSS_VAR } from '@atlaskit/tokens';
|
|
|
30
30
|
import { css } from '@emotion/react';
|
|
31
31
|
/**
|
|
32
32
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
33
|
-
* @codegen <<SignedSource::
|
|
33
|
+
* @codegen <<SignedSource::ecfd4e431024c4f6fca22ac357edbfef>>
|
|
34
34
|
* @codegenId forge-tokens
|
|
35
35
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
36
36
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
37
37
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
38
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
39
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
40
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
38
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::38a7d4716f6999a6bdda9e4fe2bca6a1>>
|
|
39
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::535518e7add48ef24f526d0904f70060>>
|
|
40
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::8817f4073995e5dc9c2bb766316632d6>>
|
|
41
41
|
*/
|
|
42
42
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
43
43
|
export var dimensionMap = {
|
|
@@ -441,51 +441,52 @@ export var layerMap = {
|
|
|
441
441
|
tooltip: 800
|
|
442
442
|
};
|
|
443
443
|
export var fontMap = {
|
|
444
|
-
'font.body': "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
445
|
-
|
|
446
|
-
'font.body.
|
|
447
|
-
'font.body.
|
|
448
|
-
'font.
|
|
449
|
-
'font.
|
|
450
|
-
'font.heading.
|
|
451
|
-
'font.heading.
|
|
452
|
-
'font.heading.
|
|
453
|
-
'font.heading.
|
|
454
|
-
'font.heading.
|
|
455
|
-
'font.heading.
|
|
456
|
-
'font.
|
|
457
|
-
'font.metric.
|
|
458
|
-
'font.metric.
|
|
444
|
+
'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)",
|
|
445
|
+
// @deprecated
|
|
446
|
+
'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)",
|
|
447
|
+
'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)",
|
|
448
|
+
'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)",
|
|
449
|
+
'font.code': "var(--ds-font-code, normal 400 0.875em/1 \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
450
|
+
'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)",
|
|
451
|
+
'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)",
|
|
452
|
+
'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)",
|
|
453
|
+
'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)",
|
|
454
|
+
'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)",
|
|
455
|
+
'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)",
|
|
456
|
+
'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)",
|
|
457
|
+
'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)",
|
|
458
|
+
'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)",
|
|
459
|
+
'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)"
|
|
459
460
|
};
|
|
460
461
|
export var fontWeightMap = {
|
|
461
|
-
'font.weight.bold': "var(--ds-font-weight-bold,
|
|
462
|
+
'font.weight.bold': "var(--ds-font-weight-bold, 653)",
|
|
462
463
|
'font.weight.medium': "var(--ds-font-weight-medium, 500)",
|
|
463
464
|
'font.weight.regular': "var(--ds-font-weight-regular, 400)",
|
|
464
465
|
'font.weight.semibold': "var(--ds-font-weight-semibold, 600)"
|
|
465
466
|
};
|
|
466
467
|
export var fontFamilyMap = {
|
|
467
|
-
'font.family.body': "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
468
|
+
'font.family.body': "var(--ds-font-family-body, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
468
469
|
'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)",
|
|
469
470
|
'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)",
|
|
470
|
-
'font.family.code': "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
471
|
-
'font.family.heading': "var(--ds-font-family-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
471
|
+
'font.family.code': "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
472
|
+
'font.family.heading': "var(--ds-font-family-heading, \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
472
473
|
};
|
|
473
474
|
export var textSizeMap = {
|
|
474
|
-
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
475
|
-
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)",
|
|
476
|
-
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
477
|
-
small: "var(--ds-font-body-small, normal 400
|
|
475
|
+
medium: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
476
|
+
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)",
|
|
477
|
+
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)",
|
|
478
|
+
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)"
|
|
478
479
|
};
|
|
479
480
|
export var textWeightMap = {
|
|
480
|
-
bold: "var(--ds-font-weight-bold,
|
|
481
|
+
bold: "var(--ds-font-weight-bold, 653)",
|
|
481
482
|
medium: "var(--ds-font-weight-medium, 500)",
|
|
482
483
|
regular: "var(--ds-font-weight-regular, 400)",
|
|
483
484
|
semibold: "var(--ds-font-weight-semibold, 600)"
|
|
484
485
|
};
|
|
485
486
|
export var metricTextSizeMap = {
|
|
486
|
-
large: "var(--ds-font-metric-large, normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
487
|
-
medium: "var(--ds-font-metric-medium, normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
488
|
-
small: "var(--ds-font-metric-small, normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
487
|
+
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)",
|
|
488
|
+
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)",
|
|
489
|
+
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)"
|
|
489
490
|
};
|
|
490
491
|
/**
|
|
491
492
|
* @codegenEnd
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Extract component prop types from UIKit 2 components - AtlassianTileProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::72d1a34de22236fe9bf5d05c4a0550ac>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/atlassiantile/index.tsx <<SignedSource::6d88e2452b049891f2c2b42f6f3035c6>>
|
|
9
|
+
*/
|
|
10
|
+
import type { ObjectTileSize } from '@atlaskit/object';
|
|
11
|
+
export type AtlassianTileType = 'blog' | 'branch' | 'bug' | 'calendar' | 'changes' | 'code' | 'commit' | 'database' | 'epic' | 'idea' | 'improvement' | 'incident' | 'new-feature' | 'page' | 'page-live-doc' | 'problem' | 'pull-request' | 'question' | 'story' | 'subtask' | 'task' | 'whiteboard' | 'work-item';
|
|
12
|
+
export type AtlassianTileProps = {
|
|
13
|
+
/**
|
|
14
|
+
* The glyph type of AtlassianTile to render. This will automatically set the color.
|
|
15
|
+
* Available options are derived from @atlaskit/object metadata and will
|
|
16
|
+
* automatically include any new object types added to the design system.
|
|
17
|
+
*/
|
|
18
|
+
glyph: AtlassianTileType;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the AtlassianTile should be bold in appearance.
|
|
21
|
+
* Defaults to `false`.
|
|
22
|
+
*/
|
|
23
|
+
isBold?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The label for the AtlassianTile. If decorative, set to empty string.
|
|
26
|
+
* Defaults to a human-readable version of the icon type.
|
|
27
|
+
*/
|
|
28
|
+
label?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The size of the tile.
|
|
31
|
+
* - `xsmall`: 20px
|
|
32
|
+
* - `small`: 24px
|
|
33
|
+
* - `medium`: 32px
|
|
34
|
+
* - `large`: 40px
|
|
35
|
+
* - `xlarge`: 48px
|
|
36
|
+
* Defaults to `medium`.
|
|
37
|
+
*/
|
|
38
|
+
size?: ObjectTileSize;
|
|
39
|
+
/**
|
|
40
|
+
* Test ID for testing
|
|
41
|
+
*/
|
|
42
|
+
testId?: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* An AtlassianTile is an icon that represents an Atlassian-specific content type, displayed in a tile.
|
|
46
|
+
* The glyph prop automatically sets the color for the object.
|
|
47
|
+
*
|
|
48
|
+
* @see [AtlassianTile](https://developer.atlassian.com/platform/forge/ui-kit/components/atlassian-tile/) in UI Kit documentation for more information
|
|
49
|
+
*/
|
|
50
|
+
export type TAtlassianTile<T> = (props: AtlassianTileProps) => T;
|
|
@@ -62,6 +62,7 @@ export type { ValidMessageProps, TValidMessage } from './ValidMessageProps.codeg
|
|
|
62
62
|
export type { PopupProps, TPopup } from './PopupProps.codegen';
|
|
63
63
|
export type { AdfRendererProps, TAdfRenderer } from './AdfRendererProps.codegen';
|
|
64
64
|
export type { FilePickerProps, TFilePicker } from './FilePickerProps.codegen';
|
|
65
|
+
export type { AtlassianTileProps, TAtlassianTile } from './AtlassianTileProps.codegen';
|
|
65
66
|
import type { TextProps as OriginalTextProps } from './TextProps.codegen';
|
|
66
67
|
export type TextProps = Omit<OriginalTextProps, 'as'> & {
|
|
67
68
|
as?: OriginalTextProps['as'] | 'strike';
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shared tokens file for UI Kit components. Contains design token maps for xcss support. Source: `packages/forge/forge-ui/src/components/UIKit/tokens.partial.tsx`
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::33ae3cd474ec98484f2403079ac6bcab>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::34ba5fed5a73ed69de68004bceafe652>>
|
|
9
9
|
*/
|
|
10
10
|
import type { SerializedStyles } from '@emotion/serialize';
|
|
11
11
|
/**
|
|
12
12
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
13
|
-
* @codegen <<SignedSource::
|
|
13
|
+
* @codegen <<SignedSource::ecfd4e431024c4f6fca22ac357edbfef>>
|
|
14
14
|
* @codegenId forge-tokens
|
|
15
15
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
16
16
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
17
17
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
18
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
19
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
20
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
18
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::38a7d4716f6999a6bdda9e4fe2bca6a1>>
|
|
19
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::535518e7add48ef24f526d0904f70060>>
|
|
20
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::8817f4073995e5dc9c2bb766316632d6>>
|
|
21
21
|
*/
|
|
22
22
|
export declare const dimensionMap: {
|
|
23
23
|
readonly '100%': "100%";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AdfRendererProps, BadgeProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, CommentProps, DatePickerProps, DynamicTableProps, EmptyStateProps, ErrorMessageProps, FlexProps, FormFooterProps, FormHeaderProps, FormProps, FormSectionProps, GridProps, HeadingProps, HelperMessageProps, IconProps, InlineProps, LabelProps, LinkButtonProps, ListProps, ListItemProps, LoadingButtonProps, LozengeProps, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, ModalTitleProps, ModalTransitionProps, ProgressBarProps, ProgressTrackerProps, RadioGroupProps, RadioProps, RangeProps, SectionMessageActionProps, SectionMessageProps, SelectProps, SpinnerProps, StackProps, TabListProps, TabPanelProps, TabProps, TabsProps, TagGroupProps, TagProps, TextProps, TextAreaProps, TextfieldProps, TileProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, PressableProps, TBadge, TBox, TButtonGroup, TButton, TCalendar, TCheckbox, TCheckboxGroup, TCodeBlock, TCode, TComment, TDatePicker, TDynamicTable, TEmptyState, TErrorMessage, TFileCard, TFlex, TFormFooter, TFormHeader, TForm, TFormSection, TGrid, THeading, THelperMessage, TIcon, TInline, TInlineEdit, TLabel, TLinkButton, TList, TListItem, TLoadingButton, TLozenge, TModalBody, TModalFooter, TModalHeader, TModal, TModalTitle, TModalTransition, TProgressBar, TProgressTracker, TRadioGroup, TRadio, TRange, TSectionMessageAction, TSectionMessage, TSelect, TSpinner, TStack, TTabList, TTabPanel, TTab, TTabs, TTagGroup, TTag, TTextArea, TTextfield, TTimePicker, TToggle, TTooltip, TValidMessage, TPopup, TAdfRenderer, TText, TPressable, TFilePicker, TTile, } from './components/__generated__';
|
|
1
|
+
export type { AdfRendererProps, AtlassianTileProps, BadgeProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, CommentProps, DatePickerProps, DynamicTableProps, EmptyStateProps, ErrorMessageProps, FlexProps, FormFooterProps, FormHeaderProps, FormProps, FormSectionProps, GridProps, HeadingProps, HelperMessageProps, IconProps, InlineProps, LabelProps, LinkButtonProps, ListProps, ListItemProps, LoadingButtonProps, LozengeProps, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, ModalTitleProps, ModalTransitionProps, ProgressBarProps, ProgressTrackerProps, RadioGroupProps, RadioProps, RangeProps, SectionMessageActionProps, SectionMessageProps, SelectProps, SpinnerProps, StackProps, TabListProps, TabPanelProps, TabProps, TabsProps, TagGroupProps, TagProps, TextProps, TextAreaProps, TextfieldProps, TileProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, PressableProps, TBadge, TBox, TButtonGroup, TButton, TCalendar, TCheckbox, TCheckboxGroup, TCodeBlock, TCode, TComment, TDatePicker, TDynamicTable, TEmptyState, TErrorMessage, TFileCard, TFlex, TFormFooter, TFormHeader, TForm, TFormSection, TGrid, THeading, THelperMessage, TIcon, TInline, TInlineEdit, TLabel, TLinkButton, TList, TListItem, TLoadingButton, TLozenge, TModalBody, TModalFooter, TModalHeader, TModal, TModalTitle, TModalTransition, TProgressBar, TProgressTracker, TRadioGroup, TRadio, TRange, TSectionMessageAction, TSectionMessage, TSelect, TSpinner, TStack, TTabList, TTabPanel, TTab, TTabs, TTagGroup, TTag, TTextArea, TTextfield, TTimePicker, TToggle, TTooltip, TValidMessage, TPopup, TAdfRenderer, TText, TPressable, TFilePicker, TTile, TAtlassianTile, } from './components/__generated__';
|
|
2
2
|
export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, DonutChartProps, PieChartProps, TBarChart, TStackBarChart, THorizontalStackBarChart, THorizontalBarChart, TLineChart, TDonutChart, TPieChart, } from './components/charts';
|
|
3
3
|
export type { ChromelessEditorProps, CommentEditorProps, TChromelessEditor, TCommentEditor, } from './components/editor';
|
|
4
4
|
export type { ChartColorTokens } from './types';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Extract component prop types from UIKit 2 components - AtlassianTileProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::72d1a34de22236fe9bf5d05c4a0550ac>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/atlassiantile/index.tsx <<SignedSource::6d88e2452b049891f2c2b42f6f3035c6>>
|
|
9
|
+
*/
|
|
10
|
+
import type { ObjectTileSize } from '@atlaskit/object';
|
|
11
|
+
export type AtlassianTileType = 'blog' | 'branch' | 'bug' | 'calendar' | 'changes' | 'code' | 'commit' | 'database' | 'epic' | 'idea' | 'improvement' | 'incident' | 'new-feature' | 'page' | 'page-live-doc' | 'problem' | 'pull-request' | 'question' | 'story' | 'subtask' | 'task' | 'whiteboard' | 'work-item';
|
|
12
|
+
export type AtlassianTileProps = {
|
|
13
|
+
/**
|
|
14
|
+
* The glyph type of AtlassianTile to render. This will automatically set the color.
|
|
15
|
+
* Available options are derived from @atlaskit/object metadata and will
|
|
16
|
+
* automatically include any new object types added to the design system.
|
|
17
|
+
*/
|
|
18
|
+
glyph: AtlassianTileType;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the AtlassianTile should be bold in appearance.
|
|
21
|
+
* Defaults to `false`.
|
|
22
|
+
*/
|
|
23
|
+
isBold?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The label for the AtlassianTile. If decorative, set to empty string.
|
|
26
|
+
* Defaults to a human-readable version of the icon type.
|
|
27
|
+
*/
|
|
28
|
+
label?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The size of the tile.
|
|
31
|
+
* - `xsmall`: 20px
|
|
32
|
+
* - `small`: 24px
|
|
33
|
+
* - `medium`: 32px
|
|
34
|
+
* - `large`: 40px
|
|
35
|
+
* - `xlarge`: 48px
|
|
36
|
+
* Defaults to `medium`.
|
|
37
|
+
*/
|
|
38
|
+
size?: ObjectTileSize;
|
|
39
|
+
/**
|
|
40
|
+
* Test ID for testing
|
|
41
|
+
*/
|
|
42
|
+
testId?: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* An AtlassianTile is an icon that represents an Atlassian-specific content type, displayed in a tile.
|
|
46
|
+
* The glyph prop automatically sets the color for the object.
|
|
47
|
+
*
|
|
48
|
+
* @see [AtlassianTile](https://developer.atlassian.com/platform/forge/ui-kit/components/atlassian-tile/) in UI Kit documentation for more information
|
|
49
|
+
*/
|
|
50
|
+
export type TAtlassianTile<T> = (props: AtlassianTileProps) => T;
|
|
@@ -62,6 +62,7 @@ export type { ValidMessageProps, TValidMessage } from './ValidMessageProps.codeg
|
|
|
62
62
|
export type { PopupProps, TPopup } from './PopupProps.codegen';
|
|
63
63
|
export type { AdfRendererProps, TAdfRenderer } from './AdfRendererProps.codegen';
|
|
64
64
|
export type { FilePickerProps, TFilePicker } from './FilePickerProps.codegen';
|
|
65
|
+
export type { AtlassianTileProps, TAtlassianTile } from './AtlassianTileProps.codegen';
|
|
65
66
|
import type { TextProps as OriginalTextProps } from './TextProps.codegen';
|
|
66
67
|
export type TextProps = Omit<OriginalTextProps, 'as'> & {
|
|
67
68
|
as?: OriginalTextProps['as'] | 'strike';
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shared tokens file for UI Kit components. Contains design token maps for xcss support. Source: `packages/forge/forge-ui/src/components/UIKit/tokens.partial.tsx`
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::33ae3cd474ec98484f2403079ac6bcab>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::34ba5fed5a73ed69de68004bceafe652>>
|
|
9
9
|
*/
|
|
10
10
|
import type { SerializedStyles } from '@emotion/serialize';
|
|
11
11
|
/**
|
|
12
12
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
13
|
-
* @codegen <<SignedSource::
|
|
13
|
+
* @codegen <<SignedSource::ecfd4e431024c4f6fca22ac357edbfef>>
|
|
14
14
|
* @codegenId forge-tokens
|
|
15
15
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
16
16
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
17
17
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
18
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
19
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
20
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
18
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::38a7d4716f6999a6bdda9e4fe2bca6a1>>
|
|
19
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::535518e7add48ef24f526d0904f70060>>
|
|
20
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::8817f4073995e5dc9c2bb766316632d6>>
|
|
21
21
|
*/
|
|
22
22
|
export declare const dimensionMap: {
|
|
23
23
|
readonly '100%': "100%";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AdfRendererProps, BadgeProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, CommentProps, DatePickerProps, DynamicTableProps, EmptyStateProps, ErrorMessageProps, FlexProps, FormFooterProps, FormHeaderProps, FormProps, FormSectionProps, GridProps, HeadingProps, HelperMessageProps, IconProps, InlineProps, LabelProps, LinkButtonProps, ListProps, ListItemProps, LoadingButtonProps, LozengeProps, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, ModalTitleProps, ModalTransitionProps, ProgressBarProps, ProgressTrackerProps, RadioGroupProps, RadioProps, RangeProps, SectionMessageActionProps, SectionMessageProps, SelectProps, SpinnerProps, StackProps, TabListProps, TabPanelProps, TabProps, TabsProps, TagGroupProps, TagProps, TextProps, TextAreaProps, TextfieldProps, TileProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, PressableProps, TBadge, TBox, TButtonGroup, TButton, TCalendar, TCheckbox, TCheckboxGroup, TCodeBlock, TCode, TComment, TDatePicker, TDynamicTable, TEmptyState, TErrorMessage, TFileCard, TFlex, TFormFooter, TFormHeader, TForm, TFormSection, TGrid, THeading, THelperMessage, TIcon, TInline, TInlineEdit, TLabel, TLinkButton, TList, TListItem, TLoadingButton, TLozenge, TModalBody, TModalFooter, TModalHeader, TModal, TModalTitle, TModalTransition, TProgressBar, TProgressTracker, TRadioGroup, TRadio, TRange, TSectionMessageAction, TSectionMessage, TSelect, TSpinner, TStack, TTabList, TTabPanel, TTab, TTabs, TTagGroup, TTag, TTextArea, TTextfield, TTimePicker, TToggle, TTooltip, TValidMessage, TPopup, TAdfRenderer, TText, TPressable, TFilePicker, TTile, } from './components/__generated__';
|
|
1
|
+
export type { AdfRendererProps, AtlassianTileProps, BadgeProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, CommentProps, DatePickerProps, DynamicTableProps, EmptyStateProps, ErrorMessageProps, FlexProps, FormFooterProps, FormHeaderProps, FormProps, FormSectionProps, GridProps, HeadingProps, HelperMessageProps, IconProps, InlineProps, LabelProps, LinkButtonProps, ListProps, ListItemProps, LoadingButtonProps, LozengeProps, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, ModalTitleProps, ModalTransitionProps, ProgressBarProps, ProgressTrackerProps, RadioGroupProps, RadioProps, RangeProps, SectionMessageActionProps, SectionMessageProps, SelectProps, SpinnerProps, StackProps, TabListProps, TabPanelProps, TabProps, TabsProps, TagGroupProps, TagProps, TextProps, TextAreaProps, TextfieldProps, TileProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, PressableProps, TBadge, TBox, TButtonGroup, TButton, TCalendar, TCheckbox, TCheckboxGroup, TCodeBlock, TCode, TComment, TDatePicker, TDynamicTable, TEmptyState, TErrorMessage, TFileCard, TFlex, TFormFooter, TFormHeader, TForm, TFormSection, TGrid, THeading, THelperMessage, TIcon, TInline, TInlineEdit, TLabel, TLinkButton, TList, TListItem, TLoadingButton, TLozenge, TModalBody, TModalFooter, TModalHeader, TModal, TModalTitle, TModalTransition, TProgressBar, TProgressTracker, TRadioGroup, TRadio, TRange, TSectionMessageAction, TSectionMessage, TSelect, TSpinner, TStack, TTabList, TTabPanel, TTab, TTabs, TTagGroup, TTag, TTextArea, TTextfield, TTimePicker, TToggle, TTooltip, TValidMessage, TPopup, TAdfRenderer, TText, TPressable, TFilePicker, TTile, TAtlassianTile, } from './components/__generated__';
|
|
2
2
|
export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, DonutChartProps, PieChartProps, TBarChart, TStackBarChart, THorizontalStackBarChart, THorizontalBarChart, TLineChart, TDonutChart, TPieChart, } from './components/charts';
|
|
3
3
|
export type { ChromelessEditorProps, CommentEditorProps, TChromelessEditor, TCommentEditor, } from './components/editor';
|
|
4
4
|
export type { ChartColorTokens } from './types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.57.0",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@atlaskit/form": "^15.3.0",
|
|
29
29
|
"@atlaskit/inline-edit": "^15.6.0",
|
|
30
30
|
"@atlaskit/modal-dialog": "^14.10.0",
|
|
31
|
-
"@atlaskit/navigation-system": "^5.
|
|
31
|
+
"@atlaskit/navigation-system": "^5.31.0",
|
|
32
32
|
"@atlaskit/popup": "^4.13.0",
|
|
33
33
|
"@atlaskit/primitives": "^17.1.0",
|
|
34
34
|
"@atlaskit/progress-bar": "^4.1.0",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"@atlaskit/select": "^21.7.0",
|
|
39
39
|
"@atlaskit/spinner": "^19.0.0",
|
|
40
40
|
"@atlaskit/tabs": "^18.3.0",
|
|
41
|
-
"@atlaskit/tag": "^14.
|
|
41
|
+
"@atlaskit/tag": "^14.3.0",
|
|
42
42
|
"@atlaskit/tag-group": "^12.0.0",
|
|
43
43
|
"@atlaskit/textarea": "^8.2.0",
|
|
44
44
|
"@atlaskit/textfield": "^8.2.0",
|
|
45
45
|
"@atlaskit/tile": "^1.0.0",
|
|
46
46
|
"@atlaskit/toggle": "^15.2.0",
|
|
47
|
-
"@atlaskit/tokens": "^10.
|
|
47
|
+
"@atlaskit/tokens": "^10.1.0",
|
|
48
48
|
"@atlaskit/tooltip": "^20.14.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@atlassian/codegen": "^0.1.0",
|
|
58
|
-
"@atlassian/forge-ui": "^32.
|
|
58
|
+
"@atlassian/forge-ui": "^32.75.0",
|
|
59
59
|
"@types/node": "~22.17.1",
|
|
60
60
|
"lodash": "^4.17.21",
|
|
61
61
|
"react": "^18.2.0",
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Extract component prop types from UIKit 2 components - AtlassianTileProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::72d1a34de22236fe9bf5d05c4a0550ac>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/atlassiantile/index.tsx <<SignedSource::6d88e2452b049891f2c2b42f6f3035c6>>
|
|
9
|
+
*/
|
|
10
|
+
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
|
+
|
|
12
|
+
import type { ObjectTileSize } from '@atlaskit/object';
|
|
13
|
+
|
|
14
|
+
export type AtlassianTileType = 'blog' | 'branch' | 'bug' | 'calendar' | 'changes' | 'code' | 'commit' | 'database' | 'epic' | 'idea' | 'improvement' | 'incident' | 'new-feature' | 'page' | 'page-live-doc' | 'problem' | 'pull-request' | 'question' | 'story' | 'subtask' | 'task' | 'whiteboard' | 'work-item';
|
|
15
|
+
|
|
16
|
+
export type AtlassianTileProps = {
|
|
17
|
+
/**
|
|
18
|
+
* The glyph type of AtlassianTile to render. This will automatically set the color.
|
|
19
|
+
* Available options are derived from @atlaskit/object metadata and will
|
|
20
|
+
* automatically include any new object types added to the design system.
|
|
21
|
+
*/
|
|
22
|
+
glyph: AtlassianTileType;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the AtlassianTile should be bold in appearance.
|
|
25
|
+
* Defaults to `false`.
|
|
26
|
+
*/
|
|
27
|
+
isBold?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The label for the AtlassianTile. If decorative, set to empty string.
|
|
30
|
+
* Defaults to a human-readable version of the icon type.
|
|
31
|
+
*/
|
|
32
|
+
label?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The size of the tile.
|
|
35
|
+
* - `xsmall`: 20px
|
|
36
|
+
* - `small`: 24px
|
|
37
|
+
* - `medium`: 32px
|
|
38
|
+
* - `large`: 40px
|
|
39
|
+
* - `xlarge`: 48px
|
|
40
|
+
* Defaults to `medium`.
|
|
41
|
+
*/
|
|
42
|
+
size?: ObjectTileSize;
|
|
43
|
+
/**
|
|
44
|
+
* Test ID for testing
|
|
45
|
+
*/
|
|
46
|
+
testId?: string;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* An AtlassianTile is an icon that represents an Atlassian-specific content type, displayed in a tile.
|
|
51
|
+
* The glyph prop automatically sets the color for the object.
|
|
52
|
+
*
|
|
53
|
+
* @see [AtlassianTile](https://developer.atlassian.com/platform/forge/ui-kit/components/atlassian-tile/) in UI Kit documentation for more information
|
|
54
|
+
*/
|
|
55
|
+
export type TAtlassianTile<T> = (props: AtlassianTileProps) => T;
|
|
@@ -65,6 +65,7 @@ export type { ValidMessageProps, TValidMessage } from './ValidMessageProps.codeg
|
|
|
65
65
|
export type { PopupProps, TPopup } from './PopupProps.codegen';
|
|
66
66
|
export type { AdfRendererProps, TAdfRenderer } from './AdfRendererProps.codegen';
|
|
67
67
|
export type { FilePickerProps, TFilePicker } from './FilePickerProps.codegen';
|
|
68
|
+
export type { AtlassianTileProps, TAtlassianTile } from './AtlassianTileProps.codegen';
|
|
68
69
|
|
|
69
70
|
// Forge UI supports the value "strike" for the "as" prop of the Text component, to have a migration path
|
|
70
71
|
// off using <Strike>. The native ADS Text component does not support it, so we patched it to support it.
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shared tokens file for UI Kit components. Contains design token maps for xcss support. Source: `packages/forge/forge-ui/src/components/UIKit/tokens.partial.tsx`
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::33ae3cd474ec98484f2403079ac6bcab>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::34ba5fed5a73ed69de68004bceafe652>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766 */
|
|
11
11
|
/* eslint-disable @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766 */
|
|
@@ -27,14 +27,14 @@ import type { SerializedStyles } from '@emotion/serialize';
|
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
30
|
-
* @codegen <<SignedSource::
|
|
30
|
+
* @codegen <<SignedSource::ecfd4e431024c4f6fca22ac357edbfef>>
|
|
31
31
|
* @codegenId forge-tokens
|
|
32
32
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
33
33
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
34
34
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/layer.tsx <<SignedSource::92793ca02dbfdad66e53ffbe9f0baa0a>>
|
|
35
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
36
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::
|
|
37
|
-
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
35
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::38a7d4716f6999a6bdda9e4fe2bca6a1>>
|
|
36
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::535518e7add48ef24f526d0904f70060>>
|
|
37
|
+
* @codegenDependency ../../../../../design-system/tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::8817f4073995e5dc9c2bb766316632d6>>
|
|
38
38
|
*/
|
|
39
39
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
40
40
|
export const dimensionMap = {
|
|
@@ -1295,63 +1295,64 @@ export const fontMap: {
|
|
|
1295
1295
|
} = {
|
|
1296
1296
|
'font.body': token(
|
|
1297
1297
|
'font.body',
|
|
1298
|
-
'normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1298
|
+
'normal 400 14px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1299
1299
|
),
|
|
1300
|
+
// @deprecated
|
|
1300
1301
|
'font.body.UNSAFE_small': token(
|
|
1301
1302
|
'font.body.UNSAFE_small',
|
|
1302
|
-
'normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1303
|
+
'normal 400 12px/16px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1303
1304
|
),
|
|
1304
1305
|
'font.body.large': token(
|
|
1305
1306
|
'font.body.large',
|
|
1306
|
-
'normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1307
|
+
'normal 400 16px/24px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1307
1308
|
),
|
|
1308
1309
|
'font.body.small': token(
|
|
1309
1310
|
'font.body.small',
|
|
1310
|
-
'normal 400
|
|
1311
|
+
'normal 400 12px/16px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1311
1312
|
),
|
|
1312
1313
|
'font.code': token(
|
|
1313
1314
|
'font.code',
|
|
1314
|
-
'normal 400 0.875em/1 ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
1315
|
+
'normal 400 0.875em/1 "Atlassian Mono", ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
1315
1316
|
),
|
|
1316
1317
|
'font.heading.large': token(
|
|
1317
1318
|
'font.heading.large',
|
|
1318
|
-
'normal
|
|
1319
|
+
'normal 653 24px/28px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1319
1320
|
),
|
|
1320
1321
|
'font.heading.medium': token(
|
|
1321
1322
|
'font.heading.medium',
|
|
1322
|
-
'normal
|
|
1323
|
+
'normal 653 20px/24px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1323
1324
|
),
|
|
1324
1325
|
'font.heading.small': token(
|
|
1325
1326
|
'font.heading.small',
|
|
1326
|
-
'normal
|
|
1327
|
+
'normal 653 16px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1327
1328
|
),
|
|
1328
1329
|
'font.heading.xlarge': token(
|
|
1329
1330
|
'font.heading.xlarge',
|
|
1330
|
-
'normal
|
|
1331
|
+
'normal 653 28px/32px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1331
1332
|
),
|
|
1332
1333
|
'font.heading.xsmall': token(
|
|
1333
1334
|
'font.heading.xsmall',
|
|
1334
|
-
'normal
|
|
1335
|
+
'normal 653 14px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1335
1336
|
),
|
|
1336
1337
|
'font.heading.xxlarge': token(
|
|
1337
1338
|
'font.heading.xxlarge',
|
|
1338
|
-
'normal
|
|
1339
|
+
'normal 653 32px/36px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1339
1340
|
),
|
|
1340
1341
|
'font.heading.xxsmall': token(
|
|
1341
1342
|
'font.heading.xxsmall',
|
|
1342
|
-
'normal
|
|
1343
|
+
'normal 653 12px/16px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1343
1344
|
),
|
|
1344
1345
|
'font.metric.large': token(
|
|
1345
1346
|
'font.metric.large',
|
|
1346
|
-
'normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1347
|
+
'normal 653 28px/32px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1347
1348
|
),
|
|
1348
1349
|
'font.metric.medium': token(
|
|
1349
1350
|
'font.metric.medium',
|
|
1350
|
-
'normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1351
|
+
'normal 653 24px/28px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1351
1352
|
),
|
|
1352
1353
|
'font.metric.small': token(
|
|
1353
1354
|
'font.metric.small',
|
|
1354
|
-
'normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1355
|
+
'normal 653 16px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1355
1356
|
),
|
|
1356
1357
|
};
|
|
1357
1358
|
|
|
@@ -1363,7 +1364,7 @@ export const fontWeightMap: {
|
|
|
1363
1364
|
'font.weight.regular': 'var(--ds-font-weight-regular)';
|
|
1364
1365
|
'font.weight.semibold': 'var(--ds-font-weight-semibold)';
|
|
1365
1366
|
} = {
|
|
1366
|
-
'font.weight.bold': token('font.weight.bold', '
|
|
1367
|
+
'font.weight.bold': token('font.weight.bold', '653'),
|
|
1367
1368
|
'font.weight.medium': token('font.weight.medium', '500'),
|
|
1368
1369
|
'font.weight.regular': token('font.weight.regular', '400'),
|
|
1369
1370
|
'font.weight.semibold': token('font.weight.semibold', '600'),
|
|
@@ -1380,7 +1381,7 @@ export const fontFamilyMap: {
|
|
|
1380
1381
|
} = {
|
|
1381
1382
|
'font.family.body': token(
|
|
1382
1383
|
'font.family.body',
|
|
1383
|
-
'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1384
|
+
'"Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1384
1385
|
),
|
|
1385
1386
|
'font.family.brand.body': token(
|
|
1386
1387
|
'font.family.brand.body',
|
|
@@ -1392,11 +1393,11 @@ export const fontFamilyMap: {
|
|
|
1392
1393
|
),
|
|
1393
1394
|
'font.family.code': token(
|
|
1394
1395
|
'font.family.code',
|
|
1395
|
-
'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
1396
|
+
'"Atlassian Mono", ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
1396
1397
|
),
|
|
1397
1398
|
'font.family.heading': token(
|
|
1398
1399
|
'font.family.heading',
|
|
1399
|
-
'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1400
|
+
'"Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1400
1401
|
),
|
|
1401
1402
|
};
|
|
1402
1403
|
|
|
@@ -1411,19 +1412,19 @@ export const textSizeMap: {
|
|
|
1411
1412
|
} = {
|
|
1412
1413
|
medium: token(
|
|
1413
1414
|
'font.body',
|
|
1414
|
-
'normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1415
|
+
'normal 400 14px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1415
1416
|
),
|
|
1416
1417
|
UNSAFE_small: token(
|
|
1417
1418
|
'font.body.UNSAFE_small',
|
|
1418
|
-
'normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1419
|
+
'normal 400 12px/16px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1419
1420
|
),
|
|
1420
1421
|
large: token(
|
|
1421
1422
|
'font.body.large',
|
|
1422
|
-
'normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1423
|
+
'normal 400 16px/24px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1423
1424
|
),
|
|
1424
1425
|
small: token(
|
|
1425
1426
|
'font.body.small',
|
|
1426
|
-
'normal 400
|
|
1427
|
+
'normal 400 12px/16px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1427
1428
|
),
|
|
1428
1429
|
};
|
|
1429
1430
|
|
|
@@ -1435,7 +1436,7 @@ export const textWeightMap: {
|
|
|
1435
1436
|
regular: 'var(--ds-font-weight-regular)';
|
|
1436
1437
|
semibold: 'var(--ds-font-weight-semibold)';
|
|
1437
1438
|
} = {
|
|
1438
|
-
bold: token('font.weight.bold', '
|
|
1439
|
+
bold: token('font.weight.bold', '653'),
|
|
1439
1440
|
medium: token('font.weight.medium', '500'),
|
|
1440
1441
|
regular: token('font.weight.regular', '400'),
|
|
1441
1442
|
semibold: token('font.weight.semibold', '600'),
|
|
@@ -1450,15 +1451,15 @@ export const metricTextSizeMap: {
|
|
|
1450
1451
|
} = {
|
|
1451
1452
|
large: token(
|
|
1452
1453
|
'font.metric.large',
|
|
1453
|
-
'normal 653 28px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1454
|
+
'normal 653 28px/32px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1454
1455
|
),
|
|
1455
1456
|
medium: token(
|
|
1456
1457
|
'font.metric.medium',
|
|
1457
|
-
'normal 653 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1458
|
+
'normal 653 24px/28px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1458
1459
|
),
|
|
1459
1460
|
small: token(
|
|
1460
1461
|
'font.metric.small',
|
|
1461
|
-
'normal 653 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1462
|
+
'normal 653 16px/20px "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
1462
1463
|
),
|
|
1463
1464
|
};
|
|
1464
1465
|
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type {
|
|
2
2
|
AdfRendererProps,
|
|
3
|
+
AtlassianTileProps,
|
|
3
4
|
BadgeProps,
|
|
4
5
|
BoxProps,
|
|
5
6
|
ButtonGroupProps,
|
|
@@ -129,6 +130,7 @@ export type {
|
|
|
129
130
|
TPressable,
|
|
130
131
|
TFilePicker,
|
|
131
132
|
TTile,
|
|
133
|
+
TAtlassianTile,
|
|
132
134
|
} from './components/__generated__';
|
|
133
135
|
|
|
134
136
|
export type {
|