@atlaskit/inline-message 11.1.4

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.
@@ -0,0 +1,16 @@
1
+ /** @jsx jsx */
2
+ import type { FC } from 'react';
3
+ import type { IconAppearance } from '../../types';
4
+ interface MessageIconProps {
5
+ appearance: IconAppearance;
6
+ isOpen: boolean;
7
+ label?: string;
8
+ }
9
+ /**
10
+ * __Selected icon__
11
+ *
12
+ * The selected icon is used as the primary interactive element for the dialog.
13
+ * Can be used with or without supporting text.
14
+ */
15
+ declare const SelectedIcon: FC<MessageIconProps>;
16
+ export default SelectedIcon;
@@ -0,0 +1,3 @@
1
+ import type { IconAppearanceMap } from './types';
2
+ export declare const itemSpacing: number;
3
+ export declare const typesMapping: IconAppearanceMap;
@@ -0,0 +1 @@
1
+ export { default } from './components/inline-message';
@@ -0,0 +1,9 @@
1
+ import { ComponentType } from 'react';
2
+ import type { GlyphProps } from '@atlaskit/icon';
3
+ export interface Icon {
4
+ defaultLabel: string;
5
+ icon: ComponentType<GlyphProps>;
6
+ }
7
+ export declare type IconAppearanceMap = Record<IconAppearance, Icon>;
8
+ export declare type IconAppearance = 'connectivity' | 'confirmation' | 'info' | 'warning' | 'error';
9
+ export declare type InlineDialogPlacement = 'auto-start' | 'auto' | 'auto-end' | 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@atlaskit/inline-message",
3
+ "version": "11.1.4",
4
+ "description": "An inline message lets users know when important information is available or when an action is required.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "sideEffects": false,
16
+ "atlaskit:src": "src/index.tsx",
17
+ "atlassian": {
18
+ "team": "Design System Team",
19
+ "deprecatedAutoEntryPoints": true,
20
+ "inPublicMirror": true,
21
+ "releaseModel": "scheduled",
22
+ "website": {
23
+ "name": "Inline message"
24
+ }
25
+ },
26
+ "dependencies": {
27
+ "@atlaskit/button": "^16.1.0",
28
+ "@atlaskit/icon": "^21.9.0",
29
+ "@atlaskit/inline-dialog": "^13.1.0",
30
+ "@atlaskit/theme": "^12.0.0",
31
+ "@babel/runtime": "^7.0.0",
32
+ "@emotion/core": "^10.0.9"
33
+ },
34
+ "peerDependencies": {
35
+ "react": "^16.8.0"
36
+ },
37
+ "devDependencies": {
38
+ "@atlaskit/build-utils": "*",
39
+ "@atlaskit/docs": "*",
40
+ "@atlaskit/section-message": "^6.1.0",
41
+ "@atlaskit/ssr": "*",
42
+ "@atlaskit/visual-regression": "*",
43
+ "@atlaskit/webdriver-runner": "*",
44
+ "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
45
+ "@testing-library/react": "^8.0.1",
46
+ "enzyme": "^3.10.0",
47
+ "react-dom": "^16.8.0",
48
+ "typescript": "3.9.6"
49
+ },
50
+ "keywords": [
51
+ "atlaskit",
52
+ "react",
53
+ "ui"
54
+ ],
55
+ "techstack": {
56
+ "@atlassian/frontend": {
57
+ "import-structure": "atlassian-conventions"
58
+ },
59
+ "@repo/internal": {
60
+ "design-system": "v1",
61
+ "styling": "emotion",
62
+ "ui-components": "lite-mode",
63
+ "analytics": "analytics-next",
64
+ "theming": "new-theming-api",
65
+ "deprecation": "no-deprecated-imports"
66
+ }
67
+ },
68
+ "homepage": "https://atlassian.design/components/inline-message/",
69
+ "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
70
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@atlaskit/inline-message/types",
3
+ "main": "../dist/cjs/types.js",
4
+ "module": "../dist/esm/types.js",
5
+ "module:es2019": "../dist/es2019/types.js",
6
+ "types": "../dist/types/types.d.ts"
7
+ }