@atlaskit/editor-toolbar 2.1.0 → 2.1.1

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,14 @@
1
1
  # @atlaskit/editor-toolbar
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`cc7e55c918e23`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cc7e55c918e23) -
8
+ [ux] Adds info icon next to visually disabled table column sort buttons with a tooltip explaining
9
+ that sort won't work when merged cells present.
10
+ - Updated dependencies
11
+
3
12
  ## 2.1.0
4
13
 
5
14
  ### Minor Changes
package/dist/cjs/index.js CHANGED
@@ -232,6 +232,12 @@ Object.defineProperty(exports, "IndentIcon", {
232
232
  return _IndentIcon.IndentIcon;
233
233
  }
234
234
  });
235
+ Object.defineProperty(exports, "InformationCircleIcon", {
236
+ enumerable: true,
237
+ get: function get() {
238
+ return _InformationCircleIcon.InformationCircleIcon;
239
+ }
240
+ });
235
241
  Object.defineProperty(exports, "ItalicIcon", {
236
242
  enumerable: true,
237
243
  get: function get() {
@@ -650,6 +656,7 @@ var _HeadingOneIcon = require("./ui/icons/HeadingOneIcon");
650
656
  var _HeadingSixIcon = require("./ui/icons/HeadingSixIcon");
651
657
  var _HeadingThreeIcon = require("./ui/icons/HeadingThreeIcon");
652
658
  var _HeadingTwoIcon = require("./ui/icons/HeadingTwoIcon");
659
+ var _InformationCircleIcon = require("./ui/icons/InformationCircleIcon");
653
660
  var _ItalicIcon = require("./ui/icons/ItalicIcon");
654
661
  var _LinkIcon = require("./ui/icons/LinkIcon");
655
662
  var _ListBulletedIcon = require("./ui/icons/ListBulletedIcon");
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "InformationCircleIcon", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _informationCircle.default;
11
+ }
12
+ });
13
+ var _informationCircle = _interopRequireDefault(require("@atlaskit/icon/core/information-circle"));
@@ -39,6 +39,7 @@ export { HeadingOneIcon } from './ui/icons/HeadingOneIcon';
39
39
  export { HeadingSixIcon } from './ui/icons/HeadingSixIcon';
40
40
  export { HeadingThreeIcon } from './ui/icons/HeadingThreeIcon';
41
41
  export { HeadingTwoIcon } from './ui/icons/HeadingTwoIcon';
42
+ export { InformationCircleIcon } from './ui/icons/InformationCircleIcon';
42
43
  export { ItalicIcon } from './ui/icons/ItalicIcon';
43
44
  export { LinkIcon } from './ui/icons/LinkIcon';
44
45
  export { ListBulletedIcon } from './ui/icons/ListBulletedIcon';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { default as InformationCircleIcon } from '@atlaskit/icon/core/information-circle';
package/dist/esm/index.js CHANGED
@@ -39,6 +39,7 @@ export { HeadingOneIcon } from './ui/icons/HeadingOneIcon';
39
39
  export { HeadingSixIcon } from './ui/icons/HeadingSixIcon';
40
40
  export { HeadingThreeIcon } from './ui/icons/HeadingThreeIcon';
41
41
  export { HeadingTwoIcon } from './ui/icons/HeadingTwoIcon';
42
+ export { InformationCircleIcon } from './ui/icons/InformationCircleIcon';
42
43
  export { ItalicIcon } from './ui/icons/ItalicIcon';
43
44
  export { LinkIcon } from './ui/icons/LinkIcon';
44
45
  export { ListBulletedIcon } from './ui/icons/ListBulletedIcon';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { default as InformationCircleIcon } from '@atlaskit/icon/core/information-circle';
@@ -38,6 +38,7 @@ export { HeadingOneIcon } from './ui/icons/HeadingOneIcon';
38
38
  export { HeadingSixIcon } from './ui/icons/HeadingSixIcon';
39
39
  export { HeadingThreeIcon } from './ui/icons/HeadingThreeIcon';
40
40
  export { HeadingTwoIcon } from './ui/icons/HeadingTwoIcon';
41
+ export { InformationCircleIcon } from './ui/icons/InformationCircleIcon';
41
42
  export { ItalicIcon } from './ui/icons/ItalicIcon';
42
43
  export { LinkIcon } from './ui/icons/LinkIcon';
43
44
  export { ListBulletedIcon } from './ui/icons/ListBulletedIcon';
@@ -0,0 +1 @@
1
+ export { default as InformationCircleIcon } from '@atlaskit/icon/core/information-circle';
@@ -0,0 +1,41 @@
1
+ import path from 'path';
2
+
3
+ import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
4
+
5
+ import packageJson from './package.json';
6
+
7
+ const packagePath = path.resolve(__dirname);
8
+
9
+ const documentation: StructuredContentSource = {
10
+ components: [
11
+ {
12
+ name: 'Toolbar',
13
+ description:
14
+ 'A common toolbar component for editor-like interfaces, providing a container for buttons, dropdowns, and other controls.',
15
+ status: 'general-availability',
16
+ import: {
17
+ name: 'Toolbar',
18
+ package: '@atlaskit/editor-toolbar',
19
+ type: 'named',
20
+ packagePath,
21
+ packageJson,
22
+ },
23
+ usageGuidelines: [
24
+ 'Use Toolbar to organize actions and controls for content editing.',
25
+ 'Supports grouping buttons and responsive behavior.',
26
+ 'Can be used as a primary toolbar or within specific sections of an interface.',
27
+ ],
28
+ examples: [
29
+ {
30
+ name: 'Basic',
31
+ description: 'Standard toolbar with basic buttons and groups.',
32
+ source: path.resolve(packagePath, './examples/basic.tsx'),
33
+ },
34
+ ],
35
+ keywords: ['toolbar', 'editor', 'actions', 'controls', 'buttons'],
36
+ categories: ['interaction', 'layout'],
37
+ },
38
+ ],
39
+ };
40
+
41
+ export default documentation;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "2.1.0",
6
+ "version": "2.1.1",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "react-compiler": {
@@ -36,10 +36,10 @@
36
36
  "@atlaskit/icon-lab": "^7.2.0",
37
37
  "@atlaskit/platform-feature-flags": "^2.0.0",
38
38
  "@atlaskit/popup": "^5.1.0",
39
- "@atlaskit/primitives": "^20.1.0",
39
+ "@atlaskit/primitives": "^20.2.0",
40
40
  "@atlaskit/react-compiler-gating": "^0.2.0",
41
- "@atlaskit/tmp-editor-statsig": "^114.0.0",
42
- "@atlaskit/tokens": "^15.1.0",
41
+ "@atlaskit/tmp-editor-statsig": "^114.5.0",
42
+ "@atlaskit/tokens": "^15.2.0",
43
43
  "@atlaskit/tooltip": "^23.1.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@compiled/react": "^0.20.0",