@yahoo/uds 0.4.5 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/cli/README.md +15 -2
  2. package/cli/codemods/remapProps.ts +65 -0
  3. package/cli/commands/codemod/spacingProps.ts +52 -0
  4. package/cli/preload.ts +12 -8
  5. package/cli/utils/purgeCSS.test.ts +55 -18
  6. package/cli/utils/purgeCSS.ts +144 -21
  7. package/dist/{Image.native-CfDCpWe_.d.cts → Image.native-Dy2tsvOP.d.ts} +13 -12
  8. package/dist/{Image.native-nwk5tr_f.d.ts → Image.native-DyqCXXic.d.cts} +13 -12
  9. package/dist/{VStack-D-py89Ge.d.cts → VStack-BjW120vC.d.cts} +25 -2
  10. package/dist/{VStack-Bj6PfbK5.d.ts → VStack-CPOOI31y.d.ts} +25 -2
  11. package/dist/experimental/index.cjs +2 -1
  12. package/dist/experimental/index.d.cts +30 -32
  13. package/dist/experimental/index.d.ts +30 -32
  14. package/dist/experimental/index.js +2 -1
  15. package/dist/experimental/index.native.cjs +1 -1
  16. package/dist/experimental/index.native.d.cts +13 -16
  17. package/dist/experimental/index.native.d.ts +13 -16
  18. package/dist/experimental/index.native.js +1 -1
  19. package/dist/fixtures.cjs +1 -664
  20. package/dist/fixtures.d.ts +1 -2
  21. package/dist/fixtures.js +1 -663
  22. package/dist/index.cjs +2 -1
  23. package/dist/index.d.cts +14 -30
  24. package/dist/index.d.ts +14 -30
  25. package/dist/index.js +3 -1
  26. package/dist/{index.native-BLJdXZHY.d.ts → index.native-D-eItswB.d.ts} +1 -1
  27. package/dist/{index.native-A2gCijBH.d.cts → index.native-VZWytAxw.d.cts} +1 -1
  28. package/dist/index.native.cjs +1 -1
  29. package/dist/index.native.d.cts +1122 -10
  30. package/dist/index.native.d.ts +1122 -10
  31. package/dist/index.native.js +1 -1
  32. package/dist/metafile-cjs.json +1 -0
  33. package/dist/metafile-esm.json +1 -0
  34. package/dist/tailwind/plugin.cjs +1 -1
  35. package/dist/tailwind/plugin.d.cts +1 -1
  36. package/dist/tailwind/plugin.d.ts +1 -1
  37. package/dist/tailwind/plugin.js +3 -1
  38. package/dist/tailwind/purger.cjs +3 -1
  39. package/dist/tailwind/purger.d.cts +3 -6
  40. package/dist/tailwind/purger.d.ts +3 -6
  41. package/dist/tailwind/purger.js +3 -1
  42. package/dist/tailwind/tsMorph.cjs +1 -1
  43. package/dist/tailwind/tsMorph.d.cts +11 -2
  44. package/dist/tailwind/tsMorph.d.ts +11 -2
  45. package/dist/tailwind/tsMorph.js +3 -1
  46. package/dist/tokens/index.cjs +2 -1
  47. package/dist/tokens/index.d.cts +1097 -3
  48. package/dist/tokens/index.d.ts +1097 -3
  49. package/dist/tokens/index.js +2 -1
  50. package/dist/tokens/index.native.d.cts +2 -2
  51. package/dist/tokens/index.native.d.ts +2 -2
  52. package/dist/tokens/parseTokens.cjs +2 -1
  53. package/dist/tokens/parseTokens.d.cts +1 -1
  54. package/dist/tokens/parseTokens.d.ts +1 -1
  55. package/dist/tokens/parseTokens.js +2 -1
  56. package/dist/{types-Diou6f1Q.d.cts → types-Cy3fKMaw.d.cts} +21 -20
  57. package/dist/{types-Diou6f1Q.d.ts → types-Cy3fKMaw.d.ts} +21 -20
  58. package/dist/{types-Dk8fLx7L.d.cts → types-at8CTkly.d.cts} +21 -20
  59. package/dist/{types-Dk8fLx7L.d.ts → types-at8CTkly.d.ts} +21 -20
  60. package/package.json +20 -19
@@ -1,13 +1,17 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
 
3
+ interface SvgIconProps {
4
+ variant: UniversalIconProps['variant'];
5
+ size: UniversalIconProps['size'];
6
+ }
7
+ type SvgIcon = (props: SvgIconProps) => JSX.Element;
8
+
3
9
  declare const alwaysPalette: {
4
10
  white: string;
5
11
  black: string;
6
12
  transparent: string;
7
13
  };
8
14
 
