@yahoo/uds 0.1.11 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. package/cli/README.md +135 -0
  2. package/cli/commands/config/config.ts +10 -0
  3. package/cli/commands/config/sync.ts +22 -0
  4. package/cli/commands/expo/_setup.ts +260 -0
  5. package/cli/commands/expo/build.ts +15 -0
  6. package/cli/commands/expo/dev.ts +79 -0
  7. package/cli/commands/expo/expo.ts +23 -0
  8. package/cli/commands/expo/launch.ts +15 -0
  9. package/cli/commands/expo/update.ts +16 -0
  10. package/cli/commands/nextjs/dev.ts +17 -0
  11. package/cli/commands/nextjs/nextjs.ts +10 -0
  12. package/cli/commands/uds.ts +10 -0
  13. package/cli/commands/version.ts +11 -0
  14. package/cli/env.d.ts +15 -0
  15. package/cli/eslint.config.mjs +8 -0
  16. package/cli/tsconfig.json +10 -0
  17. package/cli/uds-cli +7 -0
  18. package/cli/utils/configWorker.ts +9 -0
  19. package/cli/utils/getCommandHelp.ts +65 -0
  20. package/cli/utils/setupConfigWorker.ts +81 -0
  21. package/cli/utils/sortKeys.ts +27 -0
  22. package/cli/utils/types.ts +13 -0
  23. package/dist/chunk-3I3D5S54.js +1 -0
  24. package/dist/chunk-74YHFBTD.js +1 -0
  25. package/dist/chunk-AWTLI4D3.js +1 -0
  26. package/dist/chunk-D4K3CXV6.js +0 -0
  27. package/dist/chunk-M346JMQS.js +0 -0
  28. package/dist/chunk-MBOOJIH7.js +1 -0
  29. package/dist/chunk-MFA2Y7DA.js +1 -0
  30. package/dist/chunk-P7GR6E3K.js +1 -0
  31. package/dist/chunk-PQBOZFJV.js +1 -0
  32. package/dist/chunk-WYDHNV42.js +1 -0
  33. package/dist/fixtures/index.cjs +1 -0
  34. package/dist/fixtures/index.d.cts +141 -0
  35. package/dist/fixtures/index.d.ts +141 -0
  36. package/dist/fixtures/index.js +1 -0
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.d.cts +62 -93
  39. package/dist/index.d.ts +62 -93
  40. package/dist/index.js +1 -1
  41. package/dist/index.native-3ww4C4UV.d.cts +15 -0
  42. package/dist/index.native-9kYJrUPa.d.ts +15 -0
  43. package/dist/index.native.cjs +1 -0
  44. package/dist/index.native.d.cts +1493 -0
  45. package/dist/index.native.d.ts +1493 -0
  46. package/dist/index.native.js +1 -0
  47. package/dist/tailwindPlugin.cjs +1 -1
  48. package/dist/tailwindPlugin.d.cts +2 -1
  49. package/dist/tailwindPlugin.d.ts +2 -1
  50. package/dist/tailwindPlugin.js +1 -1
  51. package/dist/tokens/index.cjs +1 -0
  52. package/dist/tokens/index.d.cts +39 -0
  53. package/dist/tokens/index.d.ts +39 -0
  54. package/dist/tokens/index.js +1 -0
  55. package/dist/tokens/index.native.cjs +1 -0
  56. package/dist/tokens/index.native.d.cts +3 -0
  57. package/dist/tokens/index.native.d.ts +3 -0
  58. package/dist/tokens/index.native.js +1 -0
  59. package/dist/tokens/parseTokens.cjs +1 -0
  60. package/dist/tokens/parseTokens.d.cts +85 -0
  61. package/dist/tokens/parseTokens.d.ts +85 -0
  62. package/dist/tokens/parseTokens.js +1 -0
  63. package/dist/tokens/parseTokens.native.cjs +1 -0
  64. package/dist/tokens/parseTokens.native.d.cts +416 -0
  65. package/dist/tokens/parseTokens.native.d.ts +416 -0
  66. package/dist/tokens/parseTokens.native.js +1 -0
  67. package/dist/types-J4DLS6Xj.d.cts +38 -0
  68. package/dist/types-J4DLS6Xj.d.ts +38 -0
  69. package/dist/types-hirL9Qk5.d.cts +510 -0
  70. package/dist/types-hirL9Qk5.d.ts +510 -0
  71. package/fonts/mobile.cjs +29 -0
  72. package/fonts/mobile.d.ts +3 -0
  73. package/fonts/yahoo-icons.ttf +0 -0
  74. package/fonts/yahoo-sans-beta-bold.otf +0 -0
  75. package/fonts/yahoo-sans-beta-medium.otf +0 -0
  76. package/fonts/yahoo-sans-beta-regular.otf +0 -0
  77. package/fonts/yahoo-sans-black.otf +0 -0
  78. package/fonts/yahoo-sans-bold.otf +0 -0
  79. package/fonts/yahoo-sans-condensed-black.otf +0 -0
  80. package/fonts/yahoo-sans-condensed-bold.otf +0 -0
  81. package/fonts/yahoo-sans-condensed-light.otf +0 -0
  82. package/fonts/yahoo-sans-condensed-medium.otf +0 -0
  83. package/fonts/yahoo-sans-condensed-regular.otf +0 -0
  84. package/fonts/yahoo-sans-extrabold.otf +0 -0
  85. package/fonts/yahoo-sans-extralight.otf +0 -0
  86. package/fonts/yahoo-sans-italic.otf +0 -0
  87. package/fonts/yahoo-sans-light.otf +0 -0
  88. package/fonts/yahoo-sans-medium.otf +0 -0
  89. package/fonts/yahoo-sans-regular.otf +0 -0
  90. package/fonts/yahoo-sans-semibold.otf +0 -0
  91. package/fonts/yahoo-serif-display-black.otf +0 -0
  92. package/fonts/yahoo-serif-display-bold.otf +0 -0
  93. package/fonts/yahoo-serif-display-extrabold.otf +0 -0
  94. package/fonts/yahoo-serif-display-light.otf +0 -0
  95. package/fonts/yahoo-serif-display-regular.otf +0 -0
  96. package/fonts/yahoo-serif-text-bold.otf +0 -0
  97. package/fonts/yahoo-serif-text-italic.otf +0 -0
  98. package/fonts/yahoo-serif-text-regular.otf +0 -0
  99. package/package.json +130 -35
  100. package/bin/uds +0 -0
