@atlaskit/editor-toolbar 0.20.12 → 0.20.13
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 +7 -0
- package/dist/types/types.d.ts +1 -1
- package/dist/types/ui/ColorPalette/getColorMessage.d.ts +1 -1
- package/dist/types/ui/ColorPalette/types.d.ts +2 -2
- package/dist/types/ui/ResponsiveContainer.d.ts +2 -1
- package/dist/types/ui/Show.d.ts +2 -1
- package/dist/types/ui/Toolbar.d.ts +3 -2
- package/dist/types/ui/ToolbarButton.d.ts +3 -2
- package/dist/types/ui/ToolbarButtonGroup.d.ts +1 -5
- package/dist/types/ui/ToolbarColorSwatch.d.ts +2 -1
- package/dist/types/ui/ToolbarDropdownItem.d.ts +2 -1
- package/dist/types/ui/ToolbarDropdownItemSection.d.ts +2 -1
- package/dist/types/ui/ToolbarDropdownMenu.d.ts +2 -1
- package/dist/types/ui/ToolbarDropdownMenuContext.d.ts +2 -1
- package/dist/types/ui/ToolbarNestedDropdownMenu.d.ts +1 -1
- package/dist/types/ui/ToolbarSection.d.ts +1 -1
- package/dist/types/ui/icons/MoreItemsIcon.d.ts +1 -1
- package/dist/types/ui/icons/NestedDropdownRightIcon.d.ts +1 -1
- package/dist/types/ui/icons/ShowMoreHorizontal.d.ts +1 -1
- package/dist/types/ui/icons/TextColorIcon.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/dist/types-ts4.5/ui/ColorPalette/getColorMessage.d.ts +1 -1
- package/dist/types-ts4.5/ui/ColorPalette/types.d.ts +2 -2
- package/dist/types-ts4.5/ui/ResponsiveContainer.d.ts +2 -1
- package/dist/types-ts4.5/ui/Show.d.ts +2 -1
- package/dist/types-ts4.5/ui/Toolbar.d.ts +3 -2
- package/dist/types-ts4.5/ui/ToolbarButton.d.ts +3 -2
- package/dist/types-ts4.5/ui/ToolbarButtonGroup.d.ts +1 -5
- package/dist/types-ts4.5/ui/ToolbarColorSwatch.d.ts +2 -1
- package/dist/types-ts4.5/ui/ToolbarDropdownItem.d.ts +2 -1
- package/dist/types-ts4.5/ui/ToolbarDropdownItemSection.d.ts +2 -1
- package/dist/types-ts4.5/ui/ToolbarDropdownMenu.d.ts +2 -1
- package/dist/types-ts4.5/ui/ToolbarDropdownMenuContext.d.ts +2 -1
- package/dist/types-ts4.5/ui/ToolbarNestedDropdownMenu.d.ts +1 -1
- package/dist/types-ts4.5/ui/ToolbarSection.d.ts +1 -1
- package/dist/types-ts4.5/ui/icons/MoreItemsIcon.d.ts +1 -1
- package/dist/types-ts4.5/ui/icons/NestedDropdownRightIcon.d.ts +1 -1
- package/dist/types-ts4.5/ui/icons/ShowMoreHorizontal.d.ts +1 -1
- package/dist/types-ts4.5/ui/icons/TextColorIcon.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-toolbar
|
|
2
2
|
|
|
3
|
+
## 0.20.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c9b7aaa42d05b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c9b7aaa42d05b) -
|
|
8
|
+
Mechanical type-import autofix for editor core shell packages.
|
|
9
|
+
|
|
3
10
|
## 0.20.12
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/types/types.d.ts
CHANGED
package/dist/types/ui/Show.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
2
3
|
import type { ResponsiveContainerProps } from './ResponsiveContainer';
|
|
3
|
-
import {
|
|
4
|
+
import type { ViewEventEmitterProps } from './ViewEventEmitter';
|
|
4
5
|
type ToolbarProps = {
|
|
5
6
|
children?: ReactNode;
|
|
6
7
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import type { TriggerProps } from '@atlaskit/popup';
|
|
3
4
|
type ToolbarButtonProps = Partial<TriggerProps> & {
|
|
4
5
|
ariaKeyshortcuts?: string;
|
|
5
6
|
children?: ReactNode;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ReactNode, Ref } from 'react';
|
|
2
3
|
import type { CustomItemComponentProps } from '@atlaskit/menu/types';
|
|
3
4
|
import type { DataAttributes } from '../types';
|
|
4
5
|
type TextStyle = 'normal' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { KeyboardEvent, MouseEvent } from 'react';
|
|
2
3
|
interface ToolbarDropdownMenuContextValue {
|
|
3
4
|
closeMenu: (event: Event | MouseEvent | KeyboardEvent | null) => void;
|
|
4
5
|
isOpen: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IconComponent } from '../../types';
|
|
2
2
|
export declare const MoreItemsIcon: IconComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IconComponent } from '../../types';
|
|
2
2
|
export declare const NestedDropdownRightIcon: IconComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IconComponent } from '../../types';
|
|
2
2
|
export declare const ShowMoreHorizontalIcon: IconComponent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/types';
|
|
3
|
+
import type { IconColor } from '@atlaskit/tokens/css-type-schema';
|
|
4
4
|
type TextColorIconProps = NewCoreIconProps & {
|
|
5
5
|
iconColor?: IconColor;
|
|
6
6
|
isDisabled?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
2
3
|
import type { ResponsiveContainerProps } from './ResponsiveContainer';
|
|
3
|
-
import {
|
|
4
|
+
import type { ViewEventEmitterProps } from './ViewEventEmitter';
|
|
4
5
|
type ToolbarProps = {
|
|
5
6
|
children?: ReactNode;
|
|
6
7
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import type { TriggerProps } from '@atlaskit/popup';
|
|
3
4
|
type ToolbarButtonProps = Partial<TriggerProps> & {
|
|
4
5
|
ariaKeyshortcuts?: string;
|
|
5
6
|
children?: ReactNode;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ReactNode, Ref } from 'react';
|
|
2
3
|
import type { CustomItemComponentProps } from '@atlaskit/menu/types';
|
|
3
4
|
import type { DataAttributes } from '../types';
|
|
4
5
|
type TextStyle = 'normal' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { KeyboardEvent, MouseEvent } from 'react';
|
|
2
3
|
interface ToolbarDropdownMenuContextValue {
|
|
3
4
|
closeMenu: (event: Event | MouseEvent | KeyboardEvent | null) => void;
|
|
4
5
|
isOpen: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IconComponent } from '../../types';
|
|
2
2
|
export declare const MoreItemsIcon: IconComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IconComponent } from '../../types';
|
|
2
2
|
export declare const NestedDropdownRightIcon: IconComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IconComponent } from '../../types';
|
|
2
2
|
export declare const ShowMoreHorizontalIcon: IconComponent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/types';
|
|
3
|
+
import type { IconColor } from '@atlaskit/tokens/css-type-schema';
|
|
4
4
|
type TextColorIconProps = NewCoreIconProps & {
|
|
5
5
|
iconColor?: IconColor;
|
|
6
6
|
isDisabled?: boolean;
|