@contractspec/lib.ui-kit-web 1.46.2 → 1.48.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.
Files changed (99) hide show
  1. package/dist/ui/alert.d.ts +4 -4
  2. package/dist/ui/atoms/FilterSelect/FilterSelect.js.map +1 -1
  3. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js.map +1 -1
  4. package/dist/ui/atoms/Pagination/Pagination.js.map +1 -1
  5. package/dist/ui/atoms/SearchInput/SearchInput.js.map +1 -1
  6. package/dist/ui/avatar.d.ts +4 -4
  7. package/dist/ui/badge.d.ts +4 -4
  8. package/dist/ui/breadcrumb.d.ts +8 -8
  9. package/dist/ui/button.d.ts +3 -3
  10. package/dist/ui/calendar.d.ts +3 -3
  11. package/dist/ui/card.d.ts +8 -8
  12. package/dist/ui/carousel.d.ts +6 -6
  13. package/dist/ui/checkbox.d.ts +2 -2
  14. package/dist/ui/collapsible.d.ts +4 -4
  15. package/dist/ui/command.d.ts +10 -10
  16. package/dist/ui/confirm-dialog.d.ts +2 -2
  17. package/dist/ui/context-menu.d.ts +2 -2
  18. package/dist/ui/cta.js.map +1 -1
  19. package/dist/ui/date-picker.d.ts +2 -2
  20. package/dist/ui/date-range-picker.d.ts +2 -2
  21. package/dist/ui/datetime-picker.d.ts +2 -2
  22. package/dist/ui/dialog.d.ts +11 -11
  23. package/dist/ui/drawer.d.ts +11 -11
  24. package/dist/ui/dropdown-menu.d.ts +16 -16
  25. package/dist/ui/empty-state.d.ts +4 -4
  26. package/dist/ui/empty.d.ts +9 -9
  27. package/dist/ui/field.d.ts +13 -13
  28. package/dist/ui/field.d.ts.map +1 -1
  29. package/dist/ui/form.d.ts +7 -7
  30. package/dist/ui/hover-card.d.ts +4 -4
  31. package/dist/ui/input-group.d.ts +11 -11
  32. package/dist/ui/input-group.d.ts.map +1 -1
  33. package/dist/ui/input-otp.d.ts +2 -2
  34. package/dist/ui/input.d.ts +2 -2
  35. package/dist/ui/label.d.ts +2 -2
  36. package/dist/ui/live-region.d.ts +2 -2
  37. package/dist/ui/loading-button.d.ts +2 -2
  38. package/dist/ui/map/MapBase.d.ts +2 -2
  39. package/dist/ui/map/MapGeoJsonOverlay.d.ts +2 -2
  40. package/dist/ui/map/MapGeoJsonOverlay.js.map +1 -1
  41. package/dist/ui/map/MapHeatmapH3.d.ts +2 -2
  42. package/dist/ui/map/MapHeatmapH3.js.map +1 -1
  43. package/dist/ui/map/MapMarkers.d.ts +2 -2
  44. package/dist/ui/marketing/FeatureGrid.d.ts +2 -2
  45. package/dist/ui/marketing/Hero.d.ts +2 -2
  46. package/dist/ui/marketing/PricingTable.d.ts +2 -2
  47. package/dist/ui/menubar.d.ts +17 -17
  48. package/dist/ui/molecules/Autocomplete/index.d.ts +2 -2
  49. package/dist/ui/molecules/Autocomplete/index.d.ts.map +1 -1
  50. package/dist/ui/molecules/Autocomplete/index.js.map +1 -1
  51. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +0 -2
  52. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js.map +1 -1
  53. package/dist/ui/molecules/SkeletonList.d.ts +2 -2
  54. package/dist/ui/nav-layout.d.ts +6 -6
  55. package/dist/ui/navigation-menu.d.ts +9 -9
  56. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js.map +1 -1
  57. package/dist/ui/organisms/ListPage/ListPage.js +0 -2
  58. package/dist/ui/organisms/ListPage/ListPage.js.map +1 -1
  59. package/dist/ui/page-header.d.ts +2 -2
  60. package/dist/ui/pagination.d.ts +6 -6
  61. package/dist/ui/popover.d.ts +5 -5
  62. package/dist/ui/progress.d.ts +2 -2
  63. package/dist/ui/radio-group.d.ts +3 -3
  64. package/dist/ui/resizable.d.ts +4 -4
  65. package/dist/ui/resizable.d.ts.map +1 -1
  66. package/dist/ui/route-announcer.d.ts +2 -2
  67. package/dist/ui/scroll-area.d.ts +3 -3
  68. package/dist/ui/section.d.ts +7 -7
  69. package/dist/ui/section.d.ts.map +1 -1
  70. package/dist/ui/select.d.ts +11 -11
  71. package/dist/ui/separator.d.ts +2 -2
  72. package/dist/ui/sheet.d.ts +9 -9
  73. package/dist/ui/sidebar.d.ts +24 -24
  74. package/dist/ui/skeleton.d.ts +2 -2
  75. package/dist/ui/skip-link.d.ts +2 -2
  76. package/dist/ui/slider.d.ts +2 -2
  77. package/dist/ui/sonner.d.ts +2 -2
  78. package/dist/ui/stack.d.ts +13 -13
  79. package/dist/ui/stack.d.ts.map +1 -1
  80. package/dist/ui/stat-card-group.d.ts +2 -2
  81. package/dist/ui/stepper.d.ts +4 -4
  82. package/dist/ui/switch.d.ts +2 -2
  83. package/dist/ui/table.d.ts +9 -9
  84. package/dist/ui/tabs.d.ts +5 -5
  85. package/dist/ui/text.d.ts +2 -2
  86. package/dist/ui/textarea.d.ts +2 -2
  87. package/dist/ui/time-picker.d.ts +2 -2
  88. package/dist/ui/toast.d.ts +2 -2
  89. package/dist/ui/toaster.d.ts +2 -2
  90. package/dist/ui/toggle-group.d.ts +3 -3
  91. package/dist/ui/toggle.d.ts +2 -2
  92. package/dist/ui/tooltip.d.ts +5 -5
  93. package/dist/ui/typography.d.ts +12 -12
  94. package/dist/ui/use-toast.js.map +1 -1
  95. package/dist/ui/useListState.js.map +1 -1
  96. package/dist/ui/usecases/UseCaseCard.d.ts +2 -2
  97. package/dist/ui/usecases/UserStoryCard.d.ts +2 -2
  98. package/dist/ui/visually-hidden.js.map +1 -1
  99. package/package.json +14 -15
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime14 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime20 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types0 from "class-variance-authority/types";
5
5
 