@@ -0,0 +1,510 @@
1
+ import { PropsWithChildren } from 'react';
2
+
3
+ declare const alwaysPalette: {
4
+ white: string;
5
+ black: string;
6
+ transparent: string;
7
+ };
8
+
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
+ type PaletteType = keyof PaletteConfig;
12
+ type PaletteValue = {
13
+ hue: Hue;
14
+ step: HueStep;
15
+ opacity?: string;
16
+ };
17
+ type Palette = {
18
+ [key in PaletteType]: keyof PaletteConfig[key];
19
+ };
20
+ type Hue = 'gray' | 'purple' | 'indigo' | 'blue' | 'cyan' | 'teal' | 'mint' | 'green' | 'lime' | 'citron' | 'yellow' | 'brown' | 'nude' | 'orange' | 'sunset' | 'red' | 'rose' | 'pink' | 'magenta' | 'carbon';
21
+ type HueStep = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15';
22
+ type SpectrumColor = `${Hue}-${HueStep}`;
23
+ type CorePalette = {
24
+ accent: PaletteValue;
25
+ alert: PaletteValue;
26
+ brand: PaletteValue;
27
+ positive: PaletteValue;
28
+ warning: PaletteValue;
29
+ };
30
+ type CorePaletteAlias = keyof CorePalette;
31
+ type BackgroundPalette = {
32
+ primary: PaletteValue;
33
+ secondary: PaletteValue;
34
+ };
35
+ type BackgroundPaletteAlias = keyof BackgroundPalette;
36
+ type BackgroundWashPalette = {
37
+ 'accent-wash': PaletteValue;
38
+ 'alert-wash': PaletteValue;
39
+ 'brand-wash': PaletteValue;
40
+ 'positive-wash': PaletteValue;
41
+ 'warning-wash': PaletteValue;
42
+ };
43
+ type BackgroundWashPaletteAlias = keyof BackgroundWashPalette;
44
+ type ElevationPalette = {
45
+ 'elevation-1': PaletteValue;
46
+ 'elevation-2': PaletteValue;
47
+ 'elevation-3': PaletteValue;
48
+ 'elevation-3-inverse': PaletteValue;
49
+ overlay: PaletteValue;
50
+ };
51
+ type ElevationPaletteAlias = keyof ElevationPalette;
52
+ type ForegroundPalette = {
53
+ primary: PaletteValue;
54
+ secondary: PaletteValue;
55
+ tertiary: PaletteValue;
56
+ muted: PaletteValue;
57
+ 'on-color': PaletteValue;
58
+ };
59
+ type ForegroundPaletteAlias = keyof ForegroundPalette;
60
+ type LinePalette = {
61
+ primary: PaletteValue;
62
+ secondary: PaletteValue;
63
+ tertiary: PaletteValue;
64
+ muted: PaletteValue;
65
+ };
66
+ type LinePaletteAlias = keyof LinePalette;
67
+ type AlwaysPalette = typeof alwaysPalette;
68
+ type AlwaysPaletteAlias = keyof AlwaysPalette;
69
+ type ForegroundColor = CorePaletteAlias | ForegroundPaletteAlias | AlwaysPaletteAlias;
70
+ type LineColor = CorePaletteAlias | LinePaletteAlias | AlwaysPaletteAlias;
71
+ type BackgroundColor = CorePaletteAlias | BackgroundPaletteAlias | BackgroundWashPaletteAlias | ElevationPaletteAlias | AlwaysPaletteAlias;
72
+ type TextVariant = 'display1' | 'title1' | 'title2' | 'title3' | 'title4' | 'headline1' | 'body1' | 'label1' | 'label2' | 'caption1' | 'caption2' | 'legal1';
73
+ type FontFamilyGlobalAlias = 'icons' | 'sans' | 'sans-beta' | 'sans-condensed' | 'serif-text' | 'serif-display';
74
+ type FontFamilyGlobalConfig = Record<FontFamilyGlobalAlias, {
75
+ fallbacks: string[];
76
+ name: string;
77
+ }>;
78
+ type FontWeightNumericAlias = '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
79
+ type FontWeightDescriptiveAlias = 'thin' | 'extralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
80
+ type TextTransformAlias = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
81
+ type LetterSpacingAlias = 'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest';
82
+ type LineClampAlias = '1' | '2' | '3' | '4' | '5' | '6';
83
+ type TextConfig = {
84
+ fontFamily: FontFamilyGlobalAlias;
85
+ fontSize: number;
86
+ fontWeight: FontWeightNumericAlias;
87
+ lineHeight: LineHeightConfig;
88
+ textTransform?: TextTransformAlias;
89
+ letterSpacing?: LetterSpacingAlias;
90
+ };
91
+ type TextTransformConfig = Record<TextVariant, TextTransformAlias>;
92
+ type FontSizeConfig = Record<TextVariant, number>;
93
+ type FontFamilyConfig = Record<TextVariant, FontFamilyGlobalAlias>;
94
+ type FontWeightConfig = Record<TextVariant, FontWeightDescriptiveAlias>;
95
+ type LineHeightConfig = Record<TextVariant, number>;
96
+ type AvatarSizeConfig = {
97
+ s: number;
98
+ m: number;
99
+ l: number;
100
+ };
101
+ type AvatarSizeAlias = keyof AvatarSizeConfig;
102
+ type IconSizeConfig = {
103
+ s: number;
104
+ m: number;
105
+ l: number;
106
+ };
107
+ type IconSizeAlias = keyof IconSizeConfig;
108
+ type AspectRatioConfig = Record<string, string>;
109
+ type AspectRatioAlias = keyof AspectRatioConfig;
110
+ type SpacingConfig = {
111
+ '0': number;
112
+ '1': number;
113
+ '2': number;
114
+ '3': number;
115
+ '4': number;
116
+ '5': number;
117
+ '6': number;
118
+ '7': number;
119
+ '8': number;
120
+ '9': number;
121
+ '10': number;
122
+ '11': number;
123
+ '12': number;
124
+ '13': number;
125
+ '14': number;
126
+ };
127
+ type SpacingAlias = keyof SpacingConfig;
128
+ type ZIndexAlias = 'auto' | '0' | '10' | '20' | '30' | '40' | '50';
129
+ type ZIndexConfig = Record<ZIndexAlias, string>;
130
+ type ShapeConfig = {
131
+ square: number;
132
+ xs: number;
133
+ s: number;
134
+ m: number;
135
+ l: number;
136
+ xl: number;
137
+ xxl: number;
138
+ circle: number;
139
+ };
140
+ type ShapeAlias = keyof ShapeConfig;
141
+ type ElevationAlias = '1' | '2' | '3';
142
+ type ElevationConfig = Record<ElevationAlias, BoxShadowConfig>;
143
+ type BorderWidthConfig = {
144
+ '1': number;
145
+ '2': number;
146
+ '4': number;
147
+ '0': number;
148
+ '8': number;
149
+ };
150
+ type BorderWidthAlias = keyof BorderWidthConfig;
151
+ type BoxShadowConfig = {
152
+ color: string;
153
+ offsetX: number;
154
+ offsetY: number;
155
+ blurRadius: number;
156
+ spreadRadius: number;
157
+ }[];
158
+ type OpacityAlias = '0' | '5' | '10' | '20' | '25' | '30' | '40' | '50' | '60' | '70' | '75' | '80' | '90' | '95' | '100';
159
+ type ColorModeConfig = {
160
+ light: ColorsConfig;
161
+ dark: ColorsConfig;
162
+ };
163
+ type ColorsConfig = {
164
+ palette: PaletteConfig;
165
+ spectrum: SpectrumConfig;
166
+ };
167
+ type SpectrumValue = Record<HueStep, string>;
168
+ type SpectrumConfig = Record<Hue, SpectrumValue>;
169
+ type PaletteConfig = {
170
+ core: CorePalette;
171
+ background: BackgroundPalette;
172
+ backgroundWash: BackgroundWashPalette;
173
+ elevation: ElevationPalette;
174
+ foreground: ForegroundPalette;
175
+ line: LinePalette;
176
+ };
177
+ type ScaleConfig = {
178
+ avatarSizes: AvatarSizeConfig;
179
+ iconSizes: IconSizeConfig;
180
+ spacing: SpacingConfig;
181
+ shapes: ShapeConfig;
182
+ fontFamily: FontFamilyConfig;
183
+ fontSize: FontSizeConfig;
184
+ fontWeight: FontWeightConfig;
185
+ lineHeight: LineHeightConfig;
186
+ textTransform: TextTransformConfig;
187
+ };
188
+ type ScaleModeConfig = {
189
+ xSmall: ScaleConfig;
190
+ small: ScaleConfig;
191
+ medium: ScaleConfig;
192
+ large: ScaleConfig;
193
+ xLarge: ScaleConfig;
194
+ xxLarge: ScaleConfig;
195
+ xxxLarge: ScaleConfig;
196
+ };
197
+ type UniversalTokensConfig = {
198
+ colorMode: ColorModeConfig;
199
+ scaleMode: ScaleModeConfig;
200
+ aspectRatio: Record<string, string>;
201
+ fontFamily: FontFamilyGlobalConfig;
202
+ elevation: ElevationConfig;
203
+ borderWidth: BorderWidthConfig;
204
+ zIndex: ZIndexConfig;
205
+ };
206
+ type PlatformMode = 'web' | 'ios' | 'android';
207
+ type ColorMode = keyof ColorModeConfig;
208
+ type ColorModeForApp = ColorMode | 'system';
209
+ type ScaleMode = keyof ScaleModeConfig;
210
+ type ScaleModeForApp = ScaleMode | 'system';
211
+ type HighContrastMode = boolean;
212
+ type RegionMode = '🇺🇸 US' | '🇩🇪 DE' | '🇫🇷 FR' | '🇨🇳 CN';
213
+ interface Modes {
214
+ colorMode: ColorMode;
215
+ scaleMode: ScaleMode;
216
+ }
217
+ type Animation = 'none' | 'spin' | 'ping' | 'pulse' | 'bounce' | 'accordion-down' | 'accordion-up';
218
+ type TransitionDelay = '0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000';
219
+ type TransitionDuration = '0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000';
220
+ type TransitionTiming = 'linear' | 'in' | 'out' | 'in-out';
221
+ type AriaAttribute = 'busy' | 'checked' | 'disabled' | 'expanded' | 'hidden' | 'pressed' | 'readonly' | 'required' | 'selected' | 'invalid';
222
+ type DataAttribute = 'active' | 'active-item' | 'autofill' | 'backdrop' | 'enter' | 'leave' | 'focus-visible';
223
+ type Flex = '1' | 'auto' | 'initial' | 'none';
224
+ type FlexGrow = '0' | '1' | '2' | '3';
225
+ type FlexShrink = '0' | '1';
226
+ type FlexAlignContent = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'space-between' | 'space-around';
227
+ type FlexAlignItems = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
228
+ type FlexAlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
229
+ type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
230
+ type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
231
+ type FlexJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
232
+ type FlexBasis = 'min-content';
233
+ type Height = 'auto' | '1/2' | '1/3' | '2/3' | '1/4' | '2/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5' | '1/6' | '2/6' | '3/6' | '4/6' | '5/6' | 'full' | 'screen' | 'min' | 'max' | 'fit';
234
+ type MaxHeight = 'none' | 'full' | 'screen' | 'min' | 'max' | 'fit';
235
+ type MaxWidth = 'none' | 'full' | 'min' | 'max' | 'fit';
236
+ type MinHeight = 'full' | 'min' | 'max' | 'fit' | 'screen';
237
+ type MinWidth = 'full' | 'min' | 'max' | 'fit' | 'screen';
238
+ type Width = 'auto' | 'full' | 'screen' | 'min' | 'max' | 'fit' | '1/2' | '1/3' | '2/3' | '1/4' | '2/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5' | '1/6' | '2/6' | '3/6' | '4/6' | '5/6' | '1/12' | '2/12' | '3/12' | '4/12' | '5/12' | '6/12' | '7/12' | '8/12' | '9/12' | '10/12' | '11/12';
239
+ type Display = 'block' | 'inline-block' | 'inline' | 'flex' | 'inline-flex' | 'table' | 'inline-table' | 'table-caption' | 'table-cell' | 'table-column' | 'table-column-group' | 'table-footer-group' | 'table-header-group' | 'table-row-group' | 'table-row' | 'flow-root' | 'grid' | 'contents';
240
+ type Overflow = 'auto' | 'hidden' | 'clip' | 'visible' | 'scroll';
241
+ type Position = 'static' | 'fixed' | 'absolute' | 'relative' | 'sticky';
242
+ type ImageStyleProps = {
243
+ /**
244
+ * Determines how the image should be resized to fit its container.
245
+ */
246
+ contentFit?: 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
247
+ };
248
+ interface BorderStyleProps {
249
+ /** Add a border around all sides of the box. */
250
+ bordered?: boolean;
251
+ /** Add a border to the top side of the box. */
252
+ borderedTop?: boolean;
253
+ /** Add a border to the bottom side of the box. */
254
+ borderedBottom?: boolean;
255
+ /** Add a border to the leading side of the box. */
256
+ borderedStart?: boolean;
257
+ /** Add a border to the trailing side of the box. */
258
+ borderedEnd?: boolean;
259
+ /** Add a border to the leading and trailing sides of the box. */
260
+ borderedHorizontal?: boolean;
261
+ /** Add a border to the top and bottom sides of the box. */
262
+ borderedVertical?: boolean;
263
+ /** Add a border radius to all corners of the box. */
264
+ borderRadius?: ShapeAlias;
265
+ /** Add a border radius to top left corner of the box. */
266
+ borderTopStartRadius?: ShapeAlias;
267
+ /** Add a border radius to top right corner of the box. */
268
+ borderTopEndRadius?: ShapeAlias;
269
+ /** Add a border radius to bottom left corner of the box. */
270
+ borderBottomStartRadius?: ShapeAlias;
271
+ /** Add a border radius to bottom right corner of the box. */
272
+ borderBottomEndRadius?: ShapeAlias;
273
+ /** Adds a custom border color from the palette */
274
+ borderColor?: LineColor;
275
+ /** Utility for controlling an element's border color on active. */
276
+ borderColorOnActive?: LineColor;
277
+ /** Utility for controlling an element's border color on focus. */
278
+ borderColorOnFocus?: LineColor;
279
+ /** Utility for controlling an element's border color on checked. */
280
+ borderColorOnChecked?: LineColor;
281
+ /** Utility for controlling an element's border color on hover. */
282
+ borderColorOnHover?: LineColor;
283
+ /** Adds a custom border color from the palette */
284
+ borderStartColor?: LineColor;
285
+ /** Adds a custom border color from the palette */
286
+ borderEndColor?: LineColor;
287
+ /** Adds a custom border color from the palette */
288
+ borderTopColor?: LineColor;
289
+ /** Adds a custom border color from the palette */
290
+ borderBottomColor?: LineColor;
291
+ /** Shorthand property to the width of an element's border. */
292
+ borderWidth?: BorderWidthAlias;
293
+ /** Sets the width of the top and bottom border of an element. */
294
+ borderVerticalWidth?: BorderWidthAlias;
295
+ /** Sets the width of the start (left) and end (right) border of an element. */
296
+ borderHorizontalWidth?: BorderWidthAlias;
297
+ /** Sets the width of the start (left) border of an element. */
298
+ borderStartWidth?: BorderWidthAlias;
299
+ /** Sets the width of the end (right) border of an element. */
300
+ borderEndWidth?: BorderWidthAlias;
301
+ /** Sets the width of the top border of an element. */
302
+ borderTopWidth?: BorderWidthAlias;
303
+ /** Sets the width of the bottom border of an element. */
304
+ borderBottomWidth?: BorderWidthAlias;
305
+ }
306
+ interface LayoutStyleProps {
307
+ /** Sets whether an element is treated as a block or inline box and the layout used for its children, such as flow layout, grid or flex. */
308
+ display?: Display;
309
+ /** Sets the z-order of a positioned element and its descendants or flex and grid items. Overlapping elements with a larger z-index cover those with a smaller one. */
310
+ zIndex?: ZIndexAlias;
311
+ /** Shorthand property which sets the desired behavior when content does not fit in the parent element box (overflows) in the horizontal and/or vertical direction. */
312
+ overflow?: Overflow;
313
+ /** Sets what shows when content overflows a block-level element's left and right edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property. */
314
+ overflowX?: Overflow;
315
+ /** sets what shows when content overflows a block-level element's top and bottom edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property. */
316
+ overflowY?: Overflow;
317
+ /** Sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements. */
318
+ position?: Position;
319
+ }
320
+ interface SpacingStyleProps {
321
+ /** Apply inner spacing on all sides. */
322
+ spacing?: SpacingAlias;
323
+ /** Apply inner spacing on the leading and trailing sides. */
324
+ spacingHorizontal?: SpacingAlias;
325
+ /** Apply inner spacing on the top and bottom sides. */
326
+ spacingVertical?: SpacingAlias;
327
+ /** Apply inner spacing on the bottom side. */
328
+ spacingBottom?: SpacingAlias;
329
+ /** Apply inner spacing on the trailing side. */
330
+ spacingEnd?: SpacingAlias;
331
+ /** Apply inner spacing on the leading side. */
332
+ spacingStart?: SpacingAlias;
333
+ /** Apply inner spacing on the top side. */
334
+ spacingTop?: SpacingAlias;
335
+ /** Apply negative outer spacing on all sides. */
336
+ offset?: SpacingAlias;
337
+ /** Apply negative outer spacing on the top and bottom sides. */
338
+ offsetVertical?: SpacingAlias;
339
+ /** Apply negative outer spacing on the leading and trailing sides. */
340
+ offsetHorizontal?: SpacingAlias;
341
+ /** Apply negative outer spacing on the bottom side. */
342
+ offsetBottom?: SpacingAlias;
343
+ /** Apply negative outer spacing on the trailing side. */
344
+ offsetEnd?: SpacingAlias;
345
+ /** Apply negative outer spacing on the leading side. */
346
+ offsetStart?: SpacingAlias;
347
+ /** Apply negative outer spacing on the top side. */
348
+ offsetTop?: SpacingAlias;
349
+ /** Control the horizontal gutters between grid and flexbox items. */
350
+ columnGap?: SpacingAlias;
351
+ /** Control the vertical gutters between grid and flexbox items. */
352
+ rowGap?: SpacingAlias;
353
+ }
354
+ interface FlexStyleProps {
355
+ /** Sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis. */
356
+ alignContent?: FlexAlignContent;
357
+ /** Sets the align-self value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area. */
358
+ alignItems?: FlexAlignItems;
359
+ /** Overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis. */
360
+ alignSelf?: FlexAlignSelf;
361
+ /** Sets how a flex item will grow or shrink to fit the space available in its flex container. */
362
+ flex?: Flex;
363
+ /** Sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed). */
364
+ flexDirection?: FlexDirection;
365
+ /** Sets the flex grow factor, which specifies how much of the flex container's remaining space should be assigned to the flex item's main size. */
366
+ flexGrow?: FlexGrow;
367
+ /** Sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to flex-shrink. */
368
+ flexShrink?: FlexShrink;
369
+ /** Sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked. */
370
+ flexWrap?: FlexWrap;
371
+ /** Defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container. */
372
+ justifyContent?: FlexJustifyContent;
373
+ /** Sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with box-sizing. https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis */
374
+ flexBasis?: FlexBasis;
375
+ }
376
+ interface OpacityStyleProps {
377
+ opacity?: OpacityAlias;
378
+ }
379
+ interface SizingStyleProps {
380
+ /** Sets the height of an element */
381
+ height?: Height;
382
+ /** Sets the height of an element */
383
+ minHeight?: MinHeight;
384
+ /** Sets the maximum height of an element */
385
+ maxHeight?: MaxHeight;
386
+ /** Sets the width of an element */
387
+ width?: Width;
388
+ /** Sets the minimum width of an element */
389
+ minWidth?: MinWidth;
390
+ /** Sets the maximum width of an element */
391
+ maxWidth?: MaxWidth;
392
+ }
393
+ interface StateStyleProps {
394
+ interactable?: boolean;
395
+ focusable?: boolean;
396
+ }
397
+ interface TextStyleProps {
398
+ /** Utility for controlling the color of a Text or Icon element */
399
+ color?: ForegroundColor;
400
+ /** Utility for controlling the color of a Text or Icon element when checked */
401
+ colorChecked?: ForegroundColor;
402
+ /** Utility for controlling the font family of a Text element */
403
+ fontFamily?: TextVariant | FontFamilyGlobalAlias;
404
+ /** Utility for controlling the font size of a Text element */
405
+ fontSize?: TextVariant;
406
+ /** Utility for controlling the font weight of a Text element */
407
+ fontWeight?: TextVariant | FontWeightDescriptiveAlias;
408
+ /** Utility for controlling the line height of a Text element */
409
+ lineHeight?: TextVariant;
410
+ /** Utility for controlling the text alignment of a Text element */
411
+ textAlign?: 'center' | 'justify' | 'start' | 'end';
412
+ /** Utility for controlling the text transformation of a Text element */
413
+ textTransform?: TextVariant | TextTransformAlias;
414
+ }
415
+ interface BackgroundStyleProps {
416
+ /** Utility for controlling the opacity of an element's background color. */
417
+ backgroundColorOpacity?: OpacityAlias;
418
+ /** Utility for controlling an element's background color. */
419
+ backgroundColor?: BackgroundColor;
420
+ /** Utility for controlling an element's background color on active. */
421
+ backgroundColorOnActive?: BackgroundColor;
422
+ /** Utility for controlling an element's background color on focus. */
423
+ backgroundColorOnFocus?: BackgroundColor;
424
+ /** Utility for controlling an element's background color on checked. */
425
+ backgroundColorOnChecked?: BackgroundColor;
426
+ /** Utility for controlling an element's background color on hover. */
427
+ backgroundColorOnHover?: BackgroundColor;
428
+ /** Determines box shadow styles. Parent should have overflow set to visible to ensure styles are not clipped. */
429
+ elevation?: ElevationAlias;
430
+ }
431
+ type CustomSizingStyleProps = {
432
+ iconSize?: IconSizeAlias;
433
+ avatarSize?: AvatarSizeAlias;
434
+ imageWidth?: number;
435
+ imageHeight?: number;
436
+ };
437
+ type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & OpacityStyleProps & SizingStyleProps & ImageStyleProps & CustomSizingStyleProps;
438
+ interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, OpacityStyleProps, SizingStyleProps, SpacingStyleProps {
439
+ /**
440
+ * When asChild is set to true, the component's child will be cloned and passed
441
+ * the props and behavior required to make it functional.
442
+ */
443
+ asChild?: boolean;
444
+ }
445
+ interface UniversalStackProps extends Omit<UniversalBoxProps, 'flexDirection'> {
446
+ gap?: SpacingAlias;
447
+ }
448
+ interface UniversalTextProps extends PropsWithChildren, TextStyleProps, UniversalBoxProps {
449
+ variant?: TextVariant;
450
+ }
451
+ type IconName = IconName$1;
452
+ interface UniversalIconProps extends Omit<UniversalTextProps, 'children' | 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight'>, UniversalBoxProps {
453
+ size?: IconSizeAlias;
454
+ name: IconName;
455
+ }
456
+ interface UniversalPressableProps extends UniversalBoxProps {
457
+ onPress?: () => void;
458
+ }
459
+ type ButtonVariant = CorePaletteAlias | `${CorePaletteAlias}-outline` | `${CorePaletteAlias}-ghost` | `${CorePaletteAlias}-wash` | 'primary-ghost' | 'primary-outline' | 'secondary';
460
+ type ButtonSize = 's' | 'm' | 'l';
461
+ interface UniversalIconButtonProps {
462
+ /**
463
+ * The variant of the button
464
+ * @default 'accent'
465
+ */
466
+ variant?: ButtonVariant;
467
+ /**
468
+ * The size of the button
469
+ * @default 'm'
470
+ */
471
+ size?: ButtonSize;
472
+ /** The name of the icon to be displayed at the start of the button. */
473
+ name: IconName;
474
+ }
475
+ interface UniversalButtonProps {
476
+ /**
477
+ * The variant of the button
478
+ * @default 'accent'
479
+ */
480
+ variant?: ButtonVariant;
481
+ /**
482
+ * The size of the button
483
+ * @default 'm'
484
+ */
485
+ size?: ButtonSize;
486
+ /** The name of the icon to be displayed at the start of the button. */
487
+ startIcon?: IconName;
488
+ /** The name of the icon to be displayed at the end of the button. */
489
+ endIcon?: IconName;
490
+ /** Indicates whether the button should span the full width of its container. */
491
+ fullWidth?: boolean;
492
+ }
493
+ interface UniversalImageProps extends Omit<UniversalBoxProps, 'width' | 'height'>, ImageStyleProps {
494
+ /** The source URL of the image. */
495
+ src: string;
496
+ /** Provides fallback (alternate) text to display when the image specified by the Image element is not loaded. */
497
+ alt?: string;
498
+ width?: number;
499
+ height?: number;
500
+ }
501
+ interface UniversalAvatarProps extends UniversalImageProps {
502
+ /** The size of the Avatar. */
503
+ size?: AvatarSizeAlias;
504
+ /** The shape of the Avatar. */
505
+ shape?: ShapeAlias;
506
+ }
507
+ interface UniversalTextInputProps {
508
+ }
509
+
510
+ export { type FlexStyleProps as $, type AlwaysPalette as A, type BorderWidthConfig as B, type ColorMode as C, type AspectRatioAlias as D, type ElevationConfig as E, type ForegroundPalette as F, type AspectRatioConfig as G, type Hue as H, type IconName as I, type AvatarSizeAlias as J, type AvatarSizeConfig as K, type LinePalette as L, type BackgroundColor as M, type BackgroundPaletteAlias as N, type Overflow as O, type PaletteValue as P, type BackgroundStyleProps as Q, type BackgroundWashPaletteAlias as R, type ScaleMode as S, type BorderStyleProps as T, type UniversalTokensConfig as U, type BorderWidthAlias as V, type BoxShadowConfig as W, type ColorModeForApp as X, type CorePaletteAlias as Y, type DataAttribute as Z, type ElevationPaletteAlias as _, type ColorsConfig as a, type FontFamilyConfig as a0, type FontFamilyGlobalAlias as a1, type FontSizeConfig as a2, type FontWeightDescriptiveAlias as a3, type ForegroundPaletteAlias as a4, type HighContrastMode as a5, type IconSizeAlias as a6, type IconSizeConfig as a7, type LayoutStyleProps as a8, type LetterSpacingAlias as a9, type TextStyleProps as aA, type TextTransformAlias as aB, type TextTransformConfig as aC, type TextVariant as aD, type TransitionDelay as aE, type TransitionDuration as aF, type TransitionTiming as aG, type ZIndexAlias as aH, type ZIndexConfig as aI, type LineClampAlias as aa, type LineColor as ab, type LineHeightConfig as ac, type LinePaletteAlias as ad, type Modes as ae, type OpacityAlias as af, type OpacityStyleProps as ag, type Palette as ah, type PaletteConfig as ai, type PaletteType as aj, type PlatformMode as ak, type RegionMode as al, type ScaleConfig as am, type ScaleModeConfig as an, type ScaleModeForApp as ao, type ShapeAlias as ap, type ShapeConfig as aq, type SizingStyleProps as ar, type SpacingAlias as as, type SpacingConfig as at, type SpacingStyleProps as au, type SpectrumColor as av, type SpectrumConfig as aw, type StateStyleProps as ax, type StyleProps as ay, type TextConfig as az, type HueStep as b, type CorePalette as c, type BackgroundPalette as d, type BackgroundWashPalette as e, type FontWeightConfig as f, type FontWeightNumericAlias as g, type ElevationAlias as h, type FontFamilyGlobalConfig as i, type UniversalAvatarProps as j, type UniversalBoxProps as k, type UniversalPressableProps as l, type UniversalButtonProps as m, type UniversalTextProps as n, type ButtonVariant as o, type ButtonSize as p, type UniversalStackProps as q, type UniversalIconProps as r, type UniversalIconButtonProps as s, type ForegroundColor as t, type UniversalImageProps as u, type UniversalTextInputProps as v, alwaysPalette as w, type AlwaysPaletteAlias as x, type Animation as y, type AriaAttribute as z };
@@ -0,0 +1,29 @@
1
+ // ts-check
2
+ var fonts = [
3
+ require.resolve('@yahoo/uds/fonts/yahoo-icons.ttf'),
4
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-extralight.otf'),
5
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-light.otf'),
6
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-regular.otf'),
7
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-medium.otf'),
8
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-semibold.otf'),
9
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-bold.otf'),
10
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-extrabold.otf'),
11
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-black.otf'),
12
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-italic.otf'),
13
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-condensed-medium.otf'),
14
+ require.resolve('@yahoo/uds/fonts/yahoo-serif-display-black.otf'),
15
+ require.resolve('@yahoo/uds/fonts/yahoo-serif-display-regular.otf'),
16
+ require.resolve('@yahoo/uds/fonts/yahoo-serif-text-regular.otf'),
17
+ require.resolve('@yahoo/uds/fonts/yahoo-serif-text-bold.otf'),
18
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-condensed-light.otf'),
19
+ require.resolve('@yahoo/uds/fonts/yahoo-serif-display-extrabold.otf'),
20
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-condensed-black.otf'),
21
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-condensed-regular.otf'),
22
+ require.resolve('@yahoo/uds/fonts/yahoo-serif-display-light.otf'),
23
+ require.resolve('@yahoo/uds/fonts/yahoo-serif-text-italic.otf'),
24
+ require.resolve('@yahoo/uds/fonts/yahoo-sans-condensed-bold.otf'),
25
+ require.resolve('@yahoo/uds/fonts/yahoo-serif-display-bold.otf'),
26
+ ];
27
+
28
+ // eslint-disable-next-line no-undef
29
+ module.exports.fonts = fonts;
@@ -0,0 +1,3 @@
1
+ declare const fonts: string[];
2
+
3
+ export { fonts };
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file