@primer/react-brand 0.9.1 → 0.9.2-rc.c1c0f7d

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 (107) hide show
  1. package/lib/CTABanner/CTABanner.d.ts +12 -2
  2. package/lib/Heading/Heading.d.ts +10 -1
  3. package/lib/Stack/Stack.d.ts +2 -2
  4. package/lib/Text/Text.d.ts +17 -2
  5. package/lib/css/main.css +211 -21
  6. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  7. package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
  8. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  9. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  10. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  11. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  12. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  13. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  14. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  15. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  16. package/lib/design-tokens/css/tokens/functional/components/control/base.css +1 -1
  17. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  18. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
  19. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  20. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  21. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  22. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  23. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  24. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  25. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  26. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  27. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  28. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  29. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  30. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  31. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  32. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  33. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  34. package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
  35. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  36. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  37. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  38. package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +1 -1
  39. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  40. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  41. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  42. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  43. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  44. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  45. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  46. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  47. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  48. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  49. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  50. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  51. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  52. package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
  53. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  54. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  55. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  56. package/lib/design-tokens/js/tokens/functional/components/control/base.js +1 -1
  57. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  58. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  59. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  60. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  61. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  62. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  63. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  64. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  65. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  66. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  67. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  68. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  69. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  70. package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
  71. package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
  72. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  73. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  74. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  75. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  76. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  77. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  78. package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +1 -1
  79. package/lib/design-tokens/ts/tokens/functional/components/control/base.js +1 -1
  80. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  81. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  82. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  83. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  84. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  85. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  86. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  87. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  88. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  89. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  90. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  91. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  92. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  93. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  94. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  95. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  96. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  97. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  98. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  99. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  100. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  101. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  102. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  103. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  104. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  105. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  106. package/lib/index.js +1 -1
  107. package/package.json +1 -1
@@ -23,7 +23,12 @@ export declare const _Heading: React.ForwardRefExoticComponent<Pick<BaseProps<HT
23
23
  } & {
24
24
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
25
25
  size?: "1" | "2" | "3" | "4" | "5" | "6" | undefined;
26
- } & React.HTMLAttributes<HTMLHeadingElement>, "children" | "className" | "id" | "slot" | "style" | "title" | "as" | "size" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
26
+ weight?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | {
27
+ narrow?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | undefined;
28
+ regular?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | undefined;
29
+ wide?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | undefined;
30
+ } | undefined;
31
+ } & React.HTMLAttributes<HTMLHeadingElement>, "children" | "className" | "id" | "slot" | "style" | "title" | "as" | "size" | "weight" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
27
32
  export declare const Description: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLParagraphElement> & {
28
33
  children: React.ReactNode | React.ReactNode[];
29
34
  }, "children" | "className" | "id"> & React.RefAttributes<HTMLParagraphElement>>;
@@ -39,7 +44,12 @@ export declare const CTABanner: React.ForwardRefExoticComponent<Pick<BaseProps<H
39
44
  } & {
40
45
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
41
46
  size?: "1" | "2" | "3" | "4" | "5" | "6" | undefined;
42
- } & React.HTMLAttributes<HTMLHeadingElement>, "children" | "className" | "id" | "slot" | "style" | "title" | "as" | "size" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
47
+ weight?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | {
48
+ narrow?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | undefined;
49
+ regular?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | undefined;
50
+ wide?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | undefined;
51
+ } | undefined;
52
+ } & React.HTMLAttributes<HTMLHeadingElement>, "children" | "className" | "id" | "slot" | "style" | "title" | "as" | "size" | "weight" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
43
53
  Description: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLParagraphElement> & {
44
54
  children: React.ReactNode | React.ReactNode[];
45
55
  }, "children" | "className" | "id"> & React.RefAttributes<HTMLParagraphElement>>;
@@ -2,7 +2,14 @@ import React from 'react';
2
2
  import type { BaseProps } from '../component-helpers';
3
3
  export declare const HeadingSizes: readonly ["1", "2", "3", "4", "5", "6"];