@@ -11,15 +11,15 @@ declare function Alert({
11
11
  className,
12
12
  variant,
13
13
  ...props
14
- }: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime14.JSX.Element;
14
+ }: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime20.JSX.Element;
15
15
  declare function AlertTitle({
16
16
  className,
17
17
  ...props
18
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime14.JSX.Element;
18
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime20.JSX.Element;
19
19
  declare function AlertDescription({
20
20
  className,
21
21
  ...props
22
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime14.JSX.Element;
22
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime20.JSX.Element;
23
23
  //#endregion
24
24
  export { Alert, AlertDescription, AlertTitle };
25
25
  //# sourceMappingURL=alert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilterSelect.js","names":["FilterSelect: React.FC<FilterSelectProps>"],"sources":["../../../../ui/atoms/FilterSelect/FilterSelect.tsx"],"sourcesContent":["import React from 'react';\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '../../select';\nimport { Label } from '../../label';\nimport type { FilterSelectProps } from './types';\n\nexport const FilterSelect: React.FC<FilterSelectProps> = ({\n value,\n options,\n onChange,\n placeholder = 'Sélectionner...',\n label,\n disabled = false,\n className = '',\n showCounts = false,\n}) => {\n return (\n <div className={`space-y-2 ${className}`}>\n {label && (\n <Label className=\"text-foreground text-base font-medium\">{label}</Label>\n )}\n <Select value={value} onValueChange={onChange} disabled={disabled}>\n <SelectTrigger className=\"w-full\">\n <SelectValue placeholder={placeholder} />\n </SelectTrigger>\n <SelectContent className=\"bg-background\">\n {/* All/Reset option */}\n <SelectItem value=\"all\">\n Tous\n {showCounts && (\n <span className=\"text-muted-foreground ml-2 text-sm\">\n ({options.reduce((sum, option) => sum + (option.count || 0), 0)}\n )\n </span>\n )}\n </SelectItem>\n\n {/* Filter options */}\n {options.map((option) => (\n <SelectItem key={option.value} value={option.value}>\n <div className=\"flex w-full items-center justify-between\">\n <span>{option.label}</span>\n {showCounts && option.count !== undefined && (\n <span className=\"text-muted-foreground ml-2 text-sm\">\n ({option.count})\n </span>\n )}\n </div>\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n );\n};\n"],"mappings":";;;;;;AAWA,MAAaA,gBAA6C,EACxD,OACA,SACA,UACA,cAAc,mBACd,OACA,WAAW,OACX,YAAY,IACZ,aAAa,YACT;AACJ,QACE,qBAAC;EAAI,WAAW,aAAa;aAC1B,SACC,oBAAC;GAAM,WAAU;aAAyC;IAAc,EAE1E,qBAAC;GAAc;GAAO,eAAe;GAAoB;cACvD,oBAAC;IAAc,WAAU;cACvB,oBAAC,eAAyB,cAAe;KAC3B,EAChB,qBAAC;IAAc,WAAU;eAEvB,qBAAC;KAAW,OAAM;gBAAM,QAErB,cACC,qBAAC;MAAK,WAAU;;OAAqC;OACjD,QAAQ,QAAQ,KAAK,WAAW,OAAO,OAAO,SAAS,IAAI,EAAE;OAAC;;OAE3D;MAEE,EAGZ,QAAQ,KAAK,WACZ,oBAAC;KAA8B,OAAO,OAAO;eAC3C,qBAAC;MAAI,WAAU;iBACb,oBAAC,oBAAM,OAAO,QAAa,EAC1B,cAAc,OAAO,UAAU,UAC9B,qBAAC;OAAK,WAAU;;QAAqC;QACjD,OAAO;QAAM;;QACV;OAEL;OARS,OAAO,MASX,CACb;KACY;IACT;GACL"}
1
+ {"version":3,"file":"FilterSelect.js","names":[],"sources":["../../../../ui/atoms/FilterSelect/FilterSelect.tsx"],"sourcesContent":["import React from 'react';\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '../../select';\nimport { Label } from '../../label';\nimport type { FilterSelectProps } from './types';\n\nexport const FilterSelect: React.FC<FilterSelectProps> = ({\n value,\n options,\n onChange,\n placeholder = 'Sélectionner...',\n label,\n disabled = false,\n className = '',\n showCounts = false,\n}) => {\n return (\n <div className={`space-y-2 ${className}`}>\n {label && (\n <Label className=\"text-foreground text-base font-medium\">{label}</Label>\n )}\n <Select value={value} onValueChange={onChange} disabled={disabled}>\n <SelectTrigger className=\"w-full\">\n <SelectValue placeholder={placeholder} />\n </SelectTrigger>\n <SelectContent className=\"bg-background\">\n {/* All/Reset option */}\n <SelectItem value=\"all\">\n Tous\n {showCounts && (\n <span className=\"text-muted-foreground ml-2 text-sm\">\n ({options.reduce((sum, option) => sum + (option.count || 0), 0)}\n )\n </span>\n )}\n </SelectItem>\n\n {/* Filter options */}\n {options.map((option) => (\n <SelectItem key={option.value} value={option.value}>\n <div className=\"flex w-full items-center justify-between\">\n <span>{option.label}</span>\n {showCounts && option.count !== undefined && (\n <span className=\"text-muted-foreground ml-2 text-sm\">\n ({option.count})\n </span>\n )}\n </div>\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n );\n};\n"],"mappings":";;;;;;AAWA,MAAa,gBAA6C,EACxD,OACA,SACA,UACA,cAAc,mBACd,OACA,WAAW,OACX,YAAY,IACZ,aAAa,YACT;AACJ,QACE,qBAAC;EAAI,WAAW,aAAa;aAC1B,SACC,oBAAC;GAAM,WAAU;aAAyC;IAAc,EAE1E,qBAAC;GAAc;GAAO,eAAe;GAAoB;cACvD,oBAAC;IAAc,WAAU;cACvB,oBAAC,eAAyB,cAAe;KAC3B,EAChB,qBAAC;IAAc,WAAU;eAEvB,qBAAC;KAAW,OAAM;gBAAM,QAErB,cACC,qBAAC;MAAK,WAAU;;OAAqC;OACjD,QAAQ,QAAQ,KAAK,WAAW,OAAO,OAAO,SAAS,IAAI,EAAE;OAAC;;OAE3D;MAEE,EAGZ,QAAQ,KAAK,WACZ,oBAAC;KAA8B,OAAO,OAAO;eAC3C,qBAAC;MAAI,WAAU;iBACb,oBAAC,oBAAM,OAAO,QAAa,EAC1B,cAAc,OAAO,UAAU,UAC9B,qBAAC;OAAK,WAAU;;QAAqC;QACjD,OAAO;QAAM;;QACV;OAEL;OARS,OAAO,MASX,CACb;KACY;IACT;GACL"}
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingSpinner.js","names":["LoadingSpinner: React.FC<LoadingSpinnerProps>","SkeletonLine: React.FC<{ className?: string }>","SkeletonCard: React.FC<{ className?: string }>","SkeletonTable: React.FC<{ rows?: number; cols?: number }>"],"sources":["../../../../ui/atoms/LoadingSpinner/LoadingSpinner.tsx"],"sourcesContent":["import React from 'react';\nimport { Loader2 } from 'lucide-react';\nimport { cn } from '../../utils';\n\ninterface LoadingSpinnerProps {\n size?: 'sm' | 'md' | 'lg' | 'xl';\n className?: string;\n text?: string;\n fullScreen?: boolean;\n}\n\nconst sizeClasses = {\n sm: 'h-4 w-4',\n md: 'h-6 w-6',\n lg: 'h-8 w-8',\n xl: 'h-12 w-12',\n};\n\nexport const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({\n size = 'md',\n className,\n text,\n fullScreen = false,\n}) => {\n const spinner = (\n <div\n className={cn(\n 'flex flex-col items-center justify-center gap-2',\n className\n )}\n >\n <Loader2\n className={cn('text-primary-600 animate-spin', sizeClasses[size])}\n />\n {text && <p className=\"animate-pulse text-base text-gray-600\">{text}</p>}\n </div>\n );\n\n if (fullScreen) {\n return (\n <div className=\"fixed inset-0 z-50 flex items-center justify-center bg-white/80 backdrop-blur-xs\">\n {spinner}\n </div>\n );\n }\n\n return spinner;\n};\n\n// Skeleton loading components for better UX\nexport const SkeletonLine: React.FC<{ className?: string }> = ({\n className,\n}) => (\n <div className={cn('h-4 animate-pulse rounded-xs bg-gray-200', className)} />\n);\n\nexport const SkeletonCard: React.FC<{ className?: string }> = ({\n className,\n}) => (\n <div\n className={cn(\n 'animate-pulse space-y-3 rounded-lg bg-gray-200 p-4',\n className\n )}\n >\n <SkeletonLine className=\"h-6 w-3/4\" />\n <SkeletonLine className=\"h-4 w-full\" />\n <SkeletonLine className=\"h-4 w-2/3\" />\n </div>\n);\n\nexport const SkeletonTable: React.FC<{ rows?: number; cols?: number }> = ({\n rows = 5,\n cols = 4,\n}) => (\n <div className=\"space-y-3\">\n {Array.from({ length: rows }).map((_, i) => (\n <div key={i} className=\"flex space-x-4\">\n {Array.from({ length: cols }).map((_, j) => (\n <SkeletonLine key={j} className=\"flex-1\" />\n ))}\n </div>\n ))}\n </div>\n);\n"],"mappings":";;;;;;AAWA,MAAM,cAAc;CAClB,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACL;AAED,MAAaA,kBAAiD,EAC5D,OAAO,MACP,WACA,MACA,aAAa,YACT;CACJ,MAAM,UACJ,qBAAC;EACC,WAAW,GACT,mDACA,UACD;aAED,oBAAC,WACC,WAAW,GAAG,iCAAiC,YAAY,MAAM,GACjE,EACD,QAAQ,oBAAC;GAAE,WAAU;aAAyC;IAAS;GACpE;AAGR,KAAI,WACF,QACE,oBAAC;EAAI,WAAU;YACZ;GACG;AAIV,QAAO;;AAIT,MAAaC,gBAAkD,EAC7D,gBAEA,oBAAC,SAAI,WAAW,GAAG,4CAA4C,UAAU,GAAI;AAG/E,MAAaC,gBAAkD,EAC7D,gBAEA,qBAAC;CACC,WAAW,GACT,sDACA,UACD;;EAED,oBAAC,gBAAa,WAAU,cAAc;EACtC,oBAAC,gBAAa,WAAU,eAAe;EACvC,oBAAC,gBAAa,WAAU,cAAc;;EAClC;AAGR,MAAaC,iBAA6D,EACxE,OAAO,GACP,OAAO,QAEP,oBAAC;CAAI,WAAU;WACZ,MAAM,KAAK,EAAE,QAAQ,MAAM,CAAC,CAAC,KAAK,GAAG,MACpC,oBAAC;EAAY,WAAU;YACpB,MAAM,KAAK,EAAE,QAAQ,MAAM,CAAC,CAAC,KAAK,KAAG,MACpC,oBAAC,gBAAqB,WAAU,YAAb,EAAwB,CAC3C;IAHM,EAIJ,CACN;EACE"}
1
+ {"version":3,"file":"LoadingSpinner.js","names":[],"sources":["../../../../ui/atoms/LoadingSpinner/LoadingSpinner.tsx"],"sourcesContent":["import React from 'react';\nimport { Loader2 } from 'lucide-react';\nimport { cn } from '../../utils';\n\ninterface LoadingSpinnerProps {\n size?: 'sm' | 'md' | 'lg' | 'xl';\n className?: string;\n text?: string;\n fullScreen?: boolean;\n}\n\nconst sizeClasses = {\n sm: 'h-4 w-4',\n md: 'h-6 w-6',\n lg: 'h-8 w-8',\n xl: 'h-12 w-12',\n};\n\nexport const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({\n size = 'md',\n className,\n text,\n fullScreen = false,\n}) => {\n const spinner = (\n <div\n className={cn(\n 'flex flex-col items-center justify-center gap-2',\n className\n )}\n >\n <Loader2\n className={cn('text-primary-600 animate-spin', sizeClasses[size])}\n />\n {text && <p className=\"animate-pulse text-base text-gray-600\">{text}</p>}\n </div>\n );\n\n if (fullScreen) {\n return (\n <div className=\"fixed inset-0 z-50 flex items-center justify-center bg-white/80 backdrop-blur-xs\">\n {spinner}\n </div>\n );\n }\n\n return spinner;\n};\n\n// Skeleton loading components for better UX\nexport const SkeletonLine: React.FC<{ className?: string }> = ({\n className,\n}) => (\n <div className={cn('h-4 animate-pulse rounded-xs bg-gray-200', className)} />\n);\n\nexport const SkeletonCard: React.FC<{ className?: string }> = ({\n className,\n}) => (\n <div\n className={cn(\n 'animate-pulse space-y-3 rounded-lg bg-gray-200 p-4',\n className\n )}\n >\n <SkeletonLine className=\"h-6 w-3/4\" />\n <SkeletonLine className=\"h-4 w-full\" />\n <SkeletonLine className=\"h-4 w-2/3\" />\n </div>\n);\n\nexport const SkeletonTable: React.FC<{ rows?: number; cols?: number }> = ({\n rows = 5,\n cols = 4,\n}) => (\n <div className=\"space-y-3\">\n {Array.from({ length: rows }).map((_, i) => (\n <div key={i} className=\"flex space-x-4\">\n {Array.from({ length: cols }).map((_, j) => (\n <SkeletonLine key={j} className=\"flex-1\" />\n ))}\n </div>\n ))}\n </div>\n);\n"],"mappings":";;;;;;AAWA,MAAM,cAAc;CAClB,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACL;AAED,MAAa,kBAAiD,EAC5D,OAAO,MACP,WACA,MACA,aAAa,YACT;CACJ,MAAM,UACJ,qBAAC;EACC,WAAW,GACT,mDACA,UACD;aAED,oBAAC,WACC,WAAW,GAAG,iCAAiC,YAAY,MAAM,GACjE,EACD,QAAQ,oBAAC;GAAE,WAAU;aAAyC;IAAS;GACpE;AAGR,KAAI,WACF,QACE,oBAAC;EAAI,WAAU;YACZ;GACG;AAIV,QAAO;;AAIT,MAAa,gBAAkD,EAC7D,gBAEA,oBAAC,SAAI,WAAW,GAAG,4CAA4C,UAAU,GAAI;AAG/E,MAAa,gBAAkD,EAC7D,gBAEA,qBAAC;CACC,WAAW,GACT,sDACA,UACD;;EAED,oBAAC,gBAAa,WAAU,cAAc;EACtC,oBAAC,gBAAa,WAAU,eAAe;EACvC,oBAAC,gBAAa,WAAU,cAAc;;EAClC;AAGR,MAAa,iBAA6D,EACxE,OAAO,GACP,OAAO,QAEP,oBAAC;CAAI,WAAU;WACZ,MAAM,KAAK,EAAE,QAAQ,MAAM,CAAC,CAAC,KAAK,GAAG,MACpC,oBAAC;EAAY,WAAU;YACpB,MAAM,KAAK,EAAE,QAAQ,MAAM,CAAC,CAAC,KAAK,KAAG,MACpC,oBAAC,gBAAqB,WAAU,YAAb,EAAwB,CAC3C;IAHM,EAIJ,CACN;EACE"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.js","names":["Pagination: React.FC<PaginationProps>"],"sources":["../../../../ui/atoms/Pagination/Pagination.tsx"],"sourcesContent":["import React from 'react';\nimport {\n ChevronLeft,\n ChevronRight,\n ChevronsLeft,\n ChevronsRight,\n} from 'lucide-react';\nimport { Button } from '../../button';\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '../../select';\nimport type { PaginationProps } from './types';\n\nexport const Pagination: React.FC<PaginationProps> = ({\n currentPage,\n totalPages,\n totalItems,\n itemsPerPage,\n onPageChange,\n onItemsPerPageChange,\n disabled = false,\n className = '',\n showItemsPerPage = true,\n itemsPerPageOptions = [10, 25, 50, 100],\n}) => {\n const startItem = (currentPage - 1) * itemsPerPage + 1;\n const endItem = Math.min(currentPage * itemsPerPage, totalItems);\n\n const canGoPrevious = currentPage > 1 && !disabled;\n const canGoNext = currentPage < totalPages && !disabled;\n\n const getVisiblePageNumbers = () => {\n if (totalPages <= 7) {\n return Array.from({ length: totalPages }, (_, i) => i + 1);\n }\n\n if (currentPage <= 3) {\n return [1, 2, 3, 4, 5, -1, totalPages]; // -1 represents ellipsis\n }\n\n if (currentPage >= totalPages - 2) {\n return [\n 1,\n -1,\n totalPages - 4,\n totalPages - 3,\n totalPages - 2,\n totalPages - 1,\n totalPages,\n ];\n }\n\n return [\n 1,\n -1,\n currentPage - 1,\n currentPage,\n currentPage + 1,\n -1,\n totalPages,\n ];\n };\n\n if (totalPages === 0) return null;\n\n return (\n <div\n className={`flex flex-col items-center justify-between gap-4 sm:flex-row ${className}`}\n >\n {/* Items info */}\n <div className=\"text-muted-foreground order-2 text-base sm:order-1\">\n Affichage de {startItem} à {endItem} sur {totalItems} résultats\n </div>\n\n {/* Pagination controls */}\n <div className=\"order-1 flex items-center gap-2 sm:order-2\">\n {/* First page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(1)}\n disabled={!canGoPrevious}\n className=\"hidden h-8 w-8 p-0 sm:flex\"\n >\n <ChevronsLeft className=\"h-4 w-4\" />\n <span className=\"sr-only\">Première page</span>\n </Button>\n\n {/* Previous page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(currentPage - 1)}\n disabled={!canGoPrevious}\n className=\"h-8 w-8 p-0\"\n >\n <ChevronLeft className=\"h-4 w-4\" />\n <span className=\"sr-only\">Page précédente</span>\n </Button>\n\n {/* Page numbers */}\n <div className=\"flex items-center gap-1\">\n {getVisiblePageNumbers().map((page, index) => {\n if (page === -1) {\n return (\n <span\n key={`ellipsis-${index}`}\n className=\"text-muted-foreground px-2 py-1\"\n >\n ...\n </span>\n );\n }\n\n return (\n <Button\n key={page}\n variant={page === currentPage ? 'default' : 'outline'}\n size=\"sm\"\n onClick={() => onPageChange(page)}\n disabled={disabled}\n className=\"h-8 min-w-8 px-2\"\n >\n {page}\n </Button>\n );\n })}\n </div>\n\n {/* Next page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(currentPage + 1)}\n disabled={!canGoNext}\n className=\"h-8 w-8 p-0\"\n >\n <ChevronRight className=\"h-4 w-4\" />\n <span className=\"sr-only\">Page suivante</span>\n </Button>\n\n {/* Last page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(totalPages)}\n disabled={!canGoNext}\n className=\"hidden h-8 w-8 p-0 sm:flex\"\n >\n <ChevronsRight className=\"h-4 w-4\" />\n <span className=\"sr-only\">Dernière page</span>\n </Button>\n </div>\n\n {/* Items per page */}\n {showItemsPerPage && onItemsPerPageChange && (\n <div className=\"order-3 flex items-center gap-2 text-base\">\n <span className=\"text-muted-foreground\">Afficher:</span>\n <Select\n value={itemsPerPage.toString()}\n onValueChange={(value) => onItemsPerPageChange(parseInt(value))}\n disabled={disabled}\n >\n <SelectTrigger className=\"h-8 w-16\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent className=\"bg-background\">\n {itemsPerPageOptions.map((option) => (\n <SelectItem key={option} value={option.toString()}>\n {option}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n )}\n </div>\n );\n};\n"],"mappings":";;;;;;;AAiBA,MAAaA,cAAyC,EACpD,aACA,YACA,YACA,cACA,cACA,sBACA,WAAW,OACX,YAAY,IACZ,mBAAmB,MACnB,sBAAsB;CAAC;CAAI;CAAI;CAAI;CAAI,OACnC;CACJ,MAAM,aAAa,cAAc,KAAK,eAAe;CACrD,MAAM,UAAU,KAAK,IAAI,cAAc,cAAc,WAAW;CAEhE,MAAM,gBAAgB,cAAc,KAAK,CAAC;CAC1C,MAAM,YAAY,cAAc,cAAc,CAAC;CAE/C,MAAM,8BAA8B;AAClC,MAAI,cAAc,EAChB,QAAO,MAAM,KAAK,EAAE,QAAQ,YAAY,GAAG,GAAG,MAAM,IAAI,EAAE;AAG5D,MAAI,eAAe,EACjB,QAAO;GAAC;GAAG;GAAG;GAAG;GAAG;GAAG;GAAI;GAAW;AAGxC,MAAI,eAAe,aAAa,EAC9B,QAAO;GACL;GACA;GACA,aAAa;GACb,aAAa;GACb,aAAa;GACb,aAAa;GACb;GACD;AAGH,SAAO;GACL;GACA;GACA,cAAc;GACd;GACA,cAAc;GACd;GACA;GACD;;AAGH,KAAI,eAAe,EAAG,QAAO;AAE7B,QACE,qBAAC;EACC,WAAW,gEAAgE;;GAG3E,qBAAC;IAAI,WAAU;;KAAqD;KACpD;KAAU;KAAI;KAAQ;KAAM;KAAW;;KACjD;GAGN,qBAAC;IAAI,WAAU;;KAEb,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,EAAE;MAC9B,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,gBAAa,WAAU,YAAY,EACpC,oBAAC;OAAK,WAAU;iBAAU;QAAoB;OACvC;KAGT,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,cAAc,EAAE;MAC5C,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,eAAY,WAAU,YAAY,EACnC,oBAAC;OAAK,WAAU;iBAAU;QAAsB;OACzC;KAGT,oBAAC;MAAI,WAAU;gBACZ,uBAAuB,CAAC,KAAK,MAAM,UAAU;AAC5C,WAAI,SAAS,GACX,QACE,oBAAC;QAEC,WAAU;kBACX;UAFM,YAAY,QAIZ;AAIX,cACE,oBAAC;QAEC,SAAS,SAAS,cAAc,YAAY;QAC5C,MAAK;QACL,eAAe,aAAa,KAAK;QACvB;QACV,WAAU;kBAET;UAPI,KAQE;QAEX;OACE;KAGN,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,cAAc,EAAE;MAC5C,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,gBAAa,WAAU,YAAY,EACpC,oBAAC;OAAK,WAAU;iBAAU;QAAoB;OACvC;KAGT,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,WAAW;MACvC,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,iBAAc,WAAU,YAAY,EACrC,oBAAC;OAAK,WAAU;iBAAU;QAAoB;OACvC;;KACL;GAGL,oBAAoB,wBACnB,qBAAC;IAAI,WAAU;eACb,oBAAC;KAAK,WAAU;eAAwB;MAAgB,EACxD,qBAAC;KACC,OAAO,aAAa,UAAU;KAC9B,gBAAgB,UAAU,qBAAqB,SAAS,MAAM,CAAC;KACrD;gBAEV,oBAAC;MAAc,WAAU;gBACvB,oBAAC,gBAAc;OACD,EAChB,oBAAC;MAAc,WAAU;gBACtB,oBAAoB,KAAK,WACxB,oBAAC;OAAwB,OAAO,OAAO,UAAU;iBAC9C;SADc,OAEJ,CACb;OACY;MACT;KACL;;GAEJ"}
1
+ {"version":3,"file":"Pagination.js","names":[],"sources":["../../../../ui/atoms/Pagination/Pagination.tsx"],"sourcesContent":["import React from 'react';\nimport {\n ChevronLeft,\n ChevronRight,\n ChevronsLeft,\n ChevronsRight,\n} from 'lucide-react';\nimport { Button } from '../../button';\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '../../select';\nimport type { PaginationProps } from './types';\n\nexport const Pagination: React.FC<PaginationProps> = ({\n currentPage,\n totalPages,\n totalItems,\n itemsPerPage,\n onPageChange,\n onItemsPerPageChange,\n disabled = false,\n className = '',\n showItemsPerPage = true,\n itemsPerPageOptions = [10, 25, 50, 100],\n}) => {\n const startItem = (currentPage - 1) * itemsPerPage + 1;\n const endItem = Math.min(currentPage * itemsPerPage, totalItems);\n\n const canGoPrevious = currentPage > 1 && !disabled;\n const canGoNext = currentPage < totalPages && !disabled;\n\n const getVisiblePageNumbers = () => {\n if (totalPages <= 7) {\n return Array.from({ length: totalPages }, (_, i) => i + 1);\n }\n\n if (currentPage <= 3) {\n return [1, 2, 3, 4, 5, -1, totalPages]; // -1 represents ellipsis\n }\n\n if (currentPage >= totalPages - 2) {\n return [\n 1,\n -1,\n totalPages - 4,\n totalPages - 3,\n totalPages - 2,\n totalPages - 1,\n totalPages,\n ];\n }\n\n return [\n 1,\n -1,\n currentPage - 1,\n currentPage,\n currentPage + 1,\n -1,\n totalPages,\n ];\n };\n\n if (totalPages === 0) return null;\n\n return (\n <div\n className={`flex flex-col items-center justify-between gap-4 sm:flex-row ${className}`}\n >\n {/* Items info */}\n <div className=\"text-muted-foreground order-2 text-base sm:order-1\">\n Affichage de {startItem} à {endItem} sur {totalItems} résultats\n </div>\n\n {/* Pagination controls */}\n <div className=\"order-1 flex items-center gap-2 sm:order-2\">\n {/* First page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(1)}\n disabled={!canGoPrevious}\n className=\"hidden h-8 w-8 p-0 sm:flex\"\n >\n <ChevronsLeft className=\"h-4 w-4\" />\n <span className=\"sr-only\">Première page</span>\n </Button>\n\n {/* Previous page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(currentPage - 1)}\n disabled={!canGoPrevious}\n className=\"h-8 w-8 p-0\"\n >\n <ChevronLeft className=\"h-4 w-4\" />\n <span className=\"sr-only\">Page précédente</span>\n </Button>\n\n {/* Page numbers */}\n <div className=\"flex items-center gap-1\">\n {getVisiblePageNumbers().map((page, index) => {\n if (page === -1) {\n return (\n <span\n key={`ellipsis-${index}`}\n className=\"text-muted-foreground px-2 py-1\"\n >\n ...\n </span>\n );\n }\n\n return (\n <Button\n key={page}\n variant={page === currentPage ? 'default' : 'outline'}\n size=\"sm\"\n onClick={() => onPageChange(page)}\n disabled={disabled}\n className=\"h-8 min-w-8 px-2\"\n >\n {page}\n </Button>\n );\n })}\n </div>\n\n {/* Next page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(currentPage + 1)}\n disabled={!canGoNext}\n className=\"h-8 w-8 p-0\"\n >\n <ChevronRight className=\"h-4 w-4\" />\n <span className=\"sr-only\">Page suivante</span>\n </Button>\n\n {/* Last page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(totalPages)}\n disabled={!canGoNext}\n className=\"hidden h-8 w-8 p-0 sm:flex\"\n >\n <ChevronsRight className=\"h-4 w-4\" />\n <span className=\"sr-only\">Dernière page</span>\n </Button>\n </div>\n\n {/* Items per page */}\n {showItemsPerPage && onItemsPerPageChange && (\n <div className=\"order-3 flex items-center gap-2 text-base\">\n <span className=\"text-muted-foreground\">Afficher:</span>\n <Select\n value={itemsPerPage.toString()}\n onValueChange={(value) => onItemsPerPageChange(parseInt(value))}\n disabled={disabled}\n >\n <SelectTrigger className=\"h-8 w-16\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent className=\"bg-background\">\n {itemsPerPageOptions.map((option) => (\n <SelectItem key={option} value={option.toString()}>\n {option}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n )}\n </div>\n );\n};\n"],"mappings":";;;;;;;AAiBA,MAAa,cAAyC,EACpD,aACA,YACA,YACA,cACA,cACA,sBACA,WAAW,OACX,YAAY,IACZ,mBAAmB,MACnB,sBAAsB;CAAC;CAAI;CAAI;CAAI;CAAI,OACnC;CACJ,MAAM,aAAa,cAAc,KAAK,eAAe;CACrD,MAAM,UAAU,KAAK,IAAI,cAAc,cAAc,WAAW;CAEhE,MAAM,gBAAgB,cAAc,KAAK,CAAC;CAC1C,MAAM,YAAY,cAAc,cAAc,CAAC;CAE/C,MAAM,8BAA8B;AAClC,MAAI,cAAc,EAChB,QAAO,MAAM,KAAK,EAAE,QAAQ,YAAY,GAAG,GAAG,MAAM,IAAI,EAAE;AAG5D,MAAI,eAAe,EACjB,QAAO;GAAC;GAAG;GAAG;GAAG;GAAG;GAAG;GAAI;GAAW;AAGxC,MAAI,eAAe,aAAa,EAC9B,QAAO;GACL;GACA;GACA,aAAa;GACb,aAAa;GACb,aAAa;GACb,aAAa;GACb;GACD;AAGH,SAAO;GACL;GACA;GACA,cAAc;GACd;GACA,cAAc;GACd;GACA;GACD;;AAGH,KAAI,eAAe,EAAG,QAAO;AAE7B,QACE,qBAAC;EACC,WAAW,gEAAgE;;GAG3E,qBAAC;IAAI,WAAU;;KAAqD;KACpD;KAAU;KAAI;KAAQ;KAAM;KAAW;;KACjD;GAGN,qBAAC;IAAI,WAAU;;KAEb,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,EAAE;MAC9B,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,gBAAa,WAAU,YAAY,EACpC,oBAAC;OAAK,WAAU;iBAAU;QAAoB;OACvC;KAGT,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,cAAc,EAAE;MAC5C,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,eAAY,WAAU,YAAY,EACnC,oBAAC;OAAK,WAAU;iBAAU;QAAsB;OACzC;KAGT,oBAAC;MAAI,WAAU;gBACZ,uBAAuB,CAAC,KAAK,MAAM,UAAU;AAC5C,WAAI,SAAS,GACX,QACE,oBAAC;QAEC,WAAU;kBACX;UAFM,YAAY,QAIZ;AAIX,cACE,oBAAC;QAEC,SAAS,SAAS,cAAc,YAAY;QAC5C,MAAK;QACL,eAAe,aAAa,KAAK;QACvB;QACV,WAAU;kBAET;UAPI,KAQE;QAEX;OACE;KAGN,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,cAAc,EAAE;MAC5C,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,gBAAa,WAAU,YAAY,EACpC,oBAAC;OAAK,WAAU;iBAAU;QAAoB;OACvC;KAGT,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,WAAW;MACvC,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,iBAAc,WAAU,YAAY,EACrC,oBAAC;OAAK,WAAU;iBAAU;QAAoB;OACvC;;KACL;GAGL,oBAAoB,wBACnB,qBAAC;IAAI,WAAU;eACb,oBAAC;KAAK,WAAU;eAAwB;MAAgB,EACxD,qBAAC;KACC,OAAO,aAAa,UAAU;KAC9B,gBAAgB,UAAU,qBAAqB,SAAS,MAAM,CAAC;KACrD;gBAEV,oBAAC;MAAc,WAAU;gBACvB,oBAAC,gBAAc;OACD,EAChB,oBAAC;MAAc,WAAU;gBACtB,oBAAoB,KAAK,WACxB,oBAAC;OAAwB,OAAO,OAAO,UAAU;iBAC9C;SADc,OAEJ,CACb;OACY;MACT;KACL;;GAEJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchInput.js","names":["SearchInput: React.FC<SearchInputProps>"],"sources":["../../../../ui/atoms/SearchInput/SearchInput.tsx"],"sourcesContent":["import React from 'react';\nimport { Search, X } from 'lucide-react';\nimport { Input } from '../../input';\nimport { Button } from '../../button';\nimport type { SearchInputProps } from './types';\n\nexport const SearchInput: React.FC<SearchInputProps> = ({\n value,\n onChange,\n placeholder = 'Rechercher...',\n onClear,\n disabled = false,\n className = '',\n autoFocus = false,\n}) => {\n const handleClear = () => {\n onChange('');\n onClear?.();\n };\n\n return (\n <div className={`relative w-full ${className}`}>\n <div className=\"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3\">\n <Search className=\"text-muted-foreground h-4 w-4\" />\n </div>\n\n <Input\n type=\"text\"\n value={value}\n onChange={(e) => onChange(e.target.value)}\n placeholder={placeholder}\n disabled={disabled}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n className=\"pr-10 pl-10\"\n />\n\n {value && (\n <div className=\"absolute inset-y-0 right-0 flex items-center pr-3\">\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"sm\"\n onClick={handleClear}\n disabled={disabled}\n className=\"h-6 w-6 p-0 hover:bg-transparent\"\n >\n <X className=\"text-muted-foreground hover:text-foreground h-4 w-4\" />\n <span className=\"sr-only\">Effacer la recherche</span>\n </Button>\n </div>\n )}\n </div>\n );\n};\n"],"mappings":";;;;;;;AAMA,MAAaA,eAA2C,EACtD,OACA,UACA,cAAc,iBACd,SACA,WAAW,OACX,YAAY,IACZ,YAAY,YACR;CACJ,MAAM,oBAAoB;AACxB,WAAS,GAAG;AACZ,aAAW;;AAGb,QACE,qBAAC;EAAI,WAAW,mBAAmB;;GACjC,oBAAC;IAAI,WAAU;cACb,oBAAC,UAAO,WAAU,kCAAkC;KAChD;GAEN,oBAAC;IACC,MAAK;IACE;IACP,WAAW,MAAM,SAAS,EAAE,OAAO,MAAM;IAC5B;IACH;IAEC;IACX,WAAU;KACV;GAED,SACC,oBAAC;IAAI,WAAU;cACb,qBAAC;KACC,MAAK;KACL,SAAQ;KACR,MAAK;KACL,SAAS;KACC;KACV,WAAU;gBAEV,oBAAC,KAAE,WAAU,wDAAwD,EACrE,oBAAC;MAAK,WAAU;gBAAU;OAA2B;MAC9C;KACL;;GAEJ"}
1
+ {"version":3,"file":"SearchInput.js","names":[],"sources":["../../../../ui/atoms/SearchInput/SearchInput.tsx"],"sourcesContent":["import React from 'react';\nimport { Search, X } from 'lucide-react';\nimport { Input } from '../../input';\nimport { Button } from '../../button';\nimport type { SearchInputProps } from './types';\n\nexport const SearchInput: React.FC<SearchInputProps> = ({\n value,\n onChange,\n placeholder = 'Rechercher...',\n onClear,\n disabled = false,\n className = '',\n autoFocus = false,\n}) => {\n const handleClear = () => {\n onChange('');\n onClear?.();\n };\n\n return (\n <div className={`relative w-full ${className}`}>\n <div className=\"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3\">\n <Search className=\"text-muted-foreground h-4 w-4\" />\n </div>\n\n <Input\n type=\"text\"\n value={value}\n onChange={(e) => onChange(e.target.value)}\n placeholder={placeholder}\n disabled={disabled}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n className=\"pr-10 pl-10\"\n />\n\n {value && (\n <div className=\"absolute inset-y-0 right-0 flex items-center pr-3\">\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"sm\"\n onClick={handleClear}\n disabled={disabled}\n className=\"h-6 w-6 p-0 hover:bg-transparent\"\n >\n <X className=\"text-muted-foreground hover:text-foreground h-4 w-4\" />\n <span className=\"sr-only\">Effacer la recherche</span>\n </Button>\n </div>\n )}\n </div>\n );\n};\n"],"mappings":";;;;;;;AAMA,MAAa,eAA2C,EACtD,OACA,UACA,cAAc,iBACd,SACA,WAAW,OACX,YAAY,IACZ,YAAY,YACR;CACJ,MAAM,oBAAoB;AACxB,WAAS,GAAG;AACZ,aAAW;;AAGb,QACE,qBAAC;EAAI,WAAW,mBAAmB;;GACjC,oBAAC;IAAI,WAAU;cACb,oBAAC,UAAO,WAAU,kCAAkC;KAChD;GAEN,oBAAC;IACC,MAAK;IACE;IACP,WAAW,MAAM,SAAS,EAAE,OAAO,MAAM;IAC5B;IACH;IAEC;IACX,WAAU;KACV;GAED,SACC,oBAAC;IAAI,WAAU;cACb,qBAAC;KACC,MAAK;KACL,SAAQ;KACR,MAAK;KACL,SAAS;KACC;KACV,WAAU;gBAEV,oBAAC,KAAE,WAAU,wDAAwD,EACrE,oBAAC;MAAK,WAAU;gBAAU;OAA2B;MAC9C;KACL;;GAEJ"}
@@ -1,20 +1,20 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime23 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime35 from "react/jsx-runtime";
3
3
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
4
4
 
5
5
  //#region ui/avatar.d.ts
6
6
  declare function Avatar({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime23.JSX.Element;
9
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime35.JSX.Element;
10
10
  declare function AvatarImage({
11
11
  className,
12
12
  ...props
13
- }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime23.JSX.Element;
13
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime35.JSX.Element;
14
14
  declare function AvatarFallback({
15
15
  className,
16
16
  ...props
17
- }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime23.JSX.Element;
17
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime35.JSX.Element;
18
18
  //#endregion
19
19
  export { Avatar, AvatarFallback, AvatarImage };
20
20
  //# sourceMappingURL=avatar.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime26 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime39 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types2 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
5
5
 
6
6
  //#region ui/badge.d.ts
7
7
  declare const badgeVariants: (props?: ({
8
8
  variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
9
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types0.ClassProp) | undefined) => string;
10
10
  declare function Badge({
11
11
  className,
12
12
  variant,
@@ -14,7 +14,7 @@ declare function Badge({
14
14
  ...props
15
15
  }: React$1.ComponentPropsWithoutRef<'span'> & VariantProps<typeof badgeVariants> & {
16
16
  asChild?: boolean;
17
- }): react_jsx_runtime26.JSX.Element;
17
+ }): react_jsx_runtime39.JSX.Element;
18
18
  //#endregion
19
19
  export { Badge, badgeVariants };
20
20
  //# sourceMappingURL=badge.d.ts.map
@@ -1,38 +1,38 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime27 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime41 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/breadcrumb.d.ts
5
5
  declare function Breadcrumb({
6
6
  ...props
7
- }: React$1.ComponentPropsWithoutRef<'nav'>): react_jsx_runtime27.JSX.Element;
7
+ }: React$1.ComponentPropsWithoutRef<'nav'>): react_jsx_runtime41.JSX.Element;
8
8
  declare function BreadcrumbList({
9
9
  className,
10
10
  ...props
11
- }: React$1.ComponentPropsWithoutRef<'ol'>): react_jsx_runtime27.JSX.Element;
11
+ }: React$1.ComponentPropsWithoutRef<'ol'>): react_jsx_runtime41.JSX.Element;
12
12
  declare function BreadcrumbItem({
13
13
  className,
14
14
  ...props
15
- }: React$1.ComponentPropsWithoutRef<'li'>): react_jsx_runtime27.JSX.Element;
15
+ }: React$1.ComponentPropsWithoutRef<'li'>): react_jsx_runtime41.JSX.Element;
16
16
  declare function BreadcrumbLink({
17
17
  asChild,
18
18
  className,
19
19
  ...props
20
20
  }: React$1.ComponentPropsWithoutRef<'a'> & {
21
21
  asChild?: boolean;
22
- }): react_jsx_runtime27.JSX.Element;
22
+ }): react_jsx_runtime41.JSX.Element;
23
23
  declare function BreadcrumbPage({
24
24
  className,
25
25
  ...props
26
- }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime27.JSX.Element;
26
+ }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime41.JSX.Element;
27
27
  declare function BreadcrumbSeparator({
28
28
  children,
29
29
  className,
30
30
  ...props
31
- }: React$1.ComponentPropsWithoutRef<'li'>): react_jsx_runtime27.JSX.Element;
31
+ }: React$1.ComponentPropsWithoutRef<'li'>): react_jsx_runtime41.JSX.Element;
32
32
  declare function BreadcrumbEllipsis({
33
33
  className,
34
34
  ...props
35
- }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime27.JSX.Element;
35
+ }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime41.JSX.Element;
36
36
  //#endregion
37
37
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
38
38
  //# sourceMappingURL=breadcrumb.d.ts.map
@@ -1,19 +1,19 @@
1
1
  import * as React$1 from "react";
2
2
  import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types3 from "class-variance-authority/types";
3
+ import * as class_variance_authority_types1 from "class-variance-authority/types";
4
4
 
5
5
  //#region ui/button.d.ts
6
6
  declare const buttonVariants: (props?: ({
7
7
  variant?: "default" | "destructive" | "link" | "secondary" | "outline" | "ghost" | null | undefined;
8
8
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
9
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types1.ClassProp) | undefined) => string;
10
10
  type ButtonProps = React$1.ComponentPropsWithoutRef<'button'> & VariantProps<typeof buttonVariants> & {
11
11
  asChild?: boolean;
12
12
  };
13
13
  declare const Button: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
14
14
  variant?: "default" | "destructive" | "link" | "secondary" | "outline" | "ghost" | null | undefined;
15
15
  size?: "default" | "sm" | "lg" | "icon" | null | undefined;
16
- } & class_variance_authority_types3.ClassProp) | undefined) => string> & {
16
+ } & class_variance_authority_types1.ClassProp) | undefined) => string> & {
17
17
  asChild?: boolean;
18
18
  } & React$1.RefAttributes<HTMLButtonElement>>;
