@dimasbaguspm/versaur 0.0.30 → 0.0.31

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.
Files changed (34) hide show
  1. package/dist/js/{bottom-sheet-DUcwK0Yd.js → bottom-sheet-3W_vCYl6.js} +3 -2
  2. package/dist/js/{bottom-sheet-input-Bzx0ecmU.js → bottom-sheet-input-CI-9wYa7.js} +7 -7
  3. package/dist/js/forms/index.js +1 -1
  4. package/dist/js/{image-rectangle-BMEGIW-6.js → image-rectangle-BpMI_fTE.js} +192 -498
  5. package/dist/js/index.js +27 -29
  6. package/dist/js/layouts/index.js +1 -1
  7. package/dist/js/navigation/index.js +1 -1
  8. package/dist/js/overlays/index.js +2 -2
  9. package/dist/js/primitive/index.js +15 -17
  10. package/dist/js/{tabs-CIWr5hdb.js → tabs-BOdkXJdy.js} +1 -1
  11. package/dist/js/{tooltip-IazSAgsg.js → tooltip-C1P1eN0U.js} +65 -57
  12. package/dist/js/{top-bar-BdmaTpTp.js → top-bar-sahvpzBv.js} +4 -4
  13. package/dist/types/overlays/menu/index.d.ts +1 -1
  14. package/dist/types/overlays/menu/menu.d.ts +4 -1
  15. package/dist/types/overlays/menu/types.d.ts +4 -2
  16. package/dist/types/overlays/menu/use-menu.d.ts +0 -1
  17. package/dist/types/primitive/button-menu/button-menu.d.ts +4 -0
  18. package/dist/types/primitive/button-menu/index.d.ts +2 -0
  19. package/dist/types/primitive/button-menu/types.d.ts +13 -0
  20. package/dist/types/primitive/card/card.atoms.d.ts +3 -0
  21. package/dist/types/primitive/card/card.d.ts +4 -23
  22. package/dist/types/primitive/card/types.d.ts +6 -0
  23. package/dist/types/primitive/index.d.ts +0 -2
  24. package/dist/utils/enforce-subpath-import.js +1 -2
  25. package/package.json +1 -1
  26. package/dist/types/primitive/calendar/calendar.atoms.d.ts +0 -13
  27. package/dist/types/primitive/calendar/calendar.d.ts +0 -8
  28. package/dist/types/primitive/calendar/index.d.ts +0 -2
  29. package/dist/types/primitive/calendar/types.d.ts +0 -54
  30. package/dist/types/primitive/calendar/use-calendar.d.ts +0 -18
  31. package/dist/types/primitive/description-list/description-list.atoms.d.ts +0 -13
  32. package/dist/types/primitive/description-list/description-list.d.ts +0 -6
  33. package/dist/types/primitive/description-list/index.d.ts +0 -2
  34. package/dist/types/primitive/description-list/types.d.ts +0 -46
@@ -1,18 +0,0 @@
1
- import { CalendarType, CalendarValue } from './types';
2
- export interface UseCalendarProps {
3
- value?: CalendarValue;
4
- type: CalendarType;
5
- onChange?: (value: CalendarValue) => void;
6
- initialYear: number;
7
- initialMonth: number;
8
- }
9
- export declare function useCalendar({ value: controlledValue, type, onChange, initialYear, initialMonth, }: UseCalendarProps): {
10
- year: number;
11
- month: number;
12
- value: CalendarValue | undefined;
13
- setMonth: import('react').Dispatch<import('react').SetStateAction<number>>;
14
- setYear: import('react').Dispatch<import('react').SetStateAction<number>>;
15
- onChange: (val: CalendarValue) => void;
16
- handlePrevMonth: () => void;
17
- handleNextMonth: () => void;
18
- };
@@ -1,13 +0,0 @@
1
- import { DescriptionListItemProps, DescriptionListTermProps, DescriptionListDetailsProps } from './types';
2
- /**
3
- * DescriptionList.Item atom
4
- */
5
- export declare const DescriptionListItem: import('react').ForwardRefExoticComponent<DescriptionListItemProps & import('react').RefAttributes<HTMLDivElement>>;
6
- /**
7
- * DescriptionList.Term atom
8
- */
9
- export declare const DescriptionListTerm: import('react').ForwardRefExoticComponent<DescriptionListTermProps & import('react').RefAttributes<HTMLElement>>;
10
- /**
11
- * DescriptionList.Details atom
12
- */
13
- export declare const DescriptionListDetails: import('react').ForwardRefExoticComponent<DescriptionListDetailsProps & import('react').RefAttributes<HTMLElement>>;
@@ -1,6 +0,0 @@
1
- import { DescriptionListProps } from './types';
2
- export declare const DescriptionList: import('react').ForwardRefExoticComponent<DescriptionListProps & import('react').RefAttributes<HTMLDListElement>> & {
3
- Item: import('react').ForwardRefExoticComponent<import('./types').DescriptionListItemProps & import('react').RefAttributes<HTMLDivElement>>;
4
- Term: import('react').ForwardRefExoticComponent<import('./types').DescriptionListTermProps & import('react').RefAttributes<HTMLElement>>;
5
- Details: import('react').ForwardRefExoticComponent<import('./types').DescriptionListDetailsProps & import('react').RefAttributes<HTMLElement>>;
6
- };
@@ -1,2 +0,0 @@
1
- export { DescriptionList } from './description-list';
2
- export * from './types';
@@ -1,46 +0,0 @@
1
- import { ReactNode, HTMLAttributes } from 'react';
2
- import { TextProps } from '../text';
3
- /**
4
- * Props for the DescriptionList root component
5
- */
6
- export interface DescriptionListProps extends HTMLAttributes<HTMLDListElement> {
7
- /**
8
- * Children should be DescriptionList.Item elements
9
- */
10
- children: ReactNode;
11
- }
12
- /**
13
- * Props for DescriptionList.Item
14
- */
15
- export interface DescriptionListItemProps extends HTMLAttributes<HTMLDivElement> {
16
- /**
17
- * Children should be DescriptionList.Term and DescriptionList.Details
18
- */
19
- children: ReactNode;
20
- /**
21
- * Number of grid columns to span (default: 4)
22
- */
23
- span?: number;
24
- }
25
- /**
26
- * Props for DescriptionList.Term
27
- */
28
- export interface DescriptionListTermProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
29
- /**
30
- * Term label (required, string only)
31
- */
32
- children: string;
33
- }
34
- /**
35
- * Props for DescriptionList.Details
36
- */
37
- export interface DescriptionListDetailsProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
38
- /**
39
- * Details value (required, string only)
40
- */
41
- children: string;
42
- /**
43
- * Text Color (default: 'black')
44
- */
45
- color?: TextProps['color'];
46
- }