@atlaskit/primitives
Advanced tools
Comparing version 0.10.0 to 0.10.1
# @atlaskit/primitives | ||
## 0.10.1 | ||
### Patch Changes | ||
- [`b6302963111`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6302963111) - Change border.radius.normal to be 3px instead of 4px. | ||
`display: grid` is now accepted for `xcss`. | ||
## 0.10.0 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@atlaskit/primitives", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"sideEffects": false | ||
} |
@@ -12,5 +12,5 @@ "use strict"; | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::2c35cc3f884146ac8ccdf053bf413481>> | ||
* @codegen <<SignedSource::b6657585e3df6f8017d4c35bb9150e3f>> | ||
* @codegenId dimensions | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["dimensions"] | ||
@@ -36,5 +36,5 @@ * @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::01143ff41135244db1d8ec2efe4339d6>> | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::c32ec2103b151d3533775390e92f0f03>> | ||
* @codegen <<SignedSource::de092b03d79b8477034921622fcddd53>> | ||
* @codegenId spacing | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::86e173b0e020fe5d091fdf4bff023711>> | ||
@@ -65,5 +65,5 @@ */ | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::aa1cfa3cd24f141a85ac1e0b70dbd8a8>> | ||
* @codegen <<SignedSource::98eba397b6a9706307e40f32a49200fd>> | ||
* @codegenId colors | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["border", "background", "shadow", "text", "fill"] | ||
@@ -276,5 +276,5 @@ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::10aa7e87eca39e4d6594a764e78e0698>> | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::e63fc5ff12523b2d49dc72925e1648e6>> | ||
* @codegen <<SignedSource::7787d50b7bc64a9350e4cf35ae608a79>> | ||
* @codegenId misc | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["align-self", "border-style", "display", "flex-direction", "flex-grow", "flex-shrink", "flex", "layer", "overflow", "position"] | ||
@@ -284,6 +284,6 @@ * @codegenDependency ../../scripts/codegen-file-templates/align-self.tsx <<SignedSource::074079802534462de54bf882bb2073e5>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::01143ff41135244db1d8ec2efe4339d6>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/display.tsx <<SignedSource::04ea30fcb3c02f2545af7fdc0206e645>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/display.tsx <<SignedSource::486569d9e228265c1688d0a7122bdedc>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-direction.tsx <<SignedSource::19809ba11675679c188b0d98fb651dc1>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-grow.tsx <<SignedSource::b8a06b122cb609170f1f42778a6c270e>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-shrink.tsx <<SignedSource::bf6626972898bf22d2eeee2130693d47>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-shrink.tsx <<SignedSource::77effeb1e5c39997e34b21b000a91faf>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex.tsx <<SignedSource::ffa0189d14f1f00a16ec1e9f43a17ce9>> | ||
@@ -312,3 +312,4 @@ * @codegenDependency ../../scripts/codegen-file-templates/layer.tsx <<SignedSource::79d24a1e558f12d671c06a7609f90dc1>> | ||
inlineBlock: 'inline-block', | ||
inlineFlex: 'inline-flex' | ||
inlineFlex: 'inline-flex', | ||
grid: 'grid' | ||
}; | ||
@@ -327,3 +328,3 @@ exports.displayMap = displayMap; | ||
var flexShrinkMap = { | ||
'0': 0, | ||
'0': '0', | ||
'1': 1 | ||
@@ -376,5 +377,5 @@ }; | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::80ae367205568f9ca76d35f0cbc9d127>> | ||
* @codegen <<SignedSource::f923934816cc73cf3f82820a93df5377>> | ||
* @codegenId border | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["width", "radius"] | ||
@@ -391,3 +392,3 @@ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::81055547b21306c07a3e8a3c734a2f1c>> | ||
'radius.050': "var(--ds-radius-050, 2px)", | ||
'radius.100': "var(--ds-radius-100, 4px)", | ||
'radius.100': "var(--ds-radius-100, 3px)", | ||
'radius.200': "var(--ds-radius-200, 8px)", | ||
@@ -394,0 +395,0 @@ 'radius.300': "var(--ds-radius-300, 12px)", |
@@ -132,3 +132,3 @@ "use strict"; | ||
if (!tokenValue) { | ||
var message = "Invalid token alias: ".concat(value); | ||
var message = "Invalid token alias: ".concat(key, ": ").concat(value); | ||
(0, _warnOnce.default)(message); | ||
@@ -135,0 +135,0 @@ } |
{ | ||
"name": "@atlaskit/primitives", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"sideEffects": false | ||
} |
import { css } from '@emotion/react'; | ||
/** | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::2c35cc3f884146ac8ccdf053bf413481>> | ||
* @codegen <<SignedSource::b6657585e3df6f8017d4c35bb9150e3f>> | ||
* @codegenId dimensions | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["dimensions"] | ||
@@ -25,5 +25,5 @@ * @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::01143ff41135244db1d8ec2efe4339d6>> | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::c32ec2103b151d3533775390e92f0f03>> | ||
* @codegen <<SignedSource::de092b03d79b8477034921622fcddd53>> | ||
* @codegenId spacing | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::86e173b0e020fe5d091fdf4bff023711>> | ||
@@ -52,5 +52,5 @@ */ | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::aa1cfa3cd24f141a85ac1e0b70dbd8a8>> | ||
* @codegen <<SignedSource::98eba397b6a9706307e40f32a49200fd>> | ||
* @codegenId colors | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["border", "background", "shadow", "text", "fill"] | ||
@@ -257,5 +257,5 @@ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::10aa7e87eca39e4d6594a764e78e0698>> | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::e63fc5ff12523b2d49dc72925e1648e6>> | ||
* @codegen <<SignedSource::7787d50b7bc64a9350e4cf35ae608a79>> | ||
* @codegenId misc | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["align-self", "border-style", "display", "flex-direction", "flex-grow", "flex-shrink", "flex", "layer", "overflow", "position"] | ||
@@ -265,6 +265,6 @@ * @codegenDependency ../../scripts/codegen-file-templates/align-self.tsx <<SignedSource::074079802534462de54bf882bb2073e5>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::01143ff41135244db1d8ec2efe4339d6>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/display.tsx <<SignedSource::04ea30fcb3c02f2545af7fdc0206e645>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/display.tsx <<SignedSource::486569d9e228265c1688d0a7122bdedc>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-direction.tsx <<SignedSource::19809ba11675679c188b0d98fb651dc1>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-grow.tsx <<SignedSource::b8a06b122cb609170f1f42778a6c270e>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-shrink.tsx <<SignedSource::bf6626972898bf22d2eeee2130693d47>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-shrink.tsx <<SignedSource::77effeb1e5c39997e34b21b000a91faf>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex.tsx <<SignedSource::ffa0189d14f1f00a16ec1e9f43a17ce9>> | ||
@@ -291,3 +291,4 @@ * @codegenDependency ../../scripts/codegen-file-templates/layer.tsx <<SignedSource::79d24a1e558f12d671c06a7609f90dc1>> | ||
inlineBlock: 'inline-block', | ||
inlineFlex: 'inline-flex' | ||
inlineFlex: 'inline-flex', | ||
grid: 'grid' | ||
}; | ||
@@ -303,3 +304,3 @@ export const flexDirectionMap = { | ||
export const flexShrinkMap = { | ||
'0': 0, | ||
'0': '0', | ||
'1': 1 | ||
@@ -344,5 +345,5 @@ }; | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::80ae367205568f9ca76d35f0cbc9d127>> | ||
* @codegen <<SignedSource::f923934816cc73cf3f82820a93df5377>> | ||
* @codegenId border | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["width", "radius"] | ||
@@ -358,3 +359,3 @@ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::81055547b21306c07a3e8a3c734a2f1c>> | ||
'radius.050': "var(--ds-radius-050, 2px)", | ||
'radius.100': "var(--ds-radius-100, 4px)", | ||
'radius.100': "var(--ds-radius-100, 3px)", | ||
'radius.200': "var(--ds-radius-200, 8px)", | ||
@@ -361,0 +362,0 @@ 'radius.300': "var(--ds-radius-300, 12px)", |
@@ -112,3 +112,3 @@ /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */ | ||
if (!tokenValue) { | ||
const message = `Invalid token alias: ${value}`; | ||
const message = `Invalid token alias: ${key}: ${value}`; | ||
warnOnce(message); | ||
@@ -115,0 +115,0 @@ } |
{ | ||
"name": "@atlaskit/primitives", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"sideEffects": false | ||
} |
@@ -5,5 +5,5 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::2c35cc3f884146ac8ccdf053bf413481>> | ||
* @codegen <<SignedSource::b6657585e3df6f8017d4c35bb9150e3f>> | ||
* @codegenId dimensions | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["dimensions"] | ||
@@ -27,5 +27,5 @@ * @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::01143ff41135244db1d8ec2efe4339d6>> | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::c32ec2103b151d3533775390e92f0f03>> | ||
* @codegen <<SignedSource::de092b03d79b8477034921622fcddd53>> | ||
* @codegenId spacing | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::86e173b0e020fe5d091fdf4bff023711>> | ||
@@ -54,5 +54,5 @@ */ | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::aa1cfa3cd24f141a85ac1e0b70dbd8a8>> | ||
* @codegen <<SignedSource::98eba397b6a9706307e40f32a49200fd>> | ||
* @codegenId colors | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["border", "background", "shadow", "text", "fill"] | ||
@@ -259,5 +259,5 @@ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::10aa7e87eca39e4d6594a764e78e0698>> | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::e63fc5ff12523b2d49dc72925e1648e6>> | ||
* @codegen <<SignedSource::7787d50b7bc64a9350e4cf35ae608a79>> | ||
* @codegenId misc | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["align-self", "border-style", "display", "flex-direction", "flex-grow", "flex-shrink", "flex", "layer", "overflow", "position"] | ||
@@ -267,6 +267,6 @@ * @codegenDependency ../../scripts/codegen-file-templates/align-self.tsx <<SignedSource::074079802534462de54bf882bb2073e5>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::01143ff41135244db1d8ec2efe4339d6>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/display.tsx <<SignedSource::04ea30fcb3c02f2545af7fdc0206e645>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/display.tsx <<SignedSource::486569d9e228265c1688d0a7122bdedc>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-direction.tsx <<SignedSource::19809ba11675679c188b0d98fb651dc1>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-grow.tsx <<SignedSource::b8a06b122cb609170f1f42778a6c270e>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-shrink.tsx <<SignedSource::bf6626972898bf22d2eeee2130693d47>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-shrink.tsx <<SignedSource::77effeb1e5c39997e34b21b000a91faf>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex.tsx <<SignedSource::ffa0189d14f1f00a16ec1e9f43a17ce9>> | ||
@@ -293,3 +293,4 @@ * @codegenDependency ../../scripts/codegen-file-templates/layer.tsx <<SignedSource::79d24a1e558f12d671c06a7609f90dc1>> | ||
inlineBlock: 'inline-block', | ||
inlineFlex: 'inline-flex' | ||
inlineFlex: 'inline-flex', | ||
grid: 'grid' | ||
}; | ||
@@ -305,3 +306,3 @@ export var flexDirectionMap = { | ||
export var flexShrinkMap = { | ||
'0': 0, | ||
'0': '0', | ||
'1': 1 | ||
@@ -346,5 +347,5 @@ }; | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::80ae367205568f9ca76d35f0cbc9d127>> | ||
* @codegen <<SignedSource::f923934816cc73cf3f82820a93df5377>> | ||
* @codegenId border | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["width", "radius"] | ||
@@ -360,3 +361,3 @@ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::81055547b21306c07a3e8a3c734a2f1c>> | ||
'radius.050': "var(--ds-radius-050, 2px)", | ||
'radius.100': "var(--ds-radius-100, 4px)", | ||
'radius.100': "var(--ds-radius-100, 3px)", | ||
'radius.200': "var(--ds-radius-200, 8px)", | ||
@@ -363,0 +364,0 @@ 'radius.300': "var(--ds-radius-300, 12px)", |
@@ -123,3 +123,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
if (!tokenValue) { | ||
var message = "Invalid token alias: ".concat(value); | ||
var message = "Invalid token alias: ".concat(key, ": ").concat(value); | ||
warnOnce(message); | ||
@@ -126,0 +126,0 @@ } |
import { SerializedStyles } from '@emotion/react'; | ||
/** | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::2c35cc3f884146ac8ccdf053bf413481>> | ||
* @codegen <<SignedSource::b6657585e3df6f8017d4c35bb9150e3f>> | ||
* @codegenId dimensions | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["dimensions"] | ||
@@ -42,5 +42,5 @@ * @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::01143ff41135244db1d8ec2efe4339d6>> | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::c32ec2103b151d3533775390e92f0f03>> | ||
* @codegen <<SignedSource::de092b03d79b8477034921622fcddd53>> | ||
* @codegenId spacing | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::86e173b0e020fe5d091fdf4bff023711>> | ||
@@ -70,5 +70,5 @@ */ | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::aa1cfa3cd24f141a85ac1e0b70dbd8a8>> | ||
* @codegen <<SignedSource::98eba397b6a9706307e40f32a49200fd>> | ||
* @codegenId colors | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["border", "background", "shadow", "text", "fill"] | ||
@@ -280,5 +280,5 @@ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::10aa7e87eca39e4d6594a764e78e0698>> | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::e63fc5ff12523b2d49dc72925e1648e6>> | ||
* @codegen <<SignedSource::7787d50b7bc64a9350e4cf35ae608a79>> | ||
* @codegenId misc | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["align-self", "border-style", "display", "flex-direction", "flex-grow", "flex-shrink", "flex", "layer", "overflow", "position"] | ||
@@ -288,6 +288,6 @@ * @codegenDependency ../../scripts/codegen-file-templates/align-self.tsx <<SignedSource::074079802534462de54bf882bb2073e5>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::01143ff41135244db1d8ec2efe4339d6>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/display.tsx <<SignedSource::04ea30fcb3c02f2545af7fdc0206e645>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/display.tsx <<SignedSource::486569d9e228265c1688d0a7122bdedc>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-direction.tsx <<SignedSource::19809ba11675679c188b0d98fb651dc1>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-grow.tsx <<SignedSource::b8a06b122cb609170f1f42778a6c270e>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-shrink.tsx <<SignedSource::bf6626972898bf22d2eeee2130693d47>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-shrink.tsx <<SignedSource::77effeb1e5c39997e34b21b000a91faf>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex.tsx <<SignedSource::ffa0189d14f1f00a16ec1e9f43a17ce9>> | ||
@@ -317,2 +317,3 @@ * @codegenDependency ../../scripts/codegen-file-templates/layer.tsx <<SignedSource::79d24a1e558f12d671c06a7609f90dc1>> | ||
readonly inlineFlex: "inline-flex"; | ||
readonly grid: "grid"; | ||
}; | ||
@@ -331,3 +332,3 @@ export type Display = keyof typeof displayMap; | ||
export declare const flexShrinkMap: { | ||
readonly '0': 0; | ||
readonly '0': "0"; | ||
readonly '1': 1; | ||
@@ -379,5 +380,5 @@ }; | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::80ae367205568f9ca76d35f0cbc9d127>> | ||
* @codegen <<SignedSource::f923934816cc73cf3f82820a93df5377>> | ||
* @codegenId border | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["width", "radius"] | ||
@@ -384,0 +385,0 @@ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::81055547b21306c07a3e8a3c734a2f1c>> |
import { SerializedStyles } from '@emotion/react'; | ||
/** | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::2c35cc3f884146ac8ccdf053bf413481>> | ||
* @codegen <<SignedSource::b6657585e3df6f8017d4c35bb9150e3f>> | ||
* @codegenId dimensions | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["dimensions"] | ||
@@ -42,5 +42,5 @@ * @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::01143ff41135244db1d8ec2efe4339d6>> | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::c32ec2103b151d3533775390e92f0f03>> | ||
* @codegen <<SignedSource::de092b03d79b8477034921622fcddd53>> | ||
* @codegenId spacing | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-spacing.tsx <<SignedSource::86e173b0e020fe5d091fdf4bff023711>> | ||
@@ -70,5 +70,5 @@ */ | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::aa1cfa3cd24f141a85ac1e0b70dbd8a8>> | ||
* @codegen <<SignedSource::98eba397b6a9706307e40f32a49200fd>> | ||
* @codegenId colors | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["border", "background", "shadow", "text", "fill"] | ||
@@ -280,5 +280,5 @@ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::10aa7e87eca39e4d6594a764e78e0698>> | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::e63fc5ff12523b2d49dc72925e1648e6>> | ||
* @codegen <<SignedSource::7787d50b7bc64a9350e4cf35ae608a79>> | ||
* @codegenId misc | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["align-self", "border-style", "display", "flex-direction", "flex-grow", "flex-shrink", "flex", "layer", "overflow", "position"] | ||
@@ -288,6 +288,6 @@ * @codegenDependency ../../scripts/codegen-file-templates/align-self.tsx <<SignedSource::074079802534462de54bf882bb2073e5>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::01143ff41135244db1d8ec2efe4339d6>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/display.tsx <<SignedSource::04ea30fcb3c02f2545af7fdc0206e645>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/display.tsx <<SignedSource::486569d9e228265c1688d0a7122bdedc>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-direction.tsx <<SignedSource::19809ba11675679c188b0d98fb651dc1>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-grow.tsx <<SignedSource::b8a06b122cb609170f1f42778a6c270e>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-shrink.tsx <<SignedSource::bf6626972898bf22d2eeee2130693d47>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex-shrink.tsx <<SignedSource::77effeb1e5c39997e34b21b000a91faf>> | ||
* @codegenDependency ../../scripts/codegen-file-templates/flex.tsx <<SignedSource::ffa0189d14f1f00a16ec1e9f43a17ce9>> | ||
@@ -317,2 +317,3 @@ * @codegenDependency ../../scripts/codegen-file-templates/layer.tsx <<SignedSource::79d24a1e558f12d671c06a7609f90dc1>> | ||
readonly inlineFlex: "inline-flex"; | ||
readonly grid: "grid"; | ||
}; | ||
@@ -331,3 +332,3 @@ export type Display = keyof typeof displayMap; | ||
export declare const flexShrinkMap: { | ||
readonly '0': 0; | ||
readonly '0': "0"; | ||
readonly '1': 1; | ||
@@ -379,5 +380,5 @@ }; | ||
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} | ||
* @codegen <<SignedSource::80ae367205568f9ca76d35f0cbc9d127>> | ||
* @codegen <<SignedSource::f923934816cc73cf3f82820a93df5377>> | ||
* @codegenId border | ||
* @codegenCommand yarn codegen-styles | ||
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles | ||
* @codegenParams ["width", "radius"] | ||
@@ -384,0 +385,0 @@ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::81055547b21306c07a3e8a3c734a2f1c>> |
{ | ||
"name": "@atlaskit/primitives", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "Primitives are token-backed low-level building blocks.", | ||
@@ -72,3 +72,3 @@ "author": "Atlassian Pty Ltd", | ||
"scripts": { | ||
"codegen-styles": "ts-node --project ./tsconfig.node.json ./scripts/codegen-styles" | ||
"codegen-styles": "ts-node -r tsconfig-paths/register ./scripts/codegen-styles.tsx" | ||
}, | ||
@@ -75,0 +75,0 @@ "main": "dist/cjs/index.js", |
@@ -357,2 +357,3 @@ <!-- API Report Version: 2.3 --> | ||
readonly inlineFlex: 'inline-flex'; | ||
readonly grid: 'grid'; | ||
}; | ||
@@ -419,3 +420,3 @@ | ||
const flexShrinkMap: { | ||
readonly '0': 0; | ||
readonly '0': '0'; | ||
readonly '1': 1; | ||
@@ -422,0 +423,0 @@ }; |
@@ -319,2 +319,3 @@ ## API Report File for "@atlaskit/primitives" | ||
readonly inlineFlex: "inline-flex"; | ||
readonly grid: "grid"; | ||
}; | ||
@@ -381,3 +382,3 @@ | ||
const flexShrinkMap: { | ||
readonly '0': 0; | ||
readonly '0': "0"; | ||
readonly '1': 1; | ||
@@ -384,0 +385,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1692652
124