9
- type IconName$1 = 'academicCap' | 'academicCap_fill' | 'accept' | 'accept_fill' | 'accessibility' | 'accountKey' | 'accountKey_fill' | 'accountKeyAndroid' | 'accountKeyAndroid_fill' | 'addAttachments' | 'addAttachments_fill' | 'addDocument' | 'addDocument_fill' | 'addFolder' | 'addFolder_fill' | 'addLink' | 'addPerson' | 'addPerson_fill' | 'addToCalendar' | 'addToCalendar_fill' | 'ads' | 'adsEuro' | 'adsPound' | 'alarmClock' | 'alarmClock_fill' | 'analytics' | 'announcement' | 'announcement_fill' | 'appPublishing' | 'appPublishing_fill' | 'apparel' | 'apparel_fill' | 'appleWatch_fill' | 'ar3d' | 'archive' | 'archive_fill' | 'arrowCurveLeft' | 'arrowCurveRight' | 'arrowCurveUp' | 'arrowDown' | 'arrowDownAboveLine' | 'arrowDownAndIn' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'arrowUpAndOut' | 'arrowUpUnderLine' | 'ascender' | 'astroAquarius' | 'astroAries' | 'astroCancer' | 'astroCapricorn' | 'astroGemini' | 'astroLeo' | 'astroLibra' | 'astroPisces' | 'astroSagittarius' | 'astroScorpio' | 'astroTaurus' | 'astroVirgo' | 'atSymbol' | 'attachment' | 'badge' | 'badge_fill' | 'barGraph' | 'barGraph_fill' | 'baseball' | 'baseball_fill' | 'baseballBat_fill' | 'basket' | 'basket_fill' | 'basketball' | 'basketball_fill' | 'beachUmbrella' | 'beachUmbrella_fill' | 'bed' | 'bed_fill' | 'beer' | 'beer_fill' | 'bell' | 'bell_fill' | 'bellOff' | 'bellOff_fill' | 'bellPlus' | 'bill' | 'bill_fill' | 'billing' | 'billing_fill' | 'binoculars' | 'binoculars_fill' | 'biometrics' | 'birthdayCake' | 'birthdayCake_fill' | 'blockPerson' | 'blockPerson_fill' | 'bold' | 'bookmark' | 'bookmark_fill' | 'box' | 'box_fill' | 'briefcase' | 'briefcase_fill' | 'bubbleGraph' | 'bubbleGraph_fill' | 'bulletList' | 'bulletListRectangle' | 'bulletListRectangle_fill' | 'bus' | 'bus_fill' | 'cal01' | 'cal01_fill' | 'cal02' | 'cal02_fill' | 'cal03' | 'cal03_fill' | 'cal04' | 'cal04_fill' | 'cal05' | 'cal05_fill' | 'cal06' | 'cal06_fill' | 'cal07' | 'cal07_fill' | 'cal08' | 'cal08_fill' | 'cal09' | 'cal09_fill' | 'cal10' | 'cal10_fill' | 'cal11' | 'cal11_fill' | 'cal12' | 'cal12_fill' | 'cal13' | 'cal13_fill' | 'cal14' | 'cal14_fill' | 'cal15' | 'cal15_fill' | 'cal16' | 'cal16_fill' | 'cal17' | 'cal17_fill' | 'cal18' | 'cal18_fill' | 'cal19' | 'cal19_fill' | 'cal20' | 'cal20_fill' | 'cal21' | 'cal21_fill' | 'cal22' | 'cal22_fill' | 'cal23' | 'cal23_fill' | 'cal24' | 'cal24_fill' | 'cal25' | 'cal25_fill' | 'cal26' | 'cal26_fill' | 'cal27' | 'cal27_fill' | 'cal28' | 'cal28_fill' | 'cal29' | 'cal29_fill' | 'cal30' | 'cal30_fill' | 'cal31' | 'cal31_fill' | 'calendar' | 'calendar_fill' | 'camera' | 'camera_fill' | 'candy' | 'canvas' | 'canvas_fill' | 'capitolBuilding' | 'capitolBuilding_fill' | 'capsule' | 'capsule_fill' | 'car' | 'car_fill' | 'card' | 'card_fill' | 'cart' | 'castAnimationFrame1' | 'castAnimationFrame2' | 'castUnavailable' | 'centerAligned' | 'cfl_fill' | 'changeFont' | 'checkboxMixed' | 'checkboxMixed_fill' | 'checkboxSelected' | 'checkboxSelected_fill' | 'checkboxUnselected' | 'checkmarkSelected' | 'chevronBack' | 'chevronDown' | 'chevronNext' | 'chevronUp' | 'chromeCast' | 'chromeCast_fill' | 'cleats' | 'cleats_fill' | 'clientAssist' | 'clientAssist_fill' | 'clock' | 'clock_fill' | 'close' | 'closedCaptioning' | 'closedCaptioning_fill' | 'cloud' | 'cloud_fill' | 'cloudDay' | 'cloudDrive' | 'cloudDrive_fill' | 'cloudNight' | 'code' | 'coffeeCup' | 'coffeeCup_fill' | 'coffeeMug' | 'coffeeMug_fill' | 'collapseList' | 'collegeFootball' | 'collegeFootball_fill' | 'colorPalette' | 'colorPalette_fill' | 'comedyTragedyMasks' | 'comedyTragedyMasks_fill' | 'comment' | 'comment_fill' | 'compass' | 'compass_fill' | 'compose' | 'compose_fill' | 'contactBook' | 'contactBook_fill' | 'contactCard' | 'contactCard_fill' | 'convenienceStore' | 'convenienceStore_fill' | 'conversations' | 'conversations_fill' | 'copy' | 'copy_fill' | 'copyright' | 'copyright_fill' | 'creativeCommons' | 'creativeCommons_fill' | 'creditCard' | 'creditCard_fill' | 'crescentMoon' | 'crescentMoonAlt' | 'cryptocurrency' | 'cryptocurrency_fill' | 'cursor' | 'cut' | 'dashboard' | 'dashboard_fill' | 'dating' | 'dating_fill' | 'decline' | 'decline_fill' | 'descender' | 'desktop' | 'desktop_fill' | 'diamond' | 'diamond_fill' | 'direction' | 'direction_fill' | 'discoBall' | 'document' | 'document_fill' | 'dollar' | 'doubleLeft' | 'doubleRight' | 'draft' | 'draft_fill' | 'dragBars' | 'dragBarsAlt' | 'dressForm_fill' | 'dressFrom' | 'dusk' | 'dusk_fill' | 'eclipse' | 'eclipse_fill' | 'edit' | 'edit_fill' | 'emoticon' | 'emoticon_fill' | 'euro' | 'exchange' | 'exclamation' | 'exclamation_fill' | 'exclamationAlt' | 'exclamationAlt_fill' | 'exitFullscreen' | 'expand' | 'expandAlt' | 'expandList' | 'eye' | 'eyeSlash' | 'eyelash' | 'fantasyBaseball' | 'fantasyBaseball_fill' | 'fantasyFootball' | 'fantasyFootball_fill' | 'files' | 'files_fill' | 'filter' | 'finance' | 'firstQuarter' | 'flag' | 'flag_fill' | 'flower' | 'fog' | 'fogDay' | 'fogNight' | 'folder' | 'folder_fill' | 'foodAndDrink' | 'foodAndDrink_fill' | 'football' | 'football_fill' | 'forkKnife' | 'forward' | 'forward_fill' | 'fourColumn' | 'fourColumn_fill' | 'fullMoon' | 'fullscreen' | 'fullscreenAudio' | 'gallery' | 'gallery_fill' | 'gasStation' | 'gear' | 'gear_fill' | 'gif' | 'gif_fill' | 'globe' | 'golf' | 'grid' | 'groups' | 'groups_fill' | 'guitar' | 'halfSun' | 'halfSun_fill' | 'hand' | 'hashtag' | 'haze' | 'hazeDay' | 'hazeNight' | 'heart' | 'heart_fill' | 'heavyRain' | 'heavyRainDay' | 'heavyRainLightning' | 'heavyRainLightningDay' | 'heavyRainLightningNight' | 'heavyRainNight' | 'history' | 'hockey' | 'home' | 'home_fill' | 'hurricane' | 'inbox' | 'inbox_fill' | 'indent' | 'information' | 'information_fill' | 'invitation' | 'invitation_fill' | 'italic' | 'key' | 'keyAlt' | 'keypad' | 'lastQuarter' | 'layout' | 'layout_fill' | 'layoutGrid' | 'layoutList' | 'leftAligned' | 'leftToRight' | 'lifePreserver' | 'lightning' | 'lightningBolt' | 'lightningBolt_fill' | 'lightningDay' | 'lightningNight' | 'lineGraph' | 'lineTypeBar' | 'lineTypeCandlestick' | 'link' | 'lipstick' | 'lipstick_fill' | 'list' | 'live' | 'locationArrow' | 'locationArrow_fill' | 'lock' | 'lock_fill' | 'logout' | 'magnifyingGlass' | 'magnifyingGlass_fill' | 'mail' | 'mail_fill' | 'manageAccount' | 'manageAccount_fill' | 'map' | 'mapPin' | 'mapPin_fill' | 'martini' | 'martini_fill' | 'meMail' | 'medal' | 'medal_fill' | 'medicalKit' | 'medicalKit_fill' | 'metrics' | 'mic' | 'mic_fill' | 'micOff' | 'micOff_fill' | 'microscope' | 'microscope_fill' | 'minus' | 'mlb' | 'moveToFolder' | 'moveToFolder_fill' | 'movies' | 'movies_fill' | 'music' | 'music_fill' | 'ncaab' | 'newComment' | 'newComment_fill' | 'newMoon' | 'news' | 'news_fill' | 'nextTrack' | 'nfc' | 'nfl' | 'notes' | 'notes_fill' | 'null' | 'numberedList' | 'oneColumn' | 'oneColumn_fill' | 'outbox' | 'outbox_fill' | 'outdent' | 'overflow' | 'overflowMail' | 'overflowVertical' | 'paperclip' | 'parenting' | 'parenting_fill' | 'parking' | 'parks' | 'parks_fill' | 'pause' | 'paw' | 'pawn' | 'pawn_fill' | 'person' | 'person_fill' | 'personArrowUturnLeft' | 'personArrowUturnLeft_fill' | 'phone' | 'phone_fill' | 'picture' | 'picture_fill' | 'pieChart' | 'pieChart_fill' | 'play' | 'play_fill' | 'playInCircle' | 'playInCircle_fill' | 'playMini' | 'plus' | 'poll' | 'poll_fill' | 'popular' | 'power' | 'print' | 'print_fill' | 'pro' | 'profile' | 'profile_fill' | 'prohibitionSign' | 'pulse' | 'question' | 'question_fill' | 'racingFlag' | 'radioSelected' | 'radioSelected_fill' | 'radioUnselected' | 'rain' | 'rainDay' | 'rainNight' | 'raindrop' | 'raindropDay' | 'raindropNight' | 'reblog' | 'reblogAlt' | 'recreation' | 'refresh' | 'refreshAlt' | 'removePerson' | 'removePerson_fill' | 'replay' | 'reply' | 'reply_fill' | 'replyAll' | 'replyAll_fill' | 'reverse' | 'revisions' | 'revisions_fill' | 'riceBowl' | 'rightAligned' | 'rightToLeft' | 'rugby' | 'scissors' | 'searchMail' | 'searchMail_fill' | 'searchWeb' | 'seekBackward10' | 'seekForward10' | 'segments' | 'segments_fill' | 'selector' | 'sendScheduled' | 'sendScheduled_fill' | 'sent' | 'sent_fill' | 'shield' | 'shieldWithCheckMark' | 'shieldWithCheckMark_fill' | 'shieldWithProhibitionSign' | 'shieldWithProhibitionSign_fill' | 'shieldWithX' | 'shieldWithX_fill' | 'shoppingBag' | 'shoppingBag_fill' | 'shrink' | 'sidebar' | 'sidebarError' | 'skull' | 'skull_fill' | 'slideRule' | 'smartPhone' | 'smartPhone_fill' | 'smiley' | 'smiley_fill' | 'snow' | 'snowDay' | 'snowNight' | 'snowflake' | 'soccer' | 'spellCheck' | 'sprinkle' | 'sprinkleDay' | 'sprinkleNight' | 'squareArrowDiagonalUpRight' | 'stadium' | 'star' | 'star_fill' | 'stardust' | 'stardust_fill' | 'stationery' | 'stationery_fill' | 'stationeryFall' | 'stationeryFall_fill' | 'stationerySpring' | 'stationerySpring_fill' | 'stationeryWinter' | 'stationeryWinter_fill' | 'statistics' | 'stop' | 'stopwatch' | 'stopwatch_fill' | 'stream' | 'sun' | 'sun_fill' | 'sunrise' | 'sunset' | 'supply' | 'supply_fill' | 'suspicious' | 'suspicious_fill' | 'swipeleft' | 'swipeleft_fill' | 'swiperight' | 'swiperight_fill' | 'tablet' | 'tablet_fill' | 'tag' | 'tag_fill' | 'target' | 'targetArrow' | 'tech' | 'tech_fill' | 'techAlt' | 'textColor' | 'textHighlight' | 'textHighlight_fill' | 'theme' | 'theme_fill' | 'threeColumn' | 'threeColumn_fill' | 'thumbDown' | 'thumbDown_fill' | 'thumbUp' | 'thumbUp_fill' | 'tornado' | 'train' | 'train_fill' | 'trashCan' | 'trashCan_fill' | 'travel' | 'travel_fill' | 'trending' | 'truck' | 'truck_fill' | 'tsunami' | 'tv' | 'tv_fill' | 'twoColumn' | 'twoColumn_fill' | 'underline' | 'unsub' | 'unsub_fill' | 'videoCamera' | 'videoCamera_fill' | 'videoCameraOff' | 'videoCameraOff_fill' | 'volume' | 'volumeLow' | 'volumeMute' | 'waningCrescent' | 'waningGibbous' | 'waxingCrescent' | 'waxingGibbous' | 'wellness' | 'wifi' | 'wifiOffline' | 'wind' | 'windCloud' | 'windDay' | 'windNight' | 'wine' | 'wine_fill' | 'wrench' | 'wrench_fill' | 'yahooPlus' | 'zoomIn' | 'zoomOut';
10
-
11
15
  type PaletteType = keyof PaletteConfig;
