@dub/ui 0.2.64 → 0.2.66

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 (56) hide show
  1. package/dist/charts/index.mjs +1 -1
  2. package/dist/chunk-2CCKZ24N.mjs +6 -0
  3. package/dist/chunk-2CLCZIOC.mjs +2 -0
  4. package/dist/chunk-3H56KQ7K.mjs +2 -0
  5. package/dist/chunk-3HFGCYM4.mjs +2 -0
  6. package/dist/chunk-3Y4JUHNV.mjs +2 -0
  7. package/dist/chunk-4QF5XCKN.mjs +6 -0
  8. package/dist/chunk-55KLTZBT.mjs +2 -0
  9. package/dist/chunk-5VD22FSN.mjs +2 -0
  10. package/dist/chunk-6ZQYDUOY.mjs +2 -0
  11. package/dist/chunk-7JLOPNGX.mjs +6 -0
  12. package/dist/chunk-7YVQX5PL.mjs +2 -0
  13. package/dist/chunk-AE3DJEBA.mjs +2 -0
  14. package/dist/chunk-CE6OWT62.mjs +2 -0
  15. package/dist/chunk-DQKUIAMA.mjs +2 -0
  16. package/dist/chunk-EKG2QVIJ.mjs +2 -0
  17. package/dist/chunk-G45HCQMU.mjs +2 -0
  18. package/dist/chunk-GEMKGHAC.mjs +6 -0
  19. package/dist/chunk-GGJLH7LK.mjs +2 -0
  20. package/dist/chunk-GTMDDZTR.mjs +2 -0
  21. package/dist/chunk-HF6RKCX5.mjs +2 -0
  22. package/dist/chunk-HOZV5DRB.mjs +2 -0
  23. package/dist/chunk-JZZIUSQO.mjs +2 -0
  24. package/dist/chunk-K5QMXLDF.mjs +2 -0
  25. package/dist/chunk-L7UXPHJZ.mjs +2 -0
  26. package/dist/chunk-LYCKNWNB.mjs +2 -0
  27. package/dist/chunk-NBF3EIVB.mjs +2 -0
  28. package/dist/chunk-OTN5E4YR.mjs +2 -0
  29. package/dist/chunk-QWUDYNVO.mjs +2 -0
  30. package/dist/chunk-REVBY3BL.mjs +2 -0
  31. package/dist/chunk-S256NF2J.mjs +2 -0
  32. package/dist/chunk-S3XL7WMZ.mjs +2 -0
  33. package/dist/chunk-S7MM4M4G.mjs +2 -0
  34. package/dist/chunk-SFHV6OBR.mjs +2 -0
  35. package/dist/chunk-STQI3I6T.mjs +2 -0
  36. package/dist/chunk-TDM6TXBA.mjs +6 -0
  37. package/dist/chunk-TGYFM4WG.mjs +6 -0
  38. package/dist/chunk-UCOTBZWE.mjs +6 -0
  39. package/dist/chunk-UNJ5FMFD.mjs +6 -0
  40. package/dist/chunk-V3BM4YH6.mjs +2 -0
  41. package/dist/chunk-VFYP3H5O.mjs +2 -0
  42. package/dist/chunk-VMXEQZ7H.mjs +2 -0
  43. package/dist/chunk-WC7YJKOQ.mjs +2 -0
  44. package/dist/chunk-WOETGI7J.mjs +2 -0
  45. package/dist/chunk-XCKGGFFC.mjs +6 -0
  46. package/dist/chunk-XZKP2JGP.mjs +2 -0
  47. package/dist/chunk-Y5FWVZ4J.mjs +2 -0
  48. package/dist/chunk-YVLGZWIK.mjs +2 -0
  49. package/dist/chunk-YZWCRUYJ.mjs +2 -0
  50. package/dist/chunk-ZCM7XRIA.mjs +2 -0
  51. package/dist/icons/index.d.ts +16 -3
  52. package/dist/icons/index.mjs +1 -1
  53. package/dist/index.css +1 -1
  54. package/dist/index.d.ts +11 -7
  55. package/dist/index.mjs +6 -6
  56. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -7,8 +7,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import Autoplay from 'embla-carousel-autoplay';
8
8
  import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
