@primer/react-brand 0.13.1-rc.fcf1e64 → 0.14.0-rc.6912309

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 (132) hide show
  1. package/lib/Accordion/Accordion.d.ts +3 -2
  2. package/lib/Card/Card.d.ts +39 -0
  3. package/lib/Card/Card.visual.spec.d.ts +1 -0
  4. package/lib/Card/index.d.ts +1 -0
  5. package/lib/FAQ/FAQ.d.ts +9 -6
  6. package/lib/SubdomainNavBar/SubdomainNavBar.d.ts +1 -1
  7. package/lib/Testimonial/Testimonial.d.ts +6 -11
  8. package/lib/css/main.css +80 -22
  9. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  10. package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
  11. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  12. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  13. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  14. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  15. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  16. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  17. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  18. package/lib/design-tokens/css/tokens/functional/components/card/base.css +11 -0
  19. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +13 -0
  20. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +8 -0
  21. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  22. package/lib/design-tokens/css/tokens/functional/components/control/base.css +1 -1
  23. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  24. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
  25. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  26. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  27. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  28. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  29. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  30. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  31. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  32. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  33. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  34. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  35. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  36. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  37. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  38. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  39. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  40. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  41. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  42. package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
  43. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  44. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  45. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  46. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +78 -0
  47. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +31 -0
  48. package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +1 -1
  49. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  50. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  51. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  52. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  53. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  54. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  55. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  56. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  57. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  58. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  59. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  60. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  61. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  62. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  63. package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
  64. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  65. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  66. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  67. package/lib/design-tokens/js/tokens/functional/components/card/base.js +9 -0
  68. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +6 -0
  69. package/lib/design-tokens/js/tokens/functional/components/control/base.js +1 -1
  70. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  71. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  72. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  73. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  74. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  75. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  76. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  77. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  78. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  79. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  80. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  81. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  82. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  83. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  84. package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
  85. package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
  86. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  87. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  88. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  89. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  90. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  91. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  92. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +20 -0
  93. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +19 -0
  94. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +15 -0
  95. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +14 -0
  96. package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +1 -1
  97. package/lib/design-tokens/ts/tokens/functional/components/control/base.js +1 -1
  98. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  99. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  100. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  101. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  102. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  103. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  104. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  105. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  106. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  107. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  108. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  109. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  110. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  111. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  112. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  113. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  114. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  115. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  116. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  117. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  118. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  119. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  120. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  121. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  122. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  123. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  124. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  125. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  126. package/lib/forms/Checkbox/Checkbox.d.ts +1 -1
  127. package/lib/forms/Radio/Radio.d.ts +1 -1
  128. package/lib/forms/Select/Select.d.ts +1 -1
  129. package/lib/forms/TextInput/TextInput.d.ts +1 -1
  130. package/lib/index.d.ts +1 -0
  131. package/lib/index.js +1 -1
  132. package/package.json +1 -1
@@ -12,8 +12,9 @@ export declare const AccordionRoot: React.ForwardRefExoticComponent<Pick<Accordi
12
12
  declare type AccordionHeadingProps = BaseProps<HTMLHeadingElement> & {
13
13
  className?: string;
14
14
  children: string;
15
+ as?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
15
16
  };
