@atlaskit/badge 16.3.0 → 16.3.2

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/badge
2
2
 
3
+ ## 16.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 16.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 16.3.0
4
16
 
5
17
  ### Minor Changes
package/dist/cjs/badge.js CHANGED
@@ -9,7 +9,10 @@ var _react2 = require("@emotion/react");
9
9
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
10
10
  var _primitives = require("@atlaskit/primitives");
11
11
  var _utils = require("./internal/utils");
12
- /** @jsx jsx */
12
+ /**
13
+ * @jsxRuntime classic
14
+ * @jsx jsx
15
+ */
13
16
 
14
17
  // Compiled isn't ready to be used in components used by Ecosystem
15
18
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
@@ -87,7 +90,7 @@ var Badge = /*#__PURE__*/(0, _react.memo)(function Badge(_ref) {
87
90
  max = _ref$max === void 0 ? 99 : _ref$max,
88
91
  style = _ref.style,
89
92
  testId = _ref.testId;
90
- if ((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.component-visual-refresh_t8zbo')) {
93
+ if ((0, _platformFeatureFlags.fg)('platform-component-visual-refresh')) {
91
94
  return (0, _react2.jsx)("span", {
92
95
  "data-testid": testId,
93
96
  css: [styles.root, styles[appearance]],
@@ -1,10 +1,13 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { memo } from 'react';
3
6
 
4
7
  // Compiled isn't ready to be used in components used by Ecosystem
5
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
6
9
  import { css, jsx } from '@emotion/react';
7
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
10
+ import { fg } from '@atlaskit/platform-feature-flags';
8
11
  import { Box, Text, xcss } from '@atlaskit/primitives';
9
12
  import { formatValue } from './internal/utils';
10
13
  const boxStyles = xcss({
@@ -78,7 +81,7 @@ const Badge = /*#__PURE__*/memo(function Badge({
78
81
  style,
79
82
  testId
80
83
  }) {
81
- if (getBooleanFF('platform.design-system-team.component-visual-refresh_t8zbo')) {
84
+ if (fg('platform-component-visual-refresh')) {
82
85
  return jsx("span", {
83
86
  "data-testid": testId,
84
87
  css: [styles.root, styles[appearance]],
package/dist/esm/badge.js CHANGED
@@ -1,10 +1,13 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { memo } from 'react';
3
6
 
4
7
  // Compiled isn't ready to be used in components used by Ecosystem
5
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
6
9
  import { css, jsx } from '@emotion/react';
7
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
10
+ import { fg } from '@atlaskit/platform-feature-flags';
8
11
  import { Box, Text, xcss } from '@atlaskit/primitives';
9
12
  import { formatValue } from './internal/utils';
10
13
  var boxStyles = xcss({
@@ -80,7 +83,7 @@ var Badge = /*#__PURE__*/memo(function Badge(_ref) {
80
83
  max = _ref$max === void 0 ? 99 : _ref$max,
81
84
  style = _ref.style,
82
85
  testId = _ref.testId;
83
- if (getBooleanFF('platform.design-system-team.component-visual-refresh_t8zbo')) {
86
+ if (fg('platform-component-visual-refresh')) {
84
87
  return jsx("span", {
85
88
  "data-testid": testId,
86
89
  css: [styles.root, styles[appearance]],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/badge",
3
- "version": "16.3.0",
3
+ "version": "16.3.2",
4
4
  "description": "A badge is a visual indicator for numeric values such as tallies and scores.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,8 +41,8 @@
41
41
  "dependencies": {
42
42
  "@atlaskit/codemod-utils": "^4.2.0",
43
43
  "@atlaskit/platform-feature-flags": "^0.3.0",
44
- "@atlaskit/primitives": "^10.0.0",
45
- "@atlaskit/tokens": "^1.53.0",
44
+ "@atlaskit/primitives": "^12.0.0",
45
+ "@atlaskit/tokens": "^1.57.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1"
48
48
  },
@@ -89,7 +89,7 @@
89
89
  },
90
90
  "homepage": "https://atlassian.design/components/badge/",
91
91
  "platform-feature-flags": {
92
- "platform.design-system-team.component-visual-refresh_t8zbo": {
92
+ "platform-component-visual-refresh": {
93
93
  "type": "boolean"
94
94
  }
95
95
  }