@mlw-packages/react-components 1.7.9 → 1.7.10

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/dist/index.css CHANGED
@@ -2103,6 +2103,10 @@ body {
2103
2103
  .bg-black\/80 {
2104
2104
  background-color: rgb(0 0 0 / 0.8);
2105
2105
  }
2106
+ .bg-blue-100 {
2107
+ --tw-bg-opacity: 1;
2108
+ background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
2109
+ }
2106
2110
  .bg-blue-400\/20 {
2107
2111
  background-color: rgb(96 165 250 / 0.2);
2108
2112
  }
@@ -2191,9 +2195,6 @@ body {
2191
2195
  --tw-bg-opacity: 1;
2192
2196
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
2193
2197
  }
2194
- .bg-green-400\/20 {
2195
- background-color: rgb(74 222 128 / 0.2);
2196
- }
2197
2198
  .bg-green-50 {
2198
2199
  --tw-bg-opacity: 1;
2199
2200
  background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
@@ -2249,6 +2250,10 @@ body {
2249
2250
  --tw-bg-opacity: 1;
2250
2251
  background-color: rgb(38 38 38 / var(--tw-bg-opacity, 1));
2251
2252
  }
2253
+ .bg-orange-100 {
2254
+ --tw-bg-opacity: 1;
2255
+ background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
2256
+ }
2252
2257
  .bg-orange-200\/50 {
2253
2258
  background-color: rgb(254 215 170 / 0.5);
2254
2259
  }
@@ -2256,9 +2261,6 @@ body {
2256
2261
  --tw-bg-opacity: 1;
2257
2262
  background-color: rgb(251 146 60 / var(--tw-bg-opacity, 1));
2258
2263
  }
2259
- .bg-orange-400\/20 {
2260
- background-color: rgb(251 146 60 / 0.2);
2261
- }
2262
2264
  .bg-orange-500 {
2263
2265
  --tw-bg-opacity: 1;
2264
2266
  background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
@@ -2279,6 +2281,10 @@ body {
2279
2281
  .bg-primary\/20 {
2280
2282
  background-color: hsl(var(--primary) / 0.2);
2281
2283
  }
2284
+ .bg-purple-100 {
2285
+ --tw-bg-opacity: 1;
2286
+ background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
2287
+ }
2282
2288
  .bg-purple-400\/20 {
2283
2289
  background-color: rgb(192 132 252 / 0.2);
2284
2290
  }
@@ -2290,6 +2296,10 @@ body {
2290
2296
  --tw-bg-opacity: 1;
2291
2297
  background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
2292
2298
  }
2299
+ .bg-red-100 {
2300
+ --tw-bg-opacity: 1;
2301
+ background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
2302
+ }
2293
2303
  .bg-red-50 {
2294
2304
  --tw-bg-opacity: 1;
2295
2305
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
@@ -2345,9 +2355,6 @@ body {
2345
2355
  --tw-bg-opacity: 1;
2346
2356
  background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1));
2347
2357
  }
2348
- .bg-teal-400\/20 {
2349
- background-color: rgb(45 212 191 / 0.2);
2350
- }
2351
2358
  .bg-transparent {
2352
2359
  background-color: transparent;
2353
2360
  }
@@ -2374,6 +2381,10 @@ body {
2374
2381
  .bg-white\/70 {
2375
2382
  background-color: rgb(255 255 255 / 0.7);
2376
2383
  }
2384
+ .bg-yellow-100 {
2385
+ --tw-bg-opacity: 1;
2386
+ background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
2387
+ }
2377
2388
  .bg-yellow-400 {
2378
2389
  --tw-bg-opacity: 1;
2379
2390
  background-color: rgb(250 204 21 / var(--tw-bg-opacity, 1));
@@ -2650,9 +2661,6 @@ body {
2650
2661
  .pr-8 {
2651
2662
  padding-right: 2rem;
2652
2663
  }
2653
- .ps-2 {
2654
- padding-inline-start: 0.5rem;
2655
- }
2656
2664
  .pt-0 {
2657
2665
  padding-top: 0px;
2658
2666
  }
@@ -2853,6 +2861,10 @@ body {
2853
2861
  --tw-text-opacity: 1;
2854
2862
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
2855
2863
  }
2864
+ .text-blue-700 {
2865
+ --tw-text-opacity: 1;
2866
+ color: rgb(29 78 216 / var(--tw-text-opacity, 1));
2867
+ }
2856
2868
  .text-card-foreground {
2857
2869
  color: hsl(var(--card-foreground));
2858
2870
  }
@@ -2953,6 +2965,10 @@ body {
2953
2965
  --tw-text-opacity: 1;
2954
2966
  color: rgb(249 115 22 / var(--tw-text-opacity, 1));
2955
2967
  }
2968
+ .text-orange-700 {
2969
+ --tw-text-opacity: 1;
2970
+ color: rgb(194 65 12 / var(--tw-text-opacity, 1));
2971
+ }
2956
2972
  .text-orange-950\/80 {
2957
2973
  color: rgb(67 20 7 / 0.8);
2958
2974
  }
@@ -2977,6 +2993,10 @@ body {
2977
2993
  --tw-text-opacity: 1;
2978
2994
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
2979
2995
  }
2996
+ .text-purple-700 {
2997
+ --tw-text-opacity: 1;
2998
+ color: rgb(126 34 206 / var(--tw-text-opacity, 1));
2999
+ }
2980
3000
  .text-red-500 {
2981
3001
  --tw-text-opacity: 1;
2982
3002
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
@@ -2985,6 +3005,10 @@ body {
2985
3005
  --tw-text-opacity: 1;
2986
3006
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
2987
3007
  }
3008
+ .text-red-700 {
3009
+ --tw-text-opacity: 1;
3010
+ color: rgb(185 28 28 / var(--tw-text-opacity, 1));
3011
+ }
2988
3012
  .text-rose-500 {
2989
3013
  --tw-text-opacity: 1;
2990
3014
  color: rgb(244 63 94 / var(--tw-text-opacity, 1));
@@ -3029,10 +3053,6 @@ body {
3029
3053
  --tw-text-opacity: 1;
3030
3054
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
3031
3055
  }
3032
- .text-teal-500 {
3033
- --tw-text-opacity: 1;
3034
- color: rgb(20 184 166 / var(--tw-text-opacity, 1));
3035
- }
3036
3056
  .text-violet-950\/80 {
3037
3057
  color: rgb(46 16 101 / 0.8);
3038
3058
  }
@@ -3052,6 +3072,10 @@ body {
3052
3072
  --tw-text-opacity: 1;
3053
3073
  color: rgb(202 138 4 / var(--tw-text-opacity, 1));
3054
3074
  }
3075
+ .text-yellow-700 {
3076
+ --tw-text-opacity: 1;
3077
+ color: rgb(161 98 7 / var(--tw-text-opacity, 1));
3078
+ }
3055
3079
  .text-zinc-100 {
3056
3080
  --tw-text-opacity: 1;
3057
3081
  color: rgb(244 244 245 / var(--tw-text-opacity, 1));
@@ -4653,6 +4677,9 @@ body {
4653
4677
  --tw-bg-opacity: 1;
4654
4678
  background-color: rgb(167 139 250 / var(--tw-bg-opacity, 1));
4655
4679
  }
4680
+ .data-\[state\=indeterminate\]\:bg-primary[data-state=indeterminate] {
4681
+ background-color: hsl(var(--primary));
4682
+ }
4656
4683
  .data-\[state\=open\]\:bg-accent[data-state=open] {
4657
4684
  background-color: hsl(var(--accent));
4658
4685
  }
@@ -4702,6 +4729,9 @@ body {
4702
4729
  .data-\[state\=checked\]\:text-primary-foreground[data-state=checked] {
4703
4730
  color: hsl(var(--primary-foreground));
4704
4731
  }
4732
+ .data-\[state\=indeterminate\]\:text-primary-foreground[data-state=indeterminate] {
4733
+ color: hsl(var(--primary-foreground));
4734
+ }
4705
4735
  .data-\[state\=open\]\:text-accent-foreground[data-state=open] {
4706
4736
  color: hsl(var(--accent-foreground));
4707
4737
  }
@@ -4972,6 +5002,12 @@ body {
4972
5002
  .group\/navigation-menu[data-viewport=false] .group-data-\[viewport\=false\]\/navigation-menu\:mt-1\.5 {
4973
5003
  margin-top: 0.375rem;
4974
5004
  }
5005
+ .group[data-state=checked] .group-data-\[state\=checked\]\:block {
5006
+ display: block;
5007
+ }
5008
+ .group[data-state=indeterminate] .group-data-\[state\=indeterminate\]\:block {
5009
+ display: block;
5010
+ }
4975
5011
  .group\/drawer-content[data-vaul-drawer-direction=bottom] .group-data-\[vaul-drawer-direction\=bottom\]\/drawer-content\:block {
4976
5012
  display: block;
4977
5013
  }
@@ -5917,18 +5953,6 @@ body {
5917
5953
  -webkit-box-orient: vertical;
5918
5954
  -webkit-line-clamp: 1;
5919
5955
  }
5920
- .\[\&\>span\]\:flex > span {
5921
- display: flex;
5922
- }
5923
- .\[\&\>span\]\:items-center > span {
5924
- align-items: center;
5925
- }
5926
- .\[\&\>span\]\:gap-2 > span {
5927
- gap: 0.5rem;
5928
- }
5929
- .\[\&\>span_\[data-square\]\]\:shrink-0 > span [data-square] {
5930
- flex-shrink: 0;
5931
- }
5932
5956
  .\[\&\>svg\]\:pointer-events-none > svg {
5933
5957
  pointer-events: none;
5934
5958
  }
@@ -5954,27 +5978,6 @@ body {
5954
5978
  --tw-rotate: 180deg;
5955
5979
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
5956
5980
  }
5957
- .\[\&_\*\[role\=option\]\>span\]\:end-2 *[role=option] > span {
5958
- inset-inline-end: 0.5rem;
5959
- }
5960
- .\[\&_\*\[role\=option\]\>span\]\:start-auto *[role=option] > span {
5961
- inset-inline-start: auto;
5962
- }
5963
- .\[\&_\*\[role\=option\]\>span\]\:flex *[role=option] > span {
5964
- display: flex;
5965
- }
5966
- .\[\&_\*\[role\=option\]\>span\]\:items-center *[role=option] > span {
5967
- align-items: center;
5968
- }
5969
- .\[\&_\*\[role\=option\]\>span\]\:gap-2 *[role=option] > span {
5970
- gap: 0.5rem;
5971
- }
5972
- .\[\&_\*\[role\=option\]\]\:pe-8 *[role=option] {
5973
- padding-inline-end: 2rem;
5974
- }
5975
- .\[\&_\*\[role\=option\]\]\:ps-2 *[role=option] {
5976
- padding-inline-start: 0.5rem;
5977
- }
5978
5981
  .\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading] {
5979
5982
  padding-left: 0.5rem;
5980
5983
  padding-right: 0.5rem;
package/dist/index.d.mts CHANGED
@@ -180,6 +180,7 @@ interface DefaultSelectProps extends ErrorMessageProps {
180
180
  onChange: (value: string) => void;
181
181
  disabled?: boolean;
182
182
  className?: string;
183
+ colors?: string[];
183
184
  }
184
185
  interface SelectPropsWithItems<T extends string> extends DefaultSelectProps {
185
186
  items: AvatarSelectItem<T>[];
@@ -194,7 +195,7 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
194
195
  testIds?: SelectTestIds;
195
196
  }
196
197
  type AvatarSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
197
- declare function AvatarSelect<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, }: AvatarSelectProps<T> & {
198
+ declare function AvatarSelect<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, colors, }: AvatarSelectProps<T> & {
198
199
  selected?: T | null;
199
200
  label?: string;
200
201
  labelClassname?: string;
@@ -1321,6 +1322,7 @@ interface DebouncedInputProps extends Omit<React.InputHTMLAttributes<HTMLInputEl
1321
1322
  showLoadingIndicator?: boolean;
1322
1323
  error?: string | undefined;
1323
1324
  }
1325
+ declare function DebouncedInput({ value: initialValue, onChange, debounce, label, labelClassname, leftIcon, rightIcon, showLoadingIndicator, className, error, ...props }: DebouncedInputProps): react_jsx_runtime.JSX.Element;
1324
1326
 
1325
1327
  interface AgendaViewProps {
1326
1328
  currentDate: Date;
@@ -1549,4 +1551,4 @@ declare const useDrag: (options?: UseDragOptions) => {
1549
1551
  isDragging: boolean;
1550
1552
  };
1551
1553
 
1552
- export { AddButton, AgendaDaysToShow, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, AvatarSelect, type AvatarSelectItem, BackButton, Badge, type BadgeColorType, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, type CalendarEvent, type CalendarProps, type CalendarView, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, type DebouncedInputProps, DefaultEndHour, DefaultStartHour, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, EditButton, EndHour, ErrorMessage, EventCalendar, type EventColor, EventDialog, EventGap, EventHeight, EventItem, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, WeekCellsHeight, WeekView, addHoursToDate, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAllEventsForDay, getArrowByType, getBorderRadiusClasses, getDateByType, getEventColorClasses, getEventsForDay, getSpanningEventsForDay, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, toast, useCalendarDnd, useChartHighlights, useCurrentTimeIndicator, useDrag, useEventVisibility, useIsMobile, useTheme, type valueFormatter };
1554
+ export { AddButton, AgendaDaysToShow, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, AvatarSelect, type AvatarSelectItem, BackButton, Badge, type BadgeColorType, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, type CalendarEvent, type CalendarProps, type CalendarView, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DebouncedInput, type DebouncedInputProps, DefaultEndHour, DefaultStartHour, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, EditButton, EndHour, ErrorMessage, EventCalendar, type EventColor, EventDialog, EventGap, EventHeight, EventItem, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, WeekCellsHeight, WeekView, addHoursToDate, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAllEventsForDay, getArrowByType, getBorderRadiusClasses, getDateByType, getEventColorClasses, getEventsForDay, getSpanningEventsForDay, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, toast, useCalendarDnd, useChartHighlights, useCurrentTimeIndicator, useDrag, useEventVisibility, useIsMobile, useTheme, type valueFormatter };
package/dist/index.d.ts CHANGED
@@ -180,6 +180,7 @@ interface DefaultSelectProps extends ErrorMessageProps {
180
180
  onChange: (value: string) => void;
181
181
  disabled?: boolean;
182
182
  className?: string;
183
+ colors?: string[];
183
184
  }
184
185
  interface SelectPropsWithItems<T extends string> extends DefaultSelectProps {
185
186
  items: AvatarSelectItem<T>[];
@@ -194,7 +195,7 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
194
195
  testIds?: SelectTestIds;
195
196
  }
196
197
  type AvatarSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
197
- declare function AvatarSelect<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, }: AvatarSelectProps<T> & {
198
+ declare function AvatarSelect<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, colors, }: AvatarSelectProps<T> & {
198
199
  selected?: T | null;
199
200
  label?: string;
200
201
  labelClassname?: string;
@@ -1321,6 +1322,7 @@ interface DebouncedInputProps extends Omit<React.InputHTMLAttributes<HTMLInputEl
1321
1322
  showLoadingIndicator?: boolean;
1322
1323
  error?: string | undefined;
1323
1324
  }
1325
+ declare function DebouncedInput({ value: initialValue, onChange, debounce, label, labelClassname, leftIcon, rightIcon, showLoadingIndicator, className, error, ...props }: DebouncedInputProps): react_jsx_runtime.JSX.Element;
1324
1326
 
1325
1327
  interface AgendaViewProps {
1326
1328
  currentDate: Date;
@@ -1549,4 +1551,4 @@ declare const useDrag: (options?: UseDragOptions) => {
1549
1551
  isDragging: boolean;
1550
1552
  };
1551
1553
 
1552
- export { AddButton, AgendaDaysToShow, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, AvatarSelect, type AvatarSelectItem, BackButton, Badge, type BadgeColorType, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, type CalendarEvent, type CalendarProps, type CalendarView, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, type DebouncedInputProps, DefaultEndHour, DefaultStartHour, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, EditButton, EndHour, ErrorMessage, EventCalendar, type EventColor, EventDialog, EventGap, EventHeight, EventItem, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, WeekCellsHeight, WeekView, addHoursToDate, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAllEventsForDay, getArrowByType, getBorderRadiusClasses, getDateByType, getEventColorClasses, getEventsForDay, getSpanningEventsForDay, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, toast, useCalendarDnd, useChartHighlights, useCurrentTimeIndicator, useDrag, useEventVisibility, useIsMobile, useTheme, type valueFormatter };
1554
+ export { AddButton, AgendaDaysToShow, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, AvatarSelect, type AvatarSelectItem, BackButton, Badge, type BadgeColorType, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, type CalendarEvent, type CalendarProps, type CalendarView, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DebouncedInput, type DebouncedInputProps, DefaultEndHour, DefaultStartHour, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, EditButton, EndHour, ErrorMessage, EventCalendar, type EventColor, EventDialog, EventGap, EventHeight, EventItem, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, WeekCellsHeight, WeekView, addHoursToDate, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getAgendaEventsForDay, getAllEventsForDay, getArrowByType, getBorderRadiusClasses, getDateByType, getEventColorClasses, getEventsForDay, getSpanningEventsForDay, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, toast, useCalendarDnd, useChartHighlights, useCurrentTimeIndicator, useDrag, useEventVisibility, useIsMobile, useTheme, type valueFormatter };