@codecademy/brand 0.13.42-alpha.9c56e5ef25.0 → 0.13.42
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/dist/AppBar/AppBarSection.js +1 -1
- package/dist/AppHeader/Search/QuizAndHelpCenterLinks.d.ts +2 -2
- package/dist/AppHeader/Search/SearchPane.d.ts +2 -2
- package/dist/AppHeader/Search/SearchWorker/index.js +2 -2
- package/dist/Avatar/index.js +1 -1
- package/dist/DropdownButton/index.js +1 -1
- package/dist/EmptySection/index.js +1 -1
- package/dist/LogoFromSkillsoft/index.js +1 -1
- package/dist/ProLabel/index.d.ts +5 -5
- package/dist/ProLabel/index.js +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _extends() {
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
import { styledOptions, variant } from '@codecademy/gamut-styles';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const BoldSupportIcon: import("@emotion/styled").StyledComponent<(
|
|
1
|
+
export declare const BoldSupportIcon: import("@emotion/styled").StyledComponent<(import("@codecademy/gamut-icons").GamutIconProps & import("react").RefAttributes<SVGSVGElement>) & {
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
|
-
}
|
|
3
|
+
}, {}, {}>;
|
|
4
4
|
export declare const QuizAndHelpCenterLinks: React.FC<{
|
|
5
5
|
onTrackingClick: (target: string) => void;
|
|
6
6
|
handleCloseDropdown: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SearchPaneProps } from './types';
|
|
3
|
-
export declare const SemiboldSearchIcon: import("@emotion/styled").StyledComponent<(
|
|
3
|
+
export declare const SemiboldSearchIcon: import("@emotion/styled").StyledComponent<(import("@codecademy/gamut-icons").GamutIconProps & React.RefAttributes<SVGSVGElement>) & {
|
|
4
4
|
theme?: import("@emotion/react").Theme;
|
|
5
|
-
}
|
|
5
|
+
}, {}, {}>;
|
|
6
6
|
export declare const SearchPane: React.FC<SearchPaneProps>;
|
|
@@ -39,10 +39,10 @@ export class SearchWorker extends Worker {
|
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
promises =
|
|
42
|
+
promises = {
|
|
43
43
|
autocomplete: new Map(),
|
|
44
44
|
searchAsYouType: new Map()
|
|
45
|
-
}
|
|
45
|
+
};
|
|
46
46
|
autocomplete(query, max) {
|
|
47
47
|
const q = query.trim().toLowerCase();
|
|
48
48
|
let p = this.promises.autocomplete.get(q);
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _extends() {
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
4
4
|
import { styledOptions, system, theme } from '@codecademy/gamut-styles';
|
|
5
5
|
import { css } from '@emotion/react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _extends() {
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
import { FillButton, IconButton, Popover, StrokeButton, TextButton } from '@codecademy/gamut';
|
|
4
4
|
import { ArrowChevronDownFilledIcon, MiniKebabMenuIcon } from '@codecademy/gamut-icons';
|
|
5
5
|
import { css, pxRem, styledOptions } from '@codecademy/gamut-styles';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _extends() {
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
import { FlexBox, Text } from '@codecademy/gamut';
|
|
4
4
|
import { DotLoose } from '@codecademy/gamut-patterns';
|
|
5
5
|
import { pxRem, styledOptions, variant } from '@codecademy/gamut-styles';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _extends() {
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
import { styledOptions, system } from '@codecademy/gamut-styles';
|
|
4
4
|
import { variance } from '@codecademy/variance';
|
|
5
5
|
import * as React from 'react';
|
package/dist/ProLabel/index.d.ts
CHANGED
|
@@ -340,6 +340,11 @@ declare const Svg: import("@emotion/styled").StyledComponent<{
|
|
|
340
340
|
readonly property: "bottom";
|
|
341
341
|
readonly transform: (value: string | number) => string | 0;
|
|
342
342
|
}>;
|
|
343
|
+
inset?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
344
|
+
readonly property: "inset";
|
|
345
|
+
readonly properties: readonly ["top", "right", "bottom", "left"];
|
|
346
|
+
readonly transform: (value: string | number) => string | 0;
|
|
347
|
+
}>;
|
|
343
348
|
left?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
344
349
|
readonly property: "left";
|
|
345
350
|
readonly transform: (value: string | number) => string | 0;
|
|
@@ -361,11 +366,6 @@ declare const Svg: import("@emotion/styled").StyledComponent<{
|
|
|
361
366
|
zIndex?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
362
367
|
readonly property: "zIndex";
|
|
363
368
|
}>;
|
|
364
|
-
inset?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
365
|
-
readonly property: "inset";
|
|
366
|
-
readonly properties: readonly ["top", "right", "bottom", "left"];
|
|
367
|
-
readonly transform: (value: string | number) => string | 0;
|
|
368
|
-
}>;
|
|
369
369
|
} & {
|
|
370
370
|
theme?: import("@emotion/react").Theme;
|
|
371
371
|
} & import("@codecademy/variance/dist/types/config").VariantProps<"placement", false | "inline"> & import("@codecademy/variance/dist/types/config").VariantProps<"mode", false | "light" | "dark"> & {
|
package/dist/ProLabel/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _extends() {
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
import { styledOptions, system, useCurrentMode, variant } from '@codecademy/gamut-styles';
|
|
4
4
|
import { variance } from '@codecademy/variance';
|
|
5
5
|
import * as React from 'react';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/brand",
|
|
3
3
|
"description": "Brand component library for Codecademy",
|
|
4
|
-
"version": "0.13.42
|
|
4
|
+
"version": "0.13.42",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codecademy/tracking": "1.0.44
|
|
7
|
+
"@codecademy/tracking": "1.0.44",
|
|
8
8
|
"@emotion/is-prop-valid": "1.2.1",
|
|
9
9
|
"@splidejs/react-splide": "^0.7.12",
|
|
10
10
|
"@splidejs/splide": "4.1.3",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"dist/**/[A-Z]**/[A-Z]*.js",
|
|
48
48
|
"dist/**/[A-Z]**/index.js"
|
|
49
49
|
],
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "80c9cf88d62c6c75e6aee40d36728dc6bf72ad26"
|
|
51
51
|
}
|