diff --git a/package.json b/package.json index c0182d3f..6861e1b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ably/ui", - "version": "14.7.0", + "version": "14.7.1", "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.", "repository": { "type": "git", diff --git a/src/core/Icon/types.ts b/src/core/Icon/types.ts index 443463ba..ee19d364 100644 --- a/src/core/Icon/types.ts +++ b/src/core/Icon/types.ts @@ -1,13 +1,5 @@ import { computedIcons } from "./computed-icons"; -export type IconName = - | (typeof computedIcons.gui)[number] - | (typeof computedIcons.display)[number] - | (typeof computedIcons.social)[number] - | (typeof computedIcons.other)[number] - | (typeof computedIcons.tech)[number] - | (typeof computedIcons.product)[number]; - export const iconNames = { gui: computedIcons.gui, display: computedIcons.display, @@ -16,3 +8,11 @@ export const iconNames = { tech: computedIcons.tech, product: computedIcons.product, }; + +export type IconName = + | (typeof iconNames.gui)[number] + | (typeof iconNames.display)[number] + | (typeof iconNames.social)[number] + | (typeof iconNames.other)[number] + | (typeof iconNames.tech)[number] + | (typeof iconNames.product)[number];