@atlaskit/icon-object 7.2.2 → 7.2.3
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 +10 -0
- package/afm-cc/tsconfig.json +6 -0
- package/afm-dev-agents/tsconfig.json +6 -0
- package/afm-jira/tsconfig.json +6 -0
- package/afm-passionfruit/tsconfig.json +6 -0
- package/afm-post-office/tsconfig.json +6 -0
- package/afm-rovo-extension/tsconfig.json +6 -0
- package/afm-townsquare/tsconfig.json +6 -0
- package/afm-volt/tsconfig.json +6 -0
- package/build/index.tsx +10 -3
- package/build/utils.tsx +59 -2
- package/dist/cjs/all-icons.js +54 -0
- package/dist/cjs/artifacts/glyph/blog/16.js +12 -1
- package/dist/cjs/artifacts/glyph/blog/24.js +12 -1
- package/dist/cjs/artifacts/glyph/branch/16.js +12 -1
- package/dist/cjs/artifacts/glyph/branch/24.js +12 -1
- package/dist/cjs/artifacts/glyph/bug/16.js +12 -1
- package/dist/cjs/artifacts/glyph/bug/24.js +12 -1
- package/dist/cjs/artifacts/glyph/calendar/16.js +12 -1
- package/dist/cjs/artifacts/glyph/calendar/24.js +12 -1
- package/dist/cjs/artifacts/glyph/changes/16.js +12 -1
- package/dist/cjs/artifacts/glyph/changes/24.js +12 -1
- package/dist/cjs/artifacts/glyph/code/16.js +12 -1
- package/dist/cjs/artifacts/glyph/code/24.js +12 -1
- package/dist/cjs/artifacts/glyph/commit/16.js +12 -1
- package/dist/cjs/artifacts/glyph/commit/24.js +12 -1
- package/dist/cjs/artifacts/glyph/epic/16.js +12 -1
- package/dist/cjs/artifacts/glyph/epic/24.js +12 -1
- package/dist/cjs/artifacts/glyph/improvement/16.js +12 -1
- package/dist/cjs/artifacts/glyph/improvement/24.js +12 -1
- package/dist/cjs/artifacts/glyph/incident/16.js +12 -1
- package/dist/cjs/artifacts/glyph/incident/24.js +12 -1
- package/dist/cjs/artifacts/glyph/issue/16.js +12 -1
- package/dist/cjs/artifacts/glyph/issue/24.js +12 -1
- package/dist/cjs/artifacts/glyph/new-feature/16.js +12 -1
- package/dist/cjs/artifacts/glyph/new-feature/24.js +12 -1
- package/dist/cjs/artifacts/glyph/page/16.js +12 -1
- package/dist/cjs/artifacts/glyph/page/24.js +12 -1
- package/dist/cjs/artifacts/glyph/page-live-doc/16.js +12 -1
- package/dist/cjs/artifacts/glyph/page-live-doc/24.js +12 -1
- package/dist/cjs/artifacts/glyph/problem/16.js +12 -1
- package/dist/cjs/artifacts/glyph/problem/24.js +12 -1
- package/dist/cjs/artifacts/glyph/pull-request/16.js +12 -1
- package/dist/cjs/artifacts/glyph/pull-request/24.js +12 -1
- package/dist/cjs/artifacts/glyph/question/16.js +12 -1
- package/dist/cjs/artifacts/glyph/question/24.js +12 -1
- package/dist/cjs/artifacts/glyph/story/16.js +12 -1
- package/dist/cjs/artifacts/glyph/story/24.js +12 -1
- package/dist/cjs/artifacts/glyph/subtask/16.js +12 -1
- package/dist/cjs/artifacts/glyph/subtask/24.js +12 -1
- package/dist/cjs/artifacts/glyph/task/16.js +12 -1
- package/dist/cjs/artifacts/glyph/task/24.js +12 -1
- package/dist/cjs/artifacts/glyph-legacy/blog/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/blog/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/branch/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/branch/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/bug/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/bug/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/calendar/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/calendar/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/changes/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/changes/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/code/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/code/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/commit/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/commit/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/epic/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/epic/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/improvement/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/improvement/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/incident/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/incident/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/issue/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/issue/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/new-feature/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/new-feature/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/page/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/page/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/page-live-doc/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/page-live-doc/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/problem/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/problem/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/pull-request/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/pull-request/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/question/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/question/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/story/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/story/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/subtask/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/subtask/24.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/task/16.js +1 -1
- package/dist/cjs/artifacts/glyph-legacy/task/24.js +1 -1
- package/dist/cjs/metadata.js +2 -1
- package/dist/es2019/all-icons.js +46 -0
- package/dist/es2019/artifacts/glyph/blog/16.js +12 -1
- package/dist/es2019/artifacts/glyph/blog/24.js +12 -1
- package/dist/es2019/artifacts/glyph/branch/16.js +12 -1
- package/dist/es2019/artifacts/glyph/branch/24.js +12 -1
- package/dist/es2019/artifacts/glyph/bug/16.js +12 -1
- package/dist/es2019/artifacts/glyph/bug/24.js +12 -1
- package/dist/es2019/artifacts/glyph/calendar/16.js +12 -1
- package/dist/es2019/artifacts/glyph/calendar/24.js +12 -1
- package/dist/es2019/artifacts/glyph/changes/16.js +12 -1
- package/dist/es2019/artifacts/glyph/changes/24.js +12 -1
- package/dist/es2019/artifacts/glyph/code/16.js +12 -1
- package/dist/es2019/artifacts/glyph/code/24.js +12 -1
- package/dist/es2019/artifacts/glyph/commit/16.js +12 -1
- package/dist/es2019/artifacts/glyph/commit/24.js +12 -1
- package/dist/es2019/artifacts/glyph/epic/16.js +12 -1
- package/dist/es2019/artifacts/glyph/epic/24.js +12 -1
- package/dist/es2019/artifacts/glyph/improvement/16.js +12 -1
- package/dist/es2019/artifacts/glyph/improvement/24.js +12 -1
- package/dist/es2019/artifacts/glyph/incident/16.js +12 -1
- package/dist/es2019/artifacts/glyph/incident/24.js +12 -1
- package/dist/es2019/artifacts/glyph/issue/16.js +12 -1
- package/dist/es2019/artifacts/glyph/issue/24.js +12 -1
- package/dist/es2019/artifacts/glyph/new-feature/16.js +12 -1
- package/dist/es2019/artifacts/glyph/new-feature/24.js +12 -1
- package/dist/es2019/artifacts/glyph/page/16.js +12 -1
- package/dist/es2019/artifacts/glyph/page/24.js +12 -1
- package/dist/es2019/artifacts/glyph/page-live-doc/16.js +12 -1
- package/dist/es2019/artifacts/glyph/page-live-doc/24.js +12 -1
- package/dist/es2019/artifacts/glyph/problem/16.js +12 -1
- package/dist/es2019/artifacts/glyph/problem/24.js +12 -1
- package/dist/es2019/artifacts/glyph/pull-request/16.js +12 -1
- package/dist/es2019/artifacts/glyph/pull-request/24.js +12 -1
- package/dist/es2019/artifacts/glyph/question/16.js +12 -1
- package/dist/es2019/artifacts/glyph/question/24.js +12 -1
- package/dist/es2019/artifacts/glyph/story/16.js +12 -1
- package/dist/es2019/artifacts/glyph/story/24.js +12 -1
- package/dist/es2019/artifacts/glyph/subtask/16.js +12 -1
- package/dist/es2019/artifacts/glyph/subtask/24.js +12 -1
- package/dist/es2019/artifacts/glyph/task/16.js +12 -1
- package/dist/es2019/artifacts/glyph/task/24.js +12 -1
- package/dist/es2019/artifacts/glyph-legacy/blog/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/blog/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/branch/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/branch/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/bug/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/bug/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/calendar/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/calendar/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/changes/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/changes/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/code/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/code/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/commit/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/commit/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/epic/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/epic/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/improvement/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/improvement/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/incident/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/incident/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/issue/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/issue/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/new-feature/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/new-feature/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/page/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/page/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/page-live-doc/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/page-live-doc/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/problem/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/problem/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/pull-request/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/pull-request/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/question/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/question/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/story/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/story/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/subtask/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/subtask/24.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/task/16.js +1 -1
- package/dist/es2019/artifacts/glyph-legacy/task/24.js +1 -1
- package/dist/es2019/metadata.js +2 -1
- package/dist/esm/all-icons.js +46 -0
- package/dist/esm/artifacts/glyph/blog/16.js +12 -1
- package/dist/esm/artifacts/glyph/blog/24.js +12 -1
- package/dist/esm/artifacts/glyph/branch/16.js +12 -1
- package/dist/esm/artifacts/glyph/branch/24.js +12 -1
- package/dist/esm/artifacts/glyph/bug/16.js +12 -1
- package/dist/esm/artifacts/glyph/bug/24.js +12 -1
- package/dist/esm/artifacts/glyph/calendar/16.js +12 -1
- package/dist/esm/artifacts/glyph/calendar/24.js +12 -1
- package/dist/esm/artifacts/glyph/changes/16.js +12 -1
- package/dist/esm/artifacts/glyph/changes/24.js +12 -1
- package/dist/esm/artifacts/glyph/code/16.js +12 -1
- package/dist/esm/artifacts/glyph/code/24.js +12 -1
- package/dist/esm/artifacts/glyph/commit/16.js +12 -1
- package/dist/esm/artifacts/glyph/commit/24.js +12 -1
- package/dist/esm/artifacts/glyph/epic/16.js +12 -1
- package/dist/esm/artifacts/glyph/epic/24.js +12 -1
- package/dist/esm/artifacts/glyph/improvement/16.js +12 -1
- package/dist/esm/artifacts/glyph/improvement/24.js +12 -1
- package/dist/esm/artifacts/glyph/incident/16.js +12 -1
- package/dist/esm/artifacts/glyph/incident/24.js +12 -1
- package/dist/esm/artifacts/glyph/issue/16.js +12 -1
- package/dist/esm/artifacts/glyph/issue/24.js +12 -1
- package/dist/esm/artifacts/glyph/new-feature/16.js +12 -1
- package/dist/esm/artifacts/glyph/new-feature/24.js +12 -1
- package/dist/esm/artifacts/glyph/page/16.js +12 -1
- package/dist/esm/artifacts/glyph/page/24.js +12 -1
- package/dist/esm/artifacts/glyph/page-live-doc/16.js +12 -1
- package/dist/esm/artifacts/glyph/page-live-doc/24.js +12 -1
- package/dist/esm/artifacts/glyph/problem/16.js +12 -1
- package/dist/esm/artifacts/glyph/problem/24.js +12 -1
- package/dist/esm/artifacts/glyph/pull-request/16.js +12 -1
- package/dist/esm/artifacts/glyph/pull-request/24.js +12 -1
- package/dist/esm/artifacts/glyph/question/16.js +12 -1
- package/dist/esm/artifacts/glyph/question/24.js +12 -1
- package/dist/esm/artifacts/glyph/story/16.js +12 -1
- package/dist/esm/artifacts/glyph/story/24.js +12 -1
- package/dist/esm/artifacts/glyph/subtask/16.js +12 -1
- package/dist/esm/artifacts/glyph/subtask/24.js +12 -1
- package/dist/esm/artifacts/glyph/task/16.js +12 -1
- package/dist/esm/artifacts/glyph/task/24.js +12 -1
- package/dist/esm/artifacts/glyph-legacy/blog/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/blog/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/branch/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/branch/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/bug/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/bug/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/calendar/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/calendar/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/changes/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/changes/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/code/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/code/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/commit/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/commit/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/epic/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/epic/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/improvement/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/improvement/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/incident/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/incident/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/issue/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/issue/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/new-feature/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/new-feature/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/page/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/page/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/page-live-doc/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/page-live-doc/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/problem/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/problem/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/pull-request/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/pull-request/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/question/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/question/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/story/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/story/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/subtask/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/subtask/24.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/task/16.js +1 -1
- package/dist/esm/artifacts/glyph-legacy/task/24.js +1 -1
- package/dist/esm/metadata.js +2 -1
- package/dist/types/all-icons.d.ts +4 -0
- package/dist/types/artifacts/glyph/blog/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/blog/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/branch/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/branch/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/bug/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/bug/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/calendar/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/calendar/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/changes/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/changes/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/code/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/code/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/commit/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/commit/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/epic/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/epic/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/improvement/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/improvement/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/incident/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/incident/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/issue/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/issue/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/new-feature/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/new-feature/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/page/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/page/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/page-live-doc/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/page-live-doc/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/problem/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/problem/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/pull-request/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/pull-request/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/question/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/question/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/story/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/story/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/subtask/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/subtask/24.d.ts +2 -2
- package/dist/types/artifacts/glyph/task/16.d.ts +2 -2
- package/dist/types/artifacts/glyph/task/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/blog/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/blog/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/branch/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/branch/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/bug/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/bug/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/calendar/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/calendar/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/changes/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/changes/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/code/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/code/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/commit/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/commit/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/epic/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/epic/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/improvement/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/improvement/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/incident/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/incident/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/issue/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/issue/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/new-feature/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/new-feature/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/page/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/page/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/page-live-doc/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/page-live-doc/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/problem/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/problem/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/pull-request/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/pull-request/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/question/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/question/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/story/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/story/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/subtask/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/subtask/24.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/task/16.d.ts +2 -2
- package/dist/types/artifacts/glyph-legacy/task/24.d.ts +2 -2
- package/dist/types/metadata.d.ts +2 -8
- package/dist/types-ts4.5/all-icons.d.ts +4 -0
- package/dist/types-ts4.5/artifacts/glyph/blog/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/blog/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/branch/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/branch/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/bug/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/bug/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/calendar/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/calendar/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/changes/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/changes/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/code/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/code/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/commit/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/commit/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/epic/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/epic/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/improvement/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/improvement/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/incident/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/incident/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/issue/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/issue/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/new-feature/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/new-feature/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/page/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/page/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/page-live-doc/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/page-live-doc/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/problem/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/problem/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/pull-request/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/pull-request/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/question/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/question/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/story/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/story/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/subtask/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/subtask/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/task/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph/task/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/blog/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/blog/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/branch/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/branch/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/bug/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/bug/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/calendar/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/calendar/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/changes/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/changes/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/code/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/code/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/commit/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/commit/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/epic/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/epic/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/improvement/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/improvement/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/incident/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/incident/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/issue/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/issue/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/new-feature/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/new-feature/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/page/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/page/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/page-live-doc/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/page-live-doc/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/problem/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/problem/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/pull-request/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/pull-request/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/question/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/question/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/story/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/story/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/subtask/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/subtask/24.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/task/16.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/glyph-legacy/task/24.d.ts +2 -2
- package/dist/types-ts4.5/metadata.d.ts +2 -8
- package/package.json +11 -3
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::167fa533efc4ba93e24036848d1072d4>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/bug';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/bug';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/bug/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/bug/16';
|
|
|
18
20
|
var Bug16Icon = function Bug16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "redBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::0f602ecc7c0c56afcbb768f96ea33586>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/bug';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/bug';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/bug/24';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/bug/24';
|
|
|
18
20
|
var Bug24Icon = function Bug24Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "small"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "redBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::28d0f6475870cbf159ab08e0e960bd5d>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/calendar';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/calendar';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/calendar/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/calendar/16';
|
|
|
18
20
|
var Calendar16Icon = function Calendar16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "redBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::c20134aa0e23dcbffd02b1fd55e73767>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/calendar';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/calendar';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/calendar/24';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/calendar/24';
|
|
|
18
20
|
var Calendar24Icon = function Calendar24Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "small"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "redBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::57ea112ed25eedff788d2782c5430357>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/changes';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/changes';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/changes/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/changes/16';
|
|
|
18
20
|
var Changes16Icon = function Changes16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "orangeBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::04bc4d6ff8d556e35c85772718b557ae>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/changes';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/changes';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/changes/24';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/changes/24';
|
|
|
18
20
|
var Changes24Icon = function Changes24Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "small"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "orangeBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::28e074effda908d62315fc623bb11ea4>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/angle-brackets';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/code';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/code/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/code/16';
|
|
|
18
20
|
var Code16Icon = function Code16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "purpleBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::3c7d55e14b76c9957e716fd74473a702>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/angle-brackets';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/code';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/code/24';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/code/24';
|
|
|
18
20
|
var Code24Icon = function Code24Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "small"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "purpleBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::6debd57b02ce07c26b500a40c5cf84fa>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/commit';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/commit';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/commit/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/commit/16';
|
|
|
18
20
|
var Commit16Icon = function Commit16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "orangeBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::1082a6c80f48bd44f4e96c677e234cff>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/commit';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/commit';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/commit/24';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/commit/24';
|
|
|
18
20
|
var Commit24Icon = function Commit24Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "small"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "orangeBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::4d6daab6c18f6607b508ad6a232f29d2>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/epic';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/epic';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/epic/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/epic/16';
|
|
|
18
20
|
var Epic16Icon = function Epic16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "purpleBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::4cc0c9356b22fedef569ab81a0c62de8>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/epic';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/epic';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/epic/24';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/epic/24';
|
|
|
18
20
|
var Epic24Icon = function Epic24Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "small"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "purpleBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::9834364f6edd13c671dac32423d1f44c>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/arrow-up';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/improvement';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/improvement/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/improvement/16';
|
|
|
18
20
|
var Improvement16Icon = function Improvement16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "greenBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::3514364b318140e5052e6093a1c20e42>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/arrow-up';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/improvement';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/improvement/24';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/improvement/24';
|
|
|
18
20
|
var Improvement24Icon = function Improvement24Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "small"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "greenBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::3a2ca9a3d5107d7ac162a2a33430a5c3>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/incident';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/incident';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/incident/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/incident/16';
|
|
|
18
20
|
var Incident16Icon = function Incident16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "redBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::44b8fa642b5f6d8de910fb3f6343b8c6>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/incident';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/incident';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/incident/24';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/incident/24';
|
|
|
18
20
|
var Incident24Icon = function Incident24Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "small"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "redBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::dcefb0a89a27f97c4801643e6dfd0167>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/work-item';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/issue';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/issue/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/issue/16';
|
|
|
18
20
|
var Issue16Icon = function Issue16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "blueBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::79c5d6a92f9129a27566e8b5c091cb3d>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/work-item';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/issue';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/issue/24';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/issue/24';
|
|
|
18
20
|
var Issue24Icon = function Issue24Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "small"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "blueBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::e229d912fdac7d3782192a1cfea26688>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/add';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/new-feature';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/new-feature/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/new-feature/16';
|
|
|
18
20
|
var NewFeature16Icon = function NewFeature16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "greenBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::9871b55a6ec876b508660dc44f882600>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/add';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/tile/new-feature';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/new-feature/24';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/new-feature/24';
|
|
|
18
20
|
var NewFeature24Icon = function NewFeature24Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "small"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "greenBold",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::89370760dd7aca35aeecca1b17abbf42>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { IconTile } from '@atlaskit/icon';
|
|
8
8
|
import NewIcon from '@atlaskit/icon/core/page';
|
|
9
|
+
import NewObjectComponent from '@atlaskit/object/page';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import IconObjectOld from '../../glyph-legacy/page/16';
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -18,6 +20,15 @@ import IconObjectOld from '../../glyph-legacy/page/16';
|
|
|
18
20
|
var Page16Icon = function Page16Icon(_ref) {
|
|
19
21
|
var label = _ref.label,
|
|
20
22
|
testId = _ref.testId;
|
|
23
|
+
// Feature flag to migrate to new object package
|
|
24
|
+
if (fg('platform_dst_icon_object_to_object')) {
|
|
25
|
+
// Map props based on size: 16px -> object (medium), 24px -> tile (small)
|
|
26
|
+
return /*#__PURE__*/React.createElement(NewObjectComponent, {
|
|
27
|
+
label: label,
|
|
28
|
+
testId: testId,
|
|
29
|
+
size: "medium"
|
|
30
|
+
});
|
|
31
|
+
}
|
|
21
32
|
return /*#__PURE__*/React.createElement(IconTile, {
|
|
22
33
|
icon: NewIcon,
|
|
23
34
|
appearance: "blueBold",
|