@atlaskit/editor-toolbar-model 0.1.2 → 0.2.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,13 @@
1
1
  # @atlaskit/editor-toolbar-model
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`51f3f2db61f6e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/51f3f2db61f6e) -
8
+ Add ranks and keys for new collapsed text section component, add responsive container to
9
+ PrimaryToolbar export with new query selectors to hide empty elements, export types
10
+
3
11
  ## 0.1.2
4
12
 
5
13
  ### Patch Changes
@@ -1,3 +1,3 @@
1
1
  export { ToolbarModelRenderer } from './ui/toolbar-model-renderer';
2
- export type { ToolbarComponentType, ToolbarComponentTypes, ToolbarType, ToolbarMenuComponent, ToolbarButtonComponent, ToolbarMenuItemComponent, ToolbarGroupComponent, RegisterToolbar, RegisterToolbarSection, RegisterToolbarGroup, RegisterToolbarButton, RegisterToolbarMenu, RegisterToolbarNestedMenu, RegisterToolbarMenuSection, RegisterToolbarMenuItem, RegisterComponent, } from './types';
2
+ export type { ToolbarComponentType, ToolbarComponentTypes, CommonComponentProps, ToolbarType, ToolbarMenuComponent, ToolbarButtonComponent, ToolbarMenuItemComponent, ToolbarGroupComponent, RegisterToolbar, RegisterToolbarSection, RegisterToolbarGroup, RegisterToolbarButton, RegisterToolbarMenu, RegisterToolbarNestedMenu, RegisterToolbarMenuSection, RegisterToolbarMenuItem, RegisterComponent, } from './types';
3
3
  export { createComponentRegistry } from './create-registry';
@@ -4,7 +4,7 @@ type WithRank<T> = T & {
4
4
  type Parents<T> = Array<WithRank<T>>;
5
5
  export type ToolbarComponentType = ToolbarType | ToolbarSectionType | ToolbarGroupType | ToolbarButtonType | ToolbarMenuType | ToolbarNestedMenuType | ToolbarMenuSectionType | ToolbarMenuItemType;
6
6
  export type ToolbarComponentTypes = Array<ToolbarComponentType>;
7
- type CommonComponentProps = {
7
+ export type CommonComponentProps = {
8
8
  /**
9
9
  * Array of parent information including both keys and types
10
10
  * Ordered from immediate parent to root parent
@@ -1,3 +1,3 @@
1
1
  export { ToolbarModelRenderer } from './ui/toolbar-model-renderer';
2
- export type { ToolbarComponentType, ToolbarComponentTypes, ToolbarType, ToolbarMenuComponent, ToolbarButtonComponent, ToolbarMenuItemComponent, ToolbarGroupComponent, RegisterToolbar, RegisterToolbarSection, RegisterToolbarGroup, RegisterToolbarButton, RegisterToolbarMenu, RegisterToolbarNestedMenu, RegisterToolbarMenuSection, RegisterToolbarMenuItem, RegisterComponent, } from './types';
2
+ export type { ToolbarComponentType, ToolbarComponentTypes, CommonComponentProps, ToolbarType, ToolbarMenuComponent, ToolbarButtonComponent, ToolbarMenuItemComponent, ToolbarGroupComponent, RegisterToolbar, RegisterToolbarSection, RegisterToolbarGroup, RegisterToolbarButton, RegisterToolbarMenu, RegisterToolbarNestedMenu, RegisterToolbarMenuSection, RegisterToolbarMenuItem, RegisterComponent, } from './types';
3
3
  export { createComponentRegistry } from './create-registry';
@@ -4,7 +4,7 @@ type WithRank<T> = T & {
4
4
  type Parents<T> = Array<WithRank<T>>;
5
5
  export type ToolbarComponentType = ToolbarType | ToolbarSectionType | ToolbarGroupType | ToolbarButtonType | ToolbarMenuType | ToolbarNestedMenuType | ToolbarMenuSectionType | ToolbarMenuItemType;
6
6
  export type ToolbarComponentTypes = Array<ToolbarComponentType>;
7
- type CommonComponentProps = {
7
+ export type CommonComponentProps = {
8
8
  /**
9
9
  * Array of parent information including both keys and types
10
10
  * Ordered from immediate parent to root parent
package/package.json CHANGED
@@ -20,13 +20,10 @@
20
20
  "*.compiled.css"
21
21
  ],
22
22
  "atlaskit:src": "src/index.ts",
23
- "af:exports": {
24
- ".": "./src/index.ts"
25
- },
26
23
  "dependencies": {
27
24
  "@atlaskit/css": "^0.12.0",
28
- "@atlaskit/primitives": "^14.11.0",
29
- "@atlaskit/tokens": "^6.0.0",
25
+ "@atlaskit/primitives": "^14.12.0",
26
+ "@atlaskit/tokens": "^6.1.0",
30
27
  "@babel/runtime": "^7.0.0",
31
28
  "@compiled/react": "^0.18.3"
32
29
  },
@@ -36,7 +33,7 @@
36
33
  "devDependencies": {
37
34
  "@af/integration-testing": "workspace:^",
38
35
  "@af/visual-regression": "workspace:^",
39
- "@atlaskit/editor-toolbar": "^0.3.0",
36
+ "@atlaskit/editor-toolbar": "^0.6.0",
40
37
  "@atlaskit/ssr": "workspace:^",
41
38
  "@testing-library/react": "^13.4.0",
42
39
  "react-dom": "^18.2.0"
@@ -77,7 +74,7 @@
77
74
  }
78
75
  },
79
76
  "name": "@atlaskit/editor-toolbar-model",
80
- "version": "0.1.2",
77
+ "version": "0.2.0",
81
78
  "description": "register and render toolbar component",
82
79
  "author": "Atlassian Pty Ltd",
83
80
  "license": "Apache-2.0",