16
- export declare const AccordionHeading: React.ForwardRefExoticComponent<Pick<AccordionHeadingProps, "children" | "className" | "id"> & React.RefAttributes<HTMLHeadingElement>>;
17
+ export declare const AccordionHeading: React.ForwardRefExoticComponent<Pick<AccordionHeadingProps, "children" | "className" | "id" | "as"> & React.RefAttributes<HTMLHeadingElement>>;
17
18
  declare type AccordionContentProps = BaseProps<HTMLElement> & {
18
19
  className?: string;
19
20
  children: React.ReactElement | React.ReactElement[];
@@ -24,6 +25,6 @@ export declare function AccordionContent({ children, className, ...rest }: Accor
24
25
  */
25
26
  export declare const Accordion: React.ForwardRefExoticComponent<Pick<AccordionRootProps, "children" | "className" | "id" | "slot" | "style" | "title" | "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" | "open"> & React.RefAttributes<HTMLDetailsElement>> & {
26
27
  Content: typeof AccordionContent;
27
- Heading: React.ForwardRefExoticComponent<Pick<AccordionHeadingProps, "children" | "className" | "id"> & React.RefAttributes<HTMLHeadingElement>>;
28
+ Heading: React.ForwardRefExoticComponent<Pick<AccordionHeadingProps, "children" | "className" | "id" | "as"> & React.RefAttributes<HTMLHeadingElement>>;
28
29
  };
29
30
  export {};
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { HeadingTags } from '..';
3
+ import type { BaseProps } from '../component-helpers';
4
+ /**
5
+ * Design tokens
6
+ */
7
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/card/base.css';
8
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css';
9
+ export declare type CardProps = {
10
+ /**
11
+ * Valid children include Card.Image, Card.Heading, and Card.Description
12
+ */
13
+ children: React.ReactNode | React.ReactElement<CardHeadingProps> | React.ReactElement<CardDescriptionProps>;
14
+ /**
15
+ * The href of the link
16
+ * */
17
+ href: string;
18
+ /**
19
+ * Changes the link label of the card
20
+ * * @default 'Learn more'
21
+ * */
22
+ label?: string;
23
+ } & BaseProps<HTMLAnchorElement> & React.ComponentPropsWithoutRef<'a'>;
24
+ declare type CardHeadingProps = BaseProps<HTMLHeadingElement> & {
25
+ children: React.ReactNode | React.ReactNode[];
26
+ as?: typeof HeadingTags[number];
27
+ };
28
+ declare type CardDescriptionProps = BaseProps<HTMLParagraphElement> & {
29
+ children: React.ReactNode | React.ReactNode[];
30
+ };
31
+ /**
32
+ * Card component:
33
+ * {@link https://primer.style/brand/components/Card/ See usage examples}.
34
+ */
35
+ export declare const Card: React.ForwardRefExoticComponent<Pick<CardProps, "children" | "className" | "id" | "label" | "slot" | "style" | "title" | "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" | "href" | "type" | "download" | "hrefLang" | "media" | "ping" | "rel" | "target" | "referrerPolicy" | "key"> & React.RefAttributes<HTMLAnchorElement>> & {
36
+ Heading: React.ForwardRefExoticComponent<Pick<CardHeadingProps, "children" | "className" | "id" | "as"> & React.RefAttributes<HTMLHeadingElement>>;
37
+ Description: React.ForwardRefExoticComponent<Pick<CardDescriptionProps, "children" | "className" | "id"> & React.RefAttributes<HTMLParagraphElement>>;
38
+ };
39
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Card';
package/lib/FAQ/FAQ.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
- import { AccordionContent } from '..';
2
+ import { HeadingTags, AccordionContent } from '..';
3
3
  import type { BaseProps } from '../component-helpers';
4
4
  /**
5
5
  * Design tokens
@@ -10,25 +10,28 @@ declare type FAQRootProps = PropsWithChildren<BaseProps<HTMLElement>>;
10
10
  declare type FAQHeadingProps = BaseProps<HTMLHeadingElement> & {
11
11
  size?: 'medium' | 'large';
12
12
  align?: 'start' | 'center';
13
- children: string;
13
+ children: React.ReactNode | React.ReactNode[];
14
+ as?: HeadingTags['as'];
14
15
  };
15
16
  declare type FAQSubheadingProps = BaseProps<HTMLHeadingElement> & {
16
17
  align?: 'start' | 'center';
17
- children: string;
18
+ children: React.ReactNode | React.ReactNode[];
19
+ as?: Exclude<HeadingTags['as'], 'h1'>;
18
20
  };
19
- declare function FAQSubheading({ children, className, ...rest }: FAQSubheadingProps): JSX.Element;
21
+ declare function FAQSubheading({ children, className, as, ...rest }: FAQSubheadingProps): JSX.Element;
20
22
  /**
21
23
  * FAQ component:
22
24
  * {@link https://primer.style/brand/components/FAQ/ See usage examples}.
23
25
  */
24
26
  export declare const FAQ: React.ForwardRefExoticComponent<Pick<FAQRootProps, "children" | "className" | "id"> & React.RefAttributes<HTMLElement>> & {
25
27
  Subheading: typeof FAQSubheading;
26
- Heading: React.ForwardRefExoticComponent<Pick<FAQHeadingProps, "children" | "className" | "align" | "id" | "size"> & React.RefAttributes<HTMLHeadingElement>>;
28
+ Heading: React.ForwardRefExoticComponent<Pick<FAQHeadingProps, "children" | "className" | "align" | "id" | "as" | "size"> & React.RefAttributes<HTMLHeadingElement>>;
27
29
  Item: React.ForwardRefExoticComponent<Pick<import("..").AccordionRootProps, "children" | "className" | "id" | "slot" | "style" | "title" | "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" | "open"> & React.RefAttributes<HTMLDetailsElement>>;
28
30
  Question: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLHeadingElement> & {
29
31
  className?: string | undefined;
30
32
  children: string;
31
- }, "children" | "className" | "id"> & React.RefAttributes<HTMLHeadingElement>>;
33
+ as?: "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
34
+ }, "children" | "className" | "id" | "as"> & React.RefAttributes<HTMLHeadingElement>>;
32
35
  Answer: typeof AccordionContent;
33
36
  };
34
37
  export {};
@@ -34,7 +34,7 @@ export declare type SubdomainNavBarProps = {
34
34
  */
35
35
  logoHref?: string;
36
36
  };
37
- declare function Root({ children, fixed, fullWidth, logoHref, title, titleHref, ...rest }: SubdomainNavBarProps): JSX.Element;
37
+ declare function Root({ children, className, fixed, fullWidth, logoHref, title, titleHref, ...rest }: SubdomainNavBarProps): JSX.Element;
38
38
  declare type LinkProps = {
39
39
  href: string;
40
40
  } & React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>;
@@ -33,6 +33,11 @@ declare type NameProps = {
33
33
  declare type LogoProps = {
34
34
  children: React.ReactElement<SVGProps<SVGSVGElement>> | React.ReactElement<HTMLAttributes<HTMLImageElement>>;
35
35
  } & React.HTMLAttributes<HTMLImageElement> & BaseProps<HTMLImageElement>;
36
+ /**
37
+ * Testimonial avatar child element
38
+ * <Testimonial.Avatar>
39
+ */
40
+ declare function _Avatar({ size, ...rest }: AvatarProps): JSX.Element;
36
41
  /**
37
42
  * Use Testimonial to display a quote from a customer or user.
38
43
  * @see https://primer.style/brand/components/Testimonial
@@ -44,17 +49,7 @@ export declare const Testimonial: React.ForwardRefExoticComponent<Pick<Testimoni
44
49
  Name: React.ForwardRefExoticComponent<Pick<{
45
50
  position?: string | undefined;
46
51
  } & React.HTMLAttributes<HTMLElement> & BaseProps<HTMLElement>, "children" | "className" | "id" | "slot" | "style" | "title" | "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" | "position"> & React.RefAttributes<unknown>>;
47
- Avatar: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLImageElement> & {
48
- size?: 32 | 40 | 48 | 64 | 80 | {
49
- narrow?: 32 | 40 | 48 | 64 | 80 | undefined;
50
- regular?: 32 | 40 | 48 | 64 | 80 | undefined;
51
- wide?: 32 | 40 | 48 | 64 | 80 | undefined;
52
- } | undefined;
53
- shape?: "circle" | "square" | undefined;
54
- src: string;
55
- alt: string;
56
- "data-testid"?: string | undefined;
57
- } & React.HTMLAttributes<HTMLImageElement>, "children" | "className" | "id" | "slot" | "style" | "title" | "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" | "alt" | "src" | "data-testid" | "shape"> & React.RefAttributes<unknown>>;
52
+ Avatar: typeof _Avatar;
58
53
  Logo: React.ForwardRefExoticComponent<Pick<{
59
54
  children: React.ReactElement<SVGProps<SVGSVGElement>> | React.ReactElement<HTMLAttributes<HTMLImageElement>>;
60
55
  } & React.HTMLAttributes<HTMLImageElement> & BaseProps<HTMLImageElement>, "children" | "className" | "id" | "slot" | "style" | "title" | "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<unknown>>;
package/lib/css/main.css CHANGED
@@ -89,7 +89,7 @@ select {
89
89
 
90
90
  /**
91
91
  * Do not edit directly
92
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
92
+ * Generated on Thu, 02 Mar 2023 16:39: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 Thu, 02 Mar 2023 11:01:41 GMT
632
+ * Generated on Thu, 02 Mar 2023 16:39: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 Thu, 02 Mar 2023 11:01:40 GMT
657
+ * Generated on Thu, 02 Mar 2023 16:39: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 Thu, 02 Mar 2023 11:01:41 GMT
672
+ * Generated on Thu, 02 Mar 2023 16:39: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 Thu, 02 Mar 2023 11:01:40 GMT
851
+ * Generated on Thu, 02 Mar 2023 16:39: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 Thu, 02 Mar 2023 11:01:40 GMT
865
+ * Generated on Thu, 02 Mar 2023 16:39: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 Thu, 02 Mar 2023 11:01:41 GMT
883
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
884
884
  */
885
885
 
886
886
  :root,
@@ -1182,7 +1182,7 @@ select {
1182
1182
 
1183
1183
  /**
1184
1184
  * Do not edit directly
1185
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
1185
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
1186
1186
  */
1187
1187
 
1188
1188
  :root,
@@ -1619,7 +1619,7 @@ select {
1619
1619
 
1620
1620
  /**
1621
1621
  * Do not edit directly
1622
- * Generated on Thu, 02 Mar 2023 11:01:40 GMT
1622
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
1623
1623
  */
1624
1624
 
1625
1625
  :root {
@@ -1640,7 +1640,7 @@ select {
1640
1640
 
1641
1641
  /**
1642
1642
  * Do not edit directly
1643
- * Generated on Thu, 02 Mar 2023 11:01:40 GMT
1643
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
1644
1644
  */
1645
1645
 
1646
1646
  :root {
@@ -2426,7 +2426,7 @@ select {
2426
2426
 
2427
2427
  /**
2428
2428
  * Do not edit directly
2429
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
2429
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
2430
2430
  */
2431
2431
 
2432
2432
  :root,
@@ -2454,7 +2454,7 @@ select {
2454
2454
 
2455
2455
  /**
2456
2456
  * Do not edit directly
2457
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
2457
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
2458
2458
  */
2459
2459
 
2460
2460
  :root,
@@ -2571,7 +2571,7 @@ select {
2571
2571
 
2572
2572
  /**
2573
2573
  * Do not edit directly
2574
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
2574
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
2575
2575
  */
2576
2576
 
2577
2577
  :root,
@@ -2722,7 +2722,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2722
2722
 
2723
2723
  /**
2724
2724
  * Do not edit directly
2725
- * Generated on Thu, 02 Mar 2023 11:01:40 GMT
2725
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
2726
2726
  */
2727
2727
 
2728
2728
  :root {
@@ -2732,7 +2732,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2732
2732
 
2733
2733
  /**
2734
2734
  * Do not edit directly
2735
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
2735
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
2736
2736
  */
2737
2737
 
2738
2738
  :root,
@@ -2802,7 +2802,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2802
2802
 
2803
2803
  /**
2804
2804
  * Do not edit directly
2805
- * Generated on Thu, 02 Mar 2023 11:01:40 GMT
2805
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
2806
2806
  */
2807
2807
 
2808
2808
  :root {
@@ -2821,7 +2821,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
2821
2821
 
2822
2822
  /**
2823
2823
  * Do not edit directly
2824
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
2824
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
2825
2825
  */
2826
2826
 
2827
2827
  :root,
@@ -3764,7 +3764,7 @@ Fixes safari bug where outline doesn't respect border-radius
3764
3764
 
3765
3765
  /**
3766
3766
  * Do not edit directly
3767
- * Generated on Thu, 02 Mar 2023 11:01:40 GMT
3767
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
3768
3768
  */
3769
3769
 
3770
3770
  :root {
@@ -4306,7 +4306,7 @@ Fixes safari bug where outline doesn't respect border-radius
4306
4306
 
4307
4307
  /**
4308
4308
  * Do not edit directly
4309
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
4309
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4310
4310
  */
4311
4311
 
4312
4312
  :root,
@@ -4616,7 +4616,7 @@ Fixes safari bug where outline doesn't respect border-radius
4616
4616
 
4617
4617
  /**
4618
4618
  * Do not edit directly
4619
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
4619
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4620
4620
  */
4621
4621
 
4622
4622
  :root,
@@ -5015,7 +5015,7 @@ html {
5015
5015
 
5016
5016
  /**
5017
5017
  * Do not edit directly
5018
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
5018
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
5019
5019
  */
5020
5020
 
5021
5021
  :root,
@@ -5196,7 +5196,7 @@ html {
5196
5196
 
5197
5197
  /**
5198
5198
  * Do not edit directly
5199
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
5199
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
5200
5200
  */
5201
5201
 
5202
5202
  :root,
@@ -5314,6 +5314,64 @@ html {
5314
5314
  border-bottom-color: var(--brand-color-text-muted);
5315
5315
  }
5316
5316
 
5317
+ /**
5318
+ * Do not edit directly
5319
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
5320
+ */
5321
+
5322
+ :root {
5323
+ --brand-Card-animation-easing: cubic-bezier(0.16, 1, 0.3, 1);
5324
+ --brand-Card-animation-duration: 600ms;
5325
+ --brand-Card-visual-shadow: 0 3px 2px rgba(0, 0, 0, 0.04), 0 7px 5px rgba(0, 0, 0, 0.02), 0 13px 10px rgba(0, 0, 0, 0.02), 0 22px 17px rgba(0, 0, 0, 0.02);
5326
+ --brand-Card-maxWidth: 26.25rem;
5327
+ }
5328
+
5329
+ /**
5330
+ * Do not edit directly
5331
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
5332
+ */
5333
+
5334
+ :root,
5335
+ [data-color-mode="light"] {
5336
+ --brand-Card-background-default: var(--brand-color-canvas-default);
5337
+ }
5338
+
5339
+ [data-color-mode="dark"] {
5340
+ --brand-Card-background-default: var(--brand-color-canvas-subtle);
5341
+ }
5342
+
5343
+ .Primer_Brand__Card-module__Card___ByGEk {
5344
+ max-width: var(--brand-Card-maxWidth);
5345
+ display: flex;
5346
+ flex-direction: column;
5347
+ text-decoration: none;
5348
+ color: var(--brand-color-text-default);
5349
+ background-color: var(--brand-Card-background-default);
5350
+ border: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);
5351
+ box-shadow: var(--brand-Card-visual-shadow);
5352
+ border-radius: var(--brand-borderRadius-medium);
5353
+ padding: var(--base-size-32);
5354
+ transition: transform var(--brand-Card-animation-duration) var(--brand-Card-animation-easing);
5355
+ }
5356
+
5357
+ .Primer_Brand__Card-module__Card___ByGEk:hover {
5358
+ transform: scale3d(1.025, 1.025, 1);
5359
+ }
5360
+
5361
+ .Primer_Brand__Card-module__Card__heading___INFhp {
5362
+ margin-bottom: var(--base-size-20);
5363
+ }
5364
+
5365
+ .Primer_Brand__Card-module__Card__description___KN9CH {
5366
+ margin-bottom: var(--base-size-48);
5367
+ }
5368
+
5369
+ .Primer_Brand__Card-module__Card__action___C6sRY {
5370
+ margin-top: auto;
5371
+ display: inline-flex;
5372
+ align-items: center;
5373
+ }
5374
+
5317
5375
  .Primer_Brand__SectionIntro-module__SectionIntro___RduRB {
5318
5376
  display: flex;
5319
5377
  flex-direction: column;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:40 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:40 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:40 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
+ */
5
+
6
+ :root {
7
+ --brand-Card-animation-easing: cubic-bezier(0.16, 1, 0.3, 1);
8
+ --brand-Card-animation-duration: 600ms;
9
+ --brand-Card-visual-shadow: 0 3px 2px rgb(0 0 0 / 4%), 0 7px 5px rgb(0 0 0 / 2%), 0 13px 10px rgb(0 0 0 / 2%), 0 22px 17px rgb(0 0 0 / 2%);
10
+ --brand-Card-maxWidth: 26.25rem;
11
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
+ */
5
+
6
+ :root,
7
+ [data-color-mode="light"] {
8
+ --brand-Card-background-default: var(--brand-color-canvas-default);
9
+ }
10
+
11
+ [data-color-mode="dark"] {
12
+ --brand-Card-background-default: var(--brand-color-canvas-subtle);
13
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
+ */
5
+
6
+ :root {
7
+ --brand-Card-background-default: var(--brand-color-canvas-default);
8
+ }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:40 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 02 Mar 2023 11:01:41 GMT
3
+ * Generated on Thu, 02 Mar 2023 16:39:26 GMT
4
4
  */
5
5
 
6
6
  :root,