@atlaskit/flag 17.8.4 → 17.8.6

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/flag
2
2
 
3
+ ## 17.8.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.8.5
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 17.8.4
4
16
 
5
17
  ### Patch Changes
@@ -39,7 +39,7 @@ type FlagGroupAPI = {
39
39
  onDismissed: (id: number | string, analyticsEvent: UIAnalyticsEvent) => void;
40
40
  isDismissAllowed: boolean;
41
41
  };
42
- export declare const FlagGroupContext: import("react").Context<FlagGroupAPI>;
42
+ export declare const FlagGroupContext: import('react').Context<FlagGroupAPI>;
43
43
  export declare function useFlagGroup(): FlagGroupAPI;
44
44
  /**
45
45
  * __Flag group__
@@ -7,5 +7,5 @@ interface DismissButtonProps {
7
7
  isBold: boolean;
8
8
  testId?: string;
9
9
  }
10
- declare const DismissButton: React.MemoExoticComponent<({ appearance, onClick, isBold, isExpanded, testId, }: DismissButtonProps) => React.JSX.Element>;
10
+ declare const DismissButton: React.MemoExoticComponent<({ appearance, onClick, isBold, isExpanded, testId }: DismissButtonProps) => React.JSX.Element>;
11
11
  export default DismissButton;
@@ -6,11 +6,11 @@ export declare const flagIconColor: Record<AppearanceTypes, string>;
6
6
  export declare const flagIconGlyph: Record<AppearanceTypes, ReactElement>;
7
7
  export declare const flagTextColor: Record<AppearanceTypes, HeadingColor>;
8
8
  export declare const flagTextColorToken: {
9
- error: "var(--ds-text-inverse)";
10
- info: "var(--ds-text-inverse)";
11
- normal: "var(--ds-text)";
12
- success: "var(--ds-text-inverse)";
13
- warning: "var(--ds-text-warning-inverse)";
9
+ error: 'var(--ds-text-inverse)';
10
+ info: 'var(--ds-text-inverse)';
11
+ normal: 'var(--ds-text)';
12
+ success: 'var(--ds-text-inverse)';
13
+ warning: 'var(--ds-text-warning-inverse)';
14
14
  };
15
15
  type ActionBackgroundColor = Record<Exclude<AppearanceTypes, 'normal'>, {
16
16
  default: 'var(--ds-background-inverse-subtle)';
@@ -39,7 +39,7 @@ type FlagGroupAPI = {
39
39
  onDismissed: (id: number | string, analyticsEvent: UIAnalyticsEvent) => void;
40
40
  isDismissAllowed: boolean;
41
41
  };
42
- export declare const FlagGroupContext: import("react").Context<FlagGroupAPI>;
42
+ export declare const FlagGroupContext: import('react').Context<FlagGroupAPI>;
43
43
  export declare function useFlagGroup(): FlagGroupAPI;
44
44
  /**
45
45
  * __Flag group__
@@ -7,5 +7,5 @@ interface DismissButtonProps {
7
7
  isBold: boolean;
8
8
  testId?: string;
9
9
  }
10
- declare const DismissButton: React.MemoExoticComponent<({ appearance, onClick, isBold, isExpanded, testId, }: DismissButtonProps) => React.JSX.Element>;
10
+ declare const DismissButton: React.MemoExoticComponent<({ appearance, onClick, isBold, isExpanded, testId }: DismissButtonProps) => React.JSX.Element>;
11
11
  export default DismissButton;
@@ -6,11 +6,11 @@ export declare const flagIconColor: Record<AppearanceTypes, string>;
6
6
  export declare const flagIconGlyph: Record<AppearanceTypes, ReactElement>;
7
7
  export declare const flagTextColor: Record<AppearanceTypes, HeadingColor>;
8
8
  export declare const flagTextColorToken: {
9
- error: "var(--ds-text-inverse)";
10
- info: "var(--ds-text-inverse)";
11
- normal: "var(--ds-text)";
12
- success: "var(--ds-text-inverse)";
13
- warning: "var(--ds-text-warning-inverse)";
9
+ error: 'var(--ds-text-inverse)';
10
+ info: 'var(--ds-text-inverse)';
11
+ normal: 'var(--ds-text)';
12
+ success: 'var(--ds-text-inverse)';
13
+ warning: 'var(--ds-text-warning-inverse)';
14
14
  };
15
15
  type ActionBackgroundColor = Record<Exclude<AppearanceTypes, 'normal'>, {
16
16
  default: 'var(--ds-background-inverse-subtle)';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/flag",
3
- "version": "17.8.4",
3
+ "version": "17.8.6",
4
4
  "description": "A flag is used for confirmations, alerts, and acknowledgments that require minimal user interaction, often displayed using a flag group.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,8 +36,8 @@
36
36
  "@atlaskit/button": "^23.9.0",
37
37
  "@atlaskit/css": "^0.19.0",
38
38
  "@atlaskit/ds-lib": "^5.3.0",
39
- "@atlaskit/heading": "^5.2.0",
40
- "@atlaskit/icon": "^30.0.0",
39
+ "@atlaskit/heading": "^5.3.0",
40
+ "@atlaskit/icon": "^32.0.0",
41
41
  "@atlaskit/motion": "^5.3.0",
42
42
  "@atlaskit/platform-feature-flags": "^1.1.0",
43
43
  "@atlaskit/portal": "^5.2.0",
@@ -55,7 +55,7 @@
55
55
  "@af/accessibility-testing": "workspace:^",
56
56
  "@af/integration-testing": "workspace:^",
57
57
  "@af/visual-regression": "workspace:^",
58
- "@atlaskit/docs": "^11.3.0",
58
+ "@atlaskit/docs": "^11.4.0",
59
59
  "@atlaskit/drawer": "^11.0.0",
60
60
  "@atlaskit/link": "^3.3.0",
61
61
  "@atlaskit/radio": "^8.4.0",