@atlaskit/forge-react-types 0.27.25 → 0.29.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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/forge-react-types
2
2
 
3
+ ## 0.29.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#165221](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165221)
8
+ [`8cb74aed6daf4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8cb74aed6daf4) -
9
+ Changes to Heading component props. The `color` prop now accepts colors represented as tokens:
10
+ `color.text` (default), `color.text.inverse` and `color.text.warning.inverse`.
11
+
12
+ ## 0.28.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#158509](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/158509)
17
+ [`8e9a4bf40930a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e9a4bf40930a) -
18
+ Clean up banner from forge ui kit components
19
+
3
20
  ## 0.27.25
4
21
 
5
22
  ### Patch Changes
@@ -3,14 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - HeadingProps
5
5
  *
6
- * @codegen <<SignedSource::37a4316677f5ba172ee3bc7debb8e96b>>
6
+ * @codegen <<SignedSource::043aaa71ce09c1a2d0ec240d032f2268>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::0719604f8e152c9ed92804908d88b7f5>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::982b85018ea081e37c5f877b1b2767d5>>
9
9
  */
10
10
  import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
11
11
  type HeadingTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
12
+ type TemporaryColors = 'default' | 'inverse';
13
+ type NewColors = 'color.text' | 'color.text.inverse' | 'color.text.warning.inverse';
12
14
  export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId'> & {
13
15
  as: HeadingTags;
14
- color?: 'default' | 'inverse';
16
+ color?: NewColors | TemporaryColors;
15
17
  };
16
18
  export {};
@@ -1,5 +1,4 @@
1
1
  export type { BadgeProps } from './BadgeProps.codegen';
2
- export type { BannerProps } from './BannerProps.codegen';
3
2
  export type { BleedProps } from './BleedProps.codegen';
4
3
  export type { BoxProps } from './BoxProps.codegen';
5
4
  export type { ButtonGroupProps } from './ButtonGroupProps.codegen';
@@ -1,3 +1,3 @@
1
- export type { BadgeProps, BannerProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, 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, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, } from './components/__generated__';
1
+ export type { BadgeProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, 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, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, } from './components/__generated__';
2
2
  export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, SingleValueChartProps, PieChartProps, } from './components/charts';
3
3
  export type { ChartColorTokens } from './types';
@@ -3,14 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - HeadingProps
5
5
  *
6
- * @codegen <<SignedSource::37a4316677f5ba172ee3bc7debb8e96b>>
6
+ * @codegen <<SignedSource::043aaa71ce09c1a2d0ec240d032f2268>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::0719604f8e152c9ed92804908d88b7f5>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::982b85018ea081e37c5f877b1b2767d5>>
9
9
  */
10
10
  import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
11
11
  type HeadingTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
12
+ type TemporaryColors = 'default' | 'inverse';
13
+ type NewColors = 'color.text' | 'color.text.inverse' | 'color.text.warning.inverse';
12
14
  export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId'> & {
13
15
  as: HeadingTags;
14
- color?: 'default' | 'inverse';
16
+ color?: NewColors | TemporaryColors;
15
17
  };
16
18
  export {};
@@ -1,5 +1,4 @@
1
1
  export type { BadgeProps } from './BadgeProps.codegen';
2
- export type { BannerProps } from './BannerProps.codegen';
3
2
  export type { BleedProps } from './BleedProps.codegen';
4
3
  export type { BoxProps } from './BoxProps.codegen';
5
4
  export type { ButtonGroupProps } from './ButtonGroupProps.codegen';
@@ -1,3 +1,3 @@
1
- export type { BadgeProps, BannerProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, 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, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, } from './components/__generated__';
1
+ export type { BadgeProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, 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, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, } from './components/__generated__';
2
2
  export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, SingleValueChartProps, PieChartProps, } from './components/charts';
3
3
  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.27.25",
3
+ "version": "0.29.0",
4
4
  "description": "Component types for Forge UI Kit React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -25,12 +25,11 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@atlaskit/badge": "^16.4.0",
28
- "@atlaskit/banner": "^12.5.0",
29
28
  "@atlaskit/button": "^20.3.0",
30
- "@atlaskit/calendar": "^15.0.0",
29
+ "@atlaskit/calendar": "^15.1.0",
31
30
  "@atlaskit/checkbox": "^15.1.0",
32
31
  "@atlaskit/code": "^15.6.0",
33
- "@atlaskit/datetime-picker": "^15.5.0",
32
+ "@atlaskit/datetime-picker": "^15.9.0",
34
33
  "@atlaskit/dynamic-table": "^16.1.0",
35
34
  "@atlaskit/empty-state": "^7.12.0",
36
35
  "@atlaskit/form": "^10.5.0",
@@ -39,13 +38,13 @@
39
38
  "@atlaskit/lozenge": "^11.12.0",
40
39
  "@atlaskit/modal-dialog": "^12.17.0",
