@primer/react-brand 0.10.0-rc.e54bcd6 → 0.11.0-rc.92943ab
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/Button/Button.d.ts +6 -7
- package/lib/CTABanner/CTABanner.d.ts +0 -21
- package/lib/SectionIntro/SectionIntro.d.ts +16 -0
- package/lib/SectionIntro/SectionIntro.visual.spec.d.ts +1 -0
- package/lib/SectionIntro/index.d.ts +1 -0
- package/lib/css/main.css +73 -21
- package/lib/css/stylesheets.d.ts +1 -0
- 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/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/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/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 +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/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/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 +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/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/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 +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/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/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 +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/list/OrderedList/OrderedList.visual.spec.d.ts +1 -0
- package/lib/list/UnorderedList/UnorderedList.visual.spec.d.ts +1 -0
- package/package.json +1 -1
package/lib/Button/Button.d.ts
CHANGED
|
@@ -5,15 +5,14 @@ export declare const ButtonVariants: readonly ["primary", "secondary", "subtle"]
|
|
|
5
5
|
export declare const ButtonSizes: readonly ["medium", "large"];
|
|
6
6
|
export declare const defaultButtonVariant: "secondary";
|
|
7
7
|
export declare const defaultButtonSize: "medium";
|
|
8
|
-
export declare type
|
|
9
|
-
as?: C;
|
|
8
|
+
export declare type ButtonBaseProps = {
|
|
10
9
|
variant?: typeof ButtonVariants[number];
|
|
11
10
|
size?: typeof ButtonSizes[number];
|
|
12
11
|
hasArrow?: boolean;
|
|
13
|
-
}
|
|
12
|
+
};
|
|
13
|
+
export declare type ButtonProps<C extends React.ElementType> = BaseProps<C> & {
|
|
14
|
+
as?: C;
|
|
15
|
+
} & ButtonBaseProps & React.ComponentPropsWithoutRef<C>;
|
|
14
16
|
export declare const Button: React.ForwardRefExoticComponent<Pick<BaseProps<React.ElementType<any>> & {
|
|
15
17
|
as?: React.ElementType<any> | undefined;
|
|
16
|
-
|
|
17
|
-
size?: "medium" | "large" | undefined;
|
|
18
|
-
hasArrow?: boolean | undefined;
|
|
19
|
-
} & Pick<any, string | number | symbol>, string | number | symbol> & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
+
} & ButtonBaseProps & Pick<any, string | number | symbol>, string | number | symbol> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -11,27 +11,6 @@ export declare type CTABannerProps = BaseProps<HTMLElement> & {
|
|
|
11
11
|
hasShadow?: boolean;
|
|
12
12
|
hasBackground?: boolean;
|
|
13
13
|
};
|
|
14
|
-
export declare const Root: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLElement> & {
|
|
15
|
-
children: React.ReactNode | React.ReactNode[];
|
|
16
|
-
align?: "start" | "center" | undefined;
|
|
17
|
-
hasBorder?: boolean | undefined;
|
|
18
|
-
hasShadow?: boolean | undefined;
|
|
19
|
-
hasBackground?: boolean | undefined;
|
|
20
|
-
}, "children" | "className" | "align" | "id" | "hasShadow" | "hasBorder" | "hasBackground"> & React.RefAttributes<HTMLElement>>;
|
|
21
|
-
export declare const _Heading: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLHeadingElement> & {
|
|
22
|
-
children: React.ReactNode | React.ReactNode[];
|
|
23
|
-
} & {
|
|
24
|
-
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
25
|
-
size?: "1" | "2" | "3" | "4" | "5" | "6" | undefined;
|
|
26
|
-
weight?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | {
|
|
27
|
-
narrow?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | undefined;
|
|
28
|
-
regular?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | undefined;
|
|
29
|
-
wide?: "light" | "bold" | "heavy" | "extrabold" | "semibold" | "medium" | "normal" | undefined;
|
|
30
|
-
} | undefined;
|
|
31
|
-
} & React.HTMLAttributes<HTMLHeadingElement>, "children" | "className" | "id" | "slot" | "style" | "title" | "as" | "size" | "weight" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
32
|
-
export declare const Description: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLParagraphElement> & {
|
|
33
|
-
children: React.ReactNode | React.ReactNode[];
|
|
34
|
-
}, "children" | "className" | "id"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
35
14
|
export declare const CTABanner: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLElement> & {
|
|
36
15
|
children: React.ReactNode | React.ReactNode[];
|
|
37
16
|
align?: "start" | "center" | undefined;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LinkProps } from '../Link';
|
|
3
|
+
import { HeadingTags } from '../Heading';
|
|
4
|
+
import type { BaseProps } from '../component-helpers';
|
|
5
|
+
export declare type SectionIntroProps = BaseProps<HTMLHeadingElement> & {
|
|
6
|
+
align?: 'start' | 'center';
|
|
7
|
+
};
|
|
8
|
+
declare type SectionIntroHeadingProps = BaseProps<HTMLHeadingElement> & HeadingTags;
|
|
9
|
+
export declare const SectionIntro: React.ForwardRefExoticComponent<Pick<React.PropsWithChildren<SectionIntroProps>, "children" | "className" | "align" | "id"> & React.RefAttributes<HTMLHeadingElement>> & {
|
|
10
|
+
Heading: React.ForwardRefExoticComponent<Pick<SectionIntroHeadingProps, "children" | "className" | "id" | "slot" | "style" | "title" | "as" | "size" | "weight" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
11
|
+
Description: React.ForwardRefExoticComponent<Pick<BaseProps<HTMLParagraphElement> & {
|
|
12
|
+
children: React.ReactNode | React.ReactNode[];
|
|
13
|
+
}, "children" | "className" | "id"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
14
|
+
Link: React.ForwardRefExoticComponent<Pick<Omit<LinkProps, "size"> & BaseProps<HTMLAnchorElement>, "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"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SectionIntro';
|
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 Tue, 24 Jan 2023 16:21:01 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 Tue, 24 Jan 2023 16:21:01 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 Tue, 24 Jan 2023 16:21:01 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 Tue, 24 Jan 2023 16:21:01 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 Tue, 24 Jan 2023 16:21:01 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 Tue, 24 Jan 2023 16:21:01 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 Tue, 24 Jan 2023 16:21:01 GMT
|
|
884
884
|
*/
|
|
885
885
|
|
|
886
886
|
:root,
|
|
@@ -942,6 +942,22 @@ select {
|
|
|
942
942
|
--brand-color-focus: var(--base-color-scale-blue-3);
|
|
943
943
|
}
|
|
944
944
|
|
|
945
|
+
/*
|
|
946
|
+
* For important high-utility CSS classes that are used
|
|
947
|
+
* frequently throughout the library and helpful to library users.
|
|
948
|
+
*/
|
|
949
|
+
|
|
950
|
+
.visually-hidden {
|
|
951
|
+
position: absolute;
|
|
952
|
+
width: 1px;
|
|
953
|
+
height: 1px;
|
|
954
|
+
padding: 0;
|
|
955
|
+
overflow: hidden;
|
|
956
|
+
clip: rect(0, 0, 0, 0);
|
|
957
|
+
word-wrap: normal;
|
|
958
|
+
border: 0;
|
|
959
|
+
}
|
|
960
|
+
|
|
945
961
|
.Primer_Brand__Hero-module__Hero___EM3jf {
|
|
946
962
|
padding: var(--brand-Hero-narrow-padding);
|
|
947
963
|
display: flex;
|
|
@@ -1167,7 +1183,7 @@ select {
|
|
|
1167
1183
|
|
|
1168
1184
|
/**
|
|
1169
1185
|
* Do not edit directly
|
|
1170
|
-
* Generated on
|
|
1186
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
1171
1187
|
*/
|
|
1172
1188
|
|
|
1173
1189
|
:root,
|
|
@@ -1466,7 +1482,7 @@ select {
|
|
|
1466
1482
|
|
|
1467
1483
|
/**
|
|
1468
1484
|
* Do not edit directly
|
|
1469
|
-
* Generated on
|
|
1485
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
1470
1486
|
*/
|
|
1471
1487
|
|
|
1472
1488
|
:root {
|
|
@@ -1487,7 +1503,7 @@ select {
|
|
|
1487
1503
|
|
|
1488
1504
|
/**
|
|
1489
1505
|
* Do not edit directly
|
|
1490
|
-
* Generated on
|
|
1506
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
1491
1507
|
*/
|
|
1492
1508
|
|
|
1493
1509
|
:root {
|
|
@@ -2273,7 +2289,7 @@ select {
|
|
|
2273
2289
|
|
|
2274
2290
|
/**
|
|
2275
2291
|
* Do not edit directly
|
|
2276
|
-
* Generated on
|
|
2292
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
2277
2293
|
*/
|
|
2278
2294
|
|
|
2279
2295
|
:root,
|
|
@@ -2301,7 +2317,7 @@ select {
|
|
|
2301
2317
|
|
|
2302
2318
|
/**
|
|
2303
2319
|
* Do not edit directly
|
|
2304
|
-
* Generated on
|
|
2320
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
2305
2321
|
*/
|
|
2306
2322
|
|
|
2307
2323
|
:root,
|
|
@@ -2406,7 +2422,7 @@ select {
|
|
|
2406
2422
|
|
|
2407
2423
|
/**
|
|
2408
2424
|
* Do not edit directly
|
|
2409
|
-
* Generated on
|
|
2425
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
2410
2426
|
*/
|
|
2411
2427
|
|
|
2412
2428
|
:root,
|
|
@@ -2557,7 +2573,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2557
2573
|
|
|
2558
2574
|
/**
|
|
2559
2575
|
* Do not edit directly
|
|
2560
|
-
* Generated on
|
|
2576
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
2561
2577
|
*/
|
|
2562
2578
|
|
|
2563
2579
|
:root {
|
|
@@ -2567,7 +2583,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2567
2583
|
|
|
2568
2584
|
/**
|
|
2569
2585
|
* Do not edit directly
|
|
2570
|
-
* Generated on
|
|
2586
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
2571
2587
|
*/
|
|
2572
2588
|
|
|
2573
2589
|
:root,
|
|
@@ -2637,7 +2653,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2637
2653
|
|
|
2638
2654
|
/**
|
|
2639
2655
|
* Do not edit directly
|
|
2640
|
-
* Generated on
|
|
2656
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
2641
2657
|
*/
|
|
2642
2658
|
|
|
2643
2659
|
:root {
|
|
@@ -2656,7 +2672,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2656
2672
|
|
|
2657
2673
|
/**
|
|
2658
2674
|
* Do not edit directly
|
|
2659
|
-
* Generated on
|
|
2675
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
2660
2676
|
*/
|
|
2661
2677
|
|
|
2662
2678
|
:root,
|
|
@@ -3599,7 +3615,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3599
3615
|
|
|
3600
3616
|
/**
|
|
3601
3617
|
* Do not edit directly
|
|
3602
|
-
* Generated on
|
|
3618
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
3603
3619
|
*/
|
|
3604
3620
|
|
|
3605
3621
|
:root {
|
|
@@ -3916,7 +3932,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3916
3932
|
|
|
3917
3933
|
/**
|
|
3918
3934
|
* Do not edit directly
|
|
3919
|
-
* Generated on
|
|
3935
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
3920
3936
|
*/
|
|
3921
3937
|
|
|
3922
3938
|
:root,
|
|
@@ -4226,7 +4242,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4226
4242
|
|
|
4227
4243
|
/**
|
|
4228
4244
|
* Do not edit directly
|
|
4229
|
-
* Generated on
|
|
4245
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
4230
4246
|
*/
|
|
4231
4247
|
|
|
4232
4248
|
:root,
|
|
@@ -4625,7 +4641,7 @@ html {
|
|
|
4625
4641
|
|
|
4626
4642
|
/**
|
|
4627
4643
|
* Do not edit directly
|
|
4628
|
-
* Generated on
|
|
4644
|
+
* Generated on Tue, 24 Jan 2023 16:21:01 GMT
|
|
4629
4645
|
*/
|
|
4630
4646
|
|
|
4631
4647
|
:root,
|
|
@@ -4754,3 +4770,39 @@ html {
|
|
|
4754
4770
|
counter-reset: li;
|
|
4755
4771
|
}
|
|
4756
4772
|
|
|
4773
|
+
.Primer_Brand__SectionIntro-module__SectionIntro___RduRB {
|
|
4774
|
+
display: flex;
|
|
4775
|
+
flex-direction: column;
|
|
4776
|
+
gap: var(--base-size-16);
|
|
4777
|
+
align-items: flex-start;
|
|
4778
|
+
padding-top: var(--base-size-24);
|
|
4779
|
+
padding-bottom: var(--base-size-24);
|
|
4780
|
+
}
|
|
4781
|
+
|
|
4782
|
+
[dir="ltr"] .Primer_Brand__SectionIntro-module__SectionIntro--align-start___C59mu {
|
|
4783
|
+
text-align: left;
|
|
4784
|
+
}
|
|
4785
|
+
|
|
4786
|
+
[dir="rtl"] .Primer_Brand__SectionIntro-module__SectionIntro--align-start___C59mu {
|
|
4787
|
+
text-align: right;
|
|
4788
|
+
}
|
|
4789
|
+
|
|
4790
|
+
.Primer_Brand__SectionIntro-module__SectionIntro--align-center___qU_a9 {
|
|
4791
|
+
align-items: center;
|
|
4792
|
+
text-align: center;
|
|
4793
|
+
padding-left: var(--base-size-24);
|
|
4794
|
+
padding-right: var(--base-size-24);
|
|
4795
|
+
}
|
|
4796
|
+
|
|
4797
|
+
.Primer_Brand__SectionIntro-module__SectionIntro-heading___u6_Wl {
|
|
4798
|
+
max-width: 18ch;
|
|
4799
|
+
}
|
|
4800
|
+
|
|
4801
|
+
.Primer_Brand__SectionIntro-module__SectionIntro-description___Sz93l {
|
|
4802
|
+
max-width: 50ch;
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4805
|
+
.Primer_Brand__SectionIntro-module__SectionIntro-link___dePuF {
|
|
4806
|
+
margin-top: var(--base-size-16);
|
|
4807
|
+
}
|
|
4808
|
+
|
package/lib/css/stylesheets.d.ts
CHANGED
|
@@ -9,3 +9,4 @@ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/typogra
|
|
|
9
9
|
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/breakpoints.css';
|
|
10
10
|
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/border.css';
|
|
11
11
|
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css';
|
|
12
|
+
import './utilities.css';
|