@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.
- package/build/components/ItemTag/ItemTag.d.ts +3 -0
- package/build/components/ItemTag/ItemTagProps.d.ts +8 -0
- package/build/components/ItemTag/index.d.ts +2 -0
- package/build/components/ItemTag/itemTag.styles.d.ts +2 -0
- package/build/components/ItemTagGroup/ItemTagGroup.d.ts +2 -0
- package/build/components/ItemTagGroup/index.d.ts +1 -0
- package/build/components/ReactionCounter/ReactionCounter.d.ts +3 -0
- package/build/components/ReactionCounter/ReactionCounterProps.d.ts +5 -0
- package/build/components/ReactionCounter/index.d.ts +2 -0
- package/build/components/ReactionCounterGroup/ReactionCounterGroup.d.ts +4 -0
- package/build/components/ReactionCounterGroup/index.d.ts +1 -0
- package/build/components/index.d.ts +4 -0
- package/build/index.d.ts +1 -0
- package/build/index.es.js +828 -0
- package/build/index.es.js.map +1 -0
- package/build/index.js +870 -0
- package/build/index.js.map +1 -0
- package/package.json +36 -0
|
@@ -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 @@
|
|
|
1
|
+
export { ItemTagGroup as default } from './ItemTagGroup';
|
|
@@ -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';
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|