@atlaskit/icon-object 6.7.1 → 6.8.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 +14 -0
- package/__perf__/default.tsx +1 -1
- package/afm-cc/tsconfig.json +3 -0
- package/build/index.tsx +30 -4
- package/build/utils.tsx +132 -0
- package/dist/cjs/artifacts/glyph/blog/16.js +49 -0
- package/dist/cjs/artifacts/glyph/blog/24.js +49 -0
- package/dist/cjs/artifacts/glyph/branch/16.js +49 -0
- package/dist/cjs/artifacts/glyph/branch/24.js +49 -0
- package/dist/cjs/artifacts/glyph/bug/16.js +49 -0
- package/dist/cjs/artifacts/glyph/bug/24.js +49 -0
- package/dist/cjs/artifacts/glyph/calendar/16.js +49 -0
- package/dist/cjs/artifacts/glyph/calendar/24.js +49 -0
- package/dist/cjs/artifacts/glyph/changes/16.js +49 -0
- package/dist/cjs/artifacts/glyph/changes/24.js +49 -0
- package/dist/cjs/artifacts/glyph/code/16.js +49 -0
- package/dist/cjs/artifacts/glyph/code/24.js +49 -0
- package/dist/cjs/artifacts/glyph/commit/16.js +49 -0
- package/dist/cjs/artifacts/glyph/commit/24.js +49 -0
- package/dist/cjs/artifacts/glyph/epic/16.js +49 -0
- package/dist/cjs/artifacts/glyph/epic/24.js +49 -0
- package/dist/cjs/artifacts/glyph/improvement/16.js +49 -0
- package/dist/cjs/artifacts/glyph/improvement/24.js +49 -0
- package/dist/cjs/artifacts/glyph/incident/16.js +49 -0
- package/dist/cjs/artifacts/glyph/incident/24.js +49 -0
- package/dist/cjs/artifacts/glyph/issue/16.js +49 -0
- package/dist/cjs/artifacts/glyph/issue/24.js +49 -0
- package/dist/cjs/artifacts/glyph/new-feature/16.js +49 -0
- package/dist/cjs/artifacts/glyph/new-feature/24.js +49 -0
- package/dist/cjs/artifacts/glyph/page/16.js +49 -0
- package/dist/cjs/artifacts/glyph/page/24.js +49 -0
- package/dist/cjs/artifacts/glyph/problem/16.js +49 -0
- package/dist/cjs/artifacts/glyph/problem/24.js +49 -0
- package/dist/cjs/artifacts/glyph/pull-request/16.js +49 -0
- package/dist/cjs/artifacts/glyph/pull-request/24.js +49 -0
- package/dist/cjs/artifacts/glyph/question/16.js +49 -0
- package/dist/cjs/artifacts/glyph/question/24.js +49 -0
- package/dist/cjs/artifacts/glyph/story/16.js +49 -0
- package/dist/cjs/artifacts/glyph/story/24.js +49 -0
- package/dist/cjs/artifacts/glyph/subtask/16.js +49 -0
- package/dist/cjs/artifacts/glyph/subtask/24.js +49 -0
- package/dist/cjs/artifacts/glyph/task/16.js +49 -0
- package/dist/cjs/artifacts/glyph/task/24.js +49 -0
- package/dist/cjs/artifacts/glyph-legacy/blog/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/blog/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/branch/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/branch/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/bug/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/bug/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/calendar/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/calendar/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/changes/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/changes/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/code/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/code/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/commit/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/commit/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/epic/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/epic/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/improvement/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/improvement/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/incident/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/incident/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/issue/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/issue/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/new-feature/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/new-feature/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/page/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/page/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/problem/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/problem/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/pull-request/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/pull-request/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/question/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/question/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/story/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/story/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/subtask/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/subtask/24.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/task/16.js +28 -0
- package/dist/cjs/artifacts/glyph-legacy/task/24.js +28 -0
- package/dist/cjs/metadata.js +38 -38
- package/dist/es2019/artifacts/glyph/blog/16.js +43 -0
- package/dist/es2019/artifacts/glyph/blog/24.js +43 -0
- package/dist/es2019/artifacts/glyph/branch/16.js +43 -0
- package/dist/es2019/artifacts/glyph/branch/24.js +43 -0
- package/dist/es2019/artifacts/glyph/bug/16.js +43 -0
- package/dist/es2019/artifacts/glyph/bug/24.js +43 -0
- package/dist/es2019/artifacts/glyph/calendar/16.js +43 -0
- package/dist/es2019/artifacts/glyph/calendar/24.js +43 -0
- package/dist/es2019/artifacts/glyph/changes/16.js +43 -0
- package/dist/es2019/artifacts/glyph/changes/24.js +43 -0
- package/dist/es2019/artifacts/glyph/code/16.js +43 -0
- package/dist/es2019/artifacts/glyph/code/24.js +43 -0
- package/dist/es2019/artifacts/glyph/commit/16.js +43 -0
- package/dist/es2019/artifacts/glyph/commit/24.js +43 -0
- package/dist/es2019/artifacts/glyph/epic/16.js +43 -0
- package/dist/es2019/artifacts/glyph/epic/24.js +43 -0
- package/dist/es2019/artifacts/glyph/improvement/16.js +43 -0
- package/dist/es2019/artifacts/glyph/improvement/24.js +43 -0
- package/dist/es2019/artifacts/glyph/incident/16.js +43 -0
- package/dist/es2019/artifacts/glyph/incident/24.js +43 -0
- package/dist/es2019/artifacts/glyph/issue/16.js +43 -0
- package/dist/es2019/artifacts/glyph/issue/24.js +43 -0
- package/dist/es2019/artifacts/glyph/new-feature/16.js +43 -0
- package/dist/es2019/artifacts/glyph/new-feature/24.js +43 -0
- package/dist/es2019/artifacts/glyph/page/16.js +43 -0
- package/dist/es2019/artifacts/glyph/page/24.js +43 -0
- package/dist/es2019/artifacts/glyph/problem/16.js +43 -0
- package/dist/es2019/artifacts/glyph/problem/24.js +43 -0
- package/dist/es2019/artifacts/glyph/pull-request/16.js +43 -0
- package/dist/es2019/artifacts/glyph/pull-request/24.js +43 -0
- package/dist/es2019/artifacts/glyph/question/16.js +43 -0
- package/dist/es2019/artifacts/glyph/question/24.js +43 -0
- package/dist/es2019/artifacts/glyph/story/16.js +43 -0
- package/dist/es2019/artifacts/glyph/story/24.js +43 -0
- package/dist/es2019/artifacts/glyph/subtask/16.js +43 -0
- package/dist/es2019/artifacts/glyph/subtask/24.js +43 -0
- package/dist/es2019/artifacts/glyph/task/16.js +43 -0
- package/dist/es2019/artifacts/glyph/task/24.js +43 -0
- package/dist/es2019/artifacts/glyph-legacy/blog/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/blog/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/branch/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/branch/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/bug/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/bug/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/calendar/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/calendar/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/changes/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/changes/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/code/16.js +18 -0
- package/{glyph → dist/es2019/artifacts/glyph-legacy}/code/24.js +13 -11
- package/dist/es2019/artifacts/glyph-legacy/commit/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/commit/24.js +18 -0
- package/{glyph → dist/es2019/artifacts/glyph-legacy}/epic/16.js +13 -11
- package/{glyph → dist/es2019/artifacts/glyph-legacy}/epic/24.js +13 -11
- package/dist/es2019/artifacts/glyph-legacy/improvement/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/improvement/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/incident/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/incident/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/issue/16.js +18 -0
- package/{glyph → dist/es2019/artifacts/glyph-legacy}/issue/24.js +13 -11
- package/dist/es2019/artifacts/glyph-legacy/new-feature/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/new-feature/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/page/16.js +18 -0
- package/{glyph → dist/es2019/artifacts/glyph-legacy}/page/24.js +13 -11
- package/dist/es2019/artifacts/glyph-legacy/problem/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/problem/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/pull-request/16.js +18 -0
- package/{glyph → dist/es2019/artifacts/glyph-legacy}/pull-request/24.js +13 -11
- package/dist/es2019/artifacts/glyph-legacy/question/16.js +18 -0
- package/{glyph → dist/es2019/artifacts/glyph-legacy}/question/24.js +13 -11
- package/dist/es2019/artifacts/glyph-legacy/story/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/story/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/subtask/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/subtask/24.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/task/16.js +18 -0
- package/dist/es2019/artifacts/glyph-legacy/task/24.js +18 -0
- package/dist/es2019/metadata.js +38 -38
- package/dist/esm/artifacts/glyph/blog/16.js +42 -0
- package/dist/esm/artifacts/glyph/blog/24.js +42 -0
- package/dist/esm/artifacts/glyph/branch/16.js +42 -0
- package/dist/esm/artifacts/glyph/branch/24.js +42 -0
- package/dist/esm/artifacts/glyph/bug/16.js +42 -0
- package/dist/esm/artifacts/glyph/bug/24.js +42 -0
- package/dist/esm/artifacts/glyph/calendar/16.js +42 -0
- package/dist/esm/artifacts/glyph/calendar/24.js +42 -0
- package/dist/esm/artifacts/glyph/changes/16.js +42 -0
- package/dist/esm/artifacts/glyph/changes/24.js +42 -0
- package/dist/esm/artifacts/glyph/code/16.js +42 -0
- package/dist/esm/artifacts/glyph/code/24.js +42 -0
- package/dist/esm/artifacts/glyph/commit/16.js +42 -0
- package/dist/esm/artifacts/glyph/commit/24.js +42 -0
- package/dist/esm/artifacts/glyph/epic/16.js +42 -0
- package/dist/esm/artifacts/glyph/epic/24.js +42 -0
- package/dist/esm/artifacts/glyph/improvement/16.js +42 -0
- package/dist/esm/artifacts/glyph/improvement/24.js +42 -0
- package/dist/esm/artifacts/glyph/incident/16.js +42 -0
- package/dist/esm/artifacts/glyph/incident/24.js +42 -0
- package/dist/esm/artifacts/glyph/issue/16.js +42 -0
- package/dist/esm/artifacts/glyph/issue/24.js +42 -0
- package/dist/esm/artifacts/glyph/new-feature/16.js +42 -0
- package/dist/esm/artifacts/glyph/new-feature/24.js +42 -0
- package/dist/esm/artifacts/glyph/page/16.js +42 -0
- package/dist/esm/artifacts/glyph/page/24.js +42 -0
- package/dist/esm/artifacts/glyph/problem/16.js +42 -0
- package/dist/esm/artifacts/glyph/problem/24.js +42 -0
- package/dist/esm/artifacts/glyph/pull-request/16.js +42 -0
- package/dist/esm/artifacts/glyph/pull-request/24.js +42 -0
- package/dist/esm/artifacts/glyph/question/16.js +42 -0
- package/dist/esm/artifacts/glyph/question/24.js +42 -0
- package/dist/esm/artifacts/glyph/story/16.js +42 -0
- package/dist/esm/artifacts/glyph/story/24.js +42 -0
- package/dist/esm/artifacts/glyph/subtask/16.js +42 -0
- package/dist/esm/artifacts/glyph/subtask/24.js +42 -0
- package/dist/esm/artifacts/glyph/task/16.js +42 -0
- package/dist/esm/artifacts/glyph/task/24.js +42 -0
- package/dist/esm/artifacts/glyph-legacy/blog/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/blog/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/branch/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/branch/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/bug/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/bug/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/calendar/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/calendar/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/changes/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/changes/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/code/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/code/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/commit/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/commit/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/epic/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/epic/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/improvement/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/improvement/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/incident/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/incident/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/issue/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/issue/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/new-feature/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/new-feature/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/page/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/page/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/problem/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/problem/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/pull-request/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/pull-request/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/question/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/question/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/story/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/story/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/subtask/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/subtask/24.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/task/16.js +20 -0
- package/dist/esm/artifacts/glyph-legacy/task/24.js +20 -0
- package/dist/esm/metadata.js +38 -38
- package/dist/types/artifacts/glyph/blog/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/blog/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/branch/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/branch/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/bug/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/bug/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/calendar/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/calendar/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/changes/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/changes/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/code/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/code/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/commit/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/commit/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/epic/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/epic/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/improvement/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/improvement/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/incident/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/incident/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/issue/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/issue/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/new-feature/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/new-feature/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/page/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/page/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/problem/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/problem/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/pull-request/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/pull-request/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/question/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/question/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/story/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/story/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/subtask/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/subtask/24.d.ts +14 -0
- package/dist/types/artifacts/glyph/task/16.d.ts +14 -0
- package/dist/types/artifacts/glyph/task/24.d.ts +14 -0
- package/dist/types/artifacts/glyph-legacy/blog/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/blog/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/branch/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/branch/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/bug/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/bug/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/calendar/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/calendar/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/changes/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/changes/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/code/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/code/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/commit/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/commit/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/epic/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/epic/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/improvement/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/improvement/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/incident/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/incident/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/issue/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/issue/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/new-feature/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/new-feature/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/page/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/page/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/problem/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/problem/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/pull-request/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/pull-request/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/question/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/question/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/story/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/story/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/subtask/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/subtask/24.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/task/16.d.ts +7 -0
- package/dist/types/artifacts/glyph-legacy/task/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph/blog/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/blog/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/branch/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/branch/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/bug/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/bug/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/calendar/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/calendar/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/changes/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/changes/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/code/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/code/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/commit/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/commit/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/epic/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/epic/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/improvement/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/improvement/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/incident/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/incident/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/issue/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/issue/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/new-feature/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/new-feature/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/page/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/page/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/problem/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/problem/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/pull-request/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/pull-request/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/question/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/question/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/story/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/story/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/subtask/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/subtask/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/task/16.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph/task/24.d.ts +14 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/blog/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/blog/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/branch/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/branch/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/bug/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/bug/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/calendar/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/calendar/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/changes/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/changes/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/code/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/code/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/commit/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/commit/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/epic/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/epic/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/improvement/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/improvement/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/incident/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/incident/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/issue/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/issue/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/new-feature/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/new-feature/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/page/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/page/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/problem/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/problem/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/pull-request/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/pull-request/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/question/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/question/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/story/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/story/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/subtask/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/subtask/24.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/task/16.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/glyph-legacy/task/24.d.ts +7 -0
- package/glyph/blog/16/package.json +17 -0
- package/glyph/blog/24/package.json +17 -0
- package/glyph/branch/16/package.json +17 -0
- package/glyph/branch/24/package.json +17 -0
- package/glyph/bug/16/package.json +17 -0
- package/glyph/bug/24/package.json +17 -0
- package/glyph/calendar/16/package.json +17 -0
- package/glyph/calendar/24/package.json +17 -0
- package/glyph/changes/16/package.json +17 -0
- package/glyph/changes/24/package.json +17 -0
- package/glyph/code/16/package.json +17 -0
- package/glyph/code/24/package.json +17 -0
- package/glyph/commit/16/package.json +17 -0
- package/glyph/commit/24/package.json +17 -0
- package/glyph/epic/16/package.json +17 -0
- package/glyph/epic/24/package.json +17 -0
- package/glyph/improvement/16/package.json +17 -0
- package/glyph/improvement/24/package.json +17 -0
- package/glyph/incident/16/package.json +17 -0
- package/glyph/incident/24/package.json +17 -0
- package/glyph/issue/16/package.json +17 -0
- package/glyph/issue/24/package.json +17 -0
- package/glyph/new-feature/16/package.json +17 -0
- package/glyph/new-feature/24/package.json +17 -0
- package/glyph/page/16/package.json +17 -0
- package/glyph/page/24/package.json +17 -0
- package/glyph/problem/16/package.json +17 -0
- package/glyph/problem/24/package.json +17 -0
- package/glyph/pull-request/16/package.json +17 -0
- package/glyph/pull-request/24/package.json +17 -0
- package/glyph/question/16/package.json +17 -0
- package/glyph/question/24/package.json +17 -0
- package/glyph/story/16/package.json +17 -0
- package/glyph/story/24/package.json +17 -0
- package/glyph/subtask/16/package.json +17 -0
- package/glyph/subtask/24/package.json +17 -0
- package/glyph/task/16/package.json +17 -0
- package/glyph/task/24/package.json +17 -0
- package/package.json +56 -10
- package/glyph/blog/16.d.ts +0 -4
- package/glyph/blog/16.js +0 -16
- package/glyph/blog/24.d.ts +0 -4
- package/glyph/blog/24.js +0 -16
- package/glyph/branch/16.d.ts +0 -4
- package/glyph/branch/16.js +0 -16
- package/glyph/branch/24.d.ts +0 -4
- package/glyph/branch/24.js +0 -16
- package/glyph/bug/16.d.ts +0 -4
- package/glyph/bug/16.js +0 -16
- package/glyph/bug/24.d.ts +0 -4
- package/glyph/bug/24.js +0 -16
- package/glyph/calendar/16.d.ts +0 -4
- package/glyph/calendar/16.js +0 -16
- package/glyph/calendar/24.d.ts +0 -4
- package/glyph/calendar/24.js +0 -16
- package/glyph/changes/16.d.ts +0 -4
- package/glyph/changes/16.js +0 -16
- package/glyph/changes/24.d.ts +0 -4
- package/glyph/changes/24.js +0 -16
- package/glyph/code/16.d.ts +0 -4
- package/glyph/code/16.js +0 -16
- package/glyph/code/24.d.ts +0 -4
- package/glyph/commit/16.d.ts +0 -4
- package/glyph/commit/16.js +0 -16
- package/glyph/commit/24.d.ts +0 -4
- package/glyph/commit/24.js +0 -16
- package/glyph/epic/16.d.ts +0 -4
- package/glyph/epic/24.d.ts +0 -4
- package/glyph/improvement/16.d.ts +0 -4
- package/glyph/improvement/16.js +0 -16
- package/glyph/improvement/24.d.ts +0 -4
- package/glyph/improvement/24.js +0 -16
- package/glyph/incident/16.d.ts +0 -4
- package/glyph/incident/16.js +0 -16
- package/glyph/incident/24.d.ts +0 -4
- package/glyph/incident/24.js +0 -16
- package/glyph/issue/16.d.ts +0 -4
- package/glyph/issue/16.js +0 -16
- package/glyph/issue/24.d.ts +0 -4
- package/glyph/new-feature/16.d.ts +0 -4
- package/glyph/new-feature/16.js +0 -16
- package/glyph/new-feature/24.d.ts +0 -4
- package/glyph/new-feature/24.js +0 -16
- package/glyph/page/16.d.ts +0 -4
- package/glyph/page/16.js +0 -16
- package/glyph/page/24.d.ts +0 -4
- package/glyph/problem/16.d.ts +0 -4
- package/glyph/problem/16.js +0 -16
- package/glyph/problem/24.d.ts +0 -4
- package/glyph/problem/24.js +0 -16
- package/glyph/pull-request/16.d.ts +0 -4
- package/glyph/pull-request/16.js +0 -16
- package/glyph/pull-request/24.d.ts +0 -4
- package/glyph/question/16.d.ts +0 -4
- package/glyph/question/16.js +0 -16
- package/glyph/question/24.d.ts +0 -4
- package/glyph/story/16.d.ts +0 -4
- package/glyph/story/16.js +0 -16
- package/glyph/story/24.d.ts +0 -4
- package/glyph/story/24.js +0 -16
- package/glyph/subtask/16.d.ts +0 -4
- package/glyph/subtask/16.js +0 -16
- package/glyph/subtask/24.d.ts +0 -4
- package/glyph/subtask/24.js +0 -16
- package/glyph/task/16.d.ts +0 -4
- package/glyph/task/16.js +0 -16
- package/glyph/task/24.d.ts +0 -4
- package/glyph/task/24.js +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/icon-object
|
|
2
2
|
|
|
3
|
+
## 6.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#169436](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/169436)
|
|
8
|
+
[`571aeaa4c8c45`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/571aeaa4c8c45) -
|
|
9
|
+
Migrate to new icons and icon-tile, behind a feature flag. Icon tile components have also been
|
|
10
|
+
updated to use the standard export process for `@atlaskit` components, with optimised exports for
|
|
11
|
+
cjs, es2019 and esm.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.7.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/__perf__/default.tsx
CHANGED
package/afm-cc/tsconfig.json
CHANGED
package/build/index.tsx
CHANGED
|
@@ -1,35 +1,44 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
|
+
|
|
3
|
+
import fs from 'fs-extra';
|
|
4
|
+
import pkgDir from 'pkg-dir';
|
|
5
|
+
|
|
6
|
+
import format from '@af/formatting/sync';
|
|
2
7
|
import { build, createIconDocs, tidy } from '@af/icon-build-process';
|
|
3
8
|
import type { IconBuildConfig } from '@af/icon-build-process';
|
|
4
|
-
import
|
|
5
|
-
|
|
9
|
+
import { createSignedArtifact } from '@atlassian/codegen';
|
|
10
|
+
|
|
11
|
+
import { getIconObjectJSX, iconObjectMapping } from './utils';
|
|
6
12
|
|
|
7
13
|
const root = pkgDir.sync();
|
|
8
14
|
|
|
9
15
|
const config16: IconBuildConfig = {
|
|
10
16
|
srcDir: path.resolve(root!, 'svgs_raw'),
|
|
11
17
|
processedDir: path.resolve(root!, 'svgs'),
|
|
12
|
-
destDir: path.resolve(root!, 'glyph'),
|
|
18
|
+
destDir: path.resolve(root!, 'src', 'artifacts', 'glyph-legacy'),
|
|
13
19
|
maxWidth: 16,
|
|
14
20
|
maxHeight: 16,
|
|
15
21
|
glob: '**/16.svg',
|
|
16
22
|
size: 'small',
|
|
17
23
|
baseIconEntryPoint: '@atlaskit/icon/base',
|
|
24
|
+
outputSource: true,
|
|
18
25
|
isColorsDisabled: true,
|
|
19
26
|
};
|
|
20
27
|
|
|
21
28
|
const config24: IconBuildConfig = {
|
|
22
29
|
srcDir: path.resolve(root!, 'svgs_raw'),
|
|
23
30
|
processedDir: path.resolve(root!, 'svgs'),
|
|
24
|
-
destDir: path.resolve(root!, 'glyph'),
|
|
31
|
+
destDir: path.resolve(root!, 'src', 'artifacts', 'glyph-legacy'),
|
|
25
32
|
maxWidth: 24,
|
|
26
33
|
maxHeight: 24,
|
|
27
34
|
glob: '**/24.svg',
|
|
28
35
|
size: 'medium',
|
|
29
36
|
baseIconEntryPoint: '@atlaskit/icon/base',
|
|
37
|
+
outputSource: true,
|
|
30
38
|
isColorsDisabled: true,
|
|
31
39
|
};
|
|
32
40
|
|
|
41
|
+
// Create legacy icons and docs
|
|
33
42
|
tidy(config16)
|
|
34
43
|
.then(() => Promise.all([build(config16), build(config24)]))
|
|
35
44
|
.then(([sixteen, twentyfour]) => {
|
|
@@ -43,3 +52,20 @@ tidy(config16)
|
|
|
43
52
|
|
|
44
53
|
return fs.outputFile(path.resolve(root!, 'src/metadata.tsx'), iconDocs);
|
|
45
54
|
});
|
|
55
|
+
|
|
56
|
+
// For each size (16px and 24px) and each iconObjectMapping, create a new JSX file
|
|
57
|
+
// based on the function getIconObjectJSX and write it to the format ./glyph/{name}/{size}.jsx
|
|
58
|
+
Object.entries(iconObjectMapping).forEach(([name, iconObject]) => {
|
|
59
|
+
// empty existing folder
|
|
60
|
+
fs.emptyDirSync(path.resolve(root!, 'src', 'artifacts', 'glyph', name));
|
|
61
|
+
(['16', '24'] as const).forEach((size) => {
|
|
62
|
+
const iconObjectJSX = getIconObjectJSX(name, iconObject.icon, iconObject.appearance, size);
|
|
63
|
+
// create file if it doesn't exist
|
|
64
|
+
fs.ensureFileSync(path.resolve(root!, 'src', 'artifacts', 'glyph', name, `${size}.tsx`));
|
|
65
|
+
// write new content
|
|
66
|
+
fs.writeFileSync(
|
|
67
|
+
path.resolve(root!, 'src', 'artifacts', 'glyph', name, `${size}.tsx`),
|
|
68
|
+
createSignedArtifact(format(iconObjectJSX, 'tsx'), 'yarn build:icon-glyphs'),
|
|
69
|
+
);
|
|
70
|
+
});
|
|
71
|
+
});
|
package/build/utils.tsx
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
export const iconObjectMapping: Record<string, { icon: string; appearance: string }> = {
|
|
2
|
+
blog: {
|
|
3
|
+
icon: 'quotation-mark',
|
|
4
|
+
appearance: 'blueBold',
|
|
5
|
+
},
|
|
6
|
+
branch: {
|
|
7
|
+
icon: 'branch',
|
|
8
|
+
appearance: 'blueBold',
|
|
9
|
+
},
|
|
10
|
+
bug: {
|
|
11
|
+
icon: 'bug',
|
|
12
|
+
appearance: 'redBold',
|
|
13
|
+
},
|
|
14
|
+
calendar: {
|
|
15
|
+
icon: 'calendar',
|
|
16
|
+
appearance: 'redBold',
|
|
17
|
+
},
|
|
18
|
+
changes: {
|
|
19
|
+
icon: 'changes',
|
|
20
|
+
appearance: 'orangeBold',
|
|
21
|
+
},
|
|
22
|
+
code: {
|
|
23
|
+
icon: 'angle-brackets',
|
|
24
|
+
appearance: 'purpleBold',
|
|
25
|
+
},
|
|
26
|
+
commit: {
|
|
27
|
+
icon: 'commit',
|
|
28
|
+
appearance: 'orangeBold',
|
|
29
|
+
},
|
|
30
|
+
epic: {
|
|
31
|
+
icon: 'epic',
|
|
32
|
+
appearance: 'purpleBold',
|
|
33
|
+
},
|
|
34
|
+
improvement: {
|
|
35
|
+
icon: 'arrow-up',
|
|
36
|
+
appearance: 'greenBold',
|
|
37
|
+
},
|
|
38
|
+
incident: {
|
|
39
|
+
icon: 'incident',
|
|
40
|
+
appearance: 'redBold',
|
|
41
|
+
},
|
|
42
|
+
issue: {
|
|
43
|
+
icon: 'issue',
|
|
44
|
+
appearance: 'blueBold',
|
|
45
|
+
},
|
|
46
|
+
'new-feature': {
|
|
47
|
+
icon: 'add',
|
|
48
|
+
appearance: 'greenBold',
|
|
49
|
+
},
|
|
50
|
+
page: {
|
|
51
|
+
icon: 'page',
|
|
52
|
+
appearance: 'blueBold',
|
|
53
|
+
},
|
|
54
|
+
problem: {
|
|
55
|
+
icon: 'problem',
|
|
56
|
+
appearance: 'redBold',
|
|
57
|
+
},
|
|
58
|
+
'pull-request': {
|
|
59
|
+
icon: 'pull-request',
|
|
60
|
+
appearance: 'greenBold',
|
|
61
|
+
},
|
|
62
|
+
question: {
|
|
63
|
+
icon: 'question-circle',
|
|
64
|
+
appearance: 'purpleBold',
|
|
65
|
+
},
|
|
66
|
+
story: {
|
|
67
|
+
icon: 'story',
|
|
68
|
+
appearance: 'greenBold',
|
|
69
|
+
},
|
|
70
|
+
subtask: {
|
|
71
|
+
icon: 'subtasks',
|
|
72
|
+
appearance: 'blueBold',
|
|
73
|
+
},
|
|
74
|
+
task: {
|
|
75
|
+
icon: 'task',
|
|
76
|
+
appearance: 'blueBold',
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export const getIconObjectJSX = (
|
|
81
|
+
name: string,
|
|
82
|
+
icon: string,
|
|
83
|
+
appearance: string,
|
|
84
|
+
size: '16' | '24',
|
|
85
|
+
) => {
|
|
86
|
+
// convert name to PascalCase from kebab-case
|
|
87
|
+
const componentName = `${name
|
|
88
|
+
.split('-')
|
|
89
|
+
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
|
90
|
+
.join('')}${size}Icon`;
|
|
91
|
+
|
|
92
|
+
return `import React from 'react';
|
|
93
|
+
|
|
94
|
+
import { IconTile } from '@atlaskit/icon';
|
|
95
|
+
import NewIcon from '@atlaskit/icon/core/${icon}';
|
|
96
|
+
import type { GlyphProps } from '@atlaskit/icon/types';
|
|
97
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
98
|
+
|
|
99
|
+
import IconObjectOld from '../../glyph-legacy/${name}/${size}';
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* __${size}px \`${name}\` icon object__
|
|
103
|
+
*
|
|
104
|
+
* - [Examples](https://atlassian.design/components/icon-object/examples)
|
|
105
|
+
* - [Code](https://atlassian.design/components/icon-object/code)
|
|
106
|
+
* - [Usage](https://atlassian.design/components/icon-object/usage)
|
|
107
|
+
*/
|
|
108
|
+
const ${componentName} = ({
|
|
109
|
+
label,
|
|
110
|
+
testId,
|
|
111
|
+
}: Omit<GlyphProps, 'primaryColor' | 'secondaryColor' | 'size'>) => {
|
|
112
|
+
if (fg('icon-object-migration')) {
|
|
113
|
+
return (
|
|
114
|
+
<IconTile
|
|
115
|
+
icon={NewIcon}
|
|
116
|
+
appearance="${appearance}"
|
|
117
|
+
size="${size}"
|
|
118
|
+
label={label}
|
|
119
|
+
testId={testId}
|
|
120
|
+
LEGACY_fallbackComponent={<IconObjectOld label={label} testId={testId} />}
|
|
121
|
+
/>
|
|
122
|
+
);
|
|
123
|
+
} else {
|
|
124
|
+
return <IconObjectOld label={label} testId={testId} />
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
${componentName}.displayName = '${componentName}';
|
|
129
|
+
|
|
130
|
+
export default ${componentName};
|
|
131
|
+
`;
|
|
132
|
+
};
|
|
@@ -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 _quotationMark = _interopRequireDefault(require("@atlaskit/icon/core/quotation-mark"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _ = _interopRequireDefault(require("../../glyph-legacy/blog/16"));
|
|
13
|
+
/**
|
|
14
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
15
|
+
* @codegen <<SignedSource::845767e81b63ae055da0ba81295847f0>>
|
|
16
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __16px `blog` 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 Blog16Icon = function Blog16Icon(_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: _quotationMark.default,
|
|
32
|
+
appearance: "blueBold",
|
|
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
|
+
Blog16Icon.displayName = 'Blog16Icon';
|
|
49
|
+
var _default = exports.default = Blog16Icon;
|
|
@@ -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 _quotationMark = _interopRequireDefault(require("@atlaskit/icon/core/quotation-mark"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _ = _interopRequireDefault(require("../../glyph-legacy/blog/24"));
|
|
13
|
+
/**
|
|
14
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
15
|
+
* @codegen <<SignedSource::bba35c7457f1c82d9d31626969c259a0>>
|
|
16
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __24px `blog` 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 Blog24Icon = function Blog24Icon(_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: _quotationMark.default,
|
|
32
|
+
appearance: "blueBold",
|
|
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
|
+
Blog24Icon.displayName = 'Blog24Icon';
|
|
49
|
+
var _default = exports.default = Blog24Icon;
|
|
@@ -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 _branch = _interopRequireDefault(require("@atlaskit/icon/core/branch"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _ = _interopRequireDefault(require("../../glyph-legacy/branch/16"));
|
|
13
|
+
/**
|
|
14
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
15
|
+
* @codegen <<SignedSource::bd5a8d264ca7a1e79e3d50d476094729>>
|
|
16
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __16px `branch` 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 Branch16Icon = function Branch16Icon(_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: _branch.default,
|
|
32
|
+
appearance: "blueBold",
|
|
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
|
+
Branch16Icon.displayName = 'Branch16Icon';
|
|
49
|
+
var _default = exports.default = Branch16Icon;
|
|
@@ -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 _branch = _interopRequireDefault(require("@atlaskit/icon/core/branch"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _ = _interopRequireDefault(require("../../glyph-legacy/branch/24"));
|
|
13
|
+
/**
|
|
14
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
15
|
+
* @codegen <<SignedSource::ca37b82809aaa3e9f4d0507d70c71707>>
|
|
16
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __24px `branch` 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 Branch24Icon = function Branch24Icon(_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: _branch.default,
|
|
32
|
+
appearance: "blueBold",
|
|
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
|
+
Branch24Icon.displayName = 'Branch24Icon';
|
|
49
|
+
var _default = exports.default = Branch24Icon;
|
|
@@ -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 _bug = _interopRequireDefault(require("@atlaskit/icon/core/bug"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _ = _interopRequireDefault(require("../../glyph-legacy/bug/16"));
|
|
13
|
+
/**
|
|
14
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
15
|
+
* @codegen <<SignedSource::54f047f6f7bd48e9a2ba7394ee23b095>>
|
|
16
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __16px `bug` 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 Bug16Icon = function Bug16Icon(_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: _bug.default,
|
|
32
|
+
appearance: "redBold",
|
|
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
|
+
Bug16Icon.displayName = 'Bug16Icon';
|
|
49
|
+
var _default = exports.default = Bug16Icon;
|
|
@@ -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 _bug = _interopRequireDefault(require("@atlaskit/icon/core/bug"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _ = _interopRequireDefault(require("../../glyph-legacy/bug/24"));
|
|
13
|
+
/**
|
|
14
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
15
|
+
* @codegen <<SignedSource::6e6792688f4276aeff3ed0e6f212af14>>
|
|
16
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __24px `bug` 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 Bug24Icon = function Bug24Icon(_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: _bug.default,
|
|
32
|
+
appearance: "redBold",
|
|
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
|
+
Bug24Icon.displayName = 'Bug24Icon';
|
|
49
|
+
var _default = exports.default = Bug24Icon;
|
|
@@ -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 _calendar = _interopRequireDefault(require("@atlaskit/icon/core/calendar"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _ = _interopRequireDefault(require("../../glyph-legacy/calendar/16"));
|
|
13
|
+
/**
|
|
14
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
15
|
+
* @codegen <<SignedSource::a6da197bbcce0892f27de2b06510f3b6>>
|
|
16
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __16px `calendar` 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 Calendar16Icon = function Calendar16Icon(_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: _calendar.default,
|
|
32
|
+
appearance: "redBold",
|
|
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
|
+
Calendar16Icon.displayName = 'Calendar16Icon';
|
|
49
|
+
var _default = exports.default = Calendar16Icon;
|
|
@@ -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 _calendar = _interopRequireDefault(require("@atlaskit/icon/core/calendar"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _ = _interopRequireDefault(require("../../glyph-legacy/calendar/24"));
|
|
13
|
+
/**
|
|
14
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
15
|
+
* @codegen <<SignedSource::03611d977353356cfe6a822232b999af>>
|
|
16
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* __24px `calendar` 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 Calendar24Icon = function Calendar24Icon(_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: _calendar.default,
|
|
32
|
+
appearance: "redBold",
|
|
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
|
+
Calendar24Icon.displayName = 'Calendar24Icon';
|
|
49
|
+
var _default = exports.default = Calendar24Icon;
|