@ndlib/component-library 0.0.32 → 0.0.33

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.
@@ -10,13 +10,15 @@ var __rest = (this && this.__rest) || function (s, e) {
10
10
  return t;
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import SearchOffIcon from '@mui/icons-material/SearchOff';
13
+ import _SearchOffIcon from '@mui/icons-material/SearchOff';
14
14
  import { Row } from '../../elements/layout/Row';
15
15
  import { Column } from '../../elements/layout/Column';
16
16
  import { PARAGRAPH_SIZE, Paragraph } from '../../elements/text/Paragraph';
17
17
  import { COLOR } from '../../../theme/colors';
18
18
  import { Icon } from '../../elements/Icon';
19
19
  import { FONT_SIZE } from '../../../theme/typography';
20
+ import { importedDefaultComponentShim } from '../../../utils/misc';
21
+ const SearchOffIcon = importedDefaultComponentShim(_SearchOffIcon);
20
22
  export const DEFAULT_MESSAGE = 'No results found.';
21
23
  export const EmptyState = (_a) => {
22
24
  var { icon, message, sx } = _a, rest = __rest(_a, ["icon", "message", "sx"]);
@@ -1,5 +1,6 @@
1
1
  export declare enum COLOR {
2
2
  TEXT = "text",
3
+ LIGHT_TEXT = "lightText",
3
4
  BACKGROUND = "background",
4
5
  TRANSPARENT = "transparent",
5
6
  PRIMARY = "primary",
@@ -1,6 +1,7 @@
1
1
  export var COLOR;
2
2
  (function (COLOR) {
3
3
  COLOR["TEXT"] = "text";
4
+ COLOR["LIGHT_TEXT"] = "lightText";
4
5
  COLOR["BACKGROUND"] = "background";
5
6
  COLOR["TRANSPARENT"] = "transparent";
6
7
  COLOR["PRIMARY"] = "primary";
@@ -48,6 +49,7 @@ export var COLOR;
48
49
  })(COLOR || (COLOR = {}));
49
50
  export const colors = {
50
51
  [COLOR.TEXT]: '#333333',
52
+ [COLOR.LIGHT_TEXT]: '#767676',
51
53
  [COLOR.BACKGROUND]: '#ffffff',
52
54
  [COLOR.TRANSPARENT]: 'rgba(0,0,0,0)',
53
55
  [COLOR.PRIMARY]: '#0c2340',
@@ -59,7 +61,7 @@ export const colors = {
59
61
  [COLOR.WHITE]: '#ffffff',
60
62
  [COLOR.BLACK]: '#000000',
61
63
  [COLOR.DARK_GRAY]: '#333333',
62
- [COLOR.GRAY]: '#555555',
64
+ [COLOR.GRAY]: '#767676',
63
65
  [COLOR.LIGHT_GRAY]: '#d2d2d2',
64
66
  [COLOR.EXTRA_LIGHT_GRAY]: '#e2e2e2',
65
67
  [COLOR.EXTRA_EXTRA_LIGHT_GRAY]: '#f2f2f2',
@@ -8,6 +8,7 @@ export declare const SPACING: string[];
8
8
  export declare const theme: {
9
9
  colors: {
10
10
  text: string;
11
+ lightText: string;
11
12
  background: string;
12
13
  transparent: string;
13
14
  primary: string;
@@ -100,6 +101,7 @@ export type StyledElementProps<E extends Element, CustomProps = object, Children
100
101
  export declare const useTheme: () => {
101
102
  colors: {
102
103
  text: string;
104
+ lightText: string;
103
105
  background: string;
104
106
  transparent: string;
105
107
  primary: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndlib/component-library",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "files": [