19
19
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { Button } from "./button.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime34 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime49 from "react/jsx-runtime";
4
4
  import { DayButton, DayPicker } from "react-day-picker";
5
5
 
6
6
  //#region ui/calendar.d.ts
@@ -15,13 +15,13 @@ declare function Calendar({
15
15
  ...props
16
16
  }: React$1.ComponentProps<typeof DayPicker> & {
17
17
  buttonVariant?: React$1.ComponentProps<typeof Button>['variant'];
18
- }): react_jsx_runtime34.JSX.Element;
18
+ }): react_jsx_runtime49.JSX.Element;
19
19
  declare function CalendarDayButton({
20
20
  className,
21
21
  day,
22
22
  modifiers,
23
23
  ...props
24
- }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime34.JSX.Element;
24
+ }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime49.JSX.Element;
25
25
  //#endregion
26
26
  export { Calendar, CalendarDayButton };
27
27
  //# sourceMappingURL=calendar.d.ts.map
package/dist/ui/card.d.ts CHANGED
@@ -1,35 +1,35 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime36 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime52 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/card.d.ts
5
5
  declare function Card({
6
6
  className,
7
7
  ...props
8
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime36.JSX.Element;
8
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime52.JSX.Element;
9
9
  declare function CardHeader({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime36.JSX.Element;
12
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime52.JSX.Element;
13
13
  declare function CardTitle({
14
14
  className,
15
15
  ...props
16
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime36.JSX.Element;
16
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime52.JSX.Element;
17
17
  declare function CardDescription({
18
18
  className,
19
19
  ...props
20
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime36.JSX.Element;
20
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime52.JSX.Element;
21
21
  declare function CardAction({
22
22
  className,
23
23
  ...props
24
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime36.JSX.Element;
24
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime52.JSX.Element;
25
25
  declare function CardContent({
26
26
  className,
27
27
  ...props
28
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime36.JSX.Element;
28
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime52.JSX.Element;
29
29
  declare function CardFooter({
30
30
  className,
31
31
  ...props
32
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime36.JSX.Element;
32
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime52.JSX.Element;
33
33
  //#endregion
34
34
  export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
35
35
  //# sourceMappingURL=card.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { Button } from "./button.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime43 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
4
4
  import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
5
5
 
6
6
  //#region ui/carousel.d.ts
@@ -22,27 +22,27 @@ declare function Carousel({
22
22
  className,
23
23
  children,
24
24
  ...props
25
- }: React$1.ComponentPropsWithoutRef<'div'> & CarouselProps): react_jsx_runtime43.JSX.Element;
25
+ }: React$1.ComponentPropsWithoutRef<'div'> & CarouselProps): react_jsx_runtime14.JSX.Element;
26
26
  declare function CarouselContent({
27
27
  className,
28
28
  ...props
29
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime43.JSX.Element;
29
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime14.JSX.Element;
30
30
  declare function CarouselItem({
31
31
  className,
32
32
  ...props
33
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime43.JSX.Element;
33
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime14.JSX.Element;
34
34
  declare function CarouselPrevious({
35
35
  className,
36
36
  variant,
37
37
  size,
38
38
  ...props
39
- }: React$1.ComponentProps<typeof Button>): react_jsx_runtime43.JSX.Element;
39
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime14.JSX.Element;
40
40
  declare function CarouselNext({
41
41
  className,
42
42
  variant,
43
43
  size,
44
44
  ...props
45
- }: React$1.ComponentProps<typeof Button>): react_jsx_runtime43.JSX.Element;
45
+ }: React$1.ComponentProps<typeof Button>): react_jsx_runtime14.JSX.Element;
46
46
  //#endregion
47
47
  export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
48
48
  //# sourceMappingURL=carousel.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime48 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
3
3
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
4
4
 
5
5
  //#region ui/checkbox.d.ts
6
6
  declare function Checkbox({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime48.JSX.Element;
9
+ }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime19.JSX.Element;
10
10
  //#endregion
11
11
  export { Checkbox };
12
12
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1,16 +1,16 @@
1
- import * as react_jsx_runtime49 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
2
2
  import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
3
3
 
4
4
  //#region ui/collapsible.d.ts
5
5
  declare function Collapsible({
6
6
  ...props
7
- }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime49.JSX.Element;
7
+ }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime23.JSX.Element;
8
8
  declare function CollapsibleTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime49.JSX.Element;
10
+ }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime23.JSX.Element;
11
11
  declare function CollapsibleContent({
12
12
  ...props
13
- }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime49.JSX.Element;
13
+ }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime23.JSX.Element;
14
14
  //#endregion
15
15
  export { Collapsible, CollapsibleContent, CollapsibleTrigger };
16
16
  //# sourceMappingURL=collapsible.d.ts.map
@@ -1,13 +1,13 @@
1
1
  import { Dialog } from "./dialog.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime52 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
4
4
  import { Command as Command$1 } from "cmdk";
5
5
 
6
6
  //#region ui/command.d.ts
7
7
  declare function Command({
8
8
  className,
9
9
  ...props
10
- }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime52.JSX.Element;
10
+ }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime26.JSX.Element;
11
11
  declare function CommandDialog({
12
12
  title,
13
13
  description,
@@ -20,34 +20,34 @@ declare function CommandDialog({
20
20
  description?: string;
21
21
  className?: string;
22
22
  showCloseButton?: boolean;
23
- }): react_jsx_runtime52.JSX.Element;
23
+ }): react_jsx_runtime26.JSX.Element;
24
24
  declare function CommandInput({
25
25
  className,
26
26
  ...props
27
- }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime52.JSX.Element;
27
+ }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime26.JSX.Element;
28
28
  declare function CommandList({
29
29
  className,
30
30
  ...props
31
- }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime52.JSX.Element;
31
+ }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime26.JSX.Element;
32
32
  declare function CommandEmpty({
33
33
  ...props
34
- }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime52.JSX.Element;
34
+ }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime26.JSX.Element;
35
35
  declare function CommandGroup({
36
36
  className,
37
37
  ...props
38
- }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime52.JSX.Element;
38
+ }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime26.JSX.Element;
39
39
  declare function CommandSeparator({
40
40
  className,
41
41
  ...props
42
- }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime52.JSX.Element;
42
+ }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime26.JSX.Element;
43
43
  declare function CommandItem({
44
44
  className,
45
45
  ...props
46
- }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime52.JSX.Element;
46
+ }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime26.JSX.Element;
47
47
  declare function CommandShortcut({
48
48
  className,
49
49
  ...props
50
- }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime52.JSX.Element;
50
+ }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime26.JSX.Element;
51
51
  //#endregion
52
52
  export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
53
53
  //# sourceMappingURL=command.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime61 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime38 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/confirm-dialog.d.ts
5
5
  interface ConfirmDialogProps {
@@ -25,7 +25,7 @@ declare function ConfirmDialog({
25
25
  isLoading,
26
26
  onConfirm,
27
27
  trigger
28
- }: ConfirmDialogProps): react_jsx_runtime61.JSX.Element;
28
+ }: ConfirmDialogProps): react_jsx_runtime38.JSX.Element;
29
29
  //#endregion
30
30
  export { ConfirmDialog, ConfirmDialogProps };
31
31
  //# sourceMappingURL=confirm-dialog.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime62 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime40 from "react/jsx-runtime";
3
3
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
4
4
 
5
5
  //#region ui/context-menu.d.ts
@@ -27,7 +27,7 @@ declare const ContextMenuShortcut: {
27
27
  ({
28
28
  className,
29
29
  ...props
30
- }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime62.JSX.Element;
30
+ }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime40.JSX.Element;
31
31
  displayName: string;
32
32
  };
33
33
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"cta.js","names":["React","handleClick: React.MouseEventHandler<\n HTMLButtonElement | HTMLAnchorElement\n >"],"sources":["../../ui/cta.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Button, type ButtonProps } from './button';\nimport { cn } from '@contractspec/lib.ui-kit-core/utils';\n\nexport type CtaProps = Omit<ButtonProps, 'onClick'> & {\n capture?: (cta: string) => void;\n ctaName?: string;\n as?: 'button' | 'a';\n href?: string;\n onClick?: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;\n children?: React.ReactNode;\n};\n\nexport const Cta = React.forwardRef<\n HTMLButtonElement | HTMLAnchorElement,\n CtaProps\n>(\n (\n {\n capture,\n ctaName,\n className,\n as = 'button',\n href,\n onClick,\n size = 'lg',\n children,\n ...props\n },\n ref\n ) => {\n const handleClick: React.MouseEventHandler<\n HTMLButtonElement | HTMLAnchorElement\n > = (e) => {\n if (ctaName && capture) {\n try {\n capture(ctaName);\n } catch {\n // ignore\n }\n }\n onClick?.(e);\n };\n\n if (as === 'a') {\n return (\n <Button\n asChild\n size={size}\n className={cn('min-h-[44px]', className)}\n {...props}\n >\n <a\n href={href}\n onClick={handleClick}\n ref={ref as React.ForwardedRef<HTMLAnchorElement>}\n >\n {children}\n </a>\n </Button>\n );\n }\n\n return (\n <Button\n size={size}\n className={cn('min-h-[44px]', className)}\n onClick={handleClick as React.MouseEventHandler<HTMLButtonElement>}\n ref={ref as React.ForwardedRef<HTMLButtonElement>}\n {...props}\n >\n {children}\n </Button>\n );\n }\n);\nCta.displayName = 'Cta';\n"],"mappings":";;;;;;AAaA,MAAa,MAAMA,QAAM,YAKrB,EACE,SACA,SACA,WACA,KAAK,UACL,MACA,SACA,OAAO,MACP,UACA,GAAG,SAEL,QACG;CACH,MAAMC,eAED,MAAM;AACT,MAAI,WAAW,QACb,KAAI;AACF,WAAQ,QAAQ;UACV;AAIV,YAAU,EAAE;;AAGd,KAAI,OAAO,IACT,QACE,oBAAC;EACC;EACM;EACN,WAAW,GAAG,gBAAgB,UAAU;EACxC,GAAI;YAEJ,oBAAC;GACO;GACN,SAAS;GACJ;GAEJ;IACC;GACG;AAIb,QACE,oBAAC;EACO;EACN,WAAW,GAAG,gBAAgB,UAAU;EACxC,SAAS;EACJ;EACL,GAAI;EAEH;GACM;EAGd;AACD,IAAI,cAAc"}
1
+ {"version":3,"file":"cta.js","names":["React"],"sources":["../../ui/cta.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Button, type ButtonProps } from './button';\nimport { cn } from '@contractspec/lib.ui-kit-core/utils';\n\nexport type CtaProps = Omit<ButtonProps, 'onClick'> & {\n capture?: (cta: string) => void;\n ctaName?: string;\n as?: 'button' | 'a';\n href?: string;\n onClick?: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;\n children?: React.ReactNode;\n};\n\nexport const Cta = React.forwardRef<\n HTMLButtonElement | HTMLAnchorElement,\n CtaProps\n>(\n (\n {\n capture,\n ctaName,\n className,\n as = 'button',\n href,\n onClick,\n size = 'lg',\n children,\n ...props\n },\n ref\n ) => {\n const handleClick: React.MouseEventHandler<\n HTMLButtonElement | HTMLAnchorElement\n > = (e) => {\n if (ctaName && capture) {\n try {\n capture(ctaName);\n } catch {\n // ignore\n }\n }\n onClick?.(e);\n };\n\n if (as === 'a') {\n return (\n <Button\n asChild\n size={size}\n className={cn('min-h-[44px]', className)}\n {...props}\n >\n <a\n href={href}\n onClick={handleClick}\n ref={ref as React.ForwardedRef<HTMLAnchorElement>}\n >\n {children}\n </a>\n </Button>\n );\n }\n\n return (\n <Button\n size={size}\n className={cn('min-h-[44px]', className)}\n onClick={handleClick as React.MouseEventHandler<HTMLButtonElement>}\n ref={ref as React.ForwardedRef<HTMLButtonElement>}\n {...props}\n >\n {children}\n </Button>\n );\n }\n);\nCta.displayName = 'Cta';\n"],"mappings":";;;;;;AAaA,MAAa,MAAMA,QAAM,YAKrB,EACE,SACA,SACA,WACA,KAAK,UACL,MACA,SACA,OAAO,MACP,UACA,GAAG,SAEL,QACG;CACH,MAAM,eAED,MAAM;AACT,MAAI,WAAW,QACb,KAAI;AACF,WAAQ,QAAQ;UACV;AAIV,YAAU,EAAE;;AAGd,KAAI,OAAO,IACT,QACE,oBAAC;EACC;EACM;EACN,WAAW,GAAG,gBAAgB,UAAU;EACxC,GAAI;YAEJ,oBAAC;GACO;GACN,SAAS;GACJ;GAEJ;IACC;GACG;AAIb,QACE,oBAAC;EACO;EACN,WAAW,GAAG,gBAAgB,UAAU;EACxC,SAAS;EACJ;EACL,GAAI;EAEH;GACM;EAGd;AACD,IAAI,cAAc"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime64 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime48 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/date-picker.d.ts
4
4
  interface DatePickerProps {
@@ -20,7 +20,7 @@ declare function DatePicker({
20
20
  placeholder,
21
21
  className,
22
22
  language
23
- }: DatePickerProps): react_jsx_runtime64.JSX.Element;
23
+ }: DatePickerProps): react_jsx_runtime48.JSX.Element;
24
24
  //#endregion
25
25
  export { DatePicker, DatePickerProps };
26
26
  //# sourceMappingURL=date-picker.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime65 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime51 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/date-range-picker.d.ts
4
4
  interface DateRange {
@@ -20,7 +20,7 @@ declare function DateRangePicker({
20
20
  minDate,
21
21
  maxDate,
22
22
  className
23
- }: DateRangePickerProps): react_jsx_runtime65.JSX.Element;
23
+ }: DateRangePickerProps): react_jsx_runtime51.JSX.Element;
24
24
  //#endregion
25
25
  export { DateRange, DateRangePicker, DateRangePickerProps };
26
26
  //# sourceMappingURL=date-range-picker.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime66 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime59 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/datetime-picker.d.ts
4
4
  interface DateTimePickerProps {
@@ -22,7 +22,7 @@ declare function DateTimePicker({
22
22
  timePlaceholder,
23
23
  is24Hour,
24
24
  className
25
- }: DateTimePickerProps): react_jsx_runtime66.JSX.Element;
25
+ }: DateTimePickerProps): react_jsx_runtime59.JSX.Element;
26
26
  //#endregion
27
27
  export { DateTimePicker, DateTimePickerProps };
28
28
  //# sourceMappingURL=datetime-picker.d.ts.map
@@ -1,24 +1,24 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime67 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime60 from "react/jsx-runtime";
3
3
  import * as DialogPrimitive from "@radix-ui/react-dialog";
4
4
 
5
5
  //#region ui/dialog.d.ts
6
6
  declare function Dialog({
7
7
  ...props
8
- }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime67.JSX.Element;
8
+ }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime60.JSX.Element;
9
9
  declare function DialogTrigger({
10
10
  ...props
11
- }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime67.JSX.Element;
11
+ }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime60.JSX.Element;
12
12
  declare function DialogPortal({
13
13
  ...props
14
- }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime67.JSX.Element;
14
+ }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime60.JSX.Element;
15
15
  declare function DialogClose({
16
16
  ...props
17
- }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime67.JSX.Element;
17
+ }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime60.JSX.Element;
18
18
  declare function DialogOverlay({
19
19
  className,
20
20
  ...props
21
- }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime67.JSX.Element;
21
+ }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime60.JSX.Element;
22
22
  declare function DialogContent({
23
23
  className,
24
24
  children,
@@ -26,23 +26,23 @@ declare function DialogContent({
26
26
  ...props
27
27
  }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
28
28
  showCloseButton?: boolean;
29
- }): react_jsx_runtime67.JSX.Element;
29
+ }): react_jsx_runtime60.JSX.Element;
30
30
  declare function DialogHeader({
31
31
  className,
32
32
  ...props
33
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime67.JSX.Element;
33
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime60.JSX.Element;
34
34
  declare function DialogFooter({
35
35
  className,
36
36
  ...props
37
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime67.JSX.Element;
37
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime60.JSX.Element;
38
38
  declare function DialogTitle({
39
39
  className,
40
40
  ...props
41
- }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime67.JSX.Element;
41
+ }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime60.JSX.Element;
42
42
  declare function DialogDescription({
43
43
  className,
44
44
  ...props
45
- }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime67.JSX.Element;
45
+ }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime60.JSX.Element;
46
46
  //#endregion
47
47
  export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
48
48
  //# sourceMappingURL=dialog.d.ts.map