@club-employes/utopia 4.351.0 → 4.352.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,12 @@
1
+ import { MyUserGroupsProps, UserGroupCriterion } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<MyUserGroupsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
+ edit: () => any;
5
+ }, string, PublicProps, Readonly<MyUserGroupsProps> & Readonly<{
6
+ onEdit?: (() => any) | undefined;
7
+ }>, {
8
+ peopleLabel: string;
9
+ criteria: UserGroupCriterion[];
10
+ criteriaLabel: string;
11
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as MyUserGroups } from './MyUserGroups';
2
+ export type { MyUserGroupsProps, UserGroupCriterion } from './types';
@@ -0,0 +1,16 @@
1
+ import { ChipVariant } from '../../atoms/Chip/types';
2
+ export type { ChipVariant };
3
+ export interface UserGroupCriterion {
4
+ label: string;
5
+ icon?: string;
6
+ variant?: ChipVariant;
7
+ ghost?: boolean;
8
+ }
9
+ export interface MyUserGroupsProps {
10
+ rank: number;
11
+ title: string;
12
+ peopleCount: number;
13
+ peopleLabel?: string;
14
+ criteria?: UserGroupCriterion[];
15
+ criteriaLabel?: string;
16
+ }
@@ -65,3 +65,5 @@ export { CartStepper, type CartStepperProps, type CartStepperStep } from './Cart
65
65
  export { CartPreviewItem, type CartPreviewItemProps } from './CartPreviewItem';
66
66
  export { DateRange, type DateRangeProps, type DateRangeValue, type DateRangeTrigger } from './DateRange';
67
67
  export { DeliveryMethodCard, type DeliveryMethodCardProps } from './DeliveryMethodCard';
68
+ export { MyUserGroups } from './MyUserGroups';
69
+ export type { MyUserGroupsProps } from './MyUserGroups';
package/dist/index.d.ts CHANGED
@@ -102,6 +102,8 @@ export type { DeliveryMethodSelectorProps, DeliveryMethodProductRecap, DeliveryM
102
102
  export type { AddressFormProps, AddressFormSchema, AddressFormSection } from './components/organisms/AddressForm/types';
103
103
  export type { CartPreviewProps, CartPreviewPrice, CartPreviewPriceLine } from './components/organisms/CartPreview/types';
104
104
  export type { CartPreviewItemProps } from './components/molecules/CartPreviewItem/types';
105
+ export { MyUserGroups } from './components/molecules/MyUserGroups';
106
+ export type { MyUserGroupsProps, UserGroupCriterion } from './components/molecules/MyUserGroups/types';
105
107
  export { clubEmployesDark, clubEmployesLight } from './themes/club-employes';
106
108
  export { gifteoDark, gifteoLight } from './themes/gifteo';
107
109
  export type { LoaderProps } from './components/templates/Loader/types';