@yuktishaalaa/yuktai 5.3.9 → 5.3.11
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/README.md +70 -982
- package/dist/agent-SZENB4QE.mjs +18 -0
- package/dist/agentic/a11yCopilot.d.ts +32 -0
- package/dist/agentic/contextIndex.d.ts +58 -0
- package/dist/agentic/designReview.d.ts +26 -0
- package/dist/agentic/dom.d.ts +42 -0
- package/dist/agentic/formReview.d.ts +38 -0
- package/dist/agentic/gridQuery.d.ts +64 -0
- package/dist/agentic/index.d.ts +13 -0
- package/dist/agentic/insights.d.ts +62 -0
- package/dist/agentic/pageInsights.d.ts +47 -0
- package/dist/agentic/qaAudit.d.ts +59 -0
- package/dist/agentic/react.d.ts +52 -0
- package/dist/agentic/rust/ragCoreWasm.d.ts +3 -0
- package/dist/agentic/rust/ragEngine.d.ts +32 -0
- package/dist/agentic/taskRunner.d.ts +34 -0
- package/dist/agentic/voiceA11yCommands.d.ts +74 -0
- package/dist/chunk-K2IBRN5C.mjs +1 -0
- package/dist/chunk-M2OKTFX3.mjs +11 -0
- package/dist/chunk-N2HHE7YH.mjs +1 -0
- package/dist/core/a11yEngine.d.ts +5 -0
- package/dist/core/ai/agent.d.ts +21 -0
- package/dist/core/ai/labeller.d.ts +12 -0
- package/dist/core/ai/promptOptions.d.ts +16 -0
- package/dist/core/ai/rag.d.ts +7 -0
- package/dist/core/ai/rewriter.d.ts +13 -0
- package/dist/core/ai/summarizer.d.ts +8 -0
- package/dist/core/ai/transformers-rag.d.ts +9 -0
- package/dist/core/ai/translator.d.ts +14 -0
- package/dist/core/ai/voice.d.ts +33 -0
- package/dist/core/codegen/page-templates.d.ts +32 -0
- package/dist/core/codegen/requirement-parser.d.ts +12 -0
- package/dist/core/codegen/zip-generator.d.ts +2 -0
- package/dist/core/generateUI.d.ts +4 -0
- package/dist/core/renderer.d.ts +72 -0
- package/dist/grid/YuktaiGrid.d.ts +4 -0
- package/dist/grid/YuktaiGridAI.d.ts +46 -0
- package/dist/grid/YuktaiGridAgent.d.ts +81 -0
- package/dist/grid/YuktaiGridWebMCP.d.ts +54 -0
- package/dist/grid/gridTools.d.ts +111 -0
- package/dist/grid/rust/engine.d.ts +55 -0
- package/dist/grid/rust/gridCoreWasm.d.ts +3 -0
- package/dist/grid/rust/useGridCore.d.ts +2 -0
- package/dist/grid/types.d.ts +245 -0
- package/dist/grid/useGrid.d.ts +57 -0
- package/dist/grid/yuktaiGridRows.d.ts +35 -0
- package/dist/icons/CheckIcon.d.ts +2 -0
- package/dist/icons/ChevronLeftIcon.d.ts +2 -0
- package/dist/icons/ChevronRightIcon.d.ts +2 -0
- package/dist/icons/CloseIcon.d.ts +2 -0
- package/dist/icons/IconBase.d.ts +25 -0
- package/dist/icons/SearchIcon.d.ts +2 -0
- package/dist/icons/SortDownIcon.d.ts +2 -0
- package/dist/icons/SortUpIcon.d.ts +2 -0
- package/dist/icons/YuktaiIcon.d.ts +320 -0
- package/dist/icons/index.d.ts +16 -0
- package/dist/icons/paths.d.ts +167 -0
- package/dist/icons/variant.d.ts +42 -0
- package/dist/icons.d.mts +1 -567
- package/dist/icons.d.ts +1 -567
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +1 -1
- package/dist/index.d.mts +2 -1336
- package/dist/index.d.ts +36 -1314
- package/dist/index.js +69 -76
- package/dist/index.mjs +42 -49
- package/dist/next/YuktAIWrapper.d.ts +2 -0
- package/dist/plugins/ai.d.ts +4 -0
- package/dist/plugins/voice.d.ts +4 -0
- package/dist/plugins/wcag.d.ts +98 -0
- package/dist/rag-O3FDQPTX.mjs +1 -0
- package/dist/react/CodeGenPanel.d.ts +7 -0
- package/dist/react/WidgetPanel.d.ts +38 -0
- package/dist/react/YuktAIWrapper.d.ts +35 -0
- package/dist/renderer.global.js +23 -30
- package/dist/runtime/runtime.d.ts +18 -0
- package/package.json +11 -8
- package/vanilla/index.js +77 -42
- package/vanilla/index.min.js +45 -52
- package/dist/agent-G67IA7MY.mjs +0 -18
- package/dist/chunk-7BGINZ5U.mjs +0 -1
- package/dist/chunk-P2PBML6K.mjs +0 -11
- package/dist/rag-Q3LUXSSD.mjs +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type IconShape, type IconVariant } from "./variant";
|
|
3
|
+
export interface IconProps extends React.SVGAttributes<SVGSVGElement> {
|
|
4
|
+
/** Size in pixels — applied to both width and height. Default: 20 */
|
|
5
|
+
size?: number | string;
|
|
6
|
+
/** outline: line colour · filled: background colour. Default: currentColor */
|
|
7
|
+
color?: string;
|
|
8
|
+
/** Stroke width override — default: 2.5 (outline), 2.6 (filled) */
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
/** Accessible label — if provided, icon becomes non-decorative */
|
|
11
|
+
label?: string;
|
|
12
|
+
/** "outline" (default) or "filled" */
|
|
13
|
+
variant?: IconVariant;
|
|
14
|
+
/** filled only: glyph colour. Default: white or near-black, whichever contrasts more */
|
|
15
|
+
glyphColor?: string;
|
|
16
|
+
/** filled only: "rounded" (default) or "circle" */
|
|
17
|
+
shape?: IconShape;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Shared base for all yuktai icons.
|
|
21
|
+
* Children should be SVG path/circle/rect elements.
|
|
22
|
+
*/
|
|
23
|
+
export declare function IconBase({ size, color, strokeWidth, label, variant, glyphColor, shape, children, ...rest }: IconProps & {
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { type IconProps } from "./IconBase";
|
|
2
|
+
import { type IconName } from "./paths";
|
|
3
|
+
export interface YuktaiIconProps extends Omit<IconProps, "name"> {
|
|
4
|
+
/** Icon name, e.g. "mic", "wand", "accessibility". See ICON_NAMES. */
|
|
5
|
+
name: IconName;
|
|
6
|
+
}
|
|
7
|
+
/** Any yuktai icon by name. Paths are fixed constants from paths.ts (never user input). */
|
|
8
|
+
export declare function YuktaiIcon({ name, ...props }: YuktaiIconProps): import("react").JSX.Element;
|
|
9
|
+
/** Accessibility settings */
|
|
10
|
+
export declare const AccessibilityIcon: (props: IconProps) => import("react").JSX.Element;
|
|
11
|
+
/** High contrast */
|
|
12
|
+
export declare const ContrastIcon: (props: IconProps) => import("react").JSX.Element;
|
|
13
|
+
/** Dark mode */
|
|
14
|
+
export declare const MoonIcon: (props: IconProps) => import("react").JSX.Element;
|
|
15
|
+
/** Reduce motion */
|
|
16
|
+
export declare const MotionIcon: (props: IconProps) => import("react").JSX.Element;
|
|
17
|
+
/** Reading / dyslexia support */
|
|
18
|
+
export declare const ReadingIcon: (props: IconProps) => import("react").JSX.Element;
|
|
19
|
+
/** Large targets */
|
|
20
|
+
export declare const TargetIcon: (props: IconProps) => import("react").JSX.Element;
|
|
21
|
+
/** Speak on focus */
|
|
22
|
+
export declare const SpeakerIcon: (props: IconProps) => import("react").JSX.Element;
|
|
23
|
+
/** Colour-blind modes */
|
|
24
|
+
export declare const PaletteIcon: (props: IconProps) => import("react").JSX.Element;
|
|
25
|
+
/** Skip links */
|
|
26
|
+
export declare const SkipIcon: (props: IconProps) => import("react").JSX.Element;
|
|
27
|
+
/** Increase / add */
|
|
28
|
+
export declare const PlusIcon: (props: IconProps) => import("react").JSX.Element;
|
|
29
|
+
/** Decrease / remove */
|
|
30
|
+
export declare const MinusIcon: (props: IconProps) => import("react").JSX.Element;
|
|
31
|
+
/** Reset */
|
|
32
|
+
export declare const ResetIcon: (props: IconProps) => import("react").JSX.Element;
|
|
33
|
+
/** Sortable column (unsorted) */
|
|
34
|
+
export declare const SortIcon: (props: IconProps) => import("react").JSX.Element;
|
|
35
|
+
/** Expand / collapse */
|
|
36
|
+
export declare const ChevronsIcon: (props: IconProps) => import("react").JSX.Element;
|
|
37
|
+
/** Table view */
|
|
38
|
+
export declare const GridIcon: (props: IconProps) => import("react").JSX.Element;
|
|
39
|
+
/** Card view */
|
|
40
|
+
export declare const CardsIcon: (props: IconProps) => import("react").JSX.Element;
|
|
41
|
+
/** Ask / assistant */
|
|
42
|
+
export declare const ChatIcon: (props: IconProps) => import("react").JSX.Element;
|
|
43
|
+
/** Voice input */
|
|
44
|
+
export declare const MicIcon: (props: IconProps) => import("react").JSX.Element;
|
|
45
|
+
/** Stop listening */
|
|
46
|
+
export declare const StopIcon: (props: IconProps) => import("react").JSX.Element;
|
|
47
|
+
/** Download / export / install */
|
|
48
|
+
export declare const DownloadIcon: (props: IconProps) => import("react").JSX.Element;
|
|
49
|
+
/** Copy */
|
|
50
|
+
export declare const CopyIcon: (props: IconProps) => import("react").JSX.Element;
|
|
51
|
+
/** Filter */
|
|
52
|
+
export declare const FilterIcon: (props: IconProps) => import("react").JSX.Element;
|
|
53
|
+
/** First page */
|
|
54
|
+
export declare const FirstIcon: (props: IconProps) => import("react").JSX.Element;
|
|
55
|
+
/** Last page */
|
|
56
|
+
export declare const LastIcon: (props: IconProps) => import("react").JSX.Element;
|
|
57
|
+
/** AI / agentic answer */
|
|
58
|
+
export declare const SparkIcon: (props: IconProps) => import("react").JSX.Element;
|
|
59
|
+
/** Warning */
|
|
60
|
+
export declare const AlertIcon: (props: IconProps) => import("react").JSX.Element;
|
|
61
|
+
/** Information */
|
|
62
|
+
export declare const InfoIcon: (props: IconProps) => import("react").JSX.Element;
|
|
63
|
+
/** Form review */
|
|
64
|
+
export declare const FormIcon: (props: IconProps) => import("react").JSX.Element;
|
|
65
|
+
/** Show on page / watch */
|
|
66
|
+
export declare const EyeIcon: (props: IconProps) => import("react").JSX.Element;
|
|
67
|
+
/** Design review */
|
|
68
|
+
export declare const LayoutIcon: (props: IconProps) => import("react").JSX.Element;
|
|
69
|
+
/** Auto-fix */
|
|
70
|
+
export declare const WandIcon: (props: IconProps) => import("react").JSX.Element;
|
|
71
|
+
/** Undo */
|
|
72
|
+
export declare const UndoIcon: (props: IconProps) => import("react").JSX.Element;
|
|
73
|
+
/** Page tools */
|
|
74
|
+
export declare const ToolsIcon: (props: IconProps) => import("react").JSX.Element;
|
|
75
|
+
/** WebMCP / integrations */
|
|
76
|
+
export declare const PlugIcon: (props: IconProps) => import("react").JSX.Element;
|
|
77
|
+
/** Home */
|
|
78
|
+
export declare const HomeIcon: (props: IconProps) => import("react").JSX.Element;
|
|
79
|
+
/** Menu */
|
|
80
|
+
export declare const MenuIcon: (props: IconProps) => import("react").JSX.Element;
|
|
81
|
+
/** Book */
|
|
82
|
+
export declare const BookIcon: (props: IconProps) => import("react").JSX.Element;
|
|
83
|
+
/** Calendar */
|
|
84
|
+
export declare const CalendarIcon: (props: IconProps) => import("react").JSX.Element;
|
|
85
|
+
/** Clock */
|
|
86
|
+
export declare const ClockIcon: (props: IconProps) => import("react").JSX.Element;
|
|
87
|
+
/** Person */
|
|
88
|
+
export declare const PersonIcon: (props: IconProps) => import("react").JSX.Element;
|
|
89
|
+
/** Group of people */
|
|
90
|
+
export declare const UsersIcon: (props: IconProps) => import("react").JSX.Element;
|
|
91
|
+
/** Language / world */
|
|
92
|
+
export declare const GlobeIcon: (props: IconProps) => import("react").JSX.Element;
|
|
93
|
+
/** Oil lamp (deepam) */
|
|
94
|
+
export declare const LampIcon: (props: IconProps) => import("react").JSX.Element;
|
|
95
|
+
/** Play */
|
|
96
|
+
export declare const PlayIcon: (props: IconProps) => import("react").JSX.Element;
|
|
97
|
+
/** Pause */
|
|
98
|
+
export declare const PauseIcon: (props: IconProps) => import("react").JSX.Element;
|
|
99
|
+
/** Send */
|
|
100
|
+
export declare const SendIcon: (props: IconProps) => import("react").JSX.Element;
|
|
101
|
+
/** Share */
|
|
102
|
+
export declare const ShareIcon: (props: IconProps) => import("react").JSX.Element;
|
|
103
|
+
/** Gift */
|
|
104
|
+
export declare const GiftIcon: (props: IconProps) => import("react").JSX.Element;
|
|
105
|
+
/** Image */
|
|
106
|
+
export declare const ImageIcon: (props: IconProps) => import("react").JSX.Element;
|
|
107
|
+
/** File / document */
|
|
108
|
+
export declare const FileIcon: (props: IconProps) => import("react").JSX.Element;
|
|
109
|
+
/** Opens in a new tab */
|
|
110
|
+
export declare const ExternalIcon: (props: IconProps) => import("react").JSX.Element;
|
|
111
|
+
/** Arrow up */
|
|
112
|
+
export declare const ArrowUpIcon: (props: IconProps) => import("react").JSX.Element;
|
|
113
|
+
/** Arrow left */
|
|
114
|
+
export declare const ArrowLeftIcon: (props: IconProps) => import("react").JSX.Element;
|
|
115
|
+
/** Arrow right */
|
|
116
|
+
export declare const ArrowRightIcon: (props: IconProps) => import("react").JSX.Element;
|
|
117
|
+
/** Headphones / listen */
|
|
118
|
+
export declare const HeadphonesIcon: (props: IconProps) => import("react").JSX.Element;
|
|
119
|
+
/** Music / audio */
|
|
120
|
+
export declare const MusicIcon: (props: IconProps) => import("react").JSX.Element;
|
|
121
|
+
/** Location pin */
|
|
122
|
+
export declare const PinIcon: (props: IconProps) => import("react").JSX.Element;
|
|
123
|
+
/** Map / directions */
|
|
124
|
+
export declare const MapIcon: (props: IconProps) => import("react").JSX.Element;
|
|
125
|
+
/** Pen / write */
|
|
126
|
+
export declare const PenIcon: (props: IconProps) => import("react").JSX.Element;
|
|
127
|
+
/** Wallet / money */
|
|
128
|
+
export declare const WalletIcon: (props: IconProps) => import("react").JSX.Element;
|
|
129
|
+
/** Install app */
|
|
130
|
+
export declare const InstallIcon: (props: IconProps) => import("react").JSX.Element;
|
|
131
|
+
/** Help */
|
|
132
|
+
export declare const HelpIcon: (props: IconProps) => import("react").JSX.Element;
|
|
133
|
+
/** Temple */
|
|
134
|
+
export declare const TempleIcon: (props: IconProps) => import("react").JSX.Element;
|
|
135
|
+
/** Meditation */
|
|
136
|
+
export declare const MeditateIcon: (props: IconProps) => import("react").JSX.Element;
|
|
137
|
+
/** Trophy / result */
|
|
138
|
+
export declare const TrophyIcon: (props: IconProps) => import("react").JSX.Element;
|
|
139
|
+
/** Idea / tip */
|
|
140
|
+
export declare const BulbIcon: (props: IconProps) => import("react").JSX.Element;
|
|
141
|
+
/** Sun / light mode */
|
|
142
|
+
export declare const SunIcon: (props: IconProps) => import("react").JSX.Element;
|
|
143
|
+
/** Delete */
|
|
144
|
+
export declare const DeleteIcon: (props: IconProps) => import("react").JSX.Element;
|
|
145
|
+
/** Robot / AI assistant */
|
|
146
|
+
export declare const RobotIcon: (props: IconProps) => import("react").JSX.Element;
|
|
147
|
+
/** Heart (not liked) */
|
|
148
|
+
export declare const HeartIcon: (props: IconProps) => import("react").JSX.Element;
|
|
149
|
+
/** Heart (liked) */
|
|
150
|
+
export declare const HeartFilledIcon: (props: IconProps) => import("react").JSX.Element;
|
|
151
|
+
/** Hub / network */
|
|
152
|
+
export declare const HubIcon: (props: IconProps) => import("react").JSX.Element;
|
|
153
|
+
/** Code */
|
|
154
|
+
export declare const CodeIcon: (props: IconProps) => import("react").JSX.Element;
|
|
155
|
+
/** Text field */
|
|
156
|
+
export declare const TextIcon: (props: IconProps) => import("react").JSX.Element;
|
|
157
|
+
/** Bold */
|
|
158
|
+
export declare const BoldIcon: (props: IconProps) => import("react").JSX.Element;
|
|
159
|
+
/** Italic */
|
|
160
|
+
export declare const ItalicIcon: (props: IconProps) => import("react").JSX.Element;
|
|
161
|
+
/** Underline */
|
|
162
|
+
export declare const UnderlineIcon: (props: IconProps) => import("react").JSX.Element;
|
|
163
|
+
/** Align left */
|
|
164
|
+
export declare const AlignLeftIcon: (props: IconProps) => import("react").JSX.Element;
|
|
165
|
+
/** Align centre */
|
|
166
|
+
export declare const AlignCenterIcon: (props: IconProps) => import("react").JSX.Element;
|
|
167
|
+
/** Align right */
|
|
168
|
+
export declare const AlignRightIcon: (props: IconProps) => import("react").JSX.Element;
|
|
169
|
+
/** Justify */
|
|
170
|
+
export declare const AlignJustifyIcon: (props: IconProps) => import("react").JSX.Element;
|
|
171
|
+
/** Quote */
|
|
172
|
+
export declare const QuoteIcon: (props: IconProps) => import("react").JSX.Element;
|
|
173
|
+
/** Title */
|
|
174
|
+
export declare const TitleIcon: (props: IconProps) => import("react").JSX.Element;
|
|
175
|
+
/** Font */
|
|
176
|
+
export declare const FontIcon: (props: IconProps) => import("react").JSX.Element;
|
|
177
|
+
/** Spell check */
|
|
178
|
+
export declare const SpellcheckIcon: (props: IconProps) => import("react").JSX.Element;
|
|
179
|
+
/** Letters (ABC) */
|
|
180
|
+
export declare const AbcIcon: (props: IconProps) => import("react").JSX.Element;
|
|
181
|
+
/** Page break */
|
|
182
|
+
export declare const PageBreakIcon: (props: IconProps) => import("react").JSX.Element;
|
|
183
|
+
/** Link */
|
|
184
|
+
export declare const LinkIcon: (props: IconProps) => import("react").JSX.Element;
|
|
185
|
+
/** Style */
|
|
186
|
+
export declare const StyleIcon: (props: IconProps) => import("react").JSX.Element;
|
|
187
|
+
/** Lock */
|
|
188
|
+
export declare const LockIcon: (props: IconProps) => import("react").JSX.Element;
|
|
189
|
+
/** Unlock */
|
|
190
|
+
export declare const UnlockIcon: (props: IconProps) => import("react").JSX.Element;
|
|
191
|
+
/** Key */
|
|
192
|
+
export declare const KeyIcon: (props: IconProps) => import("react").JSX.Element;
|
|
193
|
+
/** Redo */
|
|
194
|
+
export declare const RedoIcon: (props: IconProps) => import("react").JSX.Element;
|
|
195
|
+
/** Swap */
|
|
196
|
+
export declare const SwapIcon: (props: IconProps) => import("react").JSX.Element;
|
|
197
|
+
/** Shuffle */
|
|
198
|
+
export declare const ShuffleIcon: (props: IconProps) => import("react").JSX.Element;
|
|
199
|
+
/** Full screen */
|
|
200
|
+
export declare const FullscreenIcon: (props: IconProps) => import("react").JSX.Element;
|
|
201
|
+
/** Exit full screen */
|
|
202
|
+
export declare const FullscreenExitIcon: (props: IconProps) => import("react").JSX.Element;
|
|
203
|
+
/** Merge */
|
|
204
|
+
export declare const MergeIcon: (props: IconProps) => import("react").JSX.Element;
|
|
205
|
+
/** Join */
|
|
206
|
+
export declare const JoinIcon: (props: IconProps) => import("react").JSX.Element;
|
|
207
|
+
/** Tap / touch */
|
|
208
|
+
export declare const TouchIcon: (props: IconProps) => import("react").JSX.Element;
|
|
209
|
+
/** Sound off */
|
|
210
|
+
export declare const VolumeOffIcon: (props: IconProps) => import("react").JSX.Element;
|
|
211
|
+
/** Music off */
|
|
212
|
+
export declare const MusicOffIcon: (props: IconProps) => import("react").JSX.Element;
|
|
213
|
+
/** Music video */
|
|
214
|
+
export declare const MusicVideoIcon: (props: IconProps) => import("react").JSX.Element;
|
|
215
|
+
/** Movie */
|
|
216
|
+
export declare const MovieIcon: (props: IconProps) => import("react").JSX.Element;
|
|
217
|
+
/** Slide show */
|
|
218
|
+
export declare const SlideshowIcon: (props: IconProps) => import("react").JSX.Element;
|
|
219
|
+
/** Storage / database */
|
|
220
|
+
export declare const StorageIcon: (props: IconProps) => import("react").JSX.Element;
|
|
221
|
+
/** API */
|
|
222
|
+
export declare const ApiIcon: (props: IconProps) => import("react").JSX.Element;
|
|
223
|
+
/** Data object { } */
|
|
224
|
+
export declare const DataObjectIcon: (props: IconProps) => import("react").JSX.Element;
|
|
225
|
+
/** Computer */
|
|
226
|
+
export declare const ComputerIcon: (props: IconProps) => import("react").JSX.Element;
|
|
227
|
+
/** Phone */
|
|
228
|
+
export declare const PhoneIcon: (props: IconProps) => import("react").JSX.Element;
|
|
229
|
+
/** Cloud */
|
|
230
|
+
export declare const CloudIcon: (props: IconProps) => import("react").JSX.Element;
|
|
231
|
+
/** Wi-Fi */
|
|
232
|
+
export declare const WifiIcon: (props: IconProps) => import("react").JSX.Element;
|
|
233
|
+
/** No Wi-Fi / offline */
|
|
234
|
+
export declare const WifiOffIcon: (props: IconProps) => import("react").JSX.Element;
|
|
235
|
+
/** No results */
|
|
236
|
+
export declare const SearchOffIcon: (props: IconProps) => import("react").JSX.Element;
|
|
237
|
+
/** Hide */
|
|
238
|
+
export declare const EyeOffIcon: (props: IconProps) => import("react").JSX.Element;
|
|
239
|
+
/** Bookmark */
|
|
240
|
+
export declare const BookmarkIcon: (props: IconProps) => import("react").JSX.Element;
|
|
241
|
+
/** School / learning */
|
|
242
|
+
export declare const SchoolIcon: (props: IconProps) => import("react").JSX.Element;
|
|
243
|
+
/** Law / rules */
|
|
244
|
+
export declare const GavelIcon: (props: IconProps) => import("react").JSX.Element;
|
|
245
|
+
/** Architecture / design */
|
|
246
|
+
export declare const ArchitectureIcon: (props: IconProps) => import("react").JSX.Element;
|
|
247
|
+
/** Brain / thinking */
|
|
248
|
+
export declare const BrainIcon: (props: IconProps) => import("react").JSX.Element;
|
|
249
|
+
/** Volunteer / care */
|
|
250
|
+
export declare const VolunteerIcon: (props: IconProps) => import("react").JSX.Element;
|
|
251
|
+
/** Radio button (off) */
|
|
252
|
+
export declare const RadioIcon: (props: IconProps) => import("react").JSX.Element;
|
|
253
|
+
/** Radio button (on) */
|
|
254
|
+
export declare const RadioCheckedIcon: (props: IconProps) => import("react").JSX.Element;
|
|
255
|
+
/** Upload */
|
|
256
|
+
export declare const UploadIcon: (props: IconProps) => import("react").JSX.Element;
|
|
257
|
+
/** Arrow down */
|
|
258
|
+
export declare const ArrowDownIcon: (props: IconProps) => import("react").JSX.Element;
|
|
259
|
+
/** Fact check / checklist */
|
|
260
|
+
export declare const FactCheckIcon: (props: IconProps) => import("react").JSX.Element;
|
|
261
|
+
/** Image search */
|
|
262
|
+
export declare const ImageSearchIcon: (props: IconProps) => import("react").JSX.Element;
|
|
263
|
+
/** Document scanner / OCR */
|
|
264
|
+
export declare const DocumentScannerIcon: (props: IconProps) => import("react").JSX.Element;
|
|
265
|
+
/** Dashboard */
|
|
266
|
+
export declare const DashboardIcon: (props: IconProps) => import("react").JSX.Element;
|
|
267
|
+
/** Clean up */
|
|
268
|
+
export declare const CleaningIcon: (props: IconProps) => import("react").JSX.Element;
|
|
269
|
+
/** Drag handle */
|
|
270
|
+
export declare const DragHandleIcon: (props: IconProps) => import("react").JSX.Element;
|
|
271
|
+
/** Zoom in */
|
|
272
|
+
export declare const ZoomInIcon: (props: IconProps) => import("react").JSX.Element;
|
|
273
|
+
/** Zoom out */
|
|
274
|
+
export declare const ZoomOutIcon: (props: IconProps) => import("react").JSX.Element;
|
|
275
|
+
/** Insights */
|
|
276
|
+
export declare const InsightsIcon: (props: IconProps) => import("react").JSX.Element;
|
|
277
|
+
/** Explore / compass */
|
|
278
|
+
export declare const ExploreIcon: (props: IconProps) => import("react").JSX.Element;
|
|
279
|
+
/** Save */
|
|
280
|
+
export declare const SaveIcon: (props: IconProps) => import("react").JSX.Element;
|
|
281
|
+
/** Label */
|
|
282
|
+
export declare const LabelIcon: (props: IconProps) => import("react").JSX.Element;
|
|
283
|
+
/** Keyboard */
|
|
284
|
+
export declare const KeyboardIcon: (props: IconProps) => import("react").JSX.Element;
|
|
285
|
+
/** Trending up */
|
|
286
|
+
export declare const TrendingUpIcon: (props: IconProps) => import("react").JSX.Element;
|
|
287
|
+
/** Trending down */
|
|
288
|
+
export declare const TrendingDownIcon: (props: IconProps) => import("react").JSX.Element;
|
|
289
|
+
/** Birthday / cake */
|
|
290
|
+
export declare const CakeIcon: (props: IconProps) => import("react").JSX.Element;
|
|
291
|
+
/** Bar chart */
|
|
292
|
+
export declare const BarChartIcon: (props: IconProps) => import("react").JSX.Element;
|
|
293
|
+
/** Admin */
|
|
294
|
+
export declare const AdminIcon: (props: IconProps) => import("react").JSX.Element;
|
|
295
|
+
/** Bug report */
|
|
296
|
+
export declare const BugReportIcon: (props: IconProps) => import("react").JSX.Element;
|
|
297
|
+
/** Sad / not happy */
|
|
298
|
+
export declare const SentimentSadIcon: (props: IconProps) => import("react").JSX.Element;
|
|
299
|
+
/** Integration / code snippet */
|
|
300
|
+
export declare const IntegrationIcon: (props: IconProps) => import("react").JSX.Element;
|
|
301
|
+
/** Namaskar (praying hands) */
|
|
302
|
+
export declare const NamaskarIcon: (props: IconProps) => import("react").JSX.Element;
|
|
303
|
+
/** Sunrise */
|
|
304
|
+
export declare const SunriseIcon: (props: IconProps) => import("react").JSX.Element;
|
|
305
|
+
/** Sunset */
|
|
306
|
+
export declare const SunsetIcon: (props: IconProps) => import("react").JSX.Element;
|
|
307
|
+
/** Log in */
|
|
308
|
+
export declare const LoginIcon: (props: IconProps) => import("react").JSX.Element;
|
|
309
|
+
/** Log out */
|
|
310
|
+
export declare const LogoutIcon: (props: IconProps) => import("react").JSX.Element;
|
|
311
|
+
/** Speed */
|
|
312
|
+
export declare const SpeedIcon: (props: IconProps) => import("react").JSX.Element;
|
|
313
|
+
/** Repeat */
|
|
314
|
+
export declare const RepeatIcon: (props: IconProps) => import("react").JSX.Element;
|
|
315
|
+
/** Loading */
|
|
316
|
+
export declare const LoaderIcon: (props: IconProps) => import("react").JSX.Element;
|
|
317
|
+
/** Star / favourite */
|
|
318
|
+
export declare const StarIcon: (props: IconProps) => import("react").JSX.Element;
|
|
319
|
+
/** Safe / verified */
|
|
320
|
+
export declare const ShieldCheckIcon: (props: IconProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { IconBase } from "./IconBase";
|
|
2
|
+
export type { IconProps } from "./IconBase";
|
|
3
|
+
export { SearchIcon } from "./SearchIcon";
|
|
4
|
+
export { SortUpIcon } from "./SortUpIcon";
|
|
5
|
+
export { SortDownIcon } from "./SortDownIcon";
|
|
6
|
+
export { ChevronLeftIcon } from "./ChevronLeftIcon";
|
|
7
|
+
export { ChevronRightIcon } from "./ChevronRightIcon";
|
|
8
|
+
export { CheckIcon } from "./CheckIcon";
|
|
9
|
+
export { CloseIcon } from "./CloseIcon";
|
|
10
|
+
export { ICON_PATHS, ICON_NAMES } from "./paths";
|
|
11
|
+
export { iconSvg, iconContrast, pickGlyphColor, resolveIconColours, ICON_MIN_CONTRAST } from "./variant";
|
|
12
|
+
export type { IconVariant, IconShape, IconSvgOptions } from "./variant";
|
|
13
|
+
export type { IconName } from "./paths";
|
|
14
|
+
export { YuktaiIcon } from "./YuktaiIcon";
|
|
15
|
+
export type { YuktaiIconProps } from "./YuktaiIcon";
|
|
16
|
+
export { AccessibilityIcon, ContrastIcon, MoonIcon, MotionIcon, ReadingIcon, TargetIcon, SpeakerIcon, PaletteIcon, SkipIcon, PlusIcon, MinusIcon, ResetIcon, SortIcon, ChevronsIcon, GridIcon, CardsIcon, ChatIcon, MicIcon, StopIcon, DownloadIcon, CopyIcon, FilterIcon, FirstIcon, LastIcon, SparkIcon, AlertIcon, InfoIcon, FormIcon, EyeIcon, LayoutIcon, WandIcon, UndoIcon, ToolsIcon, PlugIcon, HomeIcon, MenuIcon, BookIcon, CalendarIcon, ClockIcon, PersonIcon, UsersIcon, GlobeIcon, LampIcon, PlayIcon, PauseIcon, SendIcon, ShareIcon, GiftIcon, ImageIcon, FileIcon, ExternalIcon, ArrowUpIcon, ArrowLeftIcon, ArrowRightIcon, HeadphonesIcon, MusicIcon, PinIcon, MapIcon, PenIcon, WalletIcon, InstallIcon, HelpIcon, TempleIcon, MeditateIcon, TrophyIcon, BulbIcon, SunIcon, DeleteIcon, RobotIcon, HeartIcon, HeartFilledIcon, HubIcon, CodeIcon, TextIcon, BoldIcon, ItalicIcon, UnderlineIcon, AlignLeftIcon, AlignCenterIcon, AlignRightIcon, AlignJustifyIcon, QuoteIcon, TitleIcon, FontIcon, SpellcheckIcon, AbcIcon, PageBreakIcon, LinkIcon, StyleIcon, LockIcon, UnlockIcon, KeyIcon, RedoIcon, SwapIcon, ShuffleIcon, FullscreenIcon, FullscreenExitIcon, MergeIcon, JoinIcon, TouchIcon, VolumeOffIcon, MusicOffIcon, MusicVideoIcon, MovieIcon, SlideshowIcon, StorageIcon, ApiIcon, DataObjectIcon, ComputerIcon, PhoneIcon, CloudIcon, WifiIcon, WifiOffIcon, SearchOffIcon, EyeOffIcon, BookmarkIcon, SchoolIcon, GavelIcon, ArchitectureIcon, BrainIcon, VolunteerIcon, RadioIcon, RadioCheckedIcon, UploadIcon, ArrowDownIcon, FactCheckIcon, ImageSearchIcon, DocumentScannerIcon, DashboardIcon, CleaningIcon, DragHandleIcon, ZoomInIcon, ZoomOutIcon, InsightsIcon, ExploreIcon, SaveIcon, LabelIcon, KeyboardIcon, TrendingUpIcon, TrendingDownIcon, CakeIcon, BarChartIcon, AdminIcon, BugReportIcon, SentimentSadIcon, IntegrationIcon, NamaskarIcon, SunriseIcon, SunsetIcon, LoginIcon, LogoutIcon, SpeedIcon, RepeatIcon, LoaderIcon, StarIcon, ShieldCheckIcon, } from "./YuktaiIcon";
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
export declare const ICON_PATHS: {
|
|
2
|
+
readonly accessibility: '<circle cx="12" cy="4" r="2"/><path d="M4 8l8-1 8 1M12 7v5m-5 9 5-8 5 8M7 12l-2 5m12-5 2 5"/>';
|
|
3
|
+
readonly contrast: '<circle cx="12" cy="12" r="9"/><path d="M12 3a9 9 0 0 0 0 18z"/>';
|
|
4
|
+
readonly moon: '<path d="M20 14.5A8.5 8.5 0 0 1 9.5 4 8.5 8.5 0 1 0 20 14.5z"/>';
|
|
5
|
+
readonly motion: '<path d="M4 12h12m-5-5 5 5-5 5M20 5v14"/>';
|
|
6
|
+
readonly reading: '<path d="M4 5h16M4 10h12M4 15h16M4 20h10"/>';
|
|
7
|
+
readonly target: '<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="4"/>';
|
|
8
|
+
readonly speaker: '<path d="M4 9v6h4l5 4V5L8 9H4z"/><path d="M16 9a4 4 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"/>';
|
|
9
|
+
readonly palette: '<path d="M12 3.5c-4.7 0-8.5 3.6-8.5 8.3s3.7 8.7 8.3 8.7c1.1 0 1.8-.8 1.8-1.8 0-.5-.2-1-.5-1.3-.3-.4-.5-.8-.5-1.3 0-1 .8-1.8 1.8-1.8h2.2c2.3 0 3.9-1.7 3.9-3.9 0-4.3-3.8-6.9-8.5-6.9z"/><path d="M7.7 12.4h.01M9.2 8.3h.01M13.8 7.6h.01"/>';
|
|
10
|
+
readonly skip: '<path d="M5 5l7 7-7 7M13 5l7 7-7 7"/>';
|
|
11
|
+
readonly close: '<path d="m18 6-12 12M6 6l12 12"/>';
|
|
12
|
+
readonly plus: '<path d="M12 6.5v11M6.5 12h11"/>';
|
|
13
|
+
readonly minus: '<path d="M6.5 12h11"/>';
|
|
14
|
+
readonly reset: '<path d="M3.5 12a8.5 8.5 0 1 0 2.8-6.3L3.5 8.2"/><path d="M3.5 3.5v4.7h4.7"/>';
|
|
15
|
+
readonly search: '<circle cx="11" cy="11" r="6.5"/><path d="m15.8 15.8 4.7 4.7"/>';
|
|
16
|
+
readonly sort: '<path d="m8 9 4-4 4 4m-8 6 4 4 4-4"/>';
|
|
17
|
+
readonly sortUp: '<path d="m7 14.5 5-5 5 5"/>';
|
|
18
|
+
readonly sortDown: '<path d="m7 9.5 5 5 5-5"/>';
|
|
19
|
+
readonly chevrons: '<path d="m8 9 4-4 4 4m-8 6 4 4 4-4"/>';
|
|
20
|
+
readonly grid: '<rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/>';
|
|
21
|
+
readonly cards: '<rect x="3" y="4" width="18" height="7" rx="1.5"/><rect x="3" y="13" width="18" height="7" rx="1.5"/>';
|
|
22
|
+
readonly chat: '<path d="M21 11.5a8.5 8.5 0 0 1-8.5 8.5 9 9 0 0 1-4-.9L3 21l1.9-5.5a9 9 0 0 1-.9-4A8.5 8.5 0 0 1 12.5 3H13a8.5 8.5 0 0 1 8 8z"/>';
|
|
23
|
+
readonly mic: '<rect x="9" y="2" width="6" height="12" rx="3"/><path d="M5 10a7 7 0 0 0 14 0M12 17v5m-4 0h8"/>';
|
|
24
|
+
readonly stop: '<rect x="6" y="6" width="12" height="12" rx="2"/>';
|
|
25
|
+
readonly download: '<path d="M12 3v12m-5-5 5 5 5-5M4 21h16"/>';
|
|
26
|
+
readonly copy: '<rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/>';
|
|
27
|
+
readonly filter: '<path d="M4 5h16l-6 7v6l-4 2v-8z"/>';
|
|
28
|
+
readonly check: '<path d="m5 12 4 4L19 6"/>';
|
|
29
|
+
readonly left: '<path d="m14.5 17-5-5 5-5"/>';
|
|
30
|
+
readonly right: '<path d="m9.5 17 5-5-5-5"/>';
|
|
31
|
+
readonly first: '<path d="m11.5 17-5-5 5-5M18.5 17l-5-5 5-5"/>';
|
|
32
|
+
readonly last: '<path d="m12.5 17 5-5-5-5M5.5 17l5-5-5-5"/>';
|
|
33
|
+
readonly spark: '<path d="m12 3 1.9 5.8L20 11l-6.1 2.2L12 19l-1.9-5.8L4 11l6.1-2.2zM19 14l1.2 2.8L23 18l-2.8 1.2L19 22l-1.2-2.8L15 18l2.8-1.2z"/>';
|
|
34
|
+
readonly alert: '<path d="m12 3 10 18H2L12 3z"/><path d="M12 9v5m0 3h.01"/>';
|
|
35
|
+
readonly info: '<circle cx="12" cy="12" r="9"/><path d="M12 11v6m0-9h.01"/>';
|
|
36
|
+
readonly form: '<rect x="5" y="3" width="14" height="18" rx="2"/><path d="M9 8h6M9 12h6M9 16h3"/>';
|
|
37
|
+
readonly eye: '<path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/>';
|
|
38
|
+
readonly layout: '<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 9h18M9 21V9"/>';
|
|
39
|
+
readonly wand: '<path d="m15 4 5 5L9 20H4v-5z"/><path d="m13 6 5 5"/>';
|
|
40
|
+
readonly undo: '<path d="M9 13.5 4.5 9 9 4.5"/><path d="M4.5 9H14a5.75 5.75 0 0 1 0 11.5h-3"/>';
|
|
41
|
+
readonly tools: '<path d="M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z"/>';
|
|
42
|
+
readonly plug: '<path d="M9 2v6M15 2v6M6 8h12v4a6 6 0 0 1-12 0zM12 18v4"/>';
|
|
43
|
+
readonly home: '<path d="M3 11 12 4l9 7"/><path d="M5 10v10h5v-6h4v6h5V10"/>';
|
|
44
|
+
readonly menu: '<path d="M4 6h16M4 12h16M4 18h16"/>';
|
|
45
|
+
readonly book: '<path d="M12 6c-2-1.5-5-2-8-2v14c3 0 6 .5 8 2 2-1.5 5-2 8-2V4c-3 0-6 .5-8 2zM12 6v14"/>';
|
|
46
|
+
readonly calendar: '<rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4M7.5 14h2M14.5 14h2M7.5 17.5h2"/>';
|
|
47
|
+
readonly clock: '<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/>';
|
|
48
|
+
readonly person: '<circle cx="12" cy="8" r="4"/><path d="M4 21a8 8 0 0 1 16 0"/>';
|
|
49
|
+
readonly users: '<circle cx="9" cy="8" r="3.5"/><path d="M2 20a7 7 0 0 1 14 0"/><path d="M16 4.5a3.5 3.5 0 0 1 0 7M18 13.5a7 7 0 0 1 4 6.5"/>';
|
|
50
|
+
readonly globe: '<circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18"/>';
|
|
51
|
+
readonly lamp: '<path d="M12 3c2 2.6 3 4.3 3 6a3 3 0 0 1-6 0c0-1.7 1-3.4 3-6z"/><path d="M3 14h18c0 3.5-4 6-9 6s-9-2.5-9-6z"/><path d="M12 12v2"/>';
|
|
52
|
+
readonly play: '<circle cx="12" cy="12" r="9"/><path d="M10 8.5v7l6-3.5z"/>';
|
|
53
|
+
readonly pause: '<circle cx="12" cy="12" r="9"/><path d="M10 9v6M14 9v6"/>';
|
|
54
|
+
readonly send: '<path d="M21 3 3 10.5l7 3 3 7.5z"/><path d="m10 13.5 4.5-4.5"/>';
|
|
55
|
+
readonly share: '<circle cx="18" cy="5" r="2.5"/><circle cx="6" cy="12" r="2.5"/><circle cx="18" cy="19" r="2.5"/><path d="m8.2 10.8 7.6-4.6M8.2 13.2l7.6 4.6"/>';
|
|
56
|
+
readonly gift: '<rect x="3" y="8" width="18" height="4" rx="1"/><path d="M5 12v9h14v-9M12 8v13M12 8C10.5 5 7 4 7 6.5S10 8 12 8zm0 0c1.5-3 5-4 5-1.5S14 8 12 8z"/>';
|
|
57
|
+
readonly image: '<rect x="3" y="4" width="18" height="16" rx="2"/><circle cx="8.5" cy="9.5" r="1.5"/><path d="m21 15-5-5-10 10"/>';
|
|
58
|
+
readonly file: '<path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5M9 13h6M9 17h6"/>';
|
|
59
|
+
readonly external: '<path d="M14 4h6v6M20 4l-9 9"/><path d="M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5"/>';
|
|
60
|
+
readonly arrowUp: '<path d="M12 19V5m-6 6 6-6 6 6"/>';
|
|
61
|
+
readonly arrowLeft: '<path d="M19 12H5m6-6-6 6 6 6"/>';
|
|
62
|
+
readonly arrowRight: '<path d="M5 12h14m-6-6 6 6-6 6"/>';
|
|
63
|
+
readonly headphones: '<path d="M4 15v-3a8 8 0 0 1 16 0v3"/><rect x="3" y="14" width="4" height="7" rx="1.5"/><rect x="17" y="14" width="4" height="7" rx="1.5"/>';
|
|
64
|
+
readonly music: '<path d="M9 18V5l11-2v13"/><circle cx="6" cy="18" r="3"/><circle cx="17" cy="16" r="3"/>';
|
|
65
|
+
readonly pin: '<path d="M12 21s7-6.2 7-11.5a7 7 0 0 0-14 0C5 14.8 12 21 12 21z"/><circle cx="12" cy="9.5" r="2.5"/>';
|
|
66
|
+
readonly map: '<path d="M3 6l6-3 6 3 6-3v15l-6 3-6-3-6 3z"/><path d="M9 3v15M15 6v15"/>';
|
|
67
|
+
readonly pen: '<path d="M12 3 6 9l1.5 8h9L18 9z"/><path d="M12 3v7.5"/><circle cx="12" cy="12" r="1.5"/><path d="M8.5 20.5h7"/>';
|
|
68
|
+
readonly wallet: '<rect x="3" y="7" width="18" height="13" rx="2"/><path d="M16 13.5h2M6 7l9-4 2 4"/>';
|
|
69
|
+
readonly install: '<rect x="6" y="2" width="12" height="20" rx="2"/><path d="M12 6v8m-3-3 3 3 3-3M10 18h4"/>';
|
|
70
|
+
readonly help: '<circle cx="12" cy="12" r="9"/><path d="M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01"/>';
|
|
71
|
+
readonly temple: '<path d="M12 2v2M10 4h4l1 3H9zM8 7h8l1.5 4h-11zM6.5 11h11L19 15H5zM4 15h16v6H4z"/><path d="M10 21v-3a2 2 0 0 1 4 0v3"/>';
|
|
72
|
+
readonly meditate: '<circle cx="12" cy="4.5" r="2.2"/><path d="M12 8c-2.2 0-3.3 1.3-3.7 3.2L7.5 16M12 8c2.2 0 3.3 1.3 3.7 3.2l.8 4.8"/><path d="M4 18c3 2 5.5 2.4 8 1.2 2.5 1.2 5 .8 8-1.2"/><path d="M7.5 16c1.4 1.4 3 2 4.5 2s3.1-.6 4.5-2"/>';
|
|
73
|
+
readonly trophy: '<path d="M8 4h8v5a4 4 0 0 1-8 0z"/><path d="M8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4M12 13v4M8 21h8M9 17h6"/>';
|
|
74
|
+
readonly bulb: '<path d="M9 18h6M10 21h4"/><path d="M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z"/>';
|
|
75
|
+
readonly sun: '<circle cx="12" cy="12" r="4"/><path d="M12 2v2.5M12 19.5V22M4.9 4.9l1.8 1.8M17.3 17.3l1.8 1.8M2 12h2.5M19.5 12H22M4.9 19.1l1.8-1.8M17.3 6.7l1.8-1.8"/>';
|
|
76
|
+
readonly delete: '<path d="M4 7h16M10 11v6M14 11v6M6 7l1 13a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1l1-13M9 7V4h6v3"/>';
|
|
77
|
+
readonly robot: '<rect x="4" y="8" width="16" height="12" rx="3"/><path d="M12 8V4M9.5 4h5M2 13v3M22 13v3"/><circle cx="9" cy="14" r="1.3"/><circle cx="15" cy="14" r="1.3"/>';
|
|
78
|
+
readonly heart: '<path d="M12 20s-7.5-4.6-9.2-9.3A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 9.2 4.1C19.5 15.4 12 20 12 20z"/>';
|
|
79
|
+
readonly heartFilled: '<path fill="currentColor" d="M12 20s-7.5-4.6-9.2-9.3A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 9.2 4.1C19.5 15.4 12 20 12 20z"/>';
|
|
80
|
+
readonly hub: '<circle cx="12" cy="12" r="3"/><circle cx="5" cy="5" r="2"/><circle cx="19" cy="5" r="2"/><circle cx="5" cy="19" r="2"/><circle cx="19" cy="19" r="2"/><path d="m6.5 6.5 3.4 3.4M17.5 6.5l-3.4 3.4M6.5 17.5l3.4-3.4M17.5 17.5l-3.4-3.4"/>';
|
|
81
|
+
readonly code: '<path d="m8 7-5 5 5 5M16 7l5 5-5 5M14 4l-4 16"/>';
|
|
82
|
+
readonly text: '<path d="M3 7V5h11v2M8.5 5v14M6.5 19h4M14 12v-1.5h7V12M17.5 10.5V19M16 19h3"/>';
|
|
83
|
+
readonly bold: '<path d="M7 4h6a4 4 0 0 1 0 8H7zM7 12h7a4 4 0 0 1 0 8H7z"/>';
|
|
84
|
+
readonly italic: '<path d="M10 4h9M5 20h9M15 4 9 20"/>';
|
|
85
|
+
readonly underline: '<path d="M7 4v7a5 5 0 0 0 10 0V4M5 21h14"/>';
|
|
86
|
+
readonly alignLeft: '<path d="M4 5h16M4 9.5h9M4 14h16M4 18.5h9"/>';
|
|
87
|
+
readonly alignCenter: '<path d="M4 5h16M7.5 9.5h9M4 14h16M7.5 18.5h9"/>';
|
|
88
|
+
readonly alignRight: '<path d="M4 5h16M11 9.5h9M4 14h16M11 18.5h9"/>';
|
|
89
|
+
readonly alignJustify: '<path d="M4 5h16M4 9.5h16M4 14h16M4 18.5h16"/>';
|
|
90
|
+
readonly quote: '<path d="M4 18v-6.5A6.5 6.5 0 0 1 10.5 5M4 12h5.5v6H4zM13.5 18v-6.5A6.5 6.5 0 0 1 20 5M13.5 12H19v6h-5.5z"/>';
|
|
91
|
+
readonly title: '<path d="M5 6V4h14v2M12 4v16M9 20h6"/>';
|
|
92
|
+
readonly font: '<rect x="3" y="3" width="18" height="18" rx="3"/><path d="m8 17 4-10 4 10M9.4 13.5h5.2"/>';
|
|
93
|
+
readonly spellcheck: '<path d="m3 14 4-10 4 10M4.6 10.5h4.8M11 17l3 3 7-7"/>';
|
|
94
|
+
readonly abc: '<path d="m2 16 2.5-8L7 16M3 13.5h3M9.5 8v8h2.5a2 2 0 0 0 0-4H9.5h2a2 2 0 0 0 0-4H9.5M21 9.4a3.1 3.1 0 1 0 0 5.2"/>';
|
|
95
|
+
readonly pageBreak: '<path d="M6 3v5h12V3M6 21v-5h12v5M3 12h3M9 12h6M18 12h3"/>';
|
|
96
|
+
readonly link: '<path d="M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1"/><path d="M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1"/>';
|
|
97
|
+
readonly style: '<rect x="3" y="3" width="7" height="18" rx="2"/><path d="m10 7.5 4.4-2.6a2 2 0 0 1 2.7.7l3.2 5.6a2 2 0 0 1-.7 2.7L10 19"/><circle cx="6.5" cy="17" r="1"/>';
|
|
98
|
+
readonly lock: '<rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 0 1 8 0v3M12 15v2"/>';
|
|
99
|
+
readonly unlock: '<rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 0 1 7.6-1.8M12 15v2"/>';
|
|
100
|
+
readonly key: '<circle cx="8" cy="15" r="4"/><path d="m11 12 9-9M17 6l3 3M14.5 8.5l2 2"/>';
|
|
101
|
+
readonly redo: '<path d="M15 13.5 19.5 9 15 4.5"/><path d="M19.5 9H10a5.75 5.75 0 0 0 0 11.5h3"/>';
|
|
102
|
+
readonly swap: '<path d="M7 4 3 8l4 4M3 8h14M17 12l4 4-4 4M21 16H7"/>';
|
|
103
|
+
readonly shuffle: '<path d="M16 3h5v5M4 20 21 3M21 16v5h-5M15 15l6 6M4 4l5 5"/>';
|
|
104
|
+
readonly fullscreen: '<path d="M4 9V4h5M15 4h5v5M20 15v5h-5M9 20H4v-5"/>';
|
|
105
|
+
readonly fullscreenExit: '<path d="M9 4v5H4M20 9h-5V4M15 20v-5h5M4 15h5v5"/>';
|
|
106
|
+
readonly merge: '<circle cx="6" cy="5" r="2"/><circle cx="6" cy="19" r="2"/><circle cx="18" cy="12" r="2"/><path d="M6 7v10M6 7c0 4 4 5 10 5"/>';
|
|
107
|
+
readonly join: '<circle cx="9" cy="12" r="6"/><circle cx="15" cy="12" r="6"/>';
|
|
108
|
+
readonly touch: '<path d="M9 11V5a1.5 1.5 0 0 1 3 0v6M12 10a1.5 1.5 0 0 1 3 0v1M15 11a1.5 1.5 0 0 1 3 0v3c0 4-2.5 7-6 7-2.5 0-4-1-5.5-3.5L4.6 14a1.5 1.5 0 0 1 2.5-1.6L9 15"/>';
|
|
109
|
+
readonly volumeOff: '<path d="M4 9v6h4l5 4V5L8 9H4z"/><path d="m16.5 9.5 5 5M21.5 9.5l-5 5"/>';
|
|
110
|
+
readonly musicOff: '<path d="M9 13v5M9 7V5l11-2v9"/><circle cx="6" cy="18" r="3"/><path d="M3 3l18 18"/>';
|
|
111
|
+
readonly musicVideo: '<rect x="3" y="4" width="18" height="16" rx="2"/><path d="M10.5 15V8.5l5-1V13"/><circle cx="9" cy="15" r="1.5"/><circle cx="14" cy="13" r="1.5"/>';
|
|
112
|
+
readonly movie: '<rect x="3" y="9" width="18" height="11" rx="2"/><path d="m3.5 9-.6-3 16.6-3.4.6 3L3.5 9zM8.5 4.8l1.8 2.9M13.8 3.7l1.8 2.9"/>';
|
|
113
|
+
readonly slideshow: '<rect x="3" y="4" width="18" height="13" rx="2"/><path d="M10 8v5l4-2.5zM8 21h8M12 17v4"/>';
|
|
114
|
+
readonly storage: '<ellipse cx="12" cy="5" rx="8" ry="3"/><path d="M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3"/>';
|
|
115
|
+
readonly api: '<path d="M3 17v-6a2.5 2.5 0 0 1 5 0v6M3 14h5M11 17V7h2.5a2.5 2.5 0 0 1 0 5H11M18 7h3M19.5 7v10M18 17h3"/>';
|
|
116
|
+
readonly dataObject: '<path d="M8 4H7a2 2 0 0 0-2 2v4l-2 2 2 2v4a2 2 0 0 0 2 2h1M16 4h1a2 2 0 0 1 2 2v4l2 2-2 2v4a2 2 0 0 1-2 2h-1"/>';
|
|
117
|
+
readonly computer: '<rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/>';
|
|
118
|
+
readonly phone: '<rect x="6" y="2" width="12" height="20" rx="2"/><path d="M10.5 18.5h3"/>';
|
|
119
|
+
readonly cloud: '<path d="M7 19a5 5 0 0 1-.6-10A6.5 6.5 0 0 1 18.6 9.5 4.8 4.8 0 0 1 17.5 19z"/>';
|
|
120
|
+
readonly wifi: '<path d="M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0M12 19.5h.01"/>';
|
|
121
|
+
readonly wifiOff: '<path d="M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0M12 19.5h.01M3 3l18 18"/>';
|
|
122
|
+
readonly searchOff: '<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5M8.7 8.7l4.6 4.6M13.3 8.7l-4.6 4.6"/>';
|
|
123
|
+
readonly eyeOff: '<path d="M10.6 5.1A10 10 0 0 1 12 5c6.5 0 10 7 10 7a17 17 0 0 1-2.2 3.2M6.6 6.6C3.8 8.4 2 12 2 12s3.5 7 10 7a9.7 9.7 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18"/>';
|
|
124
|
+
readonly bookmark: '<path d="M6 3h12v18l-6-4-6 4z"/>';
|
|
125
|
+
readonly school: '<path d="m2 9 10-5 10 5-10 5z"/><path d="M6 11v5c0 1.5 2.7 3 6 3s6-1.5 6-3v-5M22 9v6"/>';
|
|
126
|
+
readonly gavel: '<path d="m13 3.5 7.5 7.5M10 6.5l7.5 7.5M11.5 5l7 7-3 3-7-7zM10 11.5 3.5 18a1.4 1.4 0 0 0 2 2L12 13.5M13 21h8"/>';
|
|
127
|
+
readonly architecture: '<circle cx="12" cy="5" r="2"/><path d="M12 3V2M11 7 5.5 21M13 7l5.5 14M8 15h8"/>';
|
|
128
|
+
readonly brain: '<path d="M11 5.5A3 3 0 0 0 5.6 7 3 3 0 0 0 4 12a3 3 0 0 0 1.6 5A3 3 0 0 0 11 18.5zM13 5.5A3 3 0 0 1 18.4 7 3 3 0 0 1 20 12a3 3 0 0 1-1.6 5 3 3 0 0 1-5.4 1.5z"/><path d="M8 10h3M13 14h3"/>';
|
|
129
|
+
readonly volunteer: '<path d="M12 11s-3.5-2.2-3.5-4.6a1.8 1.8 0 0 1 3.5-.7 1.8 1.8 0 0 1 3.5.7C15.5 8.8 12 11 12 11z"/><path d="M2 15h3l3.5 1.5H13a1.5 1.5 0 0 1 0 3H9.5M5 21l1.5-1.5H14l5.5-4a1.6 1.6 0 0 0-2-2.4L14 15.6"/>';
|
|
130
|
+
readonly radio: '<circle cx="12" cy="12" r="9"/>';
|
|
131
|
+
readonly radioChecked: '<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="4" fill="currentColor"/>';
|
|
132
|
+
readonly upload: '<path d="M12 15V3m-5 5 5-5 5 5M4 21h16"/>';
|
|
133
|
+
readonly arrowDown: '<path d="M12 5v14m-6-6 6 6 6-6"/>';
|
|
134
|
+
readonly factCheck: '<rect x="3" y="4" width="18" height="16" rx="2"/><path d="M7 9h4M7 13h4M7 17h2M13.5 13l2 2 3.5-3.5"/>';
|
|
135
|
+
readonly imageSearch: '<path d="M13 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4"/><path d="m3 17 5-5 4 4"/><circle cx="17" cy="7" r="3"/><path d="m19.2 9.2 2.3 2.3"/>';
|
|
136
|
+
readonly documentScanner: '<path d="M3 7V4a1 1 0 0 1 1-1h3M17 3h3a1 1 0 0 1 1 1v3M21 17v3a1 1 0 0 1-1 1h-3M7 21H4a1 1 0 0 1-1-1v-3"/><path d="M7 8h10M7 12h10M7 16h6"/>';
|
|
137
|
+
readonly dashboard: '<rect x="3" y="3" width="8" height="10" rx="1.5"/><rect x="13" y="3" width="8" height="6" rx="1.5"/><rect x="3" y="15" width="8" height="6" rx="1.5"/><path d="M17 13v8M13 17h8"/>';
|
|
138
|
+
readonly cleaning: '<path d="m20 3-7.5 7.5"/><path d="M12.5 10.5c-2.5-1.6-6-1-7.4 1.7L3 20.5c3.2 1 7.2.4 10.2-1.6l.7-5.3c-.1-1.3-.6-2.3-1.4-3.1z"/><path d="M7.5 15.5 6 20.5M10.5 15l-1 5"/>';
|
|
139
|
+
readonly dragHandle: '<path d="M5 9h14M5 15h14"/>';
|
|
140
|
+
readonly zoomIn: '<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5M8 11h6M11 8v6"/>';
|
|
141
|
+
readonly zoomOut: '<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5M8 11h6"/>';
|
|
142
|
+
readonly insights: '<path d="m3 18 5-5 4 3 6-7"/><path d="M15 9h3v3"/><path d="m19 2.5.7 1.8 1.8.7-1.8.7-.7 1.8-.7-1.8-1.8-.7 1.8-.7z"/>';
|
|
143
|
+
readonly explore: '<circle cx="12" cy="12" r="9"/><path d="m15.5 8.5-2 5-5 2 2-5z"/>';
|
|
144
|
+
readonly save: '<path d="M5 3h11l5 5v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"/><path d="M7 3v5h8V3M7 21v-7h10v7"/>';
|
|
145
|
+
readonly label: '<path d="M4 6h11l5 6-5 6H4z"/>';
|
|
146
|
+
readonly keyboard: '<rect x="2" y="6" width="20" height="12" rx="2"/><path d="M6 10h.01M10 10h.01M14 10h.01M18 10h.01M6 14h.01M18 14h.01M9 14h6"/>';
|
|
147
|
+
readonly trendingUp: '<path d="m3 17 6-6 4 4 8-8"/><path d="M15 7h6v6"/>';
|
|
148
|
+
readonly trendingDown: '<path d="m3 7 6 6 4-4 8 8"/><path d="M15 17h6v-6"/>';
|
|
149
|
+
readonly cake: '<path d="M4 21h16M5 21v-7a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v7M5 16.5c1.5 1 2.5 1 3.5 0s2.5-1 3.5 0 2.5 1 3.5 0 2.5-1 3.5 0M12 12V8.5M12 6c-.9-.9-.9-2 0-3.3.9 1.3.9 2.4 0 3.3z"/>';
|
|
150
|
+
readonly barChart: '<path d="M4 20h16M7 20v-6M12 20V5M17 20V10"/>';
|
|
151
|
+
readonly admin: '<path d="M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6z"/><circle cx="12" cy="10" r="2.5"/><path d="M8 16.5c1-1.8 2.4-2.5 4-2.5s3 .7 4 2.5"/>';
|
|
152
|
+
readonly bugReport: '<rect x="7" y="8" width="10" height="12" rx="5"/><path d="M9 8.5a3 3 0 0 1 6 0M12 12v8M7 13H3M21 13h-4M7 17l-3 1.5M17 17l3 1.5M7.5 10 5 8M16.5 10 19 8"/>';
|
|
153
|
+
readonly sentimentSad: '<circle cx="12" cy="12" r="9"/><path d="M8 16.5c1-1.4 2.4-2 4-2s3 .6 4 2M9 9.5h.01M15 9.5h.01"/>';
|
|
154
|
+
readonly integration: '<rect x="5" y="4" width="14" height="17" rx="2"/><path d="M9 4V3h6v1M10 11l-2 2 2 2M14 11l2 2-2 2"/>';
|
|
155
|
+
readonly namaskar: '<path d="M12 5.5V15M12 5.5c-.6-1.7-2.4-2.2-3.1-.9L7.2 11.5 4.5 14.5l3 5H10l2-3.5M12 5.5c.6-1.7 2.4-2.2 3.1-.9l1.7 6.9 2.7 3-3 5H14l-2-3.5"/>';
|
|
156
|
+
readonly sunrise: '<path d="M3 19h18M7 19a5 5 0 0 1 10 0M12 3v6M9.5 5.5 12 3l2.5 2.5M4.9 11.9l1.4 1.4M19.1 11.9l-1.4 1.4M2 16h2M20 16h2"/>';
|
|
157
|
+
readonly sunset: '<path d="M3 19h18M7 19a5 5 0 0 1 10 0M12 3v6M9.5 6.5 12 9l2.5-2.5M4.9 11.9l1.4 1.4M19.1 11.9l-1.4 1.4M2 16h2M20 16h2"/>';
|
|
158
|
+
readonly login: '<path d="M14 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4M10 16l4-4-4-4M14 12H3"/>';
|
|
159
|
+
readonly logout: '<path d="M10 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4M16 16l4-4-4-4M20 12H9"/>';
|
|
160
|
+
readonly speed: '<path d="M4.5 18a9 9 0 1 1 15 0"/><path d="m12 14 4-5"/><circle cx="12" cy="14" r="1.2"/>';
|
|
161
|
+
readonly repeat: '<path d="m17 2 3 3-3 3M4 11V9a4 4 0 0 1 4-4h12M7 22l-3-3 3-3M20 13v2a4 4 0 0 1-4 4H4"/>';
|
|
162
|
+
readonly loader: '<path d="M12 3v3M12 18v3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M3 12h3M18 12h3M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1"/>';
|
|
163
|
+
readonly star: '<path d="m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.3l-5.6 2.9 1.1-6.2L3 9.6l6.2-.9z"/>';
|
|
164
|
+
readonly shieldCheck: '<path d="M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6z"/><path d="m8.5 12 2.5 2.5 4.5-4.5"/>';
|
|
165
|
+
};
|
|
166
|
+
export type IconName = keyof typeof ICON_PATHS;
|
|
167
|
+
export declare const ICON_NAMES: IconName[];
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type IconName } from "./paths";
|
|
2
|
+
export type IconVariant = "outline" | "filled";
|
|
3
|
+
export type IconShape = "circle" | "rounded";
|
|
4
|
+
/** WCAG 1.4.11 minimum for graphical objects. */
|
|
5
|
+
export declare const ICON_MIN_CONTRAST = 3;
|
|
6
|
+
export interface IconColourOptions {
|
|
7
|
+
variant?: IconVariant;
|
|
8
|
+
/** outline: the line colour · filled: the background colour. Default currentColor. */
|
|
9
|
+
color?: string;
|
|
10
|
+
/** filled only: the glyph colour. Default: white or near-black, whichever contrasts more. */
|
|
11
|
+
glyphColor?: string;
|
|
12
|
+
/** filled only: background shape. Default "rounded". */
|
|
13
|
+
shape?: IconShape;
|
|
14
|
+
}
|
|
15
|
+
/** Contrast between two colours, or null when either is not a hex/rgb() value (e.g. currentColor). */
|
|
16
|
+
export declare function iconContrast(fg: string, bg: string): number | null;
|
|
17
|
+
/** Best glyph colour (white or near-black) for a filled background. */
|
|
18
|
+
export declare function pickGlyphColor(background: string): string;
|
|
19
|
+
/** Resolved colours for one icon, plus a contrast check (WCAG 1.4.11). */
|
|
20
|
+
export declare function resolveIconColours(options?: IconColourOptions): {
|
|
21
|
+
variant: "outline";
|
|
22
|
+
color: string;
|
|
23
|
+
glyph: string;
|
|
24
|
+
contrast: number | null;
|
|
25
|
+
} | {
|
|
26
|
+
variant: "filled";
|
|
27
|
+
color: string;
|
|
28
|
+
glyph: string;
|
|
29
|
+
contrast: number | null;
|
|
30
|
+
};
|
|
31
|
+
/** Glyph area inside the filled background (70% of the 24×24 box, centred). */
|
|
32
|
+
export declare const FILLED_GLYPH_TRANSFORM = "translate(3.6 3.6) scale(0.7)";
|
|
33
|
+
/** Forced-colours rules for the filled variant (kept inside the SVG). */
|
|
34
|
+
export declare const FORCED_COLORS_CSS = "@media (forced-colors: active){.yi-bg{fill:CanvasText}.yi-glyph{stroke:Canvas;color:Canvas}}";
|
|
35
|
+
export interface IconSvgOptions extends IconColourOptions {
|
|
36
|
+
size?: number | string;
|
|
37
|
+
strokeWidth?: number;
|
|
38
|
+
/** Accessible name. Omit for decorative icons. */
|
|
39
|
+
label?: string;
|
|
40
|
+
}
|
|
41
|
+
/** SVG markup for any icon (used by the vanilla build: yuktai.icon). */
|
|
42
|
+
export declare function iconSvg(name: IconName | string, options?: IconSvgOptions): string;
|