@primer/react-brand 0.15.2-rc.d2c59a5 → 0.16.0-rc.4a9f87c
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/lib/Card/Card.d.ts +3 -1
- package/lib/Label/Label.d.ts +35 -0
- package/lib/Label/Label.visual.spec.d.ts +1 -0
- package/lib/Label/index.d.ts +1 -0
- package/lib/River/River.d.ts +1 -2
- package/lib/css/main.css +259 -41
- 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 +1 -1
- 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/label/colors-with-modes.css +59 -0
- package/lib/design-tokens/css/tokens/functional/components/label/colors.css +31 -0
- 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 +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
- 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 +1 -1
- 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/label/colors.js +465 -0
- 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 +1 -1
- 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 +1 -1
- 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/label/colors.js +29 -0
- 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 +1 -1
- 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 +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
- 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/label/colors.d.ts +48 -0
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +47 -0
- 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 +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/Card/Card.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { HeadingTags } from '..';
|
|
3
|
+
import { LabelColors } from '../Label';
|
|
3
4
|
import type { BaseProps } from '../component-helpers';
|
|
4
5
|
/**
|
|
5
6
|
* Design tokens
|
|
@@ -22,6 +23,7 @@ export declare type CardProps = {
|
|
|
22
23
|
} & BaseProps<HTMLAnchorElement> & React.ComponentPropsWithoutRef<'a'>;
|
|
23
24
|
declare type CardLabelProps = BaseProps<HTMLSpanElement> & {
|
|
24
25
|
children: React.ReactNode | React.ReactNode[];
|
|
26
|
+
color?: typeof LabelColors[number];
|
|
25
27
|
};
|
|
26
28
|
declare type CardHeadingProps = BaseProps<HTMLHeadingElement> & {
|
|
27
29
|
children: React.ReactNode | React.ReactNode[];
|
|
@@ -35,7 +37,7 @@ declare type CardDescriptionProps = BaseProps<HTMLParagraphElement> & {
|
|
|
35
37
|
* {@link https://primer.style/brand/components/Card/ See usage examples}.
|
|
36
38
|
*/
|
|
37
39
|
export declare const Card: React.ForwardRefExoticComponent<Pick<CardProps, "children" | "aria-labelledby" | "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-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>>;
|
|
40
|
+
Label: React.ForwardRefExoticComponent<Pick<CardLabelProps, "children" | "className" | "id" | "color"> & React.RefAttributes<HTMLSpanElement>>;
|
|
39
41
|
Heading: React.ForwardRefExoticComponent<Pick<CardHeadingProps, "children" | "className" | "id" | "as"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
40
42
|
Description: React.ForwardRefExoticComponent<Pick<CardDescriptionProps, "children" | "className" | "id"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
41
43
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BaseProps } from '../component-helpers';
|
|
3
|
+
/**
|
|
4
|
+
* Design tokens
|
|
5
|
+
*/
|
|
6
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css';
|
|
7
|
+
export declare const LabelColors: readonly ["default", "blue", "blue-purple", "coral", "green", "green-blue", "gray", "indigo", "lemon", "lime", "orange", "pink", "pink-blue", "purple", "purple-red", "red", "red-orange", "teal", "yellow"];
|
|
8
|
+
export declare const LabelSizes: readonly ["small", "medium", "large"];
|
|
9
|
+
export declare const defaultLabelColor: "default";
|
|
10
|
+
export declare const defaultLabelSize: "medium";
|
|
11
|
+
export declare type LabelProps = BaseProps<HTMLSpanElement> & {
|
|
12
|
+
/**
|
|
13
|
+
* The leading visual appears before the Label content
|
|
14
|
+
*/
|
|
15
|
+
leadingVisual?: React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* The color variations available in Label
|
|
18
|
+
*/
|
|
19
|
+
color?: typeof LabelColors[number];
|
|
20
|
+
/**
|
|
21
|
+
* The size variations available in Label
|
|
22
|
+
*/
|
|
23
|
+
size?: typeof LabelSizes[number];
|
|
24
|
+
['data-testid']?: string;
|
|
25
|
+
} & React.ComponentPropsWithoutRef<'span'>;
|
|
26
|
+
/**
|
|
27
|
+
* Use a Label to indicate the status of an object or to categorize it with metadata that describes it.
|
|
28
|
+
* @see https://primer.style/brand/components/Label
|
|
29
|
+
*/
|
|
30
|
+
export declare const Label: React.ForwardRefExoticComponent<Pick<LabelProps, "children" | "aria-labelledby" | "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-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" | "leadingVisual" | "data-testid" | "key"> & React.RefAttributes<HTMLSpanElement>> & {
|
|
31
|
+
testIds: {
|
|
32
|
+
root: string;
|
|
33
|
+
readonly leadingVisual: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Label';
|
package/lib/River/River.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { LinkProps, HeadingProps, TextProps } from '../';
|
|
3
3
|
import type { BaseProps } from '../component-helpers';
|
|
4
4
|
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/river/base.css';
|
|
5
5
|
export declare type RiverProps = BaseProps<HTMLElement> & {
|
|
@@ -44,7 +44,6 @@ declare type RiverContentProps = BaseProps<HTMLDivElement> & {
|
|
|
44
44
|
*/
|
|
45
45
|
children: React.ReactElement<TextProps> | React.ReactElement<HeadingProps | TextProps | LinkProps>[];
|
|
46
46
|
};
|
|
47
|
-
export declare const getHeadingWarning: (size: (typeof HeadingTags)[number]) => string;
|
|
48
47
|
declare type RiverVisualProps = BaseProps<HTMLDivElement> & PropsWithChildren<{
|
|
49
48
|
/**
|
|
50
49
|
* Applies automatic size constraints to child images and video.
|
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 Thu, 13 Apr 2023 11:58:36 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 Thu, 13 Apr 2023 11:58:35 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 Thu, 13 Apr 2023 11:58:35 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 Thu, 13 Apr 2023 11:58:36 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
|
|
851
|
+
* Generated on Thu, 13 Apr 2023 11:58:35 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 Thu, 13 Apr 2023 11:58:35 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 Thu, 13 Apr 2023 11:58:36 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 Thu, 13 Apr 2023 11:58:36 GMT
|
|
1186
1186
|
*/
|
|
1187
1187
|
|
|
1188
1188
|
:root,
|
|
@@ -1632,7 +1632,7 @@ select {
|
|
|
1632
1632
|
|
|
1633
1633
|
/**
|
|
1634
1634
|
* Do not edit directly
|
|
1635
|
-
* Generated on
|
|
1635
|
+
* Generated on Thu, 13 Apr 2023 11:58:35 GMT
|
|
1636
1636
|
*/
|
|
1637
1637
|
|
|
1638
1638
|
:root {
|
|
@@ -1653,7 +1653,7 @@ select {
|
|
|
1653
1653
|
|
|
1654
1654
|
/**
|
|
1655
1655
|
* Do not edit directly
|
|
1656
|
-
* Generated on
|
|
1656
|
+
* Generated on Thu, 13 Apr 2023 11:58:35 GMT
|
|
1657
1657
|
*/
|
|
1658
1658
|
|
|
1659
1659
|
:root {
|
|
@@ -2284,6 +2284,7 @@ select {
|
|
|
2284
2284
|
|
|
2285
2285
|
.Primer_Brand__SubdomainNavBar-module__SubdomainNavBar-search-dialog___yqQl5 {
|
|
2286
2286
|
position: absolute;
|
|
2287
|
+
z-index: 99;
|
|
2287
2288
|
}
|
|
2288
2289
|
|
|
2289
2290
|
@media screen and (max-width: 767px) {
|
|
@@ -2296,7 +2297,6 @@ select {
|
|
|
2296
2297
|
backdrop-filter: blur(100px);
|
|
2297
2298
|
height: 100vh;
|
|
2298
2299
|
width: 100vw;
|
|
2299
|
-
z-index: 99;
|
|
2300
2300
|
animation: Primer_Brand__SubdomainNavBar-module__fade-in-down___kwg9g 300ms;
|
|
2301
2301
|
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
2302
2302
|
}
|
|
@@ -2447,7 +2447,7 @@ select {
|
|
|
2447
2447
|
|
|
2448
2448
|
/**
|
|
2449
2449
|
* Do not edit directly
|
|
2450
|
-
* Generated on
|
|
2450
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
2451
2451
|
*/
|
|
2452
2452
|
|
|
2453
2453
|
:root,
|
|
@@ -2475,7 +2475,7 @@ select {
|
|
|
2475
2475
|
|
|
2476
2476
|
/**
|
|
2477
2477
|
* Do not edit directly
|
|
2478
|
-
* Generated on
|
|
2478
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
2479
2479
|
*/
|
|
2480
2480
|
|
|
2481
2481
|
:root,
|
|
@@ -2592,7 +2592,240 @@ select {
|
|
|
2592
2592
|
|
|
2593
2593
|
/**
|
|
2594
2594
|
* Do not edit directly
|
|
2595
|
-
* Generated on
|
|
2595
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
2596
|
+
*/
|
|
2597
|
+
|
|
2598
|
+
:root,
|
|
2599
|
+
[data-color-mode="light"] {
|
|
2600
|
+
--brand-Label-color-default: var(--base-color-scale-blue-5);
|
|
2601
|
+
--brand-Label-color-blue: var(--base-color-scale-blue-5);
|
|
2602
|
+
--brand-Label-color-blue-purple-start: var(--base-color-scale-blue-5);
|
|
2603
|
+
--brand-Label-color-blue-purple-end: var(--base-color-scale-purple-5);
|
|
2604
|
+
--brand-Label-color-coral: var(--base-color-scale-coral-5);
|
|
2605
|
+
--brand-Label-color-green: var(--base-color-scale-green-5);
|
|
2606
|
+
--brand-Label-color-green-blue-start: var(--base-color-scale-green-4);
|
|
2607
|
+
--brand-Label-color-green-blue-end: var(--base-color-scale-blue-5);
|
|
2608
|
+
--brand-Label-color-gray: var(--base-color-scale-gray-6);
|
|
2609
|
+
--brand-Label-color-indigo: var(--base-color-scale-indigo-5);
|
|
2610
|
+
--brand-Label-color-lemon: var(--base-color-scale-lemon-5);
|
|
2611
|
+
--brand-Label-color-lime: var(--base-color-scale-lime-5);
|
|
2612
|
+
--brand-Label-color-orange: var(--base-color-scale-orange-5);
|
|
2613
|
+
--brand-Label-color-pink: var(--base-color-scale-pink-5);
|
|
2614
|
+
--brand-Label-color-pink-blue-start: var(--base-color-scale-pink-5);
|
|
2615
|
+
--brand-Label-color-pink-blue-end: var(--base-color-scale-blue-5);
|
|
2616
|
+
--brand-Label-color-purple: var(--base-color-scale-purple-5);
|
|
2617
|
+
--brand-Label-color-purple-red-start: var(--base-color-scale-purple-5);
|
|
2618
|
+
--brand-Label-color-purple-red-end: var(--base-color-scale-red-5);
|
|
2619
|
+
--brand-Label-color-red: var(--base-color-scale-red-5);
|
|
2620
|
+
--brand-Label-color-red-orange-start: var(--base-color-scale-red-4);
|
|
2621
|
+
--brand-Label-color-red-orange-end: var(--base-color-scale-orange-5);
|
|
2622
|
+
--brand-Label-color-teal: var(--base-color-scale-teal-5);
|
|
2623
|
+
--brand-Label-color-yellow: var(--base-color-scale-yellow-5);
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
[data-color-mode="dark"] {
|
|
2627
|
+
--brand-Label-color-default: var(--base-color-scale-blue-4);
|
|
2628
|
+
--brand-Label-color-blue: var(--base-color-scale-blue-0);
|
|
2629
|
+
--brand-Label-color-blue-purple-start: var(--base-color-scale-blue-2);
|
|
2630
|
+
--brand-Label-color-blue-purple-end: var(--base-color-scale-purple-3);
|
|
2631
|
+
--brand-Label-color-coral: var(--base-color-scale-coral-0);
|
|
2632
|
+
--brand-Label-color-green: var(--base-color-scale-green-0);
|
|
2633
|
+
--brand-Label-color-green-blue-start: var(--base-color-scale-green-2);
|
|
2634
|
+
--brand-Label-color-green-blue-end: var(--base-color-scale-blue-3);
|
|
2635
|
+
--brand-Label-color-gray: var(--base-color-scale-gray-0);
|
|
2636
|
+
--brand-Label-color-indigo: var(--base-color-scale-indigo-0);
|
|
2637
|
+
--brand-Label-color-lemon: var(--base-color-scale-lemon-0);
|
|
2638
|
+
--brand-Label-color-lime: var(--base-color-scale-lime-0);
|
|
2639
|
+
--brand-Label-color-orange: var(--base-color-scale-orange-0);
|
|
2640
|
+
--brand-Label-color-pink: var(--base-color-scale-pink-0);
|
|
2641
|
+
--brand-Label-color-pink-blue-start: var(--base-color-scale-pink-2);
|
|
2642
|
+
--brand-Label-color-pink-blue-end: var(--base-color-scale-blue-3);
|
|
2643
|
+
--brand-Label-color-purple: var(--base-color-scale-purple-0);
|
|
2644
|
+
--brand-Label-color-purple-red-start: var(--base-color-scale-purple-2);
|
|
2645
|
+
--brand-Label-color-purple-red-end: var(--base-color-scale-red-3);
|
|
2646
|
+
--brand-Label-color-red: var(--base-color-scale-red-0);
|
|
2647
|
+
--brand-Label-color-red-orange-start: var(--base-color-scale-red-2);
|
|
2648
|
+
--brand-Label-color-red-orange-end: var(--base-color-scale-orange-3);
|
|
2649
|
+
--brand-Label-color-teal: var(--base-color-scale-teal-0);
|
|
2650
|
+
--brand-Label-color-yellow: var(--base-color-scale-yellow-0);
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
.Primer_Brand__Label-module__Label___TW0HL {
|
|
2654
|
+
--brand-Label-gradient: radial-gradient(
|
|
2655
|
+
circle at top left,
|
|
2656
|
+
var(--brand-Label-color-start),
|
|
2657
|
+
var(--brand-Label-color-end)
|
|
2658
|
+
);
|
|
2659
|
+
--brand-Label-background: var(--brand-Label-gradient, var(--brand-Label-color, currentColor));
|
|
2660
|
+
|
|
2661
|
+
vertical-align: middle;
|
|
2662
|
+
align-items: center;
|
|
2663
|
+
justify-content: center;
|
|
2664
|
+
border-radius: var(--brand-borderRadius-full);
|
|
2665
|
+
display: inline-flex;
|
|
2666
|
+
color: currentColor;
|
|
2667
|
+
color: var(--brand-Label-color-start, var(--brand-Label-color, currentColor));
|
|
2668
|
+
position: relative;
|
|
2669
|
+
background: none;
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
.Primer_Brand__Label-module__Label___TW0HL::before {
|
|
2673
|
+
content: '';
|
|
2674
|
+
position: absolute;
|
|
2675
|
+
top: 0;
|
|
2676
|
+
right: 0;
|
|
2677
|
+
bottom: 0;
|
|
2678
|
+
left: 0;
|
|
2679
|
+
padding: var(--brand-borderWidth-thin);
|
|
2680
|
+
border-radius: inherit;
|
|
2681
|
+
background: var(--brand-Label-background);
|
|
2682
|
+
-webkit-mask: linear-gradient(var(--brand-color-canvas-default), var(--brand-color-canvas-default)) content-box,
|
|
2683
|
+
linear-gradient(var(--brand-color-canvas-default), var(--brand-color-canvas-default));
|
|
2684
|
+
mask: linear-gradient(var(--brand-color-canvas-default), var(--brand-color-canvas-default)) content-box,
|
|
2685
|
+
linear-gradient(var(--brand-color-canvas-default), var(--brand-color-canvas-default));
|
|
2686
|
+
-webkit-mask-composite: xor;
|
|
2687
|
+
mask-composite: exclude;
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
.Primer_Brand__Label-module__Label--size-small___TvoL_ {
|
|
2691
|
+
padding-left: var(--base-size-8);
|
|
2692
|
+
padding-right: var(--base-size-8);
|
|
2693
|
+
height: var(--base-size-24);
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
.Primer_Brand__Label-module__Label--size-medium___g4Jkm {
|
|
2697
|
+
padding-left: var(--base-size-16);
|
|
2698
|
+
padding-right: var(--base-size-16);
|
|
2699
|
+
height: var(--base-size-28);
|
|
2700
|
+
}
|
|
2701
|
+
|
|
2702
|
+
.Primer_Brand__Label-module__Label--size-large___BrKTp {
|
|
2703
|
+
padding-left: var(--base-size-16);
|
|
2704
|
+
padding-right: var(--base-size-16);
|
|
2705
|
+
height: var(--base-size-32);
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
.Primer_Brand__Label-module__Label--color-default___YCx2l {
|
|
2709
|
+
--brand-Label-color: var(--brand-color-text-default);
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
.Primer_Brand__Label-module__Label--color-blue___lZSxf {
|
|
2713
|
+
--brand-Label-color: var(--brand-Label-color-blue);
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
.Primer_Brand__Label-module__Label--color-blue-purple___ER3VP {
|
|
2717
|
+
--brand-Label-color-start: var(--brand-Label-color-blue-purple-start);
|
|
2718
|
+
--brand-Label-color-end: var(--brand-Label-color-blue-purple-end);
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
.Primer_Brand__Label-module__Label--color-coral___V0Yif {
|
|
2722
|
+
--brand-Label-color: var(--brand-Label-color-coral);
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
.Primer_Brand__Label-module__Label--color-green___SoiE4 {
|
|
2726
|
+
--brand-Label-color: var(--brand-Label-color-green);
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
.Primer_Brand__Label-module__Label--color-green-blue___R2mSi {
|
|
2730
|
+
--brand-Label-color-start: var(--brand-Label-color-green-blue-start);
|
|
2731
|
+
--brand-Label-color-end: var(--brand-Label-color-green-blue-end);
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
.Primer_Brand__Label-module__Label--color-gray___MCa_k {
|
|
2735
|
+
--brand-Label-color: var(--brand-Label-color-gray);
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
.Primer_Brand__Label-module__Label--color-indigo___VEHOi {
|
|
2739
|
+
--brand-Label-color: var(--brand-Label-color-indigo);
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
.Primer_Brand__Label-module__Label--color-lemon___xvb0x {
|
|
2743
|
+
--brand-Label-color: var(--brand-Label-color-lemon);
|
|
2744
|
+
}
|
|
2745
|
+
|
|
2746
|
+
.Primer_Brand__Label-module__Label--color-lime___rORM1 {
|
|
2747
|
+
--brand-Label-color: var(--brand-Label-color-lime);
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
.Primer_Brand__Label-module__Label--color-orange___PMqMi {
|
|
2751
|
+
--brand-Label-color: var(--brand-Label-color-orange);
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
.Primer_Brand__Label-module__Label--color-pink___kHEv5 {
|
|
2755
|
+
--brand-Label-color: var(--brand-Label-color-pink);
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
.Primer_Brand__Label-module__Label--color-pink-blue___y5skb {
|
|
2759
|
+
--brand-Label-color-start: var(--brand-Label-color-pink-blue-start);
|
|
2760
|
+
--brand-Label-color-end: var(--brand-Label-color-pink-blue-end);
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
.Primer_Brand__Label-module__Label--color-purple___ZHLtp {
|
|
2764
|
+
--brand-Label-color: var(--brand-Label-color-purple);
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2767
|
+
.Primer_Brand__Label-module__Label--color-purple-red___MsWGq {
|
|
2768
|
+
--brand-Label-color-start: var(--brand-Label-color-purple-red-start);
|
|
2769
|
+
--brand-Label-color-end: var(--brand-Label-color-purple-red-end);
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
.Primer_Brand__Label-module__Label--color-red___GYMDt {
|
|
2773
|
+
--brand-Label-color: var(--brand-Label-color-red);
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
.Primer_Brand__Label-module__Label--color-red-orange___FVyXX {
|
|
2777
|
+
--brand-Label-color-start: var(--brand-Label-color-red-orange-start);
|
|
2778
|
+
--brand-Label-color-end: var(--brand-Label-color-red-orange-end);
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
.Primer_Brand__Label-module__Label--color-teal___VOUIS {
|
|
2782
|
+
--brand-Label-color: var(--brand-Label-color-teal);
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
.Primer_Brand__Label-module__Label--color-yellow___S2Zu2 {
|
|
2786
|
+
--brand-Label-color: var(--brand-Label-color-yellow);
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
.Primer_Brand__Label-module__Label__text____nAxj {
|
|
2790
|
+
background: var(--brand-Label-background);
|
|
2791
|
+
-webkit-background-clip: text;
|
|
2792
|
+
background-clip: text;
|
|
2793
|
+
-webkit-text-fill-color: transparent;
|
|
2794
|
+
-webkit-box-decoration-break: clone;
|
|
2795
|
+
box-decoration-break: clone;
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
.Primer_Brand__Label-module__Label--size-small___TvoL_ .Primer_Brand__Label-module__Label__text____nAxj {
|
|
2799
|
+
line-height: var(--brand-text-lineHeight-100);
|
|
2800
|
+
}
|
|
2801
|
+
|
|
2802
|
+
.Primer_Brand__Label-module__Label--size-medium___g4Jkm .Primer_Brand__Label-module__Label__text____nAxj {
|
|
2803
|
+
line-height: var(--brand-text-lineHeight-200);
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
.Primer_Brand__Label-module__Label--size-large___BrKTp .Primer_Brand__Label-module__Label__text____nAxj {
|
|
2807
|
+
line-height: var(--brand-text-lineHeight-300);
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
.Primer_Brand__Label-module__Label__icon-visual___lD1Qa {
|
|
2811
|
+
display: flex;
|
|
2812
|
+
align-self: center;
|
|
2813
|
+
height: var(--base-size-16);
|
|
2814
|
+
width: auto;
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
.Primer_Brand__Label-module__Label__leading-visual___a1rnF {
|
|
2818
|
+
display: flex;
|
|
2819
|
+
margin-right: var(--base-size-8);
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
.Primer_Brand__Label-module__Label__label___bD_B4 {
|
|
2823
|
+
font-weight: var(--base-text-weight-semibold);
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* Do not edit directly
|
|
2828
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
2596
2829
|
*/
|
|
2597
2830
|
|
|
2598
2831
|
:root,
|
|
@@ -2749,7 +2982,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2749
2982
|
|
|
2750
2983
|
/**
|
|
2751
2984
|
* Do not edit directly
|
|
2752
|
-
* Generated on
|
|
2985
|
+
* Generated on Thu, 13 Apr 2023 11:58:35 GMT
|
|
2753
2986
|
*/
|
|
2754
2987
|
|
|
2755
2988
|
:root {
|
|
@@ -2759,7 +2992,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2759
2992
|
|
|
2760
2993
|
/**
|
|
2761
2994
|
* Do not edit directly
|
|
2762
|
-
* Generated on
|
|
2995
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
2763
2996
|
*/
|
|
2764
2997
|
|
|
2765
2998
|
:root,
|
|
@@ -2829,7 +3062,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2829
3062
|
|
|
2830
3063
|
/**
|
|
2831
3064
|
* Do not edit directly
|
|
2832
|
-
* Generated on
|
|
3065
|
+
* Generated on Thu, 13 Apr 2023 11:58:35 GMT
|
|
2833
3066
|
*/
|
|
2834
3067
|
|
|
2835
3068
|
:root {
|
|
@@ -2848,7 +3081,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2848
3081
|
|
|
2849
3082
|
/**
|
|
2850
3083
|
* Do not edit directly
|
|
2851
|
-
* Generated on
|
|
3084
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
2852
3085
|
*/
|
|
2853
3086
|
|
|
2854
3087
|
:root,
|
|
@@ -3791,7 +4024,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3791
4024
|
|
|
3792
4025
|
/**
|
|
3793
4026
|
* Do not edit directly
|
|
3794
|
-
* Generated on
|
|
4027
|
+
* Generated on Thu, 13 Apr 2023 11:58:35 GMT
|
|
3795
4028
|
*/
|
|
3796
4029
|
|
|
3797
4030
|
:root {
|
|
@@ -4333,7 +4566,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4333
4566
|
|
|
4334
4567
|
/**
|
|
4335
4568
|
* Do not edit directly
|
|
4336
|
-
* Generated on
|
|
4569
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
4337
4570
|
*/
|
|
4338
4571
|
|
|
4339
4572
|
:root,
|
|
@@ -4643,7 +4876,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4643
4876
|
|
|
4644
4877
|
/**
|
|
4645
4878
|
* Do not edit directly
|
|
4646
|
-
* Generated on
|
|
4879
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
4647
4880
|
*/
|
|
4648
4881
|
|
|
4649
4882
|
:root,
|
|
@@ -5042,7 +5275,7 @@ html {
|
|
|
5042
5275
|
|
|
5043
5276
|
/**
|
|
5044
5277
|
* Do not edit directly
|
|
5045
|
-
* Generated on
|
|
5278
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
5046
5279
|
*/
|
|
5047
5280
|
|
|
5048
5281
|
:root,
|
|
@@ -5223,7 +5456,7 @@ html {
|
|
|
5223
5456
|
|
|
5224
5457
|
/**
|
|
5225
5458
|
* Do not edit directly
|
|
5226
|
-
* Generated on
|
|
5459
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
5227
5460
|
*/
|
|
5228
5461
|
|
|
5229
5462
|
:root,
|
|
@@ -5343,7 +5576,7 @@ html {
|
|
|
5343
5576
|
|
|
5344
5577
|
/**
|
|
5345
5578
|
* Do not edit directly
|
|
5346
|
-
* Generated on
|
|
5579
|
+
* Generated on Thu, 13 Apr 2023 11:58:35 GMT
|
|
5347
5580
|
*/
|
|
5348
5581
|
|
|
5349
5582
|
:root {
|
|
@@ -5355,7 +5588,7 @@ html {
|
|
|
5355
5588
|
|
|
5356
5589
|
/**
|
|
5357
5590
|
* Do not edit directly
|
|
5358
|
-
* Generated on
|
|
5591
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
5359
5592
|
*/
|
|
5360
5593
|
|
|
5361
5594
|
:root,
|
|
@@ -5386,22 +5619,7 @@ html {
|
|
|
5386
5619
|
}
|
|
5387
5620
|
|
|
5388
5621
|
.Primer_Brand__Card-module__Card__label___EAot7 {
|
|
5389
|
-
align-self: flex-start;
|
|
5390
|
-
color: var(--brand-color-text-default);
|
|
5391
|
-
border: var(--brand-borderWidth-thin) solid;
|
|
5392
|
-
border-radius: var(--brand-borderRadius-full);
|
|
5393
|
-
padding: calc(var(--base-size-4) - 1px) var(--base-size-16);
|
|
5394
5622
|
margin-bottom: var(--base-size-24);
|
|
5395
|
-
display: inline-flex;
|
|
5396
|
-
justify-content: center;
|
|
5397
|
-
vertical-align: middle;
|
|
5398
|
-
}
|
|
5399
|
-
|
|
5400
|
-
.Primer_Brand__Card-module__Card__label--text___xDz7u {
|
|
5401
|
-
font-weight: var(--base-text-weight-semibold);
|
|
5402
|
-
color: inherit;
|
|
5403
|
-
position: relative;
|
|
5404
|
-
top: 0.5px;
|
|
5405
5623
|
}
|
|
5406
5624
|
|
|
5407
5625
|
.Primer_Brand__Card-module__Card__heading___INFhp {
|
|
@@ -5456,7 +5674,7 @@ html {
|
|
|
5456
5674
|
|
|
5457
5675
|
/**
|
|
5458
5676
|
* Do not edit directly
|
|
5459
|
-
* Generated on
|
|
5677
|
+
* Generated on Thu, 13 Apr 2023 11:58:36 GMT
|
|
5460
5678
|
*/
|
|
5461
5679
|
|
|
5462
5680
|
:root,
|