@codecademy/brand 0.13.42-alpha.43cbaeda6a.0 → 0.13.42-alpha.9c56e5ef25.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/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() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, 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<(import("@codecademy/gamut-icons").GamutIconProps & import("react").RefAttributes<SVGSVGElement>) & {
|
|
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<(import("@codecademy/gamut-icons").GamutIconProps & React.RefAttributes<SVGSVGElement>) & {
|
|
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() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, 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() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, 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() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, 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() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, 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,11 +340,6 @@ 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
|
-
}>;
|
|
348
343
|
left?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
349
344
|
readonly property: "left";
|
|
350
345
|
readonly transform: (value: string | number) => string | 0;
|
|
@@ -366,6 +361,11 @@ declare const Svg: import("@emotion/styled").StyledComponent<{
|
|
|
366
361
|
zIndex?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
367
362
|
readonly property: "zIndex";
|
|
368
363
|
}>;
|
|
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() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, 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-alpha.
|
|
4
|
+
"version": "0.13.42-alpha.9c56e5ef25.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codecademy/tracking": "1.0.44-alpha.
|
|
7
|
+
"@codecademy/tracking": "1.0.44-alpha.9c56e5ef25.0",
|
|
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": "9deecca0ecea0de6a79a28a656cba73cab12d86c"
|
|
51
51
|
}
|