@primer/react-brand 0.15.0-rc.f12fd9a → 0.15.0
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.
- package/fonts/Mona-Sans.woff2 +0 -0
- package/fonts/fonts.css +4 -5
- package/lib/Avatar/Avatar.d.ts +2 -2
- package/lib/Card/Card.d.ts +9 -6
- package/lib/css/main.css +47 -28
- package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/base.css +2 -2
- package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +2 -2
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +2 -2
- package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +15 -18
- package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +5 -5
- package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/base.js +2 -2
- package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/control/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +4 -4
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +2 -4
- package/lib/design-tokens/ts/tokens/functional/components/card/base.js +2 -4
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/control/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +4 -4
- package/lib/index.js +1 -1
- package/package.json +2 -2
- package/fonts/alliance-1.woff2 +0 -0
|
Binary file
|
package/fonts/fonts.css
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
@font-face {
|
|
2
|
-
font-family: '
|
|
3
|
-
src: url('./
|
|
4
|
-
url('./alliance-1.woff2') format('woff2-variations');
|
|
2
|
+
font-family: 'Mona Sans';
|
|
3
|
+
src: url('./Mona-Sans.woff2') format('woff2 supports variations'), url('./Mona-Sans.woff2') format('woff2-variations');
|
|
5
4
|
font-weight: 200 900;
|
|
6
5
|
font-display: swap;
|
|
7
6
|
font-synthesis: none;
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
@font-face {
|
|
11
|
-
font-family: '
|
|
10
|
+
font-family: 'MonaSansFallback';
|
|
12
11
|
size-adjust: 104.5%;
|
|
13
12
|
ascent-override: 71%;
|
|
14
13
|
src: local(Arial);
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
@font-face {
|
|
18
|
-
font-family: '
|
|
17
|
+
font-family: 'MonaSansHeaderFallback';
|
|
19
18
|
size-adjust: 103.1%;
|
|
20
19
|
ascent-override: 70%;
|
|
21
20
|
src: local(Arial Bold);
|
package/lib/Avatar/Avatar.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export declare type AvatarProps = BaseProps<HTMLImageElement> & {
|
|
|
14
14
|
src: string;
|
|
15
15
|
alt: string;
|
|
16
16
|
['data-testid']?: string;
|
|
17
|
-
} & React.
|
|
18
|
-
export declare const Avatar: React.ForwardRefExoticComponent<Pick<AvatarProps, "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<HTMLImageElement>> & {
|
|
17
|
+
} & React.ImgHTMLAttributes<HTMLImageElement>;
|
|
18
|
+
export declare const Avatar: React.ForwardRefExoticComponent<Pick<AvatarProps, "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" | "referrerPolicy" | "alt" | "src" | "data-testid" | "crossOrigin" | "height" | "width" | "shape" | "decoding" | "loading" | "sizes" | "srcSet" | "useMap"> & React.RefAttributes<HTMLImageElement>> & {
|
|
19
19
|
testIds: {
|
|
20
20
|
root: string;
|
|
21
21
|
readonly image: string;
|
package/lib/Card/Card.d.ts
CHANGED
|
@@ -10,20 +10,22 @@ export declare type CardProps = {
|
|
|
10
10
|
/**
|
|
11
11
|
* Valid children include Card.Image, Card.Heading, and Card.Description
|
|
12
12
|
*/
|
|
13
|
-
children: React.ReactNode | React.ReactElement<CardHeadingProps> | React.ReactElement<CardDescriptionProps>;
|
|
13
|
+
children: React.ReactNode | React.ReactElement<CardLabelProps> | React.ReactElement<CardHeadingProps> | React.ReactElement<CardDescriptionProps>;
|
|
14
14
|
/**
|
|
15
15
|
* The href of the link
|
|
16
16
|
* */
|
|
17
17
|
href: string;
|
|
18
18
|
/**
|
|
19
|
-
* Changes the
|
|
20
|
-
* * @default 'Learn more'
|
|
19
|
+
* Changes the cta text of the card
|
|
21
20
|
* */
|
|
22
|
-
|
|
21
|
+
ctaText?: string;
|
|
23
22
|
} & BaseProps<HTMLAnchorElement> & React.ComponentPropsWithoutRef<'a'>;
|
|
23
|
+
declare type CardLabelProps = BaseProps<HTMLSpanElement> & {
|
|
24
|
+
children: React.ReactNode | React.ReactNode[];
|
|
25
|
+
};
|
|
24
26
|
declare type CardHeadingProps = BaseProps<HTMLHeadingElement> & {
|
|
25
27
|
children: React.ReactNode | React.ReactNode[];
|
|
26
|
-
as?:
|
|
28
|
+
as?: Exclude<HeadingTags['as'], 'h1'>;
|
|
27
29
|
};
|
|
28
30
|
declare type CardDescriptionProps = BaseProps<HTMLParagraphElement> & {
|
|
29
31
|
children: React.ReactNode | React.ReactNode[];
|
|
@@ -32,7 +34,8 @@ declare type CardDescriptionProps = BaseProps<HTMLParagraphElement> & {
|
|
|
32
34
|
* Card component:
|
|
33
35
|
* {@link https://primer.style/brand/components/Card/ See usage examples}.
|
|
34
36
|
*/
|
|
35
|
-
export declare const Card: React.ForwardRefExoticComponent<Pick<CardProps, "children" | "className" | "id" | "
|
|
37
|
+
export declare const Card: React.ForwardRefExoticComponent<Pick<CardProps, "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" | "href" | "type" | "download" | "hrefLang" | "media" | "ping" | "rel" | "target" | "referrerPolicy" | "key" | "ctaText"> & React.RefAttributes<HTMLAnchorElement>> & {
|
|
38
|
+
Label: React.ForwardRefExoticComponent<Pick<CardLabelProps, "children" | "className" | "id"> & React.RefAttributes<HTMLSpanElement>>;
|
|
36
39
|
Heading: React.ForwardRefExoticComponent<Pick<CardHeadingProps, "children" | "className" | "id" | "as"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
37
40
|
Description: React.ForwardRefExoticComponent<Pick<CardDescriptionProps, "children" | "className" | "id"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
38
41
|
};
|
package/lib/css/main.css
CHANGED
|
@@ -89,7 +89,7 @@ select {
|
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Do not edit directly
|
|
92
|
-
* Generated on
|
|
92
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 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
|
|
632
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 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
|
|
657
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 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
|
|
672
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 GMT
|
|
673
673
|
*/
|
|
674
674
|
|
|
675
675
|
:root {
|
|
@@ -731,7 +731,7 @@ select {
|
|
|
731
731
|
--brand-heading-weight-400: var(--base-text-weight-semibold);
|
|
732
732
|
--brand-fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
733
733
|
--brand-fontStack-sansSerifAlt: "Alliance2", "Alliance2HeaderFallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
734
|
-
--brand-fontStack-sansSerif: "
|
|
734
|
+
--brand-fontStack-sansSerif: "Mona Sans", "MonaSansFallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
735
735
|
--brand-fontStack-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
736
736
|
--base-text-weight-heavy: 900;
|
|
737
737
|
--base-text-weight-extrabold: 800;
|
|
@@ -848,7 +848,7 @@ select {
|
|
|
848
848
|
|
|
849
849
|
/**
|
|
850
850
|
* Do not edit directly
|
|
851
|
-
* Generated on
|
|
851
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 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
|
|
865
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 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
|
|
883
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 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
|
|
1185
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
1186
1186
|
*/
|
|
1187
1187
|
|
|
1188
1188
|
:root,
|
|
@@ -1630,7 +1630,7 @@ select {
|
|
|
1630
1630
|
|
|
1631
1631
|
/**
|
|
1632
1632
|
* Do not edit directly
|
|
1633
|
-
* Generated on
|
|
1633
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 GMT
|
|
1634
1634
|
*/
|
|
1635
1635
|
|
|
1636
1636
|
:root {
|
|
@@ -1651,7 +1651,7 @@ select {
|
|
|
1651
1651
|
|
|
1652
1652
|
/**
|
|
1653
1653
|
* Do not edit directly
|
|
1654
|
-
* Generated on
|
|
1654
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 GMT
|
|
1655
1655
|
*/
|
|
1656
1656
|
|
|
1657
1657
|
:root {
|
|
@@ -2437,7 +2437,7 @@ select {
|
|
|
2437
2437
|
|
|
2438
2438
|
/**
|
|
2439
2439
|
* Do not edit directly
|
|
2440
|
-
* Generated on
|
|
2440
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
2441
2441
|
*/
|
|
2442
2442
|
|
|
2443
2443
|
:root,
|
|
@@ -2465,7 +2465,7 @@ select {
|
|
|
2465
2465
|
|
|
2466
2466
|
/**
|
|
2467
2467
|
* Do not edit directly
|
|
2468
|
-
* Generated on
|
|
2468
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
2469
2469
|
*/
|
|
2470
2470
|
|
|
2471
2471
|
:root,
|
|
@@ -2582,7 +2582,7 @@ select {
|
|
|
2582
2582
|
|
|
2583
2583
|
/**
|
|
2584
2584
|
* Do not edit directly
|
|
2585
|
-
* Generated on
|
|
2585
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
2586
2586
|
*/
|
|
2587
2587
|
|
|
2588
2588
|
:root,
|
|
@@ -2733,7 +2733,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2733
2733
|
|
|
2734
2734
|
/**
|
|
2735
2735
|
* Do not edit directly
|
|
2736
|
-
* Generated on
|
|
2736
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 GMT
|
|
2737
2737
|
*/
|
|
2738
2738
|
|
|
2739
2739
|
:root {
|
|
@@ -2743,7 +2743,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2743
2743
|
|
|
2744
2744
|
/**
|
|
2745
2745
|
* Do not edit directly
|
|
2746
|
-
* Generated on
|
|
2746
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
2747
2747
|
*/
|
|
2748
2748
|
|
|
2749
2749
|
:root,
|
|
@@ -2813,7 +2813,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2813
2813
|
|
|
2814
2814
|
/**
|
|
2815
2815
|
* Do not edit directly
|
|
2816
|
-
* Generated on
|
|
2816
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 GMT
|
|
2817
2817
|
*/
|
|
2818
2818
|
|
|
2819
2819
|
:root {
|
|
@@ -2832,7 +2832,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2832
2832
|
|
|
2833
2833
|
/**
|
|
2834
2834
|
* Do not edit directly
|
|
2835
|
-
* Generated on
|
|
2835
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
2836
2836
|
*/
|
|
2837
2837
|
|
|
2838
2838
|
:root,
|
|
@@ -3775,7 +3775,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3775
3775
|
|
|
3776
3776
|
/**
|
|
3777
3777
|
* Do not edit directly
|
|
3778
|
-
* Generated on
|
|
3778
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 GMT
|
|
3779
3779
|
*/
|
|
3780
3780
|
|
|
3781
3781
|
:root {
|
|
@@ -4317,7 +4317,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4317
4317
|
|
|
4318
4318
|
/**
|
|
4319
4319
|
* Do not edit directly
|
|
4320
|
-
* Generated on
|
|
4320
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
4321
4321
|
*/
|
|
4322
4322
|
|
|
4323
4323
|
:root,
|
|
@@ -4627,7 +4627,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4627
4627
|
|
|
4628
4628
|
/**
|
|
4629
4629
|
* Do not edit directly
|
|
4630
|
-
* Generated on
|
|
4630
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
4631
4631
|
*/
|
|
4632
4632
|
|
|
4633
4633
|
:root,
|
|
@@ -5026,7 +5026,7 @@ html {
|
|
|
5026
5026
|
|
|
5027
5027
|
/**
|
|
5028
5028
|
* Do not edit directly
|
|
5029
|
-
* Generated on
|
|
5029
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
5030
5030
|
*/
|
|
5031
5031
|
|
|
5032
5032
|
:root,
|
|
@@ -5207,7 +5207,7 @@ html {
|
|
|
5207
5207
|
|
|
5208
5208
|
/**
|
|
5209
5209
|
* Do not edit directly
|
|
5210
|
-
* Generated on
|
|
5210
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
5211
5211
|
*/
|
|
5212
5212
|
|
|
5213
5213
|
:root,
|
|
@@ -5327,19 +5327,19 @@ html {
|
|
|
5327
5327
|
|
|
5328
5328
|
/**
|
|
5329
5329
|
* Do not edit directly
|
|
5330
|
-
* Generated on
|
|
5330
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 GMT
|
|
5331
5331
|
*/
|
|
5332
5332
|
|
|
5333
5333
|
:root {
|
|
5334
5334
|
--brand-Card-animation-easing: cubic-bezier(0.16, 1, 0.3, 1);
|
|
5335
5335
|
--brand-Card-animation-duration: 600ms;
|
|
5336
|
-
--brand-Card-
|
|
5336
|
+
--brand-Card-shadow: 0 3px 2px hsl(var(--base-color-scale-black-0-hsl) / 4%), 0 7px 5px hsl(var(--base-color-scale-black-0-hsl) / 2%), 0 13px 10px hsl(var(--base-color-scale-black-0-hsl) / 2%), 0 22px 17px hsl(var(--base-color-scale-black-0-hsl) / 2%);
|
|
5337
5337
|
--brand-Card-maxWidth: 26.25rem;
|
|
5338
5338
|
}
|
|
5339
5339
|
|
|
5340
5340
|
/**
|
|
5341
5341
|
* Do not edit directly
|
|
5342
|
-
* Generated on
|
|
5342
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
5343
5343
|
*/
|
|
5344
5344
|
|
|
5345
5345
|
:root,
|
|
@@ -5359,7 +5359,7 @@ html {
|
|
|
5359
5359
|
color: var(--brand-color-text-default);
|
|
5360
5360
|
background-color: var(--brand-Card-background-default);
|
|
5361
5361
|
border: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);
|
|
5362
|
-
box-shadow: var(--brand-Card-
|
|
5362
|
+
box-shadow: var(--brand-Card-shadow);
|
|
5363
5363
|
border-radius: var(--brand-borderRadius-medium);
|
|
5364
5364
|
padding: var(--base-size-32);
|
|
5365
5365
|
transition: transform var(--brand-Card-animation-duration) var(--brand-Card-animation-easing);
|
|
@@ -5369,6 +5369,25 @@ html {
|
|
|
5369
5369
|
transform: scale3d(1.025, 1.025, 1);
|
|
5370
5370
|
}
|
|
5371
5371
|
|
|
5372
|
+
.Primer_Brand__Card-module__Card__label___EAot7 {
|
|
5373
|
+
align-self: flex-start;
|
|
5374
|
+
color: var(--brand-color-text-default);
|
|
5375
|
+
border: var(--brand-borderWidth-thin) solid;
|
|
5376
|
+
border-radius: var(--brand-borderRadius-full);
|
|
5377
|
+
padding: calc(var(--base-size-4) - 1px) var(--base-size-16);
|
|
5378
|
+
margin-bottom: var(--base-size-24);
|
|
5379
|
+
display: inline-flex;
|
|
5380
|
+
justify-content: center;
|
|
5381
|
+
vertical-align: middle;
|
|
5382
|
+
}
|
|
5383
|
+
|
|
5384
|
+
.Primer_Brand__Card-module__Card__label--text___xDz7u {
|
|
5385
|
+
font-weight: var(--base-text-weight-semibold);
|
|
5386
|
+
color: inherit;
|
|
5387
|
+
position: relative;
|
|
5388
|
+
top: 0.5px;
|
|
5389
|
+
}
|
|
5390
|
+
|
|
5372
5391
|
.Primer_Brand__Card-module__Card__heading___INFhp {
|
|
5373
5392
|
margin-bottom: var(--base-size-20);
|
|
5374
5393
|
}
|
|
@@ -5421,7 +5440,7 @@ html {
|
|
|
5421
5440
|
|
|
5422
5441
|
/**
|
|
5423
5442
|
* Do not edit directly
|
|
5424
|
-
* Generated on
|
|
5443
|
+
* Generated on Mon, 20 Mar 2023 14:24:56 GMT
|
|
5425
5444
|
*/
|
|
5426
5445
|
|
|
5427
5446
|
:root,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 20 Mar 2023 14:24:55 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
7
|
--brand-Card-animation-easing: cubic-bezier(0.16, 1, 0.3, 1);
|
|
8
8
|
--brand-Card-animation-duration: 600ms;
|
|
9
|
-
--brand-Card-
|
|
9
|
+
--brand-Card-shadow: 0 3px 2px hsl(var(--base-color-scale-black-0-hsl) / 4%), 0 7px 5px hsl(var(--base-color-scale-black-0-hsl) / 2%), 0 13px 10px hsl(var(--base-color-scale-black-0-hsl) / 2%), 0 22px 17px hsl(var(--base-color-scale-black-0-hsl) / 2%);
|
|
10
10
|
--brand-Card-maxWidth: 26.25rem;
|
|
11
11
|
}
|