@officesdk/design 0.2.1 → 0.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.
@@ -1,93 +1,9 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { SVGProps } from 'react';
3
-
4
- declare const WorkbenchIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
5
- declare const FormatBrushIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
6
- declare const ClearFormatIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
7
- declare const CopyIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
8
- declare const PasteIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
9
- declare const CutIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
10
- declare const DeleteIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
11
- declare const SelectAllIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
12
- declare const UndoIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
13
- declare const RedoIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
14
- declare const SaveIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
15
- declare const CheckIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
16
- declare const HideIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
17
- declare const PrintIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
18
- declare const FilterIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
19
- declare const SortIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
20
- declare const SettingsIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
21
- declare const CloseIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
22
- declare const MenuIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
23
- declare const BackIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
24
- declare const ListIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
25
- declare const GridIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
26
- declare const SearchIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
27
- declare const EditIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
28
- declare const ShareIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
29
- declare const DownloadIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
30
- declare const UploadIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
31
- declare const IndentIncreaseIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
32
- declare const IndentDecreaseIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
33
- declare const AlignLeftIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
34
- declare const AlignCenterIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
35
- declare const AlignRightIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
36
- declare const AlignJustifyIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
37
- declare const ListBulletIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
38
- declare const ListNumberIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
39
- declare const BoldIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
40
- declare const ItalicIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
41
- declare const UnderlineIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
42
- declare const StrikethroughIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
43
- declare const LinkIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
44
- declare const ImageIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
45
- declare const RotateLeftIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
46
- declare const RotateRightIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
47
- declare const FlipHorizontalIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
48
- declare const FlipVerticalIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
49
- declare const TableIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
50
- declare const FreezeIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
51
- declare const MergeCellsIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
52
- declare const SplitCellsIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
53
- declare const ArrowUpIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
54
- declare const ArrowDownIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
55
- declare const ArrowLeftIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
56
- declare const ArrowRightIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
57
- declare const ChevronUpIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
58
- declare const ChevronDownIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
59
- declare const PlusIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
60
- declare const MinusIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
61
- declare const MoreIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
62
- declare const RefreshIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
63
- declare const FullscreenIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
64
- declare const ExitFullscreenIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
65
- declare const SuccessIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
66
- declare const ErrorIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
67
- declare const WarningIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
68
- declare const InfoIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
69
- declare const LoadingIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
70
-
71
- type IconComponent = React.FC<SVGProps<SVGSVGElement>>;
72
- type IconRegistry = Record<string, IconComponent>;
73
- type GeneralIconName = 'workbench' | 'format-brush' | 'clear-format' | 'copy' | 'paste' | 'cut' | 'delete' | 'select-all' | 'undo' | 'redo' | 'save' | 'check' | 'hide' | 'print';
74
- type MainSiteIconName = 'filter' | 'sort' | 'settings' | 'close' | 'menu' | 'back' | 'list' | 'grid' | 'search' | 'edit' | 'share' | 'download' | 'upload';
75
- type TextIconName = 'indent-increase' | 'indent-decrease' | 'align-left' | 'align-center' | 'align-right' | 'align-justify' | 'list-bullet' | 'list-number' | 'bold' | 'italic' | 'underline' | 'strikethrough' | 'link';
76
- type ImageIconName = 'image' | 'rotate-left' | 'rotate-right' | 'flip-horizontal' | 'flip-vertical';
77
- type TableIconName = 'table' | 'freeze' | 'merge-cells' | 'split-cells';
78
- type ArrowIconName = 'arrow-up' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'chevron-up' | 'chevron-down';
79
- type UtilityIconName = 'plus' | 'minus' | 'more' | 'refresh' | 'fullscreen' | 'exit-fullscreen';
80
- type StatusIconName = 'success' | 'error' | 'warning' | 'info' | 'loading';
81
- type IconName = GeneralIconName | MainSiteIconName | TextIconName | ImageIconName | TableIconName | ArrowIconName | UtilityIconName | StatusIconName;
82
-
83
- /**
84
- * Built-in icon registry
85
- * Maps icon names to React components
86
- */
87
- declare const iconRegistry: IconRegistry;
88
- /**
89
- * Get icon component by name
90
- */
91
- declare const getIcon: (name: string) => IconComponent;
92
-
93
- export { AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BackIcon, BoldIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon, ClearFormatIcon, CloseIcon, CopyIcon, CutIcon, DeleteIcon, DownloadIcon, EditIcon, ErrorIcon, ExitFullscreenIcon, FilterIcon, FlipHorizontalIcon, FlipVerticalIcon, FormatBrushIcon, FreezeIcon, FullscreenIcon, GridIcon, HideIcon, type IconComponent, type IconName, type IconRegistry, ImageIcon, IndentDecreaseIcon, IndentIncreaseIcon, InfoIcon, ItalicIcon, LinkIcon, ListBulletIcon, ListIcon, ListNumberIcon, LoadingIcon, MenuIcon, MergeCellsIcon, MinusIcon, MoreIcon, PasteIcon, PlusIcon, PrintIcon, RedoIcon, RefreshIcon, RotateLeftIcon, RotateRightIcon, SaveIcon, SearchIcon, SelectAllIcon, SettingsIcon, ShareIcon, SortIcon, SplitCellsIcon, StrikethroughIcon, SuccessIcon, TableIcon, UnderlineIcon, UndoIcon, UploadIcon, WarningIcon, WorkbenchIcon, getIcon, iconRegistry };
1
+ export * from './icons';
2
+ export { iconRegistry, getIcon, ICON_NAMES } from './registry';
3
+ export { allIconRegistry } from './allIconRegistry';
4
+ export { createIconRegistry } from './createIconRegistry';
5
+ export { ARROWS_ICONS, GENERAL_ICONS, IMAGE_ICONS, MAIN_SITE_ICONS, STATUS_ICONS, TABLE_ICONS, TEXT_ICONS, UTILITY_ICONS, } from './registry';
6
+ export type { IconComponent, IconRegistry } from './types';
7
+ export type { IconName, ArrowsIconName, GeneralIconName, ImageIconName, MainSiteIconName, StatusIconName, TableIconName, TextIconName, UtilityIconName, } from './types.generated';
8
+ export type { ArrowsIconName as ArrowIconName } from './types.generated';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG/D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,OAAO,EACL,YAAY,EACZ,aAAa,EACb,WAAW,EACX,eAAe,EACf,YAAY,EACZ,WAAW,EACX,UAAU,EACV,aAAa,GACd,MAAM,YAAY,CAAC;AAGpB,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC3D,YAAY,EACV,QAAQ,EACR,cAAc,EACd,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,YAAY,EACZ,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAG3B,YAAY,EAAE,cAAc,IAAI,aAAa,EAAE,MAAM,mBAAmB,CAAC"}