@codecademy/gamut-styles 12.1.0 → 13.0.0-alpha.97744b.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/CHANGELOG.md +22 -0
- package/dist/Background.d.ts +1 -1
- package/dist/ColorMode.d.ts +1 -1
- package/dist/themes/admin.d.ts +6 -6
- package/dist/themes/core.d.ts +3 -3
- package/dist/themes/platform.d.ts +6 -6
- package/dist/variables/colors.d.ts +2 -2
- package/dist/variables/colors.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [13.0.0-alpha.97744b.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-styles@12.1.1...@codecademy/gamut-styles@13.0.0-alpha.97744b.0) (2021-12-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ⚠ BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* bumped React to 17
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* bumped React to 17 ([4d0d029](https://github.com/Codecademy/gamut/commit/4d0d029ce293d3c4a8331c625bcdcdce93235f2d))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### [12.1.1](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-styles@12.1.0...@codecademy/gamut-styles@12.1.1) (2021-12-07)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **colors:** Lighten navy-700 to increase interaction contrast ([720213e](https://github.com/Codecademy/gamut/commit/720213e8936c5ec67af09493e4db463b19c355b6))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [12.1.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-styles@12.0.0...@codecademy/gamut-styles@12.1.0) (2021-11-23)
|
|
7
29
|
|
|
8
30
|
|
package/dist/Background.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { ColorMode, Colors } from './ColorMode';
|
|
|
3
3
|
export interface BackgroundProps extends Omit<ComponentProps<typeof ColorMode>, 'mode' | 'alwaysSetVariables' | 'bg'> {
|
|
4
4
|
bg: Colors;
|
|
5
5
|
}
|
|
6
|
-
export declare const Background: React.ForwardRefExoticComponent<Pick<BackgroundProps, "dir" | "p" | "slot" | "style" | "title" | "id" | "key" | "color" | "background" | "property" | "alignContent" | "alignItems" | "alignSelf" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "bottom" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "inset" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "position" | "right" | "rowGap" | "top" | "translate" | "verticalAlign" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "overflow" | "hidden" | "
|
|
6
|
+
export declare const Background: React.ForwardRefExoticComponent<Pick<BackgroundProps, "dir" | "p" | "slot" | "style" | "title" | "id" | "key" | "color" | "background" | "property" | "alignContent" | "alignItems" | "alignSelf" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "bottom" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "inset" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "position" | "right" | "rowGap" | "top" | "translate" | "verticalAlign" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "overflow" | "hidden" | "variables" | "children" | "theme" | "dimensions" | "textColor" | "bg" | "borderColorX" | "borderColorY" | "borderColorLeft" | "borderColorRight" | "borderColorTop" | "borderColorBottom" | "px" | "py" | "pt" | "pb" | "pr" | "pl" | "m" | "mx" | "my" | "mt" | "mb" | "mr" | "ml" | "borderX" | "borderY" | "borderWidthX" | "borderWidthY" | "borderWidthLeft" | "borderWidthRight" | "borderWidthTop" | "borderWidthBottom" | "borderRadiusLeft" | "borderRadiusTop" | "borderRadiusBottom" | "borderRadiusRight" | "borderRadiusTopLeft" | "borderRadiusTopRight" | "borderRadiusBottomRight" | "borderRadiusBottomLeft" | "borderStyleX" | "borderStyleY" | "borderStyleLeft" | "borderStyleRight" | "borderStyleTop" | "borderStyleBottom" | "className" | "prefix" | "lang" | "role" | "tabIndex" | "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" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as"> & React.RefAttributes<HTMLDivElement>>;
|
package/dist/ColorMode.d.ts
CHANGED
|
@@ -1274,4 +1274,4 @@ export declare const ColorMode: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
1274
1274
|
alwaysSetVariables?: boolean | undefined;
|
|
1275
1275
|
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "dir" | "slot" | "style" | "title" | "id" | "property" | "translate" | "hidden" | "children" | "className" | "prefix" | "lang" | "role" | "tabIndex" | "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" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof React.ClassAttributes<HTMLDivElement>> & {
|
|
1276
1276
|
children?: React.ReactNode;
|
|
1277
|
-
}, "bg"> & ColorModeProps, "dir" | "p" | "slot" | "style" | "title" | "id" | "key" | "color" | "background" | "property" | "alignContent" | "alignItems" | "alignSelf" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "bottom" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "inset" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "position" | "right" | "rowGap" | "top" | "translate" | "verticalAlign" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "overflow" | "hidden" | "
|
|
1277
|
+
}, "bg"> & ColorModeProps, "dir" | "p" | "slot" | "style" | "title" | "id" | "key" | "color" | "background" | "property" | "alignContent" | "alignItems" | "alignSelf" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "bottom" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "inset" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "position" | "right" | "rowGap" | "top" | "translate" | "verticalAlign" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "overflow" | "hidden" | "variables" | "children" | "theme" | "dimensions" | "textColor" | "borderColorX" | "borderColorY" | "borderColorLeft" | "borderColorRight" | "borderColorTop" | "borderColorBottom" | "px" | "py" | "pt" | "pb" | "pr" | "pl" | "m" | "mx" | "my" | "mt" | "mb" | "mr" | "ml" | "borderX" | "borderY" | "borderWidthX" | "borderWidthY" | "borderWidthLeft" | "borderWidthRight" | "borderWidthTop" | "borderWidthBottom" | "borderRadiusLeft" | "borderRadiusTop" | "borderRadiusBottom" | "borderRadiusRight" | "borderRadiusTopLeft" | "borderRadiusTopRight" | "borderRadiusBottomRight" | "borderRadiusBottomLeft" | "borderStyleX" | "borderStyleY" | "borderStyleLeft" | "borderStyleRight" | "borderStyleTop" | "borderStyleBottom" | "className" | "prefix" | "lang" | "role" | "tabIndex" | "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" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "alwaysSetVariables" | keyof ColorModeProps> & React.RefAttributes<HTMLDivElement>>;
|
package/dist/themes/admin.d.ts
CHANGED
|
@@ -107,7 +107,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
107
107
|
readonly "navy-800": "#10162F";
|
|
108
108
|
readonly "navy-200": "#DBDCE0";
|
|
109
109
|
readonly "navy-600": "#585C6D";
|
|
110
|
-
readonly "navy-700": "#
|
|
110
|
+
readonly "navy-700": "#34394C";
|
|
111
111
|
readonly "navy-900": "#0A0D1C";
|
|
112
112
|
readonly "green-0": "#F5FFE3";
|
|
113
113
|
readonly "green-400": "#AEE938";
|
|
@@ -237,7 +237,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
237
237
|
readonly "navy-800": "#10162F";
|
|
238
238
|
readonly "navy-200": "#DBDCE0";
|
|
239
239
|
readonly "navy-600": "#585C6D";
|
|
240
|
-
readonly "navy-700": "#
|
|
240
|
+
readonly "navy-700": "#34394C";
|
|
241
241
|
readonly "navy-900": "#0A0D1C";
|
|
242
242
|
readonly "green-0": "#F5FFE3";
|
|
243
243
|
readonly "green-400": "#AEE938";
|
|
@@ -372,7 +372,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
372
372
|
readonly "navy-800": "#10162F";
|
|
373
373
|
readonly "navy-200": "#DBDCE0";
|
|
374
374
|
readonly "navy-600": "#585C6D";
|
|
375
|
-
readonly "navy-700": "#
|
|
375
|
+
readonly "navy-700": "#34394C";
|
|
376
376
|
readonly "navy-900": "#0A0D1C";
|
|
377
377
|
readonly "green-0": "#F5FFE3";
|
|
378
378
|
readonly "green-400": "#AEE938";
|
|
@@ -453,7 +453,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
453
453
|
readonly "navy-800": "#10162F";
|
|
454
454
|
readonly "navy-200": "#DBDCE0";
|
|
455
455
|
readonly "navy-600": "#585C6D";
|
|
456
|
-
readonly "navy-700": "#
|
|
456
|
+
readonly "navy-700": "#34394C";
|
|
457
457
|
readonly "navy-900": "#0A0D1C";
|
|
458
458
|
readonly "green-0": "#F5FFE3";
|
|
459
459
|
readonly "green-400": "#AEE938";
|
|
@@ -582,7 +582,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
582
582
|
readonly "navy-800": "#10162F";
|
|
583
583
|
readonly "navy-200": "#DBDCE0";
|
|
584
584
|
readonly "navy-600": "#585C6D";
|
|
585
|
-
readonly "navy-700": "#
|
|
585
|
+
readonly "navy-700": "#34394C";
|
|
586
586
|
readonly "navy-900": "#0A0D1C";
|
|
587
587
|
readonly "green-0": "#F5FFE3";
|
|
588
588
|
readonly "green-400": "#AEE938";
|
|
@@ -725,7 +725,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
725
725
|
readonly "navy-800": "#10162F";
|
|
726
726
|
readonly "navy-200": "#DBDCE0";
|
|
727
727
|
readonly "navy-600": "#585C6D";
|
|
728
|
-
readonly "navy-700": "#
|
|
728
|
+
readonly "navy-700": "#34394C";
|
|
729
729
|
readonly "navy-900": "#0A0D1C";
|
|
730
730
|
readonly "green-0": "#F5FFE3";
|
|
731
731
|
readonly "green-400": "#AEE938";
|
package/dist/themes/core.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export declare const coreTheme: Record<"elements", Record<"elements", import("@c
|
|
|
106
106
|
readonly "navy-800": "#10162F";
|
|
107
107
|
readonly "navy-200": "#DBDCE0";
|
|
108
108
|
readonly "navy-600": "#585C6D";
|
|
109
|
-
readonly "navy-700": "#
|
|
109
|
+
readonly "navy-700": "#34394C";
|
|
110
110
|
readonly "navy-900": "#0A0D1C";
|
|
111
111
|
readonly "green-0": "#F5FFE3";
|
|
112
112
|
readonly "green-400": "#AEE938";
|
|
@@ -236,7 +236,7 @@ export declare const coreTheme: Record<"elements", Record<"elements", import("@c
|
|
|
236
236
|
readonly "navy-800": "#10162F";
|
|
237
237
|
readonly "navy-200": "#DBDCE0";
|
|
238
238
|
readonly "navy-600": "#585C6D";
|
|
239
|
-
readonly "navy-700": "#
|
|
239
|
+
readonly "navy-700": "#34394C";
|
|
240
240
|
readonly "navy-900": "#0A0D1C";
|
|
241
241
|
readonly "green-0": "#F5FFE3";
|
|
242
242
|
readonly "green-400": "#AEE938";
|
|
@@ -371,7 +371,7 @@ export declare const coreTheme: Record<"elements", Record<"elements", import("@c
|
|
|
371
371
|
readonly "navy-800": "#10162F";
|
|
372
372
|
readonly "navy-200": "#DBDCE0";
|
|
373
373
|
readonly "navy-600": "#585C6D";
|
|
374
|
-
readonly "navy-700": "#
|
|
374
|
+
readonly "navy-700": "#34394C";
|
|
375
375
|
readonly "navy-900": "#0A0D1C";
|
|
376
376
|
readonly "green-0": "#F5FFE3";
|
|
377
377
|
readonly "green-400": "#AEE938";
|
|
@@ -117,7 +117,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
117
117
|
readonly "navy-800": "#10162F";
|
|
118
118
|
readonly "navy-200": "#DBDCE0";
|
|
119
119
|
readonly "navy-600": "#585C6D";
|
|
120
|
-
readonly "navy-700": "#
|
|
120
|
+
readonly "navy-700": "#34394C";
|
|
121
121
|
readonly "navy-900": "#0A0D1C";
|
|
122
122
|
readonly "green-0": "#F5FFE3";
|
|
123
123
|
readonly "green-400": "#AEE938";
|
|
@@ -247,7 +247,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
247
247
|
readonly "navy-800": "#10162F";
|
|
248
248
|
readonly "navy-200": "#DBDCE0";
|
|
249
249
|
readonly "navy-600": "#585C6D";
|
|
250
|
-
readonly "navy-700": "#
|
|
250
|
+
readonly "navy-700": "#34394C";
|
|
251
251
|
readonly "navy-900": "#0A0D1C";
|
|
252
252
|
readonly "green-0": "#F5FFE3";
|
|
253
253
|
readonly "green-400": "#AEE938";
|
|
@@ -382,7 +382,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
382
382
|
readonly "navy-800": "#10162F";
|
|
383
383
|
readonly "navy-200": "#DBDCE0";
|
|
384
384
|
readonly "navy-600": "#585C6D";
|
|
385
|
-
readonly "navy-700": "#
|
|
385
|
+
readonly "navy-700": "#34394C";
|
|
386
386
|
readonly "navy-900": "#0A0D1C";
|
|
387
387
|
readonly "green-0": "#F5FFE3";
|
|
388
388
|
readonly "green-400": "#AEE938";
|
|
@@ -529,7 +529,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
529
529
|
readonly "navy-800": "#10162F";
|
|
530
530
|
readonly "navy-200": "#DBDCE0";
|
|
531
531
|
readonly "navy-600": "#585C6D";
|
|
532
|
-
readonly "navy-700": "#
|
|
532
|
+
readonly "navy-700": "#34394C";
|
|
533
533
|
readonly "navy-900": "#0A0D1C";
|
|
534
534
|
readonly "green-0": "#F5FFE3";
|
|
535
535
|
readonly "green-400": "#AEE938";
|
|
@@ -658,7 +658,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
658
658
|
readonly "navy-800": "#10162F";
|
|
659
659
|
readonly "navy-200": "#DBDCE0";
|
|
660
660
|
readonly "navy-600": "#585C6D";
|
|
661
|
-
readonly "navy-700": "#
|
|
661
|
+
readonly "navy-700": "#34394C";
|
|
662
662
|
readonly "navy-900": "#0A0D1C";
|
|
663
663
|
readonly "green-0": "#F5FFE3";
|
|
664
664
|
readonly "green-400": "#AEE938";
|
|
@@ -867,7 +867,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
867
867
|
readonly "navy-800": "#10162F";
|
|
868
868
|
readonly "navy-200": "#DBDCE0";
|
|
869
869
|
readonly "navy-600": "#585C6D";
|
|
870
|
-
readonly "navy-700": "#
|
|
870
|
+
readonly "navy-700": "#34394C";
|
|
871
871
|
readonly "navy-900": "#0A0D1C";
|
|
872
872
|
readonly "green-0": "#F5FFE3";
|
|
873
873
|
readonly "green-400": "#AEE938";
|
|
@@ -16,7 +16,7 @@ export declare const coreSwatches: {
|
|
|
16
16
|
readonly '400': "#9FA2AC";
|
|
17
17
|
readonly '500': "#707382";
|
|
18
18
|
readonly '600': "#585C6D";
|
|
19
|
-
readonly '700': "#
|
|
19
|
+
readonly '700': "#34394C";
|
|
20
20
|
readonly '800': "#10162F";
|
|
21
21
|
readonly '900': "#0A0D1C";
|
|
22
22
|
};
|
|
@@ -112,7 +112,7 @@ export declare const corePalette: {
|
|
|
112
112
|
readonly "navy-800": "#10162F";
|
|
113
113
|
readonly "navy-200": "#DBDCE0";
|
|
114
114
|
readonly "navy-600": "#585C6D";
|
|
115
|
-
readonly "navy-700": "#
|
|
115
|
+
readonly "navy-700": "#34394C";
|
|
116
116
|
readonly "navy-900": "#0A0D1C";
|
|
117
117
|
readonly "green-0": "#F5FFE3";
|
|
118
118
|
readonly "green-400": "#AEE938";
|
package/dist/variables/colors.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-styles",
|
|
3
3
|
"description": "Styleguide & Component library for codecademy.com",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "13.0.0-alpha.97744b.0",
|
|
5
5
|
"author": "Jake Hiller <jake@codecademy.com>",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"url": "git@github.com:Codecademy/gamut.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@codecademy/variance": "
|
|
20
|
+
"@codecademy/variance": "1.0.0-alpha.97744b.0",
|
|
21
21
|
"@emotion/is-prop-valid": "^1.1.0",
|
|
22
22
|
"polished": "^4.1.2"
|
|
23
23
|
},
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@emotion/react": "^11.4.0",
|
|
27
27
|
"@emotion/styled": "^11.3.0",
|
|
28
28
|
"lodash": "^4.17.5",
|
|
29
|
-
"react": ">=
|
|
29
|
+
"react": ">=17.0.2",
|
|
30
30
|
"react-helmet": "^6.1.0",
|
|
31
31
|
"stylis": "^4.0.7"
|
|
32
32
|
},
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "7027974c95ffc3eccee2b8c37dc878ee5e4391c6"
|
|
43
43
|
}
|