@club-employes/utopia 4.339.0 → 4.341.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,6 @@
1
+ import { SummaryMetricCardProps, SummaryMetricCardVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<SummaryMetricCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SummaryMetricCardProps> & Readonly<{}>, {
4
+ variant: SummaryMetricCardVariant;
5
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
6
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as SummaryMetricCard } from './SummaryMetricCard';
@@ -0,0 +1,7 @@
1
+ export type SummaryMetricCardVariant = 'default' | 'highlighted' | 'success' | 'error';
2
+ export interface SummaryMetricCardProps {
3
+ label: string;
4
+ value: string | number;
5
+ icon: string;
6
+ variant?: SummaryMetricCardVariant;
7
+ }
@@ -30,3 +30,5 @@ export { AddressForm } from './AddressForm';
30
30
  export type { AddressFormProps, AddressFormSchema, AddressFormRow, AddressFormFieldConfig, AddressFormFieldType, AddressFormSection } from './AddressForm';
31
31
  export { ProductRecap, type ProductRecapProps } from './ProductRecap';
32
32
  export { OrderRecap, type OrderRecapProps, type OrderRecapMessage } from './OrderRecap';
33
+ export { SummaryMetricCard } from './SummaryMetricCard';
34
+ export type { SummaryMetricCardProps } from './SummaryMetricCard';
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export type { ThemeConfig, ThemeProviderProps } from './theme-provider';
4
4
  export * from './components';
5
5
  export { Skeleton, SkeletonAvatar, SkeletonText } from './components/atoms/Skeleton';
6
6
  export { DefaultLayout, Header, Menu, NavItem, MfePage } from './components/layouts';
7
- export { BalanceCard, BalanceCardGroup, HtmlPreview, MyEditor, RichTextContent, renderProseMirrorToHtml, renderHtmlContent } from './components/organisms';
7
+ export { BalanceCard, BalanceCardGroup, HtmlPreview, MyEditor, RichTextContent, renderProseMirrorToHtml, renderHtmlContent, SummaryMetricCard } from './components/organisms';
8
8
  export type { BalanceCardData, BalanceCardGroupProps, BalanceCardProps } from './components/organisms';
9
9
  export { Loader } from './components/templates';
10
10
  export type { ButtonProps } from './components/atoms/Button/types';
@@ -96,6 +96,7 @@ export type { MetricCardProps, MetricCardGroupProps } from './components/organis
96
96
  export type { InputSearchProps } from './components/organisms/InputSearch/types';
97
97
  export type { ProductRecapProps } from './components/organisms/ProductRecap/types';
98
98
  export type { OrderRecapProps, OrderRecapMessage } from './components/organisms/OrderRecap/types';
99
+ export type { SummaryMetricCardProps } from './components/organisms/SummaryMetricCard/types';
99
100
  export type { AddressFormProps, AddressFormSchema, AddressFormSection } from './components/organisms/AddressForm/types';
100
101
  export type { CartPreviewProps, CartPreviewItemProps, CartPreviewPrice, CartPreviewPriceLine } from './components/organisms/CartPreview/types';
101
102
  export { clubEmployesDark, clubEmployesLight } from './themes/club-employes';