@bulmil/core
Version:

63 lines (60 loc) • 4.38 kB
TypeScript
/* Bulmil custom elements */
export { Badge as BmBadge } from '../types/core/elements/badge/badge';
export { Box as BmBox } from '../types/core/elements/box/box';
export { Breadcrumb as BmBreadcrumb } from '../types/core/components/breadcrumb/breadcrumb';
export { Button as BmButton } from '../types/core/elements/button/button';
export { Buttons as BmButtons } from '../types/core/elements/buttons/buttons';
export { Card as BmCard } from '../types/core/components/card/card';
export { CardContent as BmCardContent } from '../types/core/components/card/card-content/card-content';
export { CardFooter as BmCardFooter } from '../types/core/components/card/card-footer/card-footer';
export { CardHeader as BmCardHeader } from '../types/core/components/card/card-header/card-header';
export { CardImage as BmCardImage } from '../types/core/components/card/card-image/card-image';
export { Checkbox as BmCheckbox } from '../types/core/form/checkbox/checkbox';
export { Column as BmColumn } from '../types/core/grid/column/column';
export { Columns as BmColumns } from '../types/core/grid/columns/columns';
export { Container as BmContainer } from '../types/core/layout/container/container';
export { Content as BmContent } from '../types/core/elements/content/content';
export { Divider as BmDivider } from '../types/core/layout/divider/divider';
export { Dropdown as BmDropdown } from '../types/core/components/dropdown/dropdown';
export { Field as BmField } from '../types/core/form/field/field';
export { FileInput as BmFile } from '../types/core/form/file/file';
export { Footer as BmFooter } from '../types/core/layout/footer/footer';
export { Icon as BmIcon } from '../types/core/elements/icon/icon';
export { Image as BmImage } from '../types/core/elements/image/image';
export { Input as BmInput } from '../types/core/form/input/input';
export { Menu as BmMenu } from '../types/core/components/menu/menu';
export { Message as BmMessage } from '../types/core/components/message/message';
export { Modal as BmModal } from '../types/core/components/modal/modal';
export { Navbar as BmNavbar } from '../types/core/components/navbar/navbar';
export { Notification as BmNotification } from '../types/core/elements/notification/notification';
export { Pagination as BmPagination } from '../types/core/components/pagination/pagination';
export { Panel as BmPanel } from '../types/core/components/panel/panel';
export { Progress as BmProgress } from '../types/core/elements/progress/progress';
export { Radio as BmRadio } from '../types/core/form/radio/radio';
export { Section as BmSection } from '../types/core/layout/section/section';
export { Select as BmSelect } from '../types/core/form/select/select';
export { Slider as BmSlider } from '../types/core/form/slider/slider';
export { Switch as BmSwitch } from '../types/core/form/switch/switch';
export { Table as BmTable } from '../types/core/elements/table/table';
export { Tabs as BmTabs } from '../types/core/components/tabs/tabs';
export { Tag as BmTag } from '../types/core/elements/tag/tag';
export { Tags as BmTags } from '../types/core/elements/tags/tags';
export { Textarea as BmTextarea } from '../types/core/form/textarea/textarea';
/**
* Used to manually set the base path where assets can be found.
* If the script is used as "module", it's recommended to use "import.meta.url",
* such as "setAssetPath(import.meta.url)". Other options include
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
* But do note that this configuration depends on how your script is bundled, or lack of
* bundling, and where your assets can be loaded from. Additionally custom bundling
* will have to ensure the static assets are copied to its build directory.
*/
export declare const setAssetPath: (path: string) => void;
export interface SetPlatformOptions {
raf?: (c: FrameRequestCallback) => number;
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
}
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
export * from '../types';