@atlaskit/icon-object 6.10.1 → 6.11.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 +13 -0
- package/afm-cc/tsconfig.json +3 -0
- package/build/index.tsx +7 -1
- package/build/utils.tsx +30 -2
- package/dist/cjs/artifacts/glyph/page-live-doc/16.js +49 -0
- package/dist/cjs/artifacts/glyph/page-live-doc/24.js +49 -0
- package/dist/cjs/artifacts/glyph-legacy/page-live-doc/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/page-live-doc/24.js +28 -0
- package/dist/cjs/metadata.js +23 -1
- package/dist/es2019/artifacts/glyph/page-live-doc/16.js +43 -0
- package/dist/es2019/artifacts/glyph/page-live-doc/24.js +43 -0
- package/dist/es2019/artifacts/glyph-legacy/page-live-doc/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/page-live-doc/24.js +18 -0
- package/dist/es2019/metadata.js +15 -1
- package/dist/esm/artifacts/glyph/page-live-doc/16.js +42 -0
- package/dist/esm/artifacts/glyph/page-live-doc/24.js +42 -0
- package/dist/esm/artifacts/glyph-legacy/page-live-doc/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/page-live-doc/24.js +20 -0
- package/dist/esm/metadata.js +19 -1
- package/dist/types/artifacts/glyph/blog/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/blog/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/branch/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/branch/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/bug/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/bug/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/calendar/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/calendar/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/changes/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/changes/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/code/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/code/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/commit/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/commit/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/epic/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/epic/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/improvement/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/improvement/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/incident/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/incident/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/issue/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/issue/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/new-feature/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/new-feature/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/page/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/page/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/page-live-doc/16.d.ts +19 -0
- package/dist/types/artifacts/glyph/page-live-doc/24.d.ts +19 -0
- package/dist/types/artifacts/glyph/problem/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/problem/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/pull-request/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/pull-request/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/question/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/question/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/story/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/story/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/subtask/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/subtask/24.d.ts +7 -2
- package/dist/types/artifacts/glyph/task/16.d.ts +7 -2
- package/dist/types/artifacts/glyph/task/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/blog/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/blog/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/branch/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/branch/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/bug/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/bug/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/calendar/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/calendar/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/changes/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/changes/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/code/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/code/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/commit/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/commit/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/epic/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/epic/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/improvement/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/improvement/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/incident/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/incident/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/issue/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/issue/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/new-feature/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/new-feature/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/page/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/page/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/page-live-doc/16.d.ts +12 -0
- package/dist/types/artifacts/glyph-legacy/page-live-doc/24.d.ts +12 -0
- package/dist/types/artifacts/glyph-legacy/problem/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/problem/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/pull-request/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/pull-request/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/question/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/question/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/story/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/story/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/subtask/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/subtask/24.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/task/16.d.ts +7 -2
- package/dist/types/artifacts/glyph-legacy/task/24.d.ts +7 -2
- package/dist/types/metadata.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/blog/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/blog/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/branch/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/branch/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/bug/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/bug/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/calendar/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/calendar/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/changes/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/changes/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/code/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/code/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/commit/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/commit/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/epic/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/epic/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/improvement/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/improvement/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/incident/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/incident/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/issue/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/issue/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/new-feature/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/new-feature/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/page/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/page/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/page-live-doc/16.d.ts +19 -0
- package/dist/types-ts4.5/artifacts/glyph/page-live-doc/24.d.ts +19 -0
- package/dist/types-ts4.5/artifacts/glyph/problem/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/problem/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/pull-request/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/pull-request/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/question/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/question/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/story/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/story/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/subtask/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/subtask/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/task/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph/task/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/blog/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/blog/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/branch/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/branch/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/bug/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/bug/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/calendar/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/calendar/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/changes/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/changes/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/code/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/code/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/commit/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/commit/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/epic/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/epic/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/improvement/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/improvement/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/incident/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/incident/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/issue/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/issue/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/new-feature/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/new-feature/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/page/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/page/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/page-live-doc/16.d.ts +12 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/page-live-doc/24.d.ts +12 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/problem/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/problem/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/pull-request/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/pull-request/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/question/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/question/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/story/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/story/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/subtask/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/subtask/24.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/task/16.d.ts +7 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/task/24.d.ts +7 -2
- package/dist/types-ts4.5/metadata.d.ts +1 -1
- package/glyph/page-live-doc/16/package.json +17 -0
- package/glyph/page-live-doc/24/package.json +17 -0
- package/package.json +5 -2
- package/svgs/page-live-doc/16.svg +1 -0
- package/svgs/page-live-doc/24.svg +1 -0
- package/svgs_raw/page-live-doc/16.svg +3 -0
- package/svgs_raw/page-live-doc/24.svg +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/icon-object
|
|
2
2
|
|
|
3
|
+
## 6.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#113741](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113741)
|
|
8
|
+
[`bb699da066ffc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bb699da066ffc) -
|
|
9
|
+
[ux] This release adds icons in `@atlaskit/icon-object`.
|
|
10
|
+
|
|
11
|
+
**`@atlaskit/icon-object`**
|
|
12
|
+
|
|
13
|
+
- LiveDoc16Icon
|
|
14
|
+
- LiveDoc24Icon
|
|
15
|
+
|
|
3
16
|
## 6.10.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
package/build/index.tsx
CHANGED
|
@@ -59,7 +59,13 @@ Object.entries(iconObjectMapping).forEach(([name, iconObject]) => {
|
|
|
59
59
|
// empty existing folder
|
|
60
60
|
fs.emptyDirSync(path.resolve(root!, 'src', 'artifacts', 'glyph', name));
|
|
61
61
|
(['16', '24'] as const).forEach((size) => {
|
|
62
|
-
const iconObjectJSX = getIconObjectJSX(
|
|
62
|
+
const iconObjectJSX = getIconObjectJSX(
|
|
63
|
+
name,
|
|
64
|
+
iconObject.icon,
|
|
65
|
+
iconObject.appearance,
|
|
66
|
+
size,
|
|
67
|
+
iconObject.packageName,
|
|
68
|
+
);
|
|
63
69
|
// create file if it doesn't exist
|
|
64
70
|
fs.ensureFileSync(path.resolve(root!, 'src', 'artifacts', 'glyph', name, `${size}.tsx`));
|
|
65
71
|
// write new content
|
package/build/utils.tsx
CHANGED
|
@@ -1,79 +1,106 @@
|
|
|
1
|
-
export const iconObjectMapping: Record<
|
|
1
|
+
export const iconObjectMapping: Record<
|
|
2
|
+
string,
|
|
3
|
+
{ icon: string; appearance: string; packageName: string }
|
|
4
|
+
> = {
|
|
2
5
|
blog: {
|
|
3
6
|
icon: 'quotation-mark',
|
|
4
7
|
appearance: 'blueBold',
|
|
8
|
+
packageName: 'icon',
|
|
5
9
|
},
|
|
6
10
|
branch: {
|
|
7
11
|
icon: 'branch',
|
|
8
12
|
appearance: 'blueBold',
|
|
13
|
+
packageName: 'icon',
|
|
9
14
|
},
|
|
10
15
|
bug: {
|
|
11
16
|
icon: 'bug',
|
|
12
17
|
appearance: 'redBold',
|
|
18
|
+
packageName: 'icon',
|
|
13
19
|
},
|
|
14
20
|
calendar: {
|
|
15
21
|
icon: 'calendar',
|
|
16
22
|
appearance: 'redBold',
|
|
23
|
+
packageName: 'icon',
|
|
17
24
|
},
|
|
18
25
|
changes: {
|
|
19
26
|
icon: 'changes',
|
|
20
27
|
appearance: 'orangeBold',
|
|
28
|
+
packageName: 'icon',
|
|
21
29
|
},
|
|
22
30
|
code: {
|
|
23
31
|
icon: 'angle-brackets',
|
|
24
32
|
appearance: 'purpleBold',
|
|
33
|
+
packageName: 'icon',
|
|
25
34
|
},
|
|
26
35
|
commit: {
|
|
27
36
|
icon: 'commit',
|
|
28
37
|
appearance: 'orangeBold',
|
|
38
|
+
packageName: 'icon',
|
|
29
39
|
},
|
|
30
40
|
epic: {
|
|
31
41
|
icon: 'epic',
|
|
32
42
|
appearance: 'purpleBold',
|
|
43
|
+
packageName: 'icon',
|
|
33
44
|
},
|
|
34
45
|
improvement: {
|
|
35
46
|
icon: 'arrow-up',
|
|
36
47
|
appearance: 'greenBold',
|
|
48
|
+
packageName: 'icon',
|
|
37
49
|
},
|
|
38
50
|
incident: {
|
|
39
51
|
icon: 'incident',
|
|
40
52
|
appearance: 'redBold',
|
|
53
|
+
packageName: 'icon',
|
|
41
54
|
},
|
|
42
55
|
issue: {
|
|
43
56
|
icon: 'issue',
|
|
44
57
|
appearance: 'blueBold',
|
|
58
|
+
packageName: 'icon',
|
|
45
59
|
},
|
|
46
60
|
'new-feature': {
|
|
47
61
|
icon: 'add',
|
|
48
62
|
appearance: 'greenBold',
|
|
63
|
+
packageName: 'icon',
|
|
49
64
|
},
|
|
50
65
|
page: {
|
|
51
66
|
icon: 'page',
|
|
52
67
|
appearance: 'blueBold',
|
|
68
|
+
packageName: 'icon',
|
|
53
69
|
},
|
|
54
70
|
problem: {
|
|
55
71
|
icon: 'problem',
|
|
56
72
|
appearance: 'redBold',
|
|
73
|
+
packageName: 'icon',
|
|
57
74
|
},
|
|
58
75
|
'pull-request': {
|
|
59
76
|
icon: 'pull-request',
|
|
60
77
|
appearance: 'greenBold',
|
|
78
|
+
packageName: 'icon',
|
|
61
79
|
},
|
|
62
80
|
question: {
|
|
63
81
|
icon: 'question-circle',
|
|
64
82
|
appearance: 'purpleBold',
|
|
83
|
+
packageName: 'icon',
|
|
65
84
|
},
|
|
66
85
|
story: {
|
|
67
86
|
icon: 'story',
|
|
68
87
|
appearance: 'greenBold',
|
|
88
|
+
packageName: 'icon',
|
|
69
89
|
},
|
|
70
90
|
subtask: {
|
|
71
91
|
icon: 'subtasks',
|
|
72
92
|
appearance: 'blueBold',
|
|
93
|
+
packageName: 'icon',
|
|
73
94
|
},
|
|
74
95
|
task: {
|
|
75
96
|
icon: 'task',
|
|
76
97
|
appearance: 'blueBold',
|
|
98
|
+
packageName: 'icon',
|
|
99
|
+
},
|
|
100
|
+
'page-live-doc': {
|
|
101
|
+
icon: 'page-live-doc',
|
|
102
|
+
appearance: 'magentaBold',
|
|
103
|
+
packageName: 'icon-lab',
|
|
77
104
|
},
|
|
78
105
|
};
|
|
79
106
|
|
|
@@ -82,6 +109,7 @@ export const getIconObjectJSX = (
|
|
|
82
109
|
icon: string,
|
|
83
110
|
appearance: string,
|
|
84
111
|
size: '16' | '24',
|
|
112
|
+
packageName: string,
|
|
85
113
|
) => {
|
|
86
114
|
// convert name to PascalCase from kebab-case
|
|
87
115
|
const componentName = `${name
|
|
@@ -92,7 +120,7 @@ export const getIconObjectJSX = (
|
|
|
92
120
|
return `import React from 'react';
|
|
93
121
|
|
|
94
122
|
import { IconTile } from '@atlaskit/icon';
|
|
95
|
-
import NewIcon from '@atlaskit/
|
|
123
|
+
import NewIcon from '@atlaskit/${packageName}/core/${icon}';
|
|
96
124
|
import type { GlyphProps } from '@atlaskit/icon/types';
|
|
97
125
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
98
126
|
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _icon = require("@atlaskit/icon");
|
|
10
|
+
var _pageLiveDoc = _interopRequireDefault(require("@atlaskit/icon-lab/core/page-live-doc"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _ = _interopRequireDefault(require("../../glyph-legacy/page-live-doc/16"));
|
|
13
|
+
/**
|
|
14
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
15
|
+
* @codegen <<SignedSource::c1228c9bdd9840505938b56c7ed44212>>
|
|
16
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __16px `page-live-doc` icon object__
|
|
21
|
+
*
|
|
22
|
+
* - [Examples](https://atlassian.design/components/icon-object/examples)
|
|
23
|
+
* - [Code](https://atlassian.design/components/icon-object/code)
|
|
24
|
+
* - [Usage](https://atlassian.design/components/icon-object/usage)
|
|
25
|
+
*/
|
|
26
|
+
var PageLiveDoc16Icon = function PageLiveDoc16Icon(_ref) {
|
|
27
|
+
var label = _ref.label,
|
|
28
|
+
testId = _ref.testId;
|
|
29
|
+
if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
|
|
31
|
+
icon: _pageLiveDoc.default,
|
|
32
|
+
appearance: "magentaBold",
|
|
33
|
+
size: "16",
|
|
34
|
+
label: label,
|
|
35
|
+
testId: testId,
|
|
36
|
+
LEGACY_fallbackComponent: /*#__PURE__*/_react.default.createElement(_.default, {
|
|
37
|
+
label: label,
|
|
38
|
+
testId: testId
|
|
39
|
+
})
|
|
40
|
+
});
|
|
41
|
+
} else {
|
|
42
|
+
return /*#__PURE__*/_react.default.createElement(_.default, {
|
|
43
|
+
label: label,
|
|
44
|
+
testId: testId
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
PageLiveDoc16Icon.displayName = 'PageLiveDoc16Icon';
|
|
49
|
+
var _default = exports.default = PageLiveDoc16Icon;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _icon = require("@atlaskit/icon");
|
|
10
|
+
var _pageLiveDoc = _interopRequireDefault(require("@atlaskit/icon-lab/core/page-live-doc"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _ = _interopRequireDefault(require("../../glyph-legacy/page-live-doc/24"));
|
|
13
|
+
/**
|
|
14
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
15
|
+
* @codegen <<SignedSource::724c9bd5f0d44d16613664f162286445>>
|
|
16
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __24px `page-live-doc` icon object__
|
|
21
|
+
*
|
|
22
|
+
* - [Examples](https://atlassian.design/components/icon-object/examples)
|
|
23
|
+
* - [Code](https://atlassian.design/components/icon-object/code)
|
|
24
|
+
* - [Usage](https://atlassian.design/components/icon-object/usage)
|
|
25
|
+
*/
|
|
26
|
+
var PageLiveDoc24Icon = function PageLiveDoc24Icon(_ref) {
|
|
27
|
+
var label = _ref.label,
|
|
28
|
+
testId = _ref.testId;
|
|
29
|
+
if ((0, _platformFeatureFlags.fg)('icon-object-migration')) {
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_icon.IconTile, {
|
|
31
|
+
icon: _pageLiveDoc.default,
|
|
32
|
+
appearance: "magentaBold",
|
|
33
|
+
size: "24",
|
|
34
|
+
label: label,
|
|
35
|
+
testId: testId,
|
|
36
|
+
LEGACY_fallbackComponent: /*#__PURE__*/_react.default.createElement(_.default, {
|
|
37
|
+
label: label,
|
|
38
|
+
testId: testId
|
|
39
|
+
})
|
|
40
|
+
});
|
|
41
|
+
} else {
|
|
42
|
+
return /*#__PURE__*/_react.default.createElement(_.default, {
|
|
43
|
+
label: label,
|
|
44
|
+
testId: testId
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
PageLiveDoc24Icon.displayName = 'PageLiveDoc24Icon';
|
|
49
|
+
var _default = exports.default = PageLiveDoc24Icon;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _base = require("@atlaskit/icon/base");
|
|
11
|
+
/**
|
|
12
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
13
|
+
* @codegen <<SignedSource::17c8c810f288fa2c4d58e06371883a6e>>
|
|
14
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
var PageLiveDoc16Icon = function PageLiveDoc16Icon(props) {
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_base.IconFacade, (0, _extends2.default)({
|
|
19
|
+
dangerouslySetGlyph: "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" role=\"presentation\"><path fill=\"#cd519d\" fill-rule=\"evenodd\" d=\"M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2M3 4a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h3a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h2.5a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m8.293-5.793-2.854 4.05c-.21.314.009.743.38.743h1.993c.149 0 .259.143.224.292l-.443 2.121c-.119.511.538.812.828.38l2.854-4.05c.21-.314-.008-.743-.38-.743h-1.993a.236.236 0 0 1-.224-.292l.443-2.121c.119-.511-.538-.812-.828-.38\" clip-rule=\"evenodd\"/></svg>"
|
|
20
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
21
|
+
}, props, {
|
|
22
|
+
size: "small"
|
|
23
|
+
}));
|
|
24
|
+
};
|
|
25
|
+
PageLiveDoc16Icon.displayName = 'PageLiveDoc16Icon';
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
28
|
+
var _default = exports.default = PageLiveDoc16Icon;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _base = require("@atlaskit/icon/base");
|
|
11
|
+
/**
|
|
12
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
13
|
+
* @codegen <<SignedSource::15139b5f4236bc308adc0b1e9c84b98b>>
|
|
14
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
var PageLiveDoc24Icon = function PageLiveDoc24Icon(props) {
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_base.IconFacade, (0, _extends2.default)({
|
|
19
|
+
dangerouslySetGlyph: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" role=\"presentation\"><path fill=\"#cd519d\" fill-rule=\"evenodd\" d=\"M24 3a3 3 0 0 0-3-3H3a3 3 0 0 0-3 3v18a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3zM5.125 4.875h13.75l.153.01a1.125 1.125 0 0 1 0 2.23l-.153.01H5.125l-.153-.01a1.125 1.125 0 0 1 0-2.23zm5.25 6h-5.25l-.153.01a1.125 1.125 0 0 0 0 2.23l.153.01h5.25l.153-.01a1.125 1.125 0 0 0 0-2.23zm-.5 6h-4.75l-.153.01a1.125 1.125 0 0 0 0 2.23l.153.01h4.75l.153-.01a1.125 1.125 0 0 0 0-2.23zm7.029-7.564-4.28 6.073c-.317.473.012 1.116.57 1.116h2.988c.224 0 .389.215.337.438l-.665 3.182c-.178.766.807 1.218 1.242.569l4.28-6.073c.317-.473-.012-1.116-.57-1.116h-2.988a.353.353 0 0 1-.337-.438l.665-3.182c.178-.766-.808-1.218-1.242-.569\" clip-rule=\"evenodd\"/></svg>"
|
|
20
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
21
|
+
}, props, {
|
|
22
|
+
size: "medium"
|
|
23
|
+
}));
|
|
24
|
+
};
|
|
25
|
+
PageLiveDoc24Icon.displayName = 'PageLiveDoc24Icon';
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
28
|
+
var _default = exports.default = PageLiveDoc24Icon;
|
package/dist/cjs/metadata.js
CHANGED
|
@@ -16,7 +16,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
16
16
|
*
|
|
17
17
|
* To change the format of this file, modify `createIconDocs` in icon-build-process/src/create-icon-docs.tsx.
|
|
18
18
|
*
|
|
19
|
-
* @codegen <<SignedSource::
|
|
19
|
+
* @codegen <<SignedSource::617f9e8cc692aa7de8e78ee992787e08>>
|
|
20
20
|
* @codegenCommand yarn build:icon-glyphs
|
|
21
21
|
*/
|
|
22
22
|
/* eslint-disable import/no-extraneous-dependencies -- This import is within the same package, hence self-referential. */
|
|
@@ -154,6 +154,17 @@ var metaDataWithPackageLoader = exports.metaDataWithPackageLoader = {
|
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
|
+
'page-live-doc/16': {
|
|
158
|
+
keywords: ['page-live-doc/16', 'pagelivedoc16', 'object', 'icon-object'],
|
|
159
|
+
componentName: 'PageLiveDoc16Icon',
|
|
160
|
+
package: '@atlaskit/icon-object/glyph/page-live-doc/16',
|
|
161
|
+
packageLoader: function packageLoader() {
|
|
162
|
+
return Promise.resolve().then(function () {
|
|
163
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_icon" */
|
|
164
|
+
'./artifacts/glyph/page-live-doc/16'));
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
},
|
|
157
168
|
'page/16': {
|
|
158
169
|
keywords: ['page/16', 'page16', 'object', 'icon-object'],
|
|
159
170
|
componentName: 'Page16Icon',
|
|
@@ -363,6 +374,17 @@ var metaDataWithPackageLoader = exports.metaDataWithPackageLoader = {
|
|
|
363
374
|
});
|
|
364
375
|
}
|
|
365
376
|
},
|
|
377
|
+
'page-live-doc/24': {
|
|
378
|
+
keywords: ['page-live-doc/24', 'pagelivedoc24', 'object', 'icon-object'],
|
|
379
|
+
componentName: 'PageLiveDoc24Icon',
|
|
380
|
+
package: '@atlaskit/icon-object/glyph/page-live-doc/24',
|
|
381
|
+
packageLoader: function packageLoader() {
|
|
382
|
+
return Promise.resolve().then(function () {
|
|
383
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_icon" */
|
|
384
|
+
'./artifacts/glyph/page-live-doc/24'));
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
},
|
|
366
388
|
'page/24': {
|
|
367
389
|
keywords: ['page/24', 'page24', 'object', 'icon-object'],
|
|
368
390
|
componentName: 'Page24Icon',
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::c1228c9bdd9840505938b56c7ed44212>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { IconTile } from '@atlaskit/icon';
|
|
8
|
+
import NewIcon from '@atlaskit/icon-lab/core/page-live-doc';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
+
import IconObjectOld from '../../glyph-legacy/page-live-doc/16';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* __16px `page-live-doc` icon object__
|
|
14
|
+
*
|
|
15
|
+
* - [Examples](https://atlassian.design/components/icon-object/examples)
|
|
16
|
+
* - [Code](https://atlassian.design/components/icon-object/code)
|
|
17
|
+
* - [Usage](https://atlassian.design/components/icon-object/usage)
|
|
18
|
+
*/
|
|
19
|
+
const PageLiveDoc16Icon = ({
|
|
20
|
+
label,
|
|
21
|
+
testId
|
|
22
|
+
}) => {
|
|
23
|
+
if (fg('icon-object-migration')) {
|
|
24
|
+
return /*#__PURE__*/React.createElement(IconTile, {
|
|
25
|
+
icon: NewIcon,
|
|
26
|
+
appearance: "magentaBold",
|
|
27
|
+
size: "16",
|
|
28
|
+
label: label,
|
|
29
|
+
testId: testId,
|
|
30
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(IconObjectOld, {
|
|
31
|
+
label: label,
|
|
32
|
+
testId: testId
|
|
33
|
+
})
|
|
34
|
+
});
|
|
35
|
+
} else {
|
|
36
|
+
return /*#__PURE__*/React.createElement(IconObjectOld, {
|
|
37
|
+
label: label,
|
|
38
|
+
testId: testId
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
PageLiveDoc16Icon.displayName = 'PageLiveDoc16Icon';
|
|
43
|
+
export default PageLiveDoc16Icon;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::724c9bd5f0d44d16613664f162286445>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { IconTile } from '@atlaskit/icon';
|
|
8
|
+
import NewIcon from '@atlaskit/icon-lab/core/page-live-doc';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
+
import IconObjectOld from '../../glyph-legacy/page-live-doc/24';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* __24px `page-live-doc` icon object__
|
|
14
|
+
*
|
|
15
|
+
* - [Examples](https://atlassian.design/components/icon-object/examples)
|
|
16
|
+
* - [Code](https://atlassian.design/components/icon-object/code)
|
|
17
|
+
* - [Usage](https://atlassian.design/components/icon-object/usage)
|
|
18
|
+
*/
|
|
19
|
+
const PageLiveDoc24Icon = ({
|
|
20
|
+
label,
|
|
21
|
+
testId
|
|
22
|
+
}) => {
|
|
23
|
+
if (fg('icon-object-migration')) {
|
|
24
|
+
return /*#__PURE__*/React.createElement(IconTile, {
|
|
25
|
+
icon: NewIcon,
|
|
26
|
+
appearance: "magentaBold",
|
|
27
|
+
size: "24",
|
|
28
|
+
label: label,
|
|
29
|
+
testId: testId,
|
|
30
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(IconObjectOld, {
|
|
31
|
+
label: label,
|
|
32
|
+
testId: testId
|
|
33
|
+
})
|
|
34
|
+
});
|
|
35
|
+
} else {
|
|
36
|
+
return /*#__PURE__*/React.createElement(IconObjectOld, {
|
|
37
|
+
label: label,
|
|
38
|
+
testId: testId
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
PageLiveDoc24Icon.displayName = 'PageLiveDoc24Icon';
|
|
43
|
+
export default PageLiveDoc24Icon;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
/**
|
|
3
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
4
|
+
* @codegen <<SignedSource::17c8c810f288fa2c4d58e06371883a6e>>
|
|
5
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { IconFacade } from '@atlaskit/icon/base';
|
|
9
|
+
const PageLiveDoc16Icon = props => /*#__PURE__*/React.createElement(IconFacade, _extends({
|
|
10
|
+
dangerouslySetGlyph: `<svg width="16" height="16" viewBox="0 0 16 16" role="presentation"><path fill="#cd519d" fill-rule="evenodd" d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2M3 4a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h3a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h2.5a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m8.293-5.793-2.854 4.05c-.21.314.009.743.38.743h1.993c.149 0 .259.143.224.292l-.443 2.121c-.119.511.538.812.828.38l2.854-4.05c.21-.314-.008-.743-.38-.743h-1.993a.236.236 0 0 1-.224-.292l.443-2.121c.119-.511-.538-.812-.828-.38" clip-rule="evenodd"/></svg>`
|
|
11
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
12
|
+
}, props, {
|
|
13
|
+
size: "small"
|
|
14
|
+
}));
|
|
15
|
+
PageLiveDoc16Icon.displayName = 'PageLiveDoc16Icon';
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
18
|
+
export default PageLiveDoc16Icon;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
/**
|
|
3
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
4
|
+
* @codegen <<SignedSource::15139b5f4236bc308adc0b1e9c84b98b>>
|
|
5
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { IconFacade } from '@atlaskit/icon/base';
|
|
9
|
+
const PageLiveDoc24Icon = props => /*#__PURE__*/React.createElement(IconFacade, _extends({
|
|
10
|
+
dangerouslySetGlyph: `<svg width="24" height="24" viewBox="0 0 24 24" role="presentation"><path fill="#cd519d" fill-rule="evenodd" d="M24 3a3 3 0 0 0-3-3H3a3 3 0 0 0-3 3v18a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3zM5.125 4.875h13.75l.153.01a1.125 1.125 0 0 1 0 2.23l-.153.01H5.125l-.153-.01a1.125 1.125 0 0 1 0-2.23zm5.25 6h-5.25l-.153.01a1.125 1.125 0 0 0 0 2.23l.153.01h5.25l.153-.01a1.125 1.125 0 0 0 0-2.23zm-.5 6h-4.75l-.153.01a1.125 1.125 0 0 0 0 2.23l.153.01h4.75l.153-.01a1.125 1.125 0 0 0 0-2.23zm7.029-7.564-4.28 6.073c-.317.473.012 1.116.57 1.116h2.988c.224 0 .389.215.337.438l-.665 3.182c-.178.766.807 1.218 1.242.569l4.28-6.073c.317-.473-.012-1.116-.57-1.116h-2.988a.353.353 0 0 1-.337-.438l.665-3.182c.178-.766-.808-1.218-1.242-.569" clip-rule="evenodd"/></svg>`
|
|
11
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
12
|
+
}, props, {
|
|
13
|
+
size: "medium"
|
|
14
|
+
}));
|
|
15
|
+
PageLiveDoc24Icon.displayName = 'PageLiveDoc24Icon';
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
18
|
+
export default PageLiveDoc24Icon;
|
package/dist/es2019/metadata.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocs` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::617f9e8cc692aa7de8e78ee992787e08>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
/* eslint-disable import/no-extraneous-dependencies -- This import is within the same package, hence self-referential. */
|
|
@@ -93,6 +93,13 @@ export const metaDataWithPackageLoader = {
|
|
|
93
93
|
packageLoader: () => import( /* webpackChunkName: "@atlaskit-internal_icon" */
|
|
94
94
|
'./artifacts/glyph/new-feature/16')
|
|
95
95
|
},
|
|
96
|
+
'page-live-doc/16': {
|
|
97
|
+
keywords: ['page-live-doc/16', 'pagelivedoc16', 'object', 'icon-object'],
|
|
98
|
+
componentName: 'PageLiveDoc16Icon',
|
|
99
|
+
package: '@atlaskit/icon-object/glyph/page-live-doc/16',
|
|
100
|
+
packageLoader: () => import( /* webpackChunkName: "@atlaskit-internal_icon" */
|
|
101
|
+
'./artifacts/glyph/page-live-doc/16')
|
|
102
|
+
},
|
|
96
103
|
'page/16': {
|
|
97
104
|
keywords: ['page/16', 'page16', 'object', 'icon-object'],
|
|
98
105
|
componentName: 'Page16Icon',
|
|
@@ -226,6 +233,13 @@ export const metaDataWithPackageLoader = {
|
|
|
226
233
|
packageLoader: () => import( /* webpackChunkName: "@atlaskit-internal_icon" */
|
|
227
234
|
'./artifacts/glyph/new-feature/24')
|
|
228
235
|
},
|
|
236
|
+
'page-live-doc/24': {
|
|
237
|
+
keywords: ['page-live-doc/24', 'pagelivedoc24', 'object', 'icon-object'],
|
|
238
|
+
componentName: 'PageLiveDoc24Icon',
|
|
239
|
+
package: '@atlaskit/icon-object/glyph/page-live-doc/24',
|
|
240
|
+
packageLoader: () => import( /* webpackChunkName: "@atlaskit-internal_icon" */
|
|
241
|
+
'./artifacts/glyph/page-live-doc/24')
|
|
242
|
+
},
|
|
229
243
|
'page/24': {
|
|
230
244
|
keywords: ['page/24', 'page24', 'object', 'icon-object'],
|
|
231
245
|
componentName: 'Page24Icon',
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::c1228c9bdd9840505938b56c7ed44212>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { IconTile } from '@atlaskit/icon';
|
|
8
|
+
import NewIcon from '@atlaskit/icon-lab/core/page-live-doc';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
+
import IconObjectOld from '../../glyph-legacy/page-live-doc/16';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* __16px `page-live-doc` icon object__
|
|
14
|
+
*
|
|
15
|
+
* - [Examples](https://atlassian.design/components/icon-object/examples)
|
|
16
|
+
* - [Code](https://atlassian.design/components/icon-object/code)
|
|
17
|
+
* - [Usage](https://atlassian.design/components/icon-object/usage)
|
|
18
|
+
*/
|
|
19
|
+
var PageLiveDoc16Icon = function PageLiveDoc16Icon(_ref) {
|
|
20
|
+
var label = _ref.label,
|
|
21
|
+
testId = _ref.testId;
|
|
22
|
+
if (fg('icon-object-migration')) {
|
|
23
|
+
return /*#__PURE__*/React.createElement(IconTile, {
|
|
24
|
+
icon: NewIcon,
|
|
25
|
+
appearance: "magentaBold",
|
|
26
|
+
size: "16",
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(IconObjectOld, {
|
|
30
|
+
label: label,
|
|
31
|
+
testId: testId
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
return /*#__PURE__*/React.createElement(IconObjectOld, {
|
|
36
|
+
label: label,
|
|
37
|
+
testId: testId
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
PageLiveDoc16Icon.displayName = 'PageLiveDoc16Icon';
|
|
42
|
+
export default PageLiveDoc16Icon;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::724c9bd5f0d44d16613664f162286445>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import { IconTile } from '@atlaskit/icon';
|
|
8
|
+
import NewIcon from '@atlaskit/icon-lab/core/page-live-doc';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
+
import IconObjectOld from '../../glyph-legacy/page-live-doc/24';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* __24px `page-live-doc` icon object__
|
|
14
|
+
*
|
|
15
|
+
* - [Examples](https://atlassian.design/components/icon-object/examples)
|
|
16
|
+
* - [Code](https://atlassian.design/components/icon-object/code)
|
|
17
|
+
* - [Usage](https://atlassian.design/components/icon-object/usage)
|
|
18
|
+
*/
|
|
19
|
+
var PageLiveDoc24Icon = function PageLiveDoc24Icon(_ref) {
|
|
20
|
+
var label = _ref.label,
|
|
21
|
+
testId = _ref.testId;
|
|
22
|
+
if (fg('icon-object-migration')) {
|
|
23
|
+
return /*#__PURE__*/React.createElement(IconTile, {
|
|
24
|
+
icon: NewIcon,
|
|
25
|
+
appearance: "magentaBold",
|
|
26
|
+
size: "24",
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
LEGACY_fallbackComponent: /*#__PURE__*/React.createElement(IconObjectOld, {
|
|
30
|
+
label: label,
|
|
31
|
+
testId: testId
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
return /*#__PURE__*/React.createElement(IconObjectOld, {
|
|
36
|
+
label: label,
|
|
37
|
+
testId: testId
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
PageLiveDoc24Icon.displayName = 'PageLiveDoc24Icon';
|
|
42
|
+
export default PageLiveDoc24Icon;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
/**
|
|
3
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
4
|
+
* @codegen <<SignedSource::17c8c810f288fa2c4d58e06371883a6e>>
|
|
5
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { IconFacade } from '@atlaskit/icon/base';
|
|
9
|
+
var PageLiveDoc16Icon = function PageLiveDoc16Icon(props) {
|
|
10
|
+
return /*#__PURE__*/React.createElement(IconFacade, _extends({
|
|
11
|
+
dangerouslySetGlyph: "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" role=\"presentation\"><path fill=\"#cd519d\" fill-rule=\"evenodd\" d=\"M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2M3 4a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h3a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h2.5a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m8.293-5.793-2.854 4.05c-.21.314.009.743.38.743h1.993c.149 0 .259.143.224.292l-.443 2.121c-.119.511.538.812.828.38l2.854-4.05c.21-.314-.008-.743-.38-.743h-1.993a.236.236 0 0 1-.224-.292l.443-2.121c.119-.511-.538-.812-.828-.38\" clip-rule=\"evenodd\"/></svg>"
|
|
12
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
13
|
+
}, props, {
|
|
14
|
+
size: "small"
|
|
15
|
+
}));
|
|
16
|
+
};
|
|
17
|
+
PageLiveDoc16Icon.displayName = 'PageLiveDoc16Icon';
|
|
18
|
+
|
|
19
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
20
|
+
export default PageLiveDoc16Icon;
|