@popmenu/ordering-ui 0.67.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.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ItemTagProps } from './ItemTagProps';
3
+ export declare const ItemTag: React.ForwardRefExoticComponent<ItemTagProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,8 @@
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export declare type PresetNames = 'dairyFree' | 'glutenFree' | 'shellfishFree' | 'vegan' | 'vegetarian';
3
+ export interface ItemTagProps extends PropsWithChildren<HTMLAttributes<HTMLElement>> {
4
+ /** Sets the border-color and text-color for an ItemTag. */
5
+ color?: string;
6
+ /** sets default variant for common tags */
7
+ preset?: PresetNames;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { ItemTag as default } from './ItemTag';
2
+ export { ItemTagProps, PresetNames } from './ItemTagProps';
@@ -0,0 +1,2 @@
1
+ import { ItemTagProps } from './ItemTagProps';
2
+ export declare const useItemtagStyles: (props: ItemTagProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -0,0 +1,2 @@
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export declare const ItemTagGroup: (props: PropsWithChildren<HTMLAttributes<HTMLElement>>) => JSX.Element;
@@ -0,0 +1 @@
1
+ export { ItemTagGroup as default } from './ItemTagGroup';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { ReactionCounterProps } from './ReactionCounterProps';
3
+ export declare const ReactionCounter: (props: ReactionCounterProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface ReactionCounterProps {
3
+ count: number;
4
+ icon: string | React.FC<React.SVGProps<SVGSVGElement>>;
5
+ }
@@ -0,0 +1,2 @@
1
+ export { ReactionCounter as default } from './ReactionCounter';
2
+ export { ReactionCounterProps } from './ReactionCounterProps';
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ declare type ReactionCounterGroupProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
3
+ export declare const ReactionCounterGroup: (props: ReactionCounterGroupProps) => JSX.Element;
4
+ export {};
@@ -0,0 +1 @@
1
+ export { ReactionCounterGroup as default } from './ReactionCounterGroup';
@@ -0,0 +1,4 @@
1
+ export { default as ItemTag, ItemTagProps, PresetNames } from './ItemTag';
2
+ export { default as ItemTagGroup } from './ItemTagGroup';
3
+ export { default as ReactionCounter, ReactionCounterProps } from './ReactionCounter';
4
+ export { default as ReactionCounterGroup } from './ReactionCounterGroup';
@@ -0,0 +1 @@
1
+ export * from './components';