@snhaman/pollymorph 1.4.0 → 1.6.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/dist/fonts/PDS-Icon-Font-20.ttf +0 -0
- package/dist/fonts/PDS-Icon-Font-20.woff2 +0 -0
- package/dist/icons.d.mts +23 -0
- package/dist/icons.d.ts +23 -0
- package/dist/icons.js +1165 -0
- package/dist/icons.js.map +1 -0
- package/dist/icons.mjs +1135 -0
- package/dist/icons.mjs.map +1 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1742 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1721 -19
- package/dist/index.mjs.map +1 -1
- package/dist/pds-icons.css +117 -0
- package/dist/pollymorph.css +573 -0
- package/dist/react-icons.d.mts +753 -0
- package/dist/react-icons.d.ts +753 -0
- package/dist/react-icons.js +3353 -0
- package/dist/react-icons.js.map +1 -0
- package/dist/react-icons.mjs +3143 -0
- package/dist/react-icons.mjs.map +1 -0
- package/dist/rules.d.mts +19 -9
- package/dist/rules.d.ts +19 -9
- package/dist/rules.js +603 -23
- package/dist/rules.js.map +1 -1
- package/dist/rules.mjs +588 -19
- package/dist/rules.mjs.map +1 -1
- package/dist/svg.d.mts +187 -0
- package/dist/svg.d.ts +187 -0
- package/dist/svg.js +1064 -0
- package/dist/svg.js.map +1 -0
- package/dist/svg.mjs +855 -0
- package/dist/svg.mjs.map +1 -0
- package/dist/tokens-B3FQ_Pbh.d.mts +221 -0
- package/dist/tokens-B3FQ_Pbh.d.ts +221 -0
- package/dist/tokens.d.mts +1 -62
- package/dist/tokens.d.ts +1 -62
- package/dist/tokens.js +558 -11
- package/dist/tokens.js.map +1 -1
- package/dist/tokens.mjs +558 -11
- package/dist/tokens.mjs.map +1 -1
- package/package.json +34 -3
- package/dist/types-C6UlcDOW.d.mts +0 -162
- package/dist/types-C6UlcDOW.d.ts +0 -162
|
Binary file
|
|
Binary file
|
package/dist/icons.d.mts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type IconName = "meatballsSettings" | "addToShortlist" | "shortlist" | "uploadFile" | "downloadFile" | "edit" | "duplicateOrCopy" | "print" | "openInNewWindow" | "tableEditor" | "tableSort" | "save" | "delete" | "openFolder" | "analyse" | "starEmpty" | "filter" | "add" | "contract" | "expand" | "close" | "upChevron" | "leftChevron" | "rightChevron" | "expandChevron" | "upCarrot" | "leftCarrot" | "rightCarrot" | "downCarrot" | "arrowUp" | "arrowLeftBack" | "arrowRightForward" | "arrowDown" | "northEast" | "northWest" | "southEast" | "southWest" | "arrowForwardLarge" | "arrowBackLarge" | "skipToFirst" | "skipToLast" | "starFull" | "visibilityOn" | "visibilityOff" | "pinned" | "pin" | "starHalf" | "previousArrow" | "nextArrow" | "folderOpen" | "folder" | "createNewFolder" | "uploadFolder" | "archive" | "unarchive" | "link" | "done" | "chartIcon" | "document" | "codeDocument" | "info" | "swap" | "description" | "history" | "rename" | "panMove" | "github" | "curation" | "helpAndSupport" | "userProfile" | "settings" | "notification" | "ingestion" | "omixLogoSimple" | "workspaces" | "application" | "usersOA" | "admin" | "costWallet" | "splitView" | "summaryView" | "listView" | "cardView" | "tableView" | "cancelRound" | "userSingle" | "addUser" | "calendarEvent" | "calendarEmpty" | "calendarMonth" | "alarm" | "loadingIcon" | "search" | "dragHandle" | "sortAscending" | "sortDescending" | "emptyFlag" | "filledFlag" | "refreshIcon" | "pollyFlow" | "pollyPipelines" | "hamburgerMenuToggle" | "hamburgerMenu" | "checkBoxSelected" | "checkBoxIndeterminate" | "addReport" | "viewReport" | "key" | "databaseIcon" | "databaseSettings" | "databaseEditIcon" | "databaseAddIcon" | "frameworkOntologyFlowchart" | "thumbUpFilled" | "thumbUp" | "thumbDownFilled" | "thumbDown" | "mailIcon" | "reply" | "send" | "chatIcon" | "comment" | "editTableIcon" | "addTable" | "editTableRow" | "addTableRow" | "editTableColumn" | "addTableColumn" | "dashboardIcon" | "organisationIcon" | "detailsIcons" | "userGroups" | "foreignKey" | "blockCancelled" | "hourglassRunning" | "checkCircleDone" | "warning" | "cohorts" | "medicine" | "aiIcon" | "aiKnowledge" | "aiInsights" | "dataProductIcon" | "performance" | "collections" | "config" | "reviewerTasks" | "chatHistory" | "shareIcon" | "collectionsAlt" | "reviewerTasksAlt" | "pollyScout" | "pendingTasks" | "pollyXtract" | "logout" | "login" | "mic" | "micOff" | "attach" | "aiInsight" | "pollyKG" | "video" | "files" | "audio" | "camera" | "images" | "pollyPipelinesAlt" | "coScientistIcon" | "youtubeSearchedFor" | "zoomIn" | "zoomOut" | "addCircle" | "addCircleOutline" | "remove" | "removeCircle" | "removeCircleOutline" | "playArrow" | "pause" | "stop" | "playCircle" | "pauseCircle" | "stopCircle" | "replay" | "loopRefreshUpdate" | "forward";
|
|
2
|
+
interface IconEntry {
|
|
3
|
+
num: number;
|
|
4
|
+
name: IconName;
|
|
5
|
+
inFont: boolean;
|
|
6
|
+
codepoint?: string;
|
|
7
|
+
unicode?: string;
|
|
8
|
+
codepointUnverified?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** Full icon registry **/
|
|
11
|
+
declare const icons: IconEntry[];
|
|
12
|
+
/** Icons that have a font glyph — usable via PDS-Icon-Font-20 **/
|
|
13
|
+
declare const fontIcons: IconEntry[];
|
|
14
|
+
/** Icons available as SVG only **/
|
|
15
|
+
declare const svgIcons: IconEntry[];
|
|
16
|
+
/** Look up an icon entry by name **/
|
|
17
|
+
declare function getIcon(name: IconName): IconEntry | undefined;
|
|
18
|
+
/** Get the Unicode character for a font icon (use as content in CSS or JSX) **/
|
|
19
|
+
declare function getIconChar(name: IconName): string | undefined;
|
|
20
|
+
/** Map of icon name → unicode character (font icons only) **/
|
|
21
|
+
declare const iconCharMap: Partial<Record<IconName, string>>;
|
|
22
|
+
|
|
23
|
+
export { type IconEntry, type IconName, fontIcons, getIcon, getIconChar, iconCharMap, icons, svgIcons };
|
package/dist/icons.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type IconName = "meatballsSettings" | "addToShortlist" | "shortlist" | "uploadFile" | "downloadFile" | "edit" | "duplicateOrCopy" | "print" | "openInNewWindow" | "tableEditor" | "tableSort" | "save" | "delete" | "openFolder" | "analyse" | "starEmpty" | "filter" | "add" | "contract" | "expand" | "close" | "upChevron" | "leftChevron" | "rightChevron" | "expandChevron" | "upCarrot" | "leftCarrot" | "rightCarrot" | "downCarrot" | "arrowUp" | "arrowLeftBack" | "arrowRightForward" | "arrowDown" | "northEast" | "northWest" | "southEast" | "southWest" | "arrowForwardLarge" | "arrowBackLarge" | "skipToFirst" | "skipToLast" | "starFull" | "visibilityOn" | "visibilityOff" | "pinned" | "pin" | "starHalf" | "previousArrow" | "nextArrow" | "folderOpen" | "folder" | "createNewFolder" | "uploadFolder" | "archive" | "unarchive" | "link" | "done" | "chartIcon" | "document" | "codeDocument" | "info" | "swap" | "description" | "history" | "rename" | "panMove" | "github" | "curation" | "helpAndSupport" | "userProfile" | "settings" | "notification" | "ingestion" | "omixLogoSimple" | "workspaces" | "application" | "usersOA" | "admin" | "costWallet" | "splitView" | "summaryView" | "listView" | "cardView" | "tableView" | "cancelRound" | "userSingle" | "addUser" | "calendarEvent" | "calendarEmpty" | "calendarMonth" | "alarm" | "loadingIcon" | "search" | "dragHandle" | "sortAscending" | "sortDescending" | "emptyFlag" | "filledFlag" | "refreshIcon" | "pollyFlow" | "pollyPipelines" | "hamburgerMenuToggle" | "hamburgerMenu" | "checkBoxSelected" | "checkBoxIndeterminate" | "addReport" | "viewReport" | "key" | "databaseIcon" | "databaseSettings" | "databaseEditIcon" | "databaseAddIcon" | "frameworkOntologyFlowchart" | "thumbUpFilled" | "thumbUp" | "thumbDownFilled" | "thumbDown" | "mailIcon" | "reply" | "send" | "chatIcon" | "comment" | "editTableIcon" | "addTable" | "editTableRow" | "addTableRow" | "editTableColumn" | "addTableColumn" | "dashboardIcon" | "organisationIcon" | "detailsIcons" | "userGroups" | "foreignKey" | "blockCancelled" | "hourglassRunning" | "checkCircleDone" | "warning" | "cohorts" | "medicine" | "aiIcon" | "aiKnowledge" | "aiInsights" | "dataProductIcon" | "performance" | "collections" | "config" | "reviewerTasks" | "chatHistory" | "shareIcon" | "collectionsAlt" | "reviewerTasksAlt" | "pollyScout" | "pendingTasks" | "pollyXtract" | "logout" | "login" | "mic" | "micOff" | "attach" | "aiInsight" | "pollyKG" | "video" | "files" | "audio" | "camera" | "images" | "pollyPipelinesAlt" | "coScientistIcon" | "youtubeSearchedFor" | "zoomIn" | "zoomOut" | "addCircle" | "addCircleOutline" | "remove" | "removeCircle" | "removeCircleOutline" | "playArrow" | "pause" | "stop" | "playCircle" | "pauseCircle" | "stopCircle" | "replay" | "loopRefreshUpdate" | "forward";
|
|
2
|
+
interface IconEntry {
|
|
3
|
+
num: number;
|
|
4
|
+
name: IconName;
|
|
5
|
+
inFont: boolean;
|
|
6
|
+
codepoint?: string;
|
|
7
|
+
unicode?: string;
|
|
8
|
+
codepointUnverified?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** Full icon registry **/
|
|
11
|
+
declare const icons: IconEntry[];
|
|
12
|
+
/** Icons that have a font glyph — usable via PDS-Icon-Font-20 **/
|
|
13
|
+
declare const fontIcons: IconEntry[];
|
|
14
|
+
/** Icons available as SVG only **/
|
|
15
|
+
declare const svgIcons: IconEntry[];
|
|
16
|
+
/** Look up an icon entry by name **/
|
|
17
|
+
declare function getIcon(name: IconName): IconEntry | undefined;
|
|
18
|
+
/** Get the Unicode character for a font icon (use as content in CSS or JSX) **/
|
|
19
|
+
declare function getIconChar(name: IconName): string | undefined;
|
|
20
|
+
/** Map of icon name → unicode character (font icons only) **/
|
|
21
|
+
declare const iconCharMap: Partial<Record<IconName, string>>;
|
|
22
|
+
|
|
23
|
+
export { type IconEntry, type IconName, fontIcons, getIcon, getIconChar, iconCharMap, icons, svgIcons };
|