9
9
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
10
- import { Icon, GlobePointer, SatelliteDish, Flag6, InputSearch, Page2, Gift, DubLinksIcon, Toggle2Fill, Typescript, LifeRing, Twitter } from './icons/index.js';
11
- export { Africa, Airtm, Amazon, AndroidLogo, Anthropic, AppleLogo, ArrowBoldUp, ArrowRight, ArrowTrendUp, ArrowTurnLeft, ArrowTurnRight2, ArrowUpRight, ArrowUpRight2, ArrowsOppositeDirectionX, ArrowsOppositeDirectionY, Asia, BadgeCheck, BadgeCheck2Fill, Bell, Blog, Bolt, BoltFill, Book2, Book2Fill, Book2Small, BookOpen, Books2, BoxArchive, BracketsCurly, BriefcaseFill, Brush, BulletList, BulletListFill, Calculator, Calendar6, CalendarDays, CalendarIcon, CalendarRefresh, CardAmex, CardDiscover, CardMastercard, CardVisa, Cards, CaretUpFill, CashApp, ChartActivity2, ChartArea2, ChartLine, ChatGPT, Check, Check2, CheckboxCheckedFill, CheckboxUnchecked, ChevronLeft, ChevronRight, CircleCheck, CircleCheckFill, CircleDollar, CircleDotted, CircleHalfDottedCheck, CircleHalfDottedClock, CircleInfo, CirclePercentage, CirclePlay, CirclePlayFill, CircleQuestion, CircleUser, CircleWarning, CircleXmark, Circles, Circles3, CloudUpload, Code, ColorPalette2, ConnectedDots, ConnectedDots4, ConnectedDotsFill, Connections3, Copy, CreditCard, Crosshairs3, Crown, CrownSmall, Cube, CubeSettings, CubeSettingsFill, CurrencyDollar, CursorRays, DatabaseKey, Desktop, DiamondTurnRight, DiamondTurnRightFill, Directions, Discount, Dots, Download, DubAnalyticsIcon, DubApiIcon, DubCraftedShield, DubLinksIcon, DubPartnersIcon, DubProduct, DubProductIcon, Duplicate, Earth, EarthPosition, Envelope, EnvelopeAlert, EnvelopeArrowRight, EnvelopeFill, Europe, ExpandingArrow, Eye, EyeSlash, Facebook, FeatherFill, Figma, FileContent, FileZip2, Filter2, FilterBars, Flag2, Flag6, FlagWavy, Flask, FlaskSmall, Folder, Folder5, FolderBookmark, FolderLock, FolderPlus, FolderShield, GamingConsole, Gauge6, Gear, Gear2, Gear3, Gem, Gift, GiftFill, GitHubEnhanced, Github, Globe, Globe2, GlobePointer, GlobeSearch, Go, Google, GoogleEnhanced, GreekTemple, GridIcon, GridLayoutRows, GridPlus, GripDotsVertical, Headset, Heart, HeartFill, HexadecagonStar, History, Hyperlink, IOSAppStore, Icon, Icosahedron, Incognito, InfinityIcon, InputField, InputPassword, InputPasswordPointer, InputSearch, Instagram, InvoiceDollar, Key, LayoutSidebar, License, LifeRing, LinesY, Link4, LinkBroken, LinkedIn, LoadingCircle, LoadingDots, LoadingSpinner, LocationPin, Lock, LockFill, Magic, Magnifier, MapPosition, MarkdownIcon, MarketingTarget, MatrixLines, Menu3, MessageSmile, MicrophoneFill, Minus, MobilePhone, MoneyBill, MoneyBill2, MoneyBills2, Msgs, NorthAmerica, Note, NucleoPhoto, Oceania, OfficeBuilding, OpenAI, PLAN_FEATURE_ICONS, Page2, Paintbrush, Palette2, PaperPlane, Payoneer, Paypal, Pen2, PenWriting, PercentageArrowDown, Photo, Php, Plug2, Plus, Plus2, Post, ProductHunt, Pyramid, Python, QRCode, Receipt2, ReferredVia, Refresh2, Robot, Ruby, SatelliteDish, ScanText, Scribble, ShieldAlert, ShieldCheck, ShieldKeyhole, ShieldSlash, ShieldUser, Shuffle, Slack, Sliders, SortOrder, SouthAmerica, Sparkle3, Spotify, SquareChart, SquareLayoutGrid5, SquareLayoutGrid6, SquareUserSparkle2, SquareXmark, Stars2, Stripe, StripeLink, Success, TV, TableIcon, TableRows2, Tablet, Tag, Tags, Tick, TikTok, Timer2, Toggle2Fill, Toggles, Trash, TriangleWarning, Trophy, Twitter, Typescript, UiCard, Unsplash, User, UserCheck, UserCrown, UserDelete, UserFocus, UserMinus, UserPlus, UserXmark, Users, Users2, Users6, UsersFill, UsersSettings, Venmo, Versions2, Views, Watch, Webhook, Window, WindowSearch, WindowSettings, Xmark, YouTube } from './icons/index.js';
10
+ import { Icon, GlobePointer, SatelliteDish, Flag6, InputSearch, Page2, Gift, DubLinksIcon, Toggle2Fill, Typescript, LifeRingFill, Twitter } from './icons/index.js';
11
+ export { Africa, Airtm, Amazon, AndroidLogo, Anthropic, Apple, AppleLogo, ArrowBoldUp, ArrowRight, ArrowTrendUp, ArrowTurnLeft, ArrowTurnRight2, ArrowUpRight, ArrowUpRight2, ArrowsOppositeDirectionX, ArrowsOppositeDirectionY, Asia, BadgeCheck, BadgeCheck2Fill, Bell, Blog, Bolt, BoltFill, Book2, Book2Fill, Book2Small, BookOpen, Books2, BoxArchive, BracketsCurly, BriefcaseFill, Brush, BulletList, BulletListFill, Calculator, Calendar6, CalendarDays, CalendarIcon, CalendarRefresh, CardAmex, CardDiscover, CardMastercard, CardVisa, Cards, CaretUpFill, CashApp, ChartActivity2, ChartArea2, ChartLine, ChatGPT, Check, Check2, CheckboxCheckedFill, CheckboxUnchecked, ChevronLeft, ChevronRight, CircleCheck, CircleCheckFill, CircleDollar, CircleDotted, CircleHalfDottedCheck, CircleHalfDottedClock, CircleInfo, CirclePercentage, CirclePlay, CirclePlayFill, CircleQuestion, CircleUser, CircleWarning, CircleXmark, Circles, Circles3, Cloud, CloudUpload, Code, ColorPalette2, ConnectedDots, ConnectedDots4, ConnectedDotsFill, Connections3, Copy, CreditCard, Crosshairs3, Crown, CrownSmall, Cube, CubeSettings, CubeSettingsFill, CurrencyDollar, CursorRays, DatabaseKey, Desktop, DiamondTurnRight, DiamondTurnRightFill, Directions, Discount, Dots, Download, DubAnalyticsIcon, DubApiIcon, DubCraftedShield, DubLinksIcon, DubPartnersIcon, DubProduct, DubProductIcon, Duplicate, Earth, EarthPosition, Envelope, EnvelopeAlert, EnvelopeArrowRight, EnvelopeFill, Europe, ExpandingArrow, Eye, EyeSlash, FaceSmile, Facebook, FeatherFill, Figma, FileContent, FileZip2, Filter2, FilterBars, Flag2, Flag6, FlagWavy, Flask, FlaskSmall, Folder, Folder5, FolderBookmark, FolderLock, FolderPlus, FolderShield, GamingConsole, Gauge6, Gear, Gear2, Gear3, Gem, Gift, GiftFill, GitHubEnhanced, Github, Globe, Globe2, GlobePointer, GlobeSearch, Go, Google, GoogleEnhanced, GreekTemple, GridIcon, GridLayoutRows, GridPlus, GripDotsVertical, Headset, Heart, HeartFill, HexadecagonStar, History, Hyperlink, IOSAppStore, Icon, Icosahedron, Incognito, InfinityIcon, InputField, InputPassword, InputPasswordPointer, InputSearch, Instagram, InvoiceDollar, Key, LayoutSidebar, License, LifeRing, LifeRingFill, LinesY, Link4, LinkBroken, LinkedIn, LoadingCircle, LoadingDots, LoadingSpinner, LocationPin, Lock, LockFill, Magic, Magnifier, MapPosition, MarkdownIcon, MarketingTarget, MatrixLines, Menu3, MessageSmile, MicrophoneFill, Minus, MobilePhone, MoneyBill, MoneyBill2, MoneyBills2, Msg, Msgs, MsgsDotted, NorthAmerica, Note, NucleoPhoto, Oceania, OfficeBuilding, OpenAI, PLAN_FEATURE_ICONS, Page2, Paintbrush, Palette2, PaperPlane, Payoneer, Paypal, Pen2, PenWriting, PercentageArrowDown, Photo, Php, Plug2, Plus, Plus2, Post, ProductHunt, Pyramid, Python, QRCode, Receipt2, ReferredVia, Refresh2, Robot, Ruby, SatelliteDish, ScanText, Scribble, ShieldAlert, ShieldCheck, ShieldKeyhole, ShieldSlash, ShieldUser, Shuffle, Slack, Sliders, SortOrder, SouthAmerica, Sparkle3, Spotify, SquareChart, SquareLayoutGrid5, SquareLayoutGrid6, SquareUserSparkle2, SquareXmark, Stars2, Stripe, StripeLink, Success, TV, TableIcon, TableRows2, Tablet, Tag, Tags, Tick, TikTok, Timer2, Toggle2Fill, Toggles, Trash, TriangleWarning, Trophy, Twitter, Typescript, UiCard, Unsplash, User, UserCheck, UserCrown, UserDelete, UserFocus, UserMinus, UserPlus, UserXmark, Users, Users2, Users6, UsersFill, UsersSettings, Venmo, Versions2, Views, Watch, Webhook, Window, WindowSearch, WindowSettings, Xmark, YouTube } from './icons/index.js';
12
12
  import * as PopoverPrimitive from '@radix-ui/react-popover';