41
40
  "@atlaskit/popup": "^1.29.0",
42
- "@atlaskit/primitives": "^13.0.0",
41
+ "@atlaskit/primitives": "^13.2.0",
43
42
  "@atlaskit/progress-bar": "2.3.3",
44
43
  "@atlaskit/progress-tracker": "8.10.1",
45
44
  "@atlaskit/radio": "^6.5.0",
46
45
  "@atlaskit/range": "^7.4.0",
47
46
  "@atlaskit/section-message": "^6.6.0",
48
- "@atlaskit/select": "^18.4.0",
47
+ "@atlaskit/select": "^18.5.0",
49
48
  "@atlaskit/spinner": "^16.3.0",
50
49
  "@atlaskit/tabs": "^16.5.0",
51
50
  "@atlaskit/tag": "^12.6.0",
@@ -53,8 +52,8 @@
53
52
  "@atlaskit/textarea": "^5.6.0",
54
53
  "@atlaskit/textfield": "^6.5.0",
55
54
  "@atlaskit/toggle": "^13.4.0",
56
- "@atlaskit/tokens": "^2.0.0",
57
- "@atlaskit/tooltip": "^18.8.0",
55
+ "@atlaskit/tokens": "^2.2.0",
56
+ "@atlaskit/tooltip": "^18.9.0",
58
57
  "@babel/runtime": "^7.0.0"
59
58
  },
60
59
  "peerDependencies": {
@@ -3,15 +3,17 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - HeadingProps
5
5
  *
6
- * @codegen <<SignedSource::37a4316677f5ba172ee3bc7debb8e96b>>
6
+ * @codegen <<SignedSource::043aaa71ce09c1a2d0ec240d032f2268>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::0719604f8e152c9ed92804908d88b7f5>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::982b85018ea081e37c5f877b1b2767d5>>
9
9
  */
10
10
  import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
11
11
 
12
12
  type HeadingTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
13
+ type TemporaryColors = 'default' | 'inverse';
14
+ type NewColors = 'color.text' | 'color.text.inverse' | 'color.text.warning.inverse';
13
15
 
14
16
  export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId'> & {
15
17
  as: HeadingTags;
16
- color?: 'default' | 'inverse';
18
+ color?: NewColors | TemporaryColors;
17
19
  };
@@ -1,5 +1,4 @@
1
1
  export type { BadgeProps } from './BadgeProps.codegen';
2
- export type { BannerProps } from './BannerProps.codegen';
3
2
  export type { BleedProps } from './BleedProps.codegen';
4
3
  export type { BoxProps } from './BoxProps.codegen';
5
4
  export type { ButtonGroupProps } from './ButtonGroupProps.codegen';
package/src/index.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export type {
2
2
  BadgeProps,
3
- BannerProps,
4
3
  BleedProps,
5
4
  BoxProps,
6
5
  ButtonGroupProps,
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,14 +0,0 @@
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 - BannerProps
5
- *
6
- * @codegen <<SignedSource::344ca5e7438559794fc21ea8052787c1>>
7
- * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/banner/__generated__/index.partial.tsx <<SignedSource::e02163bafd4666c3cdc45e6b76b57e9a>>
9
- */
10
- import React from 'react';
11
- import PlatformBanner from '@atlaskit/banner';
12
- type PlatformBannerProps = React.ComponentProps<typeof PlatformBanner>;
13
- export type BannerProps = Pick<PlatformBannerProps, 'appearance' | 'children' | 'icon' | 'testId'>;
14
- export {};
@@ -1,14 +0,0 @@
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 - BannerProps
5
- *
6
- * @codegen <<SignedSource::344ca5e7438559794fc21ea8052787c1>>
7
- * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/banner/__generated__/index.partial.tsx <<SignedSource::e02163bafd4666c3cdc45e6b76b57e9a>>
9
- */
10
- import React from 'react';
11
- import PlatformBanner from '@atlaskit/banner';
12
- type PlatformBannerProps = React.ComponentProps<typeof PlatformBanner>;
13
- export type BannerProps = Pick<PlatformBannerProps, 'appearance' | 'children' | 'icon' | 'testId'>;
14
- export {};
@@ -1,18 +0,0 @@
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 - BannerProps
5
- *
6
- * @codegen <<SignedSource::344ca5e7438559794fc21ea8052787c1>>
7
- * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/banner/__generated__/index.partial.tsx <<SignedSource::e02163bafd4666c3cdc45e6b76b57e9a>>
9
- */
10
- import React from 'react';
11
- import PlatformBanner from '@atlaskit/banner';
12
-
13
- type PlatformBannerProps = React.ComponentProps<typeof PlatformBanner>;
14
-
15
- export type BannerProps = Pick<
16
- PlatformBannerProps,
17
- 'appearance' | 'children' | 'icon' | 'testId'
18
- >;