12
16
  type PaletteValue = {
13
17
  hue: Hue;
@@ -295,12 +299,13 @@ interface UniversalTextProps extends PropsWithChildren, TextStyleProps, Universa
295
299
  /** Color of the text. */
296
300
  color?: ForegroundColor;
297
301
  }
298
- type IconName = IconName$1;
299
- interface UniversalIconProps extends Omit<TextStyleProps, 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight'>, UniversalBoxProps {
302
+ interface UniversalIconProps {
303
+ /** Icon to render from the icons package. */
304
+ name: SvgIcon;
300
305
  /** Size of the icon. */
301
306
  size: IconSize;
302
- /** Name of the icon. */
303
- name: IconName;
307
+ /** Variant for icon. Either fill or outline. */
308
+ variant?: 'fill' | 'outline';
304
309
  /** Color of the icon. */
305
310
  color?: ForegroundColor;
306
311
  }
@@ -310,20 +315,14 @@ interface UniversalPressableProps extends UniversalBoxProps {
310
315
  type ButtonVariant = CorePaletteAlias | `${CorePaletteAlias}-outline` | `${CorePaletteAlias}-ghost` | 'primary-ghost' | 'primary-outline' | 'secondary';
311
316
  type ButtonSize = 's' | 'm' | 'l';
312
317
  interface UniversalIconButtonProps {
313
- /**
314
- * The variant of the button
315
- * @default 'accent'
316
- */
318
+ /** The variant of the button. */
317
319
  variant?: ButtonVariant;
318
- /**
319
- * The size of the button
320
- * @default 'm'
321
- */
320
+ /** The size of the button. */
322
321
  size?: ButtonSize;
323
- /** The name of the icon to be displayed at the start of the button. */
324
- name: IconName;
322
+ /** Icon to render from the icons package. */
323
+ name: SvgIcon;
325
324
  /** Color for the icon. */
326
- color: ForegroundColor;
325
+ color: UniversalIconProps['color'];
327
326
  }
328
327
  interface UniversalButtonProps {
329
328
  /**
@@ -337,9 +336,9 @@ interface UniversalButtonProps {
337
336
  */
338
337
  size?: ButtonSize;
339
338
  /** The name of the icon to be displayed at the start of the button. */
340
- startIcon?: IconName;
339
+ startIcon?: SvgIcon;
341
340
  /** The name of the icon to be displayed at the end of the button. */
342
- endIcon?: IconName;
341
+ endIcon?: SvgIcon;
343
342
  /** Indicates whether the button should span the full width of its container. */
344
343
  fullWidth?: boolean;
345
344
  }
@@ -348,7 +347,9 @@ interface UniversalImageProps extends Omit<UniversalBoxProps, 'width' | 'height'
348
347
  src: string;
349
348
  /** Provides fallback (alternate) text to display when the image specified by the Image element is not loaded. */
350
349
  alt?: string;
350
+ /** Width of the image in px. */
351
351
  width?: number;
352
+ /** Height of the image in pixel. */
352
353
  height?: number;
353
354
  }