4
4
  export declare const HeadingTags: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
5
+ export declare const HeadingWeights: readonly ["heavy", "extrabold", "bold", "semibold", "medium", "normal", "light"];
5
6
  export declare const defaultHeadingTag: "h2";
7
+ declare type HeadingWeightVariants = typeof HeadingWeights[number];
8
+ declare type ResponsiveWeightMap = {
9
+ narrow?: HeadingWeightVariants;
10
+ regular?: HeadingWeightVariants;
11
+ wide?: HeadingWeightVariants;
12
+ };
6
13
  export declare const classMap: {
7
14
  h1: "1";
8
15
  h2: "2";
@@ -14,8 +21,10 @@ export declare const classMap: {
14
21
  export declare type HeadingTags = BaseProps<HTMLHeadingElement> & {
15
22
  as?: typeof HeadingTags[number];
16
23
  size?: typeof HeadingSizes[number];
24
+ weight?: HeadingWeightVariants | ResponsiveWeightMap;
17
25
  } & React.HTMLAttributes<HTMLHeadingElement>;
18
26
  export declare type HeadingProps = {
19
27
  className?: string;
20
28
  } & HeadingTags;
21
- export declare const Heading: React.ForwardRefExoticComponent<Pick<HeadingProps, "children" | "className" | "id" | "slot" | "style" | "title" | "as" | "size" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
29
+ export declare const Heading: React.ForwardRefExoticComponent<Pick<HeadingProps, "children" | "className" | "id" | "slot" | "style" | "title" | "as" | "size" | "weight" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
30
+ export {};
@@ -85,7 +85,7 @@ export declare const Stack: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLE
85
85
  * A string value will be applied to all viewports.
86
86
  * An object can be used to define different values for different viewports.
87
87
  */
88
- gap?: "none" | "condensed" | "normal" | "spacious" | ResponsiveSpacingMap | undefined;
88
+ gap?: "normal" | "none" | "condensed" | "spacious" | ResponsiveSpacingMap | undefined;
89
89
  /**
90
90
  * Applies vertical alignment to child elements relative to the Stack, using the align-items CSS property.
91
91
  * A string value will be applied to all viewports.
@@ -97,7 +97,7 @@ export declare const Stack: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLE
97
97
  * A string value will be applied to all viewports.
98
98
  * An object can be used to define different values for different viewports.
99
99
  */
100
- padding?: "none" | "condensed" | "normal" | "spacious" | ResponsiveSpacingMap | undefined;
100
+ padding?: "normal" | "none" | "condensed" | "spacious" | ResponsiveSpacingMap | undefined;
101
101
  /**
102
102
  * Applies horizontal alignment to child elements relative to the Stack, using the justify-content CSS property.
103
103
  * A string value will be applied to all viewports.
@@ -1,16 +1,27 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  export declare const TextSizes: readonly ["700", "600", "500", "400", "300", "200", "100"];
3
- export declare const TextTags: readonly ["p", "span", "div"];
3
+ export declare const TextTags: readonly ["p", "span", "div", "strong", "em"];
4
4
  export declare const TextVariants: readonly ["default", "muted"];
5
+ export declare const TextWeights: readonly ["heavy", "extrabold", "bold", "semibold", "medium", "normal", "light"];
5
6
  export declare const defaultTextTag: "span";
6
7
  export declare const defaultTextSize: "400";
7
8
  export declare const defaultTextVariant: "default";
9
+ declare type TextWeightVariants = typeof TextWeights[number];
10
+ declare type ResponsiveWeightMap = {
11
+ narrow?: TextWeightVariants;
12
+ regular?: TextWeightVariants;
13
+ wide?: TextWeightVariants;
14
+ };
8
15
  declare type RestrictedPolymorphism = (React.HTMLAttributes<HTMLParagraphElement> & {
9
16
  as?: 'p';
10
17
  }) | (React.HTMLAttributes<HTMLSpanElement> & {
11
18
  as?: 'span';
12
19
  }) | (React.HTMLAttributes<HTMLDivElement> & {
13
20
  as?: 'div';
21
+ }) | (React.HTMLAttributes<HTMLElement> & {
22
+ as?: 'strong';
23
+ }) | (React.HTMLAttributes<HTMLElement> & {
24
+ as?: 'em';
14
25
  });
15
26
  declare type TextTags = {
16
27
  /**
@@ -31,6 +42,10 @@ export declare type TextProps = {
31
42
  * Specify alternative text appearance
32
43
  */
33
44
  variant?: typeof TextVariants[number];
45
+ /**
46
+ * Specify the text weight
47
+ */
48
+ weight?: TextWeightVariants | ResponsiveWeightMap;
34
49
  } & TextTags;
35
- export declare function Text({ as, className, children, size, variant, ...rest }: PropsWithChildren<TextProps>): JSX.Element;
50
+ export declare function Text({ as, className, children, size, variant, weight, ...rest }: PropsWithChildren<TextProps>): JSX.Element;
36
51
  export {};
package/lib/css/main.css CHANGED
@@ -89,7 +89,7 @@ select {
89
89
 
90
90
  /**
91
91
  * Do not edit directly
92
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
92
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
93
93
  */
94
94
 
95
95
  :root,
@@ -629,7 +629,7 @@ select {
629
629
 
630
630
  /**
631
631
  * Do not edit directly
632
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
632
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
633
633
  */
634
634
 
635
635
  :root {
@@ -654,7 +654,7 @@ select {
654
654
 
655
655
  /**
656
656
  * Do not edit directly
657
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
657
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
658
658
  */
659
659
 
660
660
  :root {
@@ -669,7 +669,7 @@ select {
669
669
 
670
670
  /**
671
671
  * Do not edit directly
672
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
672
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
673
673
  */
674
674
 
675
675
  :root {
@@ -848,7 +848,7 @@ select {
848
848
 
849
849
  /**
850
850
  * Do not edit directly
851
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
851
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
852
852
  */
853
853
 
854
854
  :root {
@@ -862,7 +862,7 @@ select {
862
862
 
863
863
  /**
864
864
  * Do not edit directly
865
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
865
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
866
866
  */
867
867
 
868
868
  :root {
@@ -880,7 +880,7 @@ select {
880
880
 
881
881
  /**
882
882
  * Do not edit directly
883
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
883
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
884
884
  */
885
885
 
886
886
  :root,
@@ -1070,9 +1070,104 @@ select {
1070
1070
  line-height: var(--brand-text-lineHeight-100);
1071
1071
  }
1072
1072
 
1073
+ .Primer_Brand__Text-module__Text--weight-heavy___ege7O,
1074
+ .Primer_Brand__Text-module__Text-narrow--weight-heavy___EZzqD {
1075
+ font-weight: var(--base-text-weight-heavy);
1076
+ }
1077
+
1078
+ .Primer_Brand__Text-module__Text--weight-extrabold____UVFN,
1079
+ .Primer_Brand__Text-module__Text-narrow--weight-extrabold___ts3be {
1080
+ font-weight: var(--base-text-weight-extrabold);
1081
+ }
1082
+
1083
+ .Primer_Brand__Text-module__Text--weight-bold___jgFdL,
1084
+ .Primer_Brand__Text-module__Text-narrow--weight-bold___Flbbf {
1085
+ font-weight: var(--base-text-weight-bold);
1086
+ }
1087
+
1088
+ .Primer_Brand__Text-module__Text--weight-semibold___Ns19j,
1089
+ .Primer_Brand__Text-module__Text-narrow--weight-semibold___jtFFh {
1090
+ font-weight: var(--base-text-weight-semibold);
1091
+ }
1092
+
1093
+ .Primer_Brand__Text-module__Text--weight-medium___E0iQL,
1094
+ .Primer_Brand__Text-module__Text-narrow--weight-medium___tQs9y {
1095
+ font-weight: var(--base-text-weight-medium);
1096
+ }
1097
+
1098
+ .Primer_Brand__Text-module__Text--weight-normal___siVLX,
1099
+ .Primer_Brand__Text-module__Text-narrow--weight-normal___gb0q4 {
1100
+ font-weight: var(--base-text-weight-normal);
1101
+ }
1102
+
1103
+ .Primer_Brand__Text-module__Text--weight-light___SpQAz,
1104
+ .Primer_Brand__Text-module__Text-narrow--weight-light___cIyjf {
1105
+ font-weight: var(--base-text-weight-light);
1106
+ }
1107
+
1108
+ @media screen and (min-width: 48rem) {
1109
+ .Primer_Brand__Text-module__Text-regular--weight-heavy___YumNc {
1110
+ font-weight: var(--base-text-weight-heavy);
1111
+ }
1112
+
1113
+ .Primer_Brand__Text-module__Text-regular--weight-extrabold___uvNQM {
1114
+ font-weight: var(--base-text-weight-extrabold);
1115
+ }
1116
+
1117
+ .Primer_Brand__Text-module__Text-regular--weight-bold___E3xyf {
1118
+ font-weight: var(--base-text-weight-bold);
1119
+ }
1120
+
1121
+ .Primer_Brand__Text-module__Text-regular--weight-semibold___Wwz9g {
1122
+ font-weight: var(--base-text-weight-semibold);
1123
+ }
1124
+
1125
+ .Primer_Brand__Text-module__Text-regular--weight-medium___TnD35 {
1126
+ font-weight: var(--base-text-weight-medium);
1127
+ }
1128
+
1129
+ .Primer_Brand__Text-module__Text-regular--weight-normal___FEkFF {
1130
+ font-weight: var(--base-text-weight-normal);
1131
+ }
1132
+
1133
+ .Primer_Brand__Text-module__Text-regular--weight-light___MalyV {
1134
+ font-weight: var(--base-text-weight-light);
1135
+ }
1136
+ }
1137
+
1138
+ @media screen and (min-width: 80rem) {
1139
+ .Primer_Brand__Text-module__Text-wide--weight-heavy___AXiAN {
1140
+ font-weight: var(--base-text-weight-heavy);
1141
+ }
1142
+
1143
+ .Primer_Brand__Text-module__Text-wide--weight-extrabold___rggXv {
1144
+ font-weight: var(--base-text-weight-extrabold);
1145
+ }
1146
+
1147
+ .Primer_Brand__Text-module__Text-wide--weight-bold___CWJA2 {
1148
+ font-weight: var(--base-text-weight-bold);
1149
+ }
1150
+
1151
+ .Primer_Brand__Text-module__Text-wide--weight-semibold___LEBmW {
1152
+ font-weight: var(--base-text-weight-semibold);
1153
+ }
1154
+
1155
+ .Primer_Brand__Text-module__Text-wide--weight-medium___QQ0IW {
1156
+ font-weight: var(--base-text-weight-medium);
1157
+ }
1158
+
1159
+ .Primer_Brand__Text-module__Text-wide--weight-normal___KpqrG {
1160
+ font-weight: var(--base-text-weight-normal);
1161
+ }
1162
+
1163
+ .Primer_Brand__Text-module__Text-wide--weight-light___iYFr9 {
1164
+ font-weight: var(--base-text-weight-light);
1165
+ }
1166
+ }
1167
+
1073
1168
  /**
1074
1169
  * Do not edit directly
1075
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
1170
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
1076
1171
  */
1077
1172
 
1078
1173
  :root,
@@ -1274,9 +1369,104 @@ select {
1274
1369
  letter-spacing: var(--brand-heading-letterSpacing-400);
1275
1370
  }
1276
1371
 
1372
+ .Primer_Brand__Heading-module__Heading--weight-heavy___ssSay,
1373
+ .Primer_Brand__Heading-module__Heading-narrow--weight-heavy___s43iL {
1374
+ font-weight: var(--base-text-weight-heavy);
1375
+ }
1376
+
1377
+ .Primer_Brand__Heading-module__Heading--weight-extrabold___SJAUw,
1378
+ .Primer_Brand__Heading-module__Heading-narrow--weight-extrabold___vmOAQ {
1379
+ font-weight: var(--base-text-weight-extrabold);
1380
+ }
1381
+
1382
+ .Primer_Brand__Heading-module__Heading--weight-bold___Zqsyk,
1383
+ .Primer_Brand__Heading-module__Heading-narrow--weight-bold___IXjRC {
1384
+ font-weight: var(--base-text-weight-bold);
1385
+ }
1386
+
1387
+ .Primer_Brand__Heading-module__Heading--weight-semibold___NMvbh,
1388
+ .Primer_Brand__Heading-module__Heading-narrow--weight-semibold___bAIHy {
1389
+ font-weight: var(--base-text-weight-semibold);
1390
+ }
1391
+
1392
+ .Primer_Brand__Heading-module__Heading--weight-medium___II172,
1393
+ .Primer_Brand__Heading-module__Heading-narrow--weight-medium___q5O6L {
1394
+ font-weight: var(--base-text-weight-medium);
1395
+ }
1396
+
1397
+ .Primer_Brand__Heading-module__Heading--weight-normal___ZLGhx,
1398
+ .Primer_Brand__Heading-module__Heading-narrow--weight-normal___Q0Jkf {
1399
+ font-weight: var(--base-text-weight-normal);
1400
+ }
1401
+
1402
+ .Primer_Brand__Heading-module__Heading--weight-light___aF2Rw,
1403
+ .Primer_Brand__Heading-module__Heading-narrow--weight-light___mOWUt {
1404
+ font-weight: var(--base-text-weight-light);
1405
+ }
1406
+
1407
+ @media screen and (min-width: 48rem) {
1408
+ .Primer_Brand__Heading-module__Heading-regular--weight-heavy___SwJ1c {
1409
+ font-weight: var(--base-text-weight-heavy);
1410
+ }
1411
+
1412
+ .Primer_Brand__Heading-module__Heading-regular--weight-extrabold___H5Gyr {
1413
+ font-weight: var(--base-text-weight-extrabold);
1414
+ }
1415
+
1416
+ .Primer_Brand__Heading-module__Heading-regular--weight-bold___QMMCW {
1417
+ font-weight: var(--base-text-weight-bold);
1418
+ }
1419
+
1420
+ .Primer_Brand__Heading-module__Heading-regular--weight-semibold___h3bHv {
1421
+ font-weight: var(--base-text-weight-semibold);
1422
+ }
1423
+
1424
+ .Primer_Brand__Heading-module__Heading-regular--weight-medium___wC9qR {
1425
+ font-weight: var(--base-text-weight-medium);
1426
+ }
1427
+
1428
+ .Primer_Brand__Heading-module__Heading-regular--weight-normal___joqMx {
1429
+ font-weight: var(--base-text-weight-normal);
1430
+ }
1431
+
1432
+ .Primer_Brand__Heading-module__Heading-regular--weight-light___CCVVF {
1433
+ font-weight: var(--base-text-weight-light);
1434
+ }
1435
+ }
1436
+
1437
+ @media screen and (min-width: 80rem) {
1438
+ .Primer_Brand__Heading-module__Heading-wide--weight-heavy___IiVTg {
1439
+ font-weight: var(--base-text-weight-heavy);
1440
+ }
1441
+
1442
+ .Primer_Brand__Heading-module__Heading-wide--weight-extrabold___CIRWW {
1443
+ font-weight: var(--base-text-weight-extrabold);
1444
+ }
1445
+
1446
+ .Primer_Brand__Heading-module__Heading-wide--weight-bold___wMxlL {
1447
+ font-weight: var(--base-text-weight-bold);
1448
+ }
1449
+
1450
+ .Primer_Brand__Heading-module__Heading-wide--weight-semibold___IqaIc {
1451
+ font-weight: var(--base-text-weight-semibold);
1452
+ }
1453
+
1454
+ .Primer_Brand__Heading-module__Heading-wide--weight-medium___Uq302 {
1455
+ font-weight: var(--base-text-weight-medium);
1456
+ }
1457
+
1458
+ .Primer_Brand__Heading-module__Heading-wide--weight-normal___zWzeR {
1459
+ font-weight: var(--base-text-weight-normal);
1460
+ }
1461
+
1462
+ .Primer_Brand__Heading-module__Heading-wide--weight-light___Lh64A {
1463
+ font-weight: var(--base-text-weight-light);
1464
+ }
1465
+ }
1466
+
1277
1467
  /**
1278
1468
  * Do not edit directly
1279
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
1469
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
1280
1470
  */
1281
1471
 
1282
1472
  :root {
@@ -1297,7 +1487,7 @@ select {
1297
1487
 
1298
1488
  /**
1299
1489
  * Do not edit directly
1300
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
1490
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
1301
1491
  */
1302
1492
 
1303
1493
  :root {
@@ -2083,7 +2273,7 @@ select {
2083
2273
 
2084
2274
  /**
2085
2275
  * Do not edit directly
2086
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
2276
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
2087
2277
  */
2088
2278
 
2089
2279
  :root,
@@ -2111,7 +2301,7 @@ select {
2111
2301
 
2112
2302
  /**
2113
2303
  * Do not edit directly
2114
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
2304
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
2115
2305
  */
2116
2306
 
2117
2307
  :root,
@@ -2216,7 +2406,7 @@ select {
2216
2406
 
2217
2407
  /**
2218
2408
  * Do not edit directly
2219
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
2409
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
2220
2410
  */
2221
2411
 
2222
2412
  :root,
@@ -2367,7 +2557,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2367
2557
 
2368
2558
  /**
2369
2559
  * Do not edit directly
2370
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
2560
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
2371
2561
  */
2372
2562
 
2373
2563
  :root {
@@ -2377,7 +2567,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2377
2567
 
2378
2568
  /**
2379
2569
  * Do not edit directly
2380
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
2570
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
2381
2571
  */
2382
2572
 
2383
2573
  :root,
@@ -2447,7 +2637,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2447
2637
 
2448
2638
  /**
2449
2639
  * Do not edit directly
2450
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
2640
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
2451
2641
  */
2452
2642
 
2453
2643
  :root {
@@ -2466,7 +2656,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2466
2656
 
2467
2657
  /**
2468
2658
  * Do not edit directly
2469
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
2659
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
2470
2660
  */
2471
2661
 
2472
2662
  :root,
@@ -3409,7 +3599,7 @@ Fixes safari bug where outline doesn't respect border-radius
3409
3599
 
3410
3600
  /**
3411
3601
  * Do not edit directly
3412
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
3602
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
3413
3603
  */
3414
3604
 
3415
3605
  :root {
@@ -3726,7 +3916,7 @@ Fixes safari bug where outline doesn't respect border-radius
3726
3916
 
3727
3917
  /**
3728
3918
  * Do not edit directly
3729
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
3919
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
3730
3920
  */
3731
3921
 
3732
3922
  :root,
@@ -4036,7 +4226,7 @@ Fixes safari bug where outline doesn't respect border-radius
4036
4226
 
4037
4227
  /**
4038
4228
  * Do not edit directly
4039
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
4229
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
4040
4230
  */
4041
4231
 
4042
4232
  :root,
@@ -4435,7 +4625,7 @@ html {
4435
4625
 
4436
4626
  /**
4437
4627
  * Do not edit directly
4438
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
4628
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
4439
4629
  */
4440
4630
 
4441
4631
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
3
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
3
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
3
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
3
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
3
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Jan 2023 10:36:26 GMT
3
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
3
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 10 Jan 2023 10:36:27 GMT
3
+ * Generated on Mon, 16 Jan 2023 17:52:26 GMT
4
4
  */
5
5
 
6
6
  :root,