13
13
  import { DayPickerSingleProps, DayPickerRangeProps, Matcher } from 'react-day-picker';
14
14
  export { Matcher } from 'react-day-picker';
@@ -189,8 +189,9 @@ type PopoverProps = PropsWithChildren<{
189
189
  sticky?: "partial" | "always";
190
190
  onEscapeKeyDown?: (event: KeyboardEvent) => void;
191
191
  onWheel?: WheelEventHandler;
192
+ sideOffset?: number;
192
193
  }>;
193
- declare function Popover({ children, content, align, side, openPopover, setOpenPopover, mobileOnly, popoverContentClassName, onOpenAutoFocus, collisionBoundary, sticky, onEscapeKeyDown, onWheel, }: PopoverProps): react_jsx_runtime.JSX.Element;
194
+ declare function Popover({ children, content, align, side, openPopover, setOpenPopover, mobileOnly, popoverContentClassName, onOpenAutoFocus, collisionBoundary, sticky, onEscapeKeyDown, onWheel, sideOffset, }: PopoverProps): react_jsx_runtime.JSX.Element;
194
195
 
195
196
  type ComboboxOption<TMeta = any> = {
196
197
  label: string | ReactNode;
@@ -207,6 +208,7 @@ type ComboboxProps<TMultiple extends boolean | undefined, TMeta extends any> = P
207
208
  setSelected?: TMultiple extends true ? (options: ComboboxOption<TMeta>[]) => void : (option: ComboboxOption<TMeta> | null) => void;
208
209
  onSelect?: (option: ComboboxOption<TMeta>) => void;
209
210
  options?: ComboboxOption<TMeta>[];
211
+ trigger?: ReactNode;
210
212
  icon?: Icon | ReactNode;
211
213
  placeholder?: ReactNode;
212
214
  searchPlaceholder?: string;
@@ -228,7 +230,7 @@ type ComboboxProps<TMultiple extends boolean | undefined, TMeta extends any> = P
228
230
  matchTriggerWidth?: boolean;
229
231
  hideSearch?: boolean;
230
232
  }>;
