@atlaskit/lozenge 13.4.2 → 13.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/lozenge
2
2
 
3
+ ## 13.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 13.4.2
4
10
 
5
11
  ### Patch Changes
@@ -22,5 +22,5 @@ export interface IconRendererProps {
22
22
  * Icon renderer for lozenge components
23
23
  * Handles proper sizing and color theming for icons
24
24
  */
25
- export declare const IconRenderer: ({ icon: Icon, color, testId, size }: IconRendererProps) => React.JSX.Element;
25
+ export declare const IconRenderer: (props: IconRendererProps) => React.JSX.Element;
26
26
  export default IconRenderer;
@@ -1,17 +1,9 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { type Ref } from 'react';
6
1
  import { type LozengeBaseProps } from './types';
7
- type LozengeBasePropsWithRef = LozengeBaseProps & {
8
- ref?: Ref<HTMLElement | HTMLButtonElement>;
9
- };
10
2
  /**
11
3
  * __New Lozenge__
12
4
  *
13
5
  * A lozenge is a visual indicator used to highlight an item's status for quick recognition.
14
6
  * This is the updated version with the new North Star visual language.
15
7
  */
16
- declare const LozengeBase: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<LozengeBasePropsWithRef, "ref"> & import("react").RefAttributes<HTMLElement | HTMLButtonElement>>>;
8
+ declare const LozengeBase: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<LozengeBaseProps, "ref"> & import("react").RefAttributes<HTMLButtonElement | HTMLElement>>>;
17
9
  export default LozengeBase;
@@ -9,7 +9,7 @@ import { type NewLozengeProps } from './types';
9
9
  * - [Usage](https://atlassian.design/components/lozenge/usage)
10
10
  */
11
11
  declare const Lozenge: {
12
- ({ appearance, spacing, maxWidth, style, testId, children, iconBefore, trailingMetric, trailingMetricAppearance, }: NewLozengeProps): JSX.Element;
12
+ ({ appearance, spacing, maxWidth, style, testId, children, iconBefore, }: NewLozengeProps): JSX.Element;
13
13
  displayName: string;
14
14
  };
15
15
  export default Lozenge;
@@ -22,5 +22,5 @@ export interface IconRendererProps {
22
22
  * Icon renderer for lozenge components
23
23
  * Handles proper sizing and color theming for icons
24
24
  */
25
- export declare const IconRenderer: ({ icon: Icon, color, testId, size }: IconRendererProps) => React.JSX.Element;
25
+ export declare const IconRenderer: (props: IconRendererProps) => React.JSX.Element;
26
26
  export default IconRenderer;
@@ -1,17 +1,9 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { type Ref } from 'react';
6
1
  import { type LozengeBaseProps } from './types';
7
- type LozengeBasePropsWithRef = LozengeBaseProps & {
8
- ref?: Ref<HTMLElement | HTMLButtonElement>;
9
- };
10
2
  /**
11
3
  * __New Lozenge__
12
4
  *
13
5
  * A lozenge is a visual indicator used to highlight an item's status for quick recognition.
14
6
  * This is the updated version with the new North Star visual language.
15
7
  */
16
- declare const LozengeBase: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<LozengeBasePropsWithRef, "ref"> & import("react").RefAttributes<HTMLElement | HTMLButtonElement>>>;
8
+ declare const LozengeBase: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<LozengeBaseProps, "ref"> & import("react").RefAttributes<HTMLButtonElement | HTMLElement>>>;
17
9
  export default LozengeBase;
@@ -9,7 +9,7 @@ import { type NewLozengeProps } from './types';
9
9
  * - [Usage](https://atlassian.design/components/lozenge/usage)
10
10
  */
11
11
  declare const Lozenge: {
12
- ({ appearance, spacing, maxWidth, style, testId, children, iconBefore, trailingMetric, trailingMetricAppearance, }: NewLozengeProps): JSX.Element;
12
+ ({ appearance, spacing, maxWidth, style, testId, children, iconBefore, }: NewLozengeProps): JSX.Element;
13
13
  displayName: string;
14
14
  };
15
15
  export default Lozenge;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/lozenge",
3
- "version": "13.4.2",
3
+ "version": "13.4.3",
4
4
  "description": "A lozenge is a visual indicator used to highlight an item's status for quick recognition.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,15 +34,16 @@
34
34
  "title": "Lozenge",
35
35
  "id": "lozenge",
36
36
  "status": {
37
- "type": "alpha",
38
- "description": "This is an experiment under a feature flag. We may make frequent breaking changes with limited notice. We don't recommend using this without support from our team."
37
+ "type": "beta",
38
+ "description": "New and ready to use. We'll provide comms and support for any major changes."
39
39
  }
40
40
  },
41
41
  {
42
42
  "title": "Lozenge Dropdown Trigger",
43
43
  "id": "lozenge-dropdown-trigger",
44
44
  "status": {
45
- "type": "alpha"
45
+ "type": "beta",
46
+ "description": "New and ready to use. We'll provide comms and support for any major changes."
46
47
  }
47
48
  }
48
49
  ]
@@ -53,7 +54,7 @@
53
54
  "@atlaskit/badge": "^18.4.0",
54
55
  "@atlaskit/css": "^0.19.0",
55
56
  "@atlaskit/ds-lib": "^5.3.0",
56
- "@atlaskit/icon": "^30.0.0",
57
+ "@atlaskit/icon": "^31.0.0",
57
58
  "@atlaskit/platform-feature-flags": "^1.1.0",
58
59
  "@atlaskit/primitives": "^18.0.0",
59
60
  "@atlaskit/spinner": "^19.0.0",