354
355
  interface UniversalAvatarProps extends UniversalImageProps {
@@ -371,4 +372,4 @@ interface UniversalTextInputProps {
371
372
  spacingHorizontal?: SpacingAlias;
372
373
  }
373
374
 
374
- export { type CorePaletteAlias as $, type AvatarSizeConfig as A, type BackgroundStyleProps as B, type ColorModeForApp as C, type AlwaysPaletteAlias as D, type Animation as E, type FlexStyleProps as F, type AriaAttribute as G, type AvatarShape as H, type ImageStyleProps as I, type AvatarSize as J, type BackgroundColor as K, type LayoutStyleProps as L, type Modes as M, type BackgroundPalette as N, type BackgroundPaletteAlias as O, type BorderRadius as P, type BorderWidth as Q, type BoxShadowConfig as R, type ScaleModeForApp as S, type TextStyleProps as T, type UniversalAvatarProps as U, type ButtonSize as V, type ButtonVariant as W, type ColorModeConfig as X, type ColorsConfig as Y, type ConfigurableTextProperty as Z, type CorePalette as _, type UniversalButtonProps as a, type DataAttribute as a0, type Display as a1, type Flex as a2, type FlexAlignContent as a3, type FlexAlignItems as a4, type FlexAlignSelf as a5, type FlexBasis as a6, type FlexDirection as a7, type FlexGrow as a8, type FlexJustifyContent as a9, type Position as aA, type RegionMode as aB, type ScaleConfig as aC, type ScaleModeConfig as aD, type SpacingAlias as aE, type SpacingConfig as aF, type SpectrumColor as aG, type SpectrumConfig as aH, type StateStyleProps as aI, type TextTransform as aJ, type TextVariant as aK, type TransitionDelay as aL, type TransitionDuration as aM, type TransitionTiming as aN, type UniversalTextInputProps as aO, type FlexShrink as aa, type FlexWrap as ab, type FontFamilyGlobalAlias as ac, type FontSize as ad, type FontWeightDescriptive as ae, type FontWeightNumeric as af, type ForegroundColor as ag, type ForegroundPalette as ah, type ForegroundPaletteAlias as ai, type HighContrastMode as aj, type Hue as ak, type HueStep as al, type IconName as am, type IconSize as an, type LetterSpacing as ao, type LineClampAlias as ap, type LineColor as aq, type LineHeight as ar, type LinePalette as as, type LinePaletteAlias as at, type Overflow as au, type Palette as av, type PaletteConfig as aw, type PaletteType as ax, type PaletteValue as ay, type PlatformMode as az, type UniversalPressableProps as b, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type BorderStyleProps as l, type SpacingStyleProps as m, type CustomSizingStyleProps as n, type IconSizeConfig as o, type BorderRadiusConfig as p, type BorderWidthConfig as q, type FontFamilyConfig as r, type FontSizeConfig as s, type FontWeightConfig as t, type LineHeightConfig as u, type TextTransformConfig as v, type FontFamilyGlobalConfig as w, type StyleProps as x, alwaysPalette as y, type AlwaysPalette as z };
375
+ export { type FlexAlignItems as $, type AvatarSizeConfig as A, type BorderRadiusConfig as B, type ColorModeForApp as C, type BackgroundStyleProps as D, type BorderRadius as E, type FontFamilyConfig as F, type BorderStyleProps as G, type BorderWidth as H, type IconSizeConfig as I, type BoxShadowConfig as J, type ButtonSize as K, type LineHeightConfig as L, type Modes as M, type ButtonVariant as N, type ColorModeConfig as O, type ColorsConfig as P, type ConfigurableTextProperty as Q, type CorePalette as R, type ScaleModeForApp as S, type TextTransformConfig as T, type UniversalAvatarProps as U, type CorePaletteAlias as V, type CustomSizingStyleProps as W, type DataAttribute as X, type Display as Y, type Flex as Z, type FlexAlignContent as _, type UniversalButtonProps as a, type FlexAlignSelf as a0, type FlexBasis as a1, type FlexDirection as a2, type FlexGrow as a3, type FlexJustifyContent as a4, type FlexShrink as a5, type FlexStyleProps as a6, type FlexWrap as a7, type FontFamilyGlobalAlias as a8, type FontSize as a9, type ScaleModeConfig as aA, type SpacingAlias as aB, type SpacingConfig as aC, type SpacingStyleProps as aD, type SpectrumColor as aE, type SpectrumConfig as aF, type StateStyleProps as aG, type TextStyleProps as aH, type TextTransform as aI, type TextVariant as aJ, type TransitionDelay as aK, type TransitionDuration as aL, type TransitionTiming as aM, type UniversalTextInputProps as aN, type FontWeightDescriptive as aa, type FontWeightNumeric as ab, type ForegroundColor as ac, type ForegroundPalette as ad, type ForegroundPaletteAlias as ae, type HighContrastMode as af, type Hue as ag, type HueStep as ah, type IconSize as ai, type ImageStyleProps as aj, type LayoutStyleProps as ak, type LetterSpacing as al, type LineClampAlias as am, type LineColor as an, type LineHeight as ao, type LinePalette as ap, type LinePaletteAlias as aq, type Overflow as ar, type Palette as as, type PaletteConfig as at, type PaletteType as au, type PaletteValue as av, type PlatformMode as aw, type Position as ax, type RegionMode as ay, type ScaleConfig as az, type UniversalPressableProps as b, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type StyleProps as l, type BorderWidthConfig as m, type FontSizeConfig as n, type FontWeightConfig as o, type FontFamilyGlobalConfig as p, alwaysPalette as q, type AlwaysPalette as r, type AlwaysPaletteAlias as s, type Animation as t, type AriaAttribute as u, type AvatarShape as v, type AvatarSize as w, type BackgroundColor as x, type BackgroundPalette as y, type BackgroundPaletteAlias as z };
@@ -1,13 +1,17 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
 
3
+ interface SvgIconProps {
4
+ variant: UniversalIconProps['variant'];
5
+ size: UniversalIconProps['size'];
6
+ }
7
+ type SvgIcon = (props: SvgIconProps) => JSX.Element;
8
+
3
9
  declare const alwaysPalette: {
4
10
  white: string;
5
11
  black: string;
6
12
  transparent: string;
7
13
  };
8
14
 
9
- type IconName$1 = 'academicCap' | 'academicCap_fill' | 'accept' | 'accept_fill' | 'accessibility' | 'accountKey' | 'accountKey_fill' | 'accountKeyAndroid' | 'accountKeyAndroid_fill' | 'addAttachments' | 'addAttachments_fill' | 'addDocument' | 'addDocument_fill' | 'addFolder' | 'addFolder_fill' | 'addLink' | 'addPerson' | 'addPerson_fill' | 'addToCalendar' | 'addToCalendar_fill' | 'ads' | 'adsEuro' | 'adsPound' | 'alarmClock' | 'alarmClock_fill' | 'analytics' | 'announcement' | 'announcement_fill' | 'appPublishing' | 'appPublishing_fill' | 'apparel' | 'apparel_fill' | 'appleWatch_fill' | 'ar3d' | 'archive' | 'archive_fill' | 'arrowCurveLeft' | 'arrowCurveRight' | 'arrowCurveUp' | 'arrowDown' | 'arrowDownAboveLine' | 'arrowDownAndIn' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'arrowUpAndOut' | 'arrowUpUnderLine' | 'ascender' | 'astroAquarius' | 'astroAries' | 'astroCancer' | 'astroCapricorn' | 'astroGemini' | 'astroLeo' | 'astroLibra' | 'astroPisces' | 'astroSagittarius' | 'astroScorpio' | 'astroTaurus' | 'astroVirgo' | 'atSymbol' | 'attachment' | 'badge' | 'badge_fill' | 'barGraph' | 'barGraph_fill' | 'baseball' | 'baseball_fill' | 'baseballBat_fill' | 'basket' | 'basket_fill' | 'basketball' | 'basketball_fill' | 'beachUmbrella' | 'beachUmbrella_fill' | 'bed' | 'bed_fill' | 'beer' | 'beer_fill' | 'bell' | 'bell_fill' | 'bellOff' | 'bellOff_fill' | 'bellPlus' | 'bill' | 'bill_fill' | 'billing' | 'billing_fill' | 'binoculars' | 'binoculars_fill' | 'biometrics' | 'birthdayCake' | 'birthdayCake_fill' | 'blockPerson' | 'blockPerson_fill' | 'bold' | 'bookmark' | 'bookmark_fill' | 'box' | 'box_fill' | 'briefcase' | 'briefcase_fill' | 'bubbleGraph' | 'bubbleGraph_fill' | 'bulletList' | 'bulletListRectangle' | 'bulletListRectangle_fill' | 'bus' | 'bus_fill' | 'cal01' | 'cal01_fill' | 'cal02' | 'cal02_fill' | 'cal03' | 'cal03_fill' | 'cal04' | 'cal04_fill' | 'cal05' | 'cal05_fill' | 'cal06' | 'cal06_fill' | 'cal07' | 'cal07_fill' | 'cal08' | 'cal08_fill' | 'cal09' | 'cal09_fill' | 'cal10' | 'cal10_fill' | 'cal11' | 'cal11_fill' | 'cal12' | 'cal12_fill' | 'cal13' | 'cal13_fill' | 'cal14' | 'cal14_fill' | 'cal15' | 'cal15_fill' | 'cal16' | 'cal16_fill' | 'cal17' | 'cal17_fill' | 'cal18' | 'cal18_fill' | 'cal19' | 'cal19_fill' | 'cal20' | 'cal20_fill' | 'cal21' | 'cal21_fill' | 'cal22' | 'cal22_fill' | 'cal23' | 'cal23_fill' | 'cal24' | 'cal24_fill' | 'cal25' | 'cal25_fill' | 'cal26' | 'cal26_fill' | 'cal27' | 'cal27_fill' | 'cal28' | 'cal28_fill' | 'cal29' | 'cal29_fill' | 'cal30' | 'cal30_fill' | 'cal31' | 'cal31_fill' | 'calendar' | 'calendar_fill' | 'camera' | 'camera_fill' | 'candy' | 'canvas' | 'canvas_fill' | 'capitolBuilding' | 'capitolBuilding_fill' | 'capsule' | 'capsule_fill' | 'car' | 'car_fill' | 'card' | 'card_fill' | 'cart' | 'castAnimationFrame1' | 'castAnimationFrame2' | 'castUnavailable' | 'centerAligned' | 'cfl_fill' | 'changeFont' | 'checkboxMixed' | 'checkboxMixed_fill' | 'checkboxSelected' | 'checkboxSelected_fill' | 'checkboxUnselected' | 'checkmarkSelected' | 'chevronBack' | 'chevronDown' | 'chevronNext' | 'chevronUp' | 'chromeCast' | 'chromeCast_fill' | 'cleats' | 'cleats_fill' | 'clientAssist' | 'clientAssist_fill' | 'clock' | 'clock_fill' | 'close' | 'closedCaptioning' | 'closedCaptioning_fill' | 'cloud' | 'cloud_fill' | 'cloudDay' | 'cloudDrive' | 'cloudDrive_fill' | 'cloudNight' | 'code' | 'coffeeCup' | 'coffeeCup_fill' | 'coffeeMug' | 'coffeeMug_fill' | 'collapseList' | 'collegeFootball' | 'collegeFootball_fill' | 'colorPalette' | 'colorPalette_fill' | 'comedyTragedyMasks' | 'comedyTragedyMasks_fill' | 'comment' | 'comment_fill' | 'compass' | 'compass_fill' | 'compose' | 'compose_fill' | 'contactBook' | 'contactBook_fill' | 'contactCard' | 'contactCard_fill' | 'convenienceStore' | 'convenienceStore_fill' | 'conversations' | 'conversations_fill' | 'copy' | 'copy_fill' | 'copyright' | 'copyright_fill' | 'creativeCommons' | 'creativeCommons_fill' | 'creditCard' | 'creditCard_fill' | 'crescentMoon' | 'crescentMoonAlt' | 'cryptocurrency' | 'cryptocurrency_fill' | 'cursor' | 'cut' | 'dashboard' | 'dashboard_fill' | 'dating' | 'dating_fill' | 'decline' | 'decline_fill' | 'descender' | 'desktop' | 'desktop_fill' | 'diamond' | 'diamond_fill' | 'direction' | 'direction_fill' | 'discoBall' | 'document' | 'document_fill' | 'dollar' | 'doubleLeft' | 'doubleRight' | 'draft' | 'draft_fill' | 'dragBars' | 'dragBarsAlt' | 'dressForm_fill' | 'dressFrom' | 'dusk' | 'dusk_fill' | 'eclipse' | 'eclipse_fill' | 'edit' | 'edit_fill' | 'emoticon' | 'emoticon_fill' | 'euro' | 'exchange' | 'exclamation' | 'exclamation_fill' | 'exclamationAlt' | 'exclamationAlt_fill' | 'exitFullscreen' | 'expand' | 'expandAlt' | 'expandList' | 'eye' | 'eyeSlash' | 'eyelash' | 'fantasyBaseball' | 'fantasyBaseball_fill' | 'fantasyFootball' | 'fantasyFootball_fill' | 'files' | 'files_fill' | 'filter' | 'finance' | 'firstQuarter' | 'flag' | 'flag_fill' | 'flower' | 'fog' | 'fogDay' | 'fogNight' | 'folder' | 'folder_fill' | 'foodAndDrink' | 'foodAndDrink_fill' | 'football' | 'football_fill' | 'forkKnife' | 'forward' | 'forward_fill' | 'fourColumn' | 'fourColumn_fill' | 'fullMoon' | 'fullscreen' | 'fullscreenAudio' | 'gallery' | 'gallery_fill' | 'gasStation' | 'gear' | 'gear_fill' | 'gif' | 'gif_fill' | 'globe' | 'golf' | 'grid' | 'groups' | 'groups_fill' | 'guitar' | 'halfSun' | 'halfSun_fill' | 'hand' | 'hashtag' | 'haze' | 'hazeDay' | 'hazeNight' | 'heart' | 'heart_fill' | 'heavyRain' | 'heavyRainDay' | 'heavyRainLightning' | 'heavyRainLightningDay' | 'heavyRainLightningNight' | 'heavyRainNight' | 'history' | 'hockey' | 'home' | 'home_fill' | 'hurricane' | 'inbox' | 'inbox_fill' | 'indent' | 'information' | 'information_fill' | 'invitation' | 'invitation_fill' | 'italic' | 'key' | 'keyAlt' | 'keypad' | 'lastQuarter' | 'layout' | 'layout_fill' | 'layoutGrid' | 'layoutList' | 'leftAligned' | 'leftToRight' | 'lifePreserver' | 'lightning' | 'lightningBolt' | 'lightningBolt_fill' | 'lightningDay' | 'lightningNight' | 'lineGraph' | 'lineTypeBar' | 'lineTypeCandlestick' | 'link' | 'lipstick' | 'lipstick_fill' | 'list' | 'live' | 'locationArrow' | 'locationArrow_fill' | 'lock' | 'lock_fill' | 'logout' | 'magnifyingGlass' | 'magnifyingGlass_fill' | 'mail' | 'mail_fill' | 'manageAccount' | 'manageAccount_fill' | 'map' | 'mapPin' | 'mapPin_fill' | 'martini' | 'martini_fill' | 'meMail' | 'medal' | 'medal_fill' | 'medicalKit' | 'medicalKit_fill' | 'metrics' | 'mic' | 'mic_fill' | 'micOff' | 'micOff_fill' | 'microscope' | 'microscope_fill' | 'minus' | 'mlb' | 'moveToFolder' | 'moveToFolder_fill' | 'movies' | 'movies_fill' | 'music' | 'music_fill' | 'ncaab' | 'newComment' | 'newComment_fill' | 'newMoon' | 'news' | 'news_fill' | 'nextTrack' | 'nfc' | 'nfl' | 'notes' | 'notes_fill' | 'null' | 'numberedList' | 'oneColumn' | 'oneColumn_fill' | 'outbox' | 'outbox_fill' | 'outdent' | 'overflow' | 'overflowMail' | 'overflowVertical' | 'paperclip' | 'parenting' | 'parenting_fill' | 'parking' | 'parks' | 'parks_fill' | 'pause' | 'paw' | 'pawn' | 'pawn_fill' | 'person' | 'person_fill' | 'personArrowUturnLeft' | 'personArrowUturnLeft_fill' | 'phone' | 'phone_fill' | 'picture' | 'picture_fill' | 'pieChart' | 'pieChart_fill' | 'play' | 'play_fill' | 'playInCircle' | 'playInCircle_fill' | 'playMini' | 'plus' | 'poll' | 'poll_fill' | 'popular' | 'power' | 'print' | 'print_fill' | 'pro' | 'profile' | 'profile_fill' | 'prohibitionSign' | 'pulse' | 'question' | 'question_fill' | 'racingFlag' | 'radioSelected' | 'radioSelected_fill' | 'radioUnselected' | 'rain' | 'rainDay' | 'rainNight' | 'raindrop' | 'raindropDay' | 'raindropNight' | 'reblog' | 'reblogAlt' | 'recreation' | 'refresh' | 'refreshAlt' | 'removePerson' | 'removePerson_fill' | 'replay' | 'reply' | 'reply_fill' | 'replyAll' | 'replyAll_fill' | 'reverse' | 'revisions' | 'revisions_fill' | 'riceBowl' | 'rightAligned' | 'rightToLeft' | 'rugby' | 'scissors' | 'searchMail' | 'searchMail_fill' | 'searchWeb' | 'seekBackward10' | 'seekForward10' | 'segments' | 'segments_fill' | 'selector' | 'sendScheduled' | 'sendScheduled_fill' | 'sent' | 'sent_fill' | 'shield' | 'shieldWithCheckMark' | 'shieldWithCheckMark_fill' | 'shieldWithProhibitionSign' | 'shieldWithProhibitionSign_fill' | 'shieldWithX' | 'shieldWithX_fill' | 'shoppingBag' | 'shoppingBag_fill' | 'shrink' | 'sidebar' | 'sidebarError' | 'skull' | 'skull_fill' | 'slideRule' | 'smartPhone' | 'smartPhone_fill' | 'smiley' | 'smiley_fill' | 'snow' | 'snowDay' | 'snowNight' | 'snowflake' | 'soccer' | 'spellCheck' | 'sprinkle' | 'sprinkleDay' | 'sprinkleNight' | 'squareArrowDiagonalUpRight' | 'stadium' | 'star' | 'star_fill' | 'stardust' | 'stardust_fill' | 'stationery' | 'stationery_fill' | 'stationeryFall' | 'stationeryFall_fill' | 'stationerySpring' | 'stationerySpring_fill' | 'stationeryWinter' | 'stationeryWinter_fill' | 'statistics' | 'stop' | 'stopwatch' | 'stopwatch_fill' | 'stream' | 'sun' | 'sun_fill' | 'sunrise' | 'sunset' | 'supply' | 'supply_fill' | 'suspicious' | 'suspicious_fill' | 'swipeleft' | 'swipeleft_fill' | 'swiperight' | 'swiperight_fill' | 'tablet' | 'tablet_fill' | 'tag' | 'tag_fill' | 'target' | 'targetArrow' | 'tech' | 'tech_fill' | 'techAlt' | 'textColor' | 'textHighlight' | 'textHighlight_fill' | 'theme' | 'theme_fill' | 'threeColumn' | 'threeColumn_fill' | 'thumbDown' | 'thumbDown_fill' | 'thumbUp' | 'thumbUp_fill' | 'tornado' | 'train' | 'train_fill' | 'trashCan' | 'trashCan_fill' | 'travel' | 'travel_fill' | 'trending' | 'truck' | 'truck_fill' | 'tsunami' | 'tv' | 'tv_fill' | 'twoColumn' | 'twoColumn_fill' | 'underline' | 'unsub' | 'unsub_fill' | 'videoCamera' | 'videoCamera_fill' | 'videoCameraOff' | 'videoCameraOff_fill' | 'volume' | 'volumeLow' | 'volumeMute' | 'waningCrescent' | 'waningGibbous' | 'waxingCrescent' | 'waxingGibbous' | 'wellness' | 'wifi' | 'wifiOffline' | 'wind' | 'windCloud' | 'windDay' | 'windNight' | 'wine' | 'wine_fill' | 'wrench' | 'wrench_fill' | 'yahooPlus' | 'zoomIn' | 'zoomOut';
10
-
11
15
  type PaletteType = keyof PaletteConfig;
12
16
  type PaletteValue = {
13
17
  hue: Hue;
@@ -295,12 +299,13 @@ interface UniversalTextProps extends PropsWithChildren, TextStyleProps, Universa
295
299
  /** Color of the text. */
296
300
  color?: ForegroundColor;
297
301
  }
298
- type IconName = IconName$1;
299
- interface UniversalIconProps extends Omit<TextStyleProps, 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight'>, UniversalBoxProps {
302
+ interface UniversalIconProps {
303
+ /** Icon to render from the icons package. */
304
+ name: SvgIcon;
300
305
  /** Size of the icon. */
301
306
  size: IconSize;
302
- /** Name of the icon. */
303
- name: IconName;
307
+ /** Variant for icon. Either fill or outline. */
308
+ variant?: 'fill' | 'outline';
304
309
  /** Color of the icon. */
305
310
  color?: ForegroundColor;
306
311
  }
@@ -310,20 +315,14 @@ interface UniversalPressableProps extends UniversalBoxProps {
310
315
  type ButtonVariant = CorePaletteAlias | `${CorePaletteAlias}-outline` | `${CorePaletteAlias}-ghost` | 'primary-ghost' | 'primary-outline' | 'secondary';
311
316
  type ButtonSize = 's' | 'm' | 'l';
312
317
  interface UniversalIconButtonProps {
313
- /**
314
- * The variant of the button
315
- * @default 'accent'
316
- */
318
+ /** The variant of the button. */
317
319
  variant?: ButtonVariant;
318
- /**
319
- * The size of the button
320
- * @default 'm'
321
- */
320
+ /** The size of the button. */
322
321
  size?: ButtonSize;
323
- /** The name of the icon to be displayed at the start of the button. */
324
- name: IconName;
322
+ /** Icon to render from the icons package. */
323
+ name: SvgIcon;
325
324
  /** Color for the icon. */
326
- color: ForegroundColor;
325
+ color: UniversalIconProps['color'];
327
326
  }
328
327
  interface UniversalButtonProps {
329
328
  /**
@@ -337,9 +336,9 @@ interface UniversalButtonProps {
337
336
  */
338
337
  size?: ButtonSize;
339
338
  /** The name of the icon to be displayed at the start of the button. */
340
- startIcon?: IconName;
339
+ startIcon?: SvgIcon;
341
340
  /** The name of the icon to be displayed at the end of the button. */
342
- endIcon?: IconName;
341
+ endIcon?: SvgIcon;
343
342
  /** Indicates whether the button should span the full width of its container. */
344
343
  fullWidth?: boolean;
345
344
  }
@@ -348,7 +347,9 @@ interface UniversalImageProps extends Omit<UniversalBoxProps, 'width' | 'height'
348
347
  src: string;
349
348
  /** Provides fallback (alternate) text to display when the image specified by the Image element is not loaded. */
350
349
  alt?: string;
350
+ /** Width of the image in px. */
351
351
  width?: number;
352
+ /** Height of the image in pixel. */
352
353
  height?: number;
353
354
  }
354
355
  interface UniversalAvatarProps extends UniversalImageProps {
@@ -371,4 +372,4 @@ interface UniversalTextInputProps {
371
372
  spacingHorizontal?: SpacingAlias;
372
373
  }
373
374
 
374
- export { type CorePaletteAlias as $, type AvatarSizeConfig as A, type BackgroundStyleProps as B, type ColorModeForApp as C, type AlwaysPaletteAlias as D, type Animation as E, type FlexStyleProps as F, type AriaAttribute as G, type AvatarShape as H, type ImageStyleProps as I, type AvatarSize as J, type BackgroundColor as K, type LayoutStyleProps as L, type Modes as M, type BackgroundPalette as N, type BackgroundPaletteAlias as O, type BorderRadius as P, type BorderWidth as Q, type BoxShadowConfig as R, type ScaleModeForApp as S, type TextStyleProps as T, type UniversalAvatarProps as U, type ButtonSize as V, type ButtonVariant as W, type ColorModeConfig as X, type ColorsConfig as Y, type ConfigurableTextProperty as Z, type CorePalette as _, type UniversalButtonProps as a, type DataAttribute as a0, type Display as a1, type Flex as a2, type FlexAlignContent as a3, type FlexAlignItems as a4, type FlexAlignSelf as a5, type FlexBasis as a6, type FlexDirection as a7, type FlexGrow as a8, type FlexJustifyContent as a9, type Position as aA, type RegionMode as aB, type ScaleConfig as aC, type ScaleModeConfig as aD, type SpacingAlias as aE, type SpacingConfig as aF, type SpectrumColor as aG, type SpectrumConfig as aH, type StateStyleProps as aI, type TextTransform as aJ, type TextVariant as aK, type TransitionDelay as aL, type TransitionDuration as aM, type TransitionTiming as aN, type UniversalTextInputProps as aO, type FlexShrink as aa, type FlexWrap as ab, type FontFamilyGlobalAlias as ac, type FontSize as ad, type FontWeightDescriptive as ae, type FontWeightNumeric as af, type ForegroundColor as ag, type ForegroundPalette as ah, type ForegroundPaletteAlias as ai, type HighContrastMode as aj, type Hue as ak, type HueStep as al, type IconName as am, type IconSize as an, type LetterSpacing as ao, type LineClampAlias as ap, type LineColor as aq, type LineHeight as ar, type LinePalette as as, type LinePaletteAlias as at, type Overflow as au, type Palette as av, type PaletteConfig as aw, type PaletteType as ax, type PaletteValue as ay, type PlatformMode as az, type UniversalPressableProps as b, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type BorderStyleProps as l, type SpacingStyleProps as m, type CustomSizingStyleProps as n, type IconSizeConfig as o, type BorderRadiusConfig as p, type BorderWidthConfig as q, type FontFamilyConfig as r, type FontSizeConfig as s, type FontWeightConfig as t, type LineHeightConfig as u, type TextTransformConfig as v, type FontFamilyGlobalConfig as w, type StyleProps as x, alwaysPalette as y, type AlwaysPalette as z };
375
+ export { type FlexAlignItems as $, type AvatarSizeConfig as A, type BorderRadiusConfig as B, type ColorModeForApp as C, type BackgroundStyleProps as D, type BorderRadius as E, type FontFamilyConfig as F, type BorderStyleProps as G, type BorderWidth as H, type IconSizeConfig as I, type BoxShadowConfig as J, type ButtonSize as K, type LineHeightConfig as L, type Modes as M, type ButtonVariant as N, type ColorModeConfig as O, type ColorsConfig as P, type ConfigurableTextProperty as Q, type CorePalette as R, type ScaleModeForApp as S, type TextTransformConfig as T, type UniversalAvatarProps as U, type CorePaletteAlias as V, type CustomSizingStyleProps as W, type DataAttribute as X, type Display as Y, type Flex as Z, type FlexAlignContent as _, type UniversalButtonProps as a, type FlexAlignSelf as a0, type FlexBasis as a1, type FlexDirection as a2, type FlexGrow as a3, type FlexJustifyContent as a4, type FlexShrink as a5, type FlexStyleProps as a6, type FlexWrap as a7, type FontFamilyGlobalAlias as a8, type FontSize as a9, type ScaleModeConfig as aA, type SpacingAlias as aB, type SpacingConfig as aC, type SpacingStyleProps as aD, type SpectrumColor as aE, type SpectrumConfig as aF, type StateStyleProps as aG, type TextStyleProps as aH, type TextTransform as aI, type TextVariant as aJ, type TransitionDelay as aK, type TransitionDuration as aL, type TransitionTiming as aM, type UniversalTextInputProps as aN, type FontWeightDescriptive as aa, type FontWeightNumeric as ab, type ForegroundColor as ac, type ForegroundPalette as ad, type ForegroundPaletteAlias as ae, type HighContrastMode as af, type Hue as ag, type HueStep as ah, type IconSize as ai, type ImageStyleProps as aj, type LayoutStyleProps as ak, type LetterSpacing as al, type LineClampAlias as am, type LineColor as an, type LineHeight as ao, type LinePalette as ap, type LinePaletteAlias as aq, type Overflow as ar, type Palette as as, type PaletteConfig as at, type PaletteType as au, type PaletteValue as av, type PlatformMode as aw, type Position as ax, type RegionMode as ay, type ScaleConfig as az, type UniversalPressableProps as b, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type StyleProps as l, type BorderWidthConfig as m, type FontSizeConfig as n, type FontWeightConfig as o, type FontFamilyGlobalConfig as p, alwaysPalette as q, type AlwaysPalette as r, type AlwaysPaletteAlias as s, type Animation as t, type AriaAttribute as u, type AvatarShape as v, type AvatarSize as w, type BackgroundColor as x, type BackgroundPalette as y, type BackgroundPaletteAlias as z };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "0.4.5",
4
+ "version": "0.5.0",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "uds": "./cli/uds-cli"
@@ -126,41 +126,42 @@
126
126
  "typecheck:uds": "tsc -p . --noEmit"
127
127
  },
128
128
  "dependencies": {
129
- "@ariakit/react": "^0.4.2",
130
- "bluebun": "0.0.34",
129
+ "@ariakit/react": "^0.4.5",
130
+ "bluebun": "^0.0.34",
131
131
  "clsx": "^2.1.0",
132
- "fast-glob": "^3.3.2",
133
132
  "lodash-es": "^4.17.21",
134
133
  "prompts": "^2.4.2",
135
- "react-toastify": "^10.0.4",
136
- "tailwind-merge": "^2.2.1",
134
+ "react-toastify": "^10.0.5",
135
+ "tailwind-merge": "^2.3.0",
137
136
  "ts-morph": "^22.0.0"
138
137
  },
139
138
  "devDependencies": {
140
- "@fullhuman/postcss-purgecss": "^5.0.0",
139
+ "@fullhuman/postcss-purgecss": "^6.0.0",
141
140
  "@types/prompts": "^2.4.9",
142
- "@types/react": "^18.2.63",
143
- "@types/react-dom": "^18.2.20",
144
- "autoprefixer": "^10.4.18",
141
+ "@types/react": "^18.2.74",
142
+ "@types/react-dom": "^18.2.24",
143
+ "@yahoo/uds-icons": "workspace:*",
144
+ "autoprefixer": "^10.4.19",
145
145
  "chalk": "^5.3.0",
146
146
  "concurrently": "^8.2.2",
147
- "postcss": "^8.4.35",
147
+ "postcss": "^8.4.38",
148
148
  "shared": "workspace:*",
149
- "tailwindcss": "^3.4.1",
149
+ "tailwindcss": "^3.4.3",
150
+ "terser": "^5.30.4",
150
151
  "tsconfig": "workspace:*",
151
152
  "tsup": "^8.0.2"
152
153
  },
153
154
  "peerDependencies": {
154
- "@gorhom/bottom-sheet": "^4.6.0",
155
- "@react-navigation/native": "^6.0.2",
156
- "expo-constants": "^15.4.5",
157
- "expo-image": "^1.10.4",
155
+ "@gorhom/bottom-sheet": "^4.6.1",
156
+ "@react-navigation/native": "^6.1.17",
157
+ "expo-constants": "^15.4.6",
158
+ "expo-image": "^1.10.6",
158
159
  "expo-status-bar": "^1.11.1",
159
160
  "react": "^18.2.0",
160
161
  "react-dom": "^18.2.0",
161
- "react-native": "^0.73.2",
162
- "react-native-safe-area-context": "^4.8.2",
163
- "tailwindcss": "^3.4.1"
162
+ "react-native": "^0.74.0",
163
+ "react-native-safe-area-context": "^4.9.0",
164
+ "tailwindcss": "^3.4.3"
164
165
  },
165
166
  "peerDependenciesMeta": {
166
167
  "@gorhom/bottom-sheet": {