231
- declare function Combobox({ multiple, selected: selectedProp, setSelected, onSelect, options, icon: Icon, placeholder, searchPlaceholder, emptyState, createLabel, onCreate, buttonProps, shortcutHint, caret, side, open, onOpenChange, onSearchChange, shouldFilter, inputRight, inputClassName, optionRight, optionClassName, matchTriggerWidth, hideSearch, children, }: ComboboxProps<boolean | undefined, any>): react_jsx_runtime.JSX.Element;
233
+ declare function Combobox({ multiple, selected: selectedProp, setSelected, onSelect, options, trigger, icon: Icon, placeholder, searchPlaceholder, emptyState, createLabel, onCreate, buttonProps, shortcutHint, caret, side, open, onOpenChange, onSearchChange, shouldFilter, inputRight, inputClassName, optionRight, optionClassName, matchTriggerWidth, hideSearch, children, }: ComboboxProps<boolean | undefined, any>): react_jsx_runtime.JSX.Element;
232
234
 
233
235
  type OmitKeys<T, K extends keyof T> = {
234
236
  [P in keyof T as P extends K ? never : P]: T[P];
@@ -956,7 +958,9 @@ declare function useScroll(threshold: number, { container }?: {
956
958
  container?: RefObject<HTMLElement>;
957
959
  }): boolean;
958
960
 
959
- declare function useScrollProgress(ref: RefObject<HTMLElement>): {
961
+ declare function useScrollProgress(ref: RefObject<HTMLElement>, { direction }?: {
962
+ direction?: "vertical" | "horizontal";
963
+ }): {
960
964
  scrollProgress: number;
961
965
  updateScrollProgress: () => void;
962
966
  };
@@ -1012,7 +1016,7 @@ declare const SDKS: {
1012
1016
  }[];
1013
1017
  declare const SOLUTIONS: NavItemChildren;
1014
1018
  declare const RESOURCES: {
1015
- icon: typeof LifeRing;
1019
+ icon: typeof LifeRingFill;
1016
1020
  title: string;
1017
1021
  description: string;
1018
1022
  href: string;
@@ -1053,7 +1057,7 @@ declare const navItems: ({
1053
1057
  name: string;
1054
1058
  content: typeof ResourcesContent;
1055
1059
  childItems: {
1056
- icon: typeof LifeRing;
1060
+ icon: typeof LifeRingFill;
1057
1061
  title: string;
1058
1062
  description: string;
1059
1063
  href: string;