@artsy/palette 18.18.0 → 18.22.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 +83 -0
- package/dist/elements/Badge/Badge.d.ts +22 -0
- package/dist/elements/Badge/Badge.js +72 -0
- package/dist/elements/Badge/Badge.js.map +1 -0
- package/dist/elements/Badge/Badge.story.d.ts +5 -0
- package/dist/elements/Badge/Badge.story.js +35 -0
- package/dist/elements/Badge/Badge.story.js.map +1 -0
- package/dist/elements/EntityHeader/EntityHeader.d.ts +2 -0
- package/dist/elements/EntityHeader/EntityHeader.js.map +1 -1
- package/dist/elements/EntityHeader/EntityHeader.story.js +24 -1
- package/dist/elements/EntityHeader/EntityHeader.story.js.map +1 -1
- package/dist/elements/EntityHeader/v3/EntityHeader.js +12 -3
- package/dist/elements/EntityHeader/v3/EntityHeader.js.map +1 -1
- package/dist/elements/Marquee/Marquee.d.ts +25 -0
- package/dist/elements/Marquee/Marquee.js +156 -0
- package/dist/elements/Marquee/Marquee.js.map +1 -0
- package/dist/elements/Marquee/Marquee.story.d.ts +5 -0
- package/dist/elements/Marquee/Marquee.story.js +49 -0
- package/dist/elements/Marquee/Marquee.story.js.map +1 -0
- package/dist/elements/Marquee/index.d.ts +1 -0
- package/dist/elements/Marquee/index.js +19 -0
- package/dist/elements/Marquee/index.js.map +1 -0
- package/dist/elements/index.d.ts +1 -0
- package/dist/elements/index.js +13 -0
- package/dist/elements/index.js.map +1 -1
- package/dist/svgs/AppleIcon.d.ts +4 -0
- package/dist/svgs/AppleIcon.js +46 -0
- package/dist/svgs/AppleIcon.js.map +1 -0
- package/dist/svgs/GoogleIcon.d.ts +4 -0
- package/dist/svgs/GoogleIcon.js +60 -0
- package/dist/svgs/GoogleIcon.js.map +1 -0
- package/dist/svgs/ImageSetIcon.d.ts +3 -0
- package/dist/svgs/ImageSetIcon.js +45 -0
- package/dist/svgs/ImageSetIcon.js.map +1 -0
- package/dist/svgs/_icons.story.js +15 -28
- package/dist/svgs/_icons.story.js.map +1 -1
- package/dist/svgs/index.d.ts +3 -0
- package/dist/svgs/index.js +39 -0
- package/dist/svgs/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,86 @@
|
|
|
1
|
+
# v18.22.0 (Wed Feb 09 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- GRO-770: Added New Cultural Badges Component [#1122](https://github.com/artsy/palette/pull/1122) ([@The-Beez-Kneez](https://github.com/The-Beez-Kneez) [@dzucconi](https://github.com/dzucconi))
|
|
6
|
+
|
|
7
|
+
#### 🐛 Bug Fix
|
|
8
|
+
|
|
9
|
+
- feat(entityheader): adds badges support ([@dzucconi](https://github.com/dzucconi))
|
|
10
|
+
- feat: supports variants ([@dzucconi](https://github.com/dzucconi))
|
|
11
|
+
- Updated: renamed CulturalBadge to Badge in order to make it more flexible ([@The-Beez-Kneez](https://github.com/The-Beez-Kneez))
|
|
12
|
+
- Updated: Per PR feedback, removing extra wrapper elements and hard coded width setting ([@The-Beez-Kneez](https://github.com/The-Beez-Kneez))
|
|
13
|
+
- Merge branch 'main' into The_Beez_Kneez/GRO770 ([@The-Beez-Kneez](https://github.com/The-Beez-Kneez))
|
|
14
|
+
- Added: This is to add in a basic cultural badge component for Black Owned galleries, will need to be expanded in the future if more badges added ([@The-Beez-Kneez](https://github.com/The-Beez-Kneez))
|
|
15
|
+
|
|
16
|
+
#### Authors: 2
|
|
17
|
+
|
|
18
|
+
- AL_Sutherland ([@The-Beez-Kneez](https://github.com/The-Beez-Kneez))
|
|
19
|
+
- Damon ([@dzucconi](https://github.com/dzucconi))
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# v18.21.0 (Wed Feb 09 2022)
|
|
24
|
+
|
|
25
|
+
#### 🚀 Enhancement
|
|
26
|
+
|
|
27
|
+
- feat: [Icons] Add Google and Apple icons [#1123](https://github.com/artsy/palette/pull/1123) ([@jacobherrington](https://github.com/jacobherrington))
|
|
28
|
+
|
|
29
|
+
#### 🐛 Bug Fix
|
|
30
|
+
|
|
31
|
+
- feat: [Icons] Add Google and Apple icons ([@jacobherrington](https://github.com/jacobherrington))
|
|
32
|
+
|
|
33
|
+
#### 🏠 Internal
|
|
34
|
+
|
|
35
|
+
- docs: Add link to svg optimization tool [#1124](https://github.com/artsy/palette/pull/1124) ([@jacobherrington](https://github.com/jacobherrington))
|
|
36
|
+
|
|
37
|
+
#### Authors: 1
|
|
38
|
+
|
|
39
|
+
- Jacob Herrington ([@jacobherrington](https://github.com/jacobherrington))
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
# v18.20.0 (Mon Feb 07 2022)
|
|
44
|
+
|
|
45
|
+
#### 🚀 Enhancement
|
|
46
|
+
|
|
47
|
+
- Scrolling marquee for black owned galleries project [#1120](https://github.com/artsy/palette/pull/1120) ([@lilyfromseattle](https://github.com/lilyfromseattle))
|
|
48
|
+
|
|
49
|
+
#### 🐛 Bug Fix
|
|
50
|
+
|
|
51
|
+
- PR fixes ([@lilyfromseattle](https://github.com/lilyfromseattle))
|
|
52
|
+
- deleted ribbon component ([@lilyfromseattle](https://github.com/lilyfromseattle))
|
|
53
|
+
- added scrolling marquee ([@lilyfromseattle](https://github.com/lilyfromseattle))
|
|
54
|
+
- scroll is working ([@lilyfromseattle](https://github.com/lilyfromseattle))
|
|
55
|
+
|
|
56
|
+
#### Authors: 1
|
|
57
|
+
|
|
58
|
+
- Lily Pace ([@lilyfromseattle](https://github.com/lilyfromseattle))
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
# v18.19.0 (Fri Feb 04 2022)
|
|
63
|
+
|
|
64
|
+
#### 🚀 Enhancement
|
|
65
|
+
|
|
66
|
+
- feat(icons): image set icon [#1121](https://github.com/artsy/palette/pull/1121) ([@dzucconi](https://github.com/dzucconi))
|
|
67
|
+
|
|
68
|
+
#### 🐛 Bug Fix
|
|
69
|
+
|
|
70
|
+
- docs: cleans up icon/color docs ([@dzucconi](https://github.com/dzucconi))
|
|
71
|
+
- feat(icons): adds image set icon ([@dzucconi](https://github.com/dzucconi))
|
|
72
|
+
|
|
73
|
+
#### 📝 Documentation
|
|
74
|
+
|
|
75
|
+
- chore(docs): Super minor fixes [#1119](https://github.com/artsy/palette/pull/1119) ([@damassi](https://github.com/damassi))
|
|
76
|
+
|
|
77
|
+
#### Authors: 2
|
|
78
|
+
|
|
79
|
+
- Christopher Pappas ([@damassi](https://github.com/damassi))
|
|
80
|
+
- Damon ([@dzucconi](https://github.com/dzucconi))
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
1
84
|
# v18.18.0 (Fri Feb 04 2022)
|
|
2
85
|
|
|
3
86
|
#### 🚀 Enhancement
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { BoxProps } from "../Box";
|
|
3
|
+
declare const VARIANTS: {
|
|
4
|
+
defaultLight: {
|
|
5
|
+
backgroundColor: string;
|
|
6
|
+
color: string;
|
|
7
|
+
};
|
|
8
|
+
defaultDark: {
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
color: string;
|
|
11
|
+
};
|
|
12
|
+
brand: {
|
|
13
|
+
backgroundColor: string;
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export interface BadgeProps extends BoxProps {
|
|
18
|
+
variant?: keyof typeof VARIANTS;
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export declare const Badge: React.FC<BadgeProps>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.Badge = void 0;
|
|
9
|
+
|
|
10
|
+
var _palette = require("@artsy/palette");
|
|
11
|
+
|
|
12
|
+
var React = _interopRequireWildcard(require("react"));
|
|
13
|
+
|
|
14
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
15
|
+
|
|
16
|
+
var _styledSystem = require("styled-system");
|
|
17
|
+
|
|
18
|
+
var _Box = require("../Box");
|
|
19
|
+
|
|
20
|
+
var _excluded = ["children"];
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
|
+
|
|
24
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
28
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
29
|
+
|
|
30
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
31
|
+
|
|
32
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
33
|
+
|
|
34
|
+
var VARIANTS = {
|
|
35
|
+
defaultLight: {
|
|
36
|
+
backgroundColor: "black10",
|
|
37
|
+
color: "black100"
|
|
38
|
+
},
|
|
39
|
+
defaultDark: {
|
|
40
|
+
backgroundColor: "black100",
|
|
41
|
+
color: "white100"
|
|
42
|
+
},
|
|
43
|
+
brand: {
|
|
44
|
+
backgroundColor: "brand",
|
|
45
|
+
color: "white100"
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
var Badge = function Badge(_ref) {
|
|
50
|
+
var children = _ref.children,
|
|
51
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
52
|
+
|
|
53
|
+
return /*#__PURE__*/React.createElement(Container, _extends({
|
|
54
|
+
display: "inline-block",
|
|
55
|
+
px: 0.5
|
|
56
|
+
}, rest), /*#__PURE__*/React.createElement(_palette.Text, {
|
|
57
|
+
variant: "xs"
|
|
58
|
+
}, children));
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
exports.Badge = Badge;
|
|
62
|
+
Badge.displayName = "Badge";
|
|
63
|
+
Badge.defaultProps = {
|
|
64
|
+
variant: "defaultDark"
|
|
65
|
+
};
|
|
66
|
+
var Container = (0, _styledComponents.default)(_Box.Box).withConfig({
|
|
67
|
+
displayName: "Badge__Container",
|
|
68
|
+
componentId: "la0mbb-0"
|
|
69
|
+
})(["", ""], (0, _styledSystem.variant)({
|
|
70
|
+
variants: VARIANTS
|
|
71
|
+
}));
|
|
72
|
+
//# sourceMappingURL=Badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/elements/Badge/Badge.tsx"],"names":["VARIANTS","defaultLight","backgroundColor","color","defaultDark","brand","Badge","children","rest","defaultProps","variant","Container","Box","variants"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;AAEA,IAAMA,QAAQ,GAAG;AACfC,EAAAA,YAAY,EAAE;AACZC,IAAAA,eAAe,EAAE,SADL;AAEZC,IAAAA,KAAK,EAAE;AAFK,GADC;AAKfC,EAAAA,WAAW,EAAE;AACXF,IAAAA,eAAe,EAAE,UADN;AAEXC,IAAAA,KAAK,EAAE;AAFI,GALE;AASfE,EAAAA,KAAK,EAAE;AACLH,IAAAA,eAAe,EAAE,OADZ;AAELC,IAAAA,KAAK,EAAE;AAFF;AATQ,CAAjB;;AAoBO,IAAMG,KAA2B,GAAG,SAA9BA,KAA8B,OAA2B;AAAA,MAAxBC,QAAwB,QAAxBA,QAAwB;AAAA,MAAXC,IAAW;;AACpE,sBACE,oBAAC,SAAD;AAAW,IAAA,OAAO,EAAC,cAAnB;AAAkC,IAAA,EAAE,EAAE;AAAtC,KAA+CA,IAA/C,gBACE,oBAAC,aAAD;AAAM,IAAA,OAAO,EAAC;AAAd,KAAoBD,QAApB,CADF,CADF;AAKD,CANM;;;AAAMD,K;AAQbA,KAAK,CAACG,YAAN,GAAqB;AACnBC,EAAAA,OAAO,EAAE;AADU,CAArB;AAIA,IAAMC,SAAS,GAAG,+BAAOC,QAAP,CAAH;AAAA;AAAA;AAAA,aACX,2BAAQ;AAAEC,EAAAA,QAAQ,EAAEb;AAAZ,CAAR,CADW,CAAf","sourcesContent":["import { Text } from \"@artsy/palette\"\nimport * as React from \"react\"\nimport styled from \"styled-components\"\nimport { variant } from \"styled-system\"\nimport { Box, BoxProps } from \"../Box\"\n\nconst VARIANTS = {\n defaultLight: {\n backgroundColor: \"black10\",\n color: \"black100\",\n },\n defaultDark: {\n backgroundColor: \"black100\",\n color: \"white100\",\n },\n brand: {\n backgroundColor: \"brand\",\n color: \"white100\",\n },\n}\n\nexport interface BadgeProps extends BoxProps {\n variant?: keyof typeof VARIANTS\n children: React.ReactNode\n}\n\nexport const Badge: React.FC<BadgeProps> = ({ children, ...rest }) => {\n return (\n <Container display=\"inline-block\" px={0.5} {...rest}>\n <Text variant=\"xs\">{children}</Text>\n </Container>\n )\n}\n\nBadge.defaultProps = {\n variant: \"defaultDark\",\n}\n\nconst Container = styled(Box)`\n ${variant({ variants: VARIANTS })}\n`\n"],"file":"Badge.js"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.Default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _storybookStates = require("storybook-states");
|
|
11
|
+
|
|
12
|
+
var _Badge = require("../Badge/Badge");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
var _default = {
|
|
17
|
+
title: "Components/Badge"
|
|
18
|
+
};
|
|
19
|
+
exports.default = _default;
|
|
20
|
+
|
|
21
|
+
var Default = function Default() {
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(_storybookStates.States, {
|
|
23
|
+
states: [{}, {
|
|
24
|
+
children: "LGBT+ Owned",
|
|
25
|
+
variant: "brand"
|
|
26
|
+
}, {
|
|
27
|
+
children: "Women Owned",
|
|
28
|
+
variant: "defaultLight"
|
|
29
|
+
}]
|
|
30
|
+
}, /*#__PURE__*/_react.default.createElement(_Badge.Badge, null, "Black Owned"));
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
exports.Default = Default;
|
|
34
|
+
Default.displayName = "Default";
|
|
35
|
+
//# sourceMappingURL=Badge.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/elements/Badge/Badge.story.tsx"],"names":["title","Default","children","variant"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AADM,C;;;AAIR,IAAMC,OAAO,GAAG,SAAVA,OAAU,GAAM;AAC3B,sBACE,6BAAC,uBAAD;AACE,IAAA,MAAM,EAAE,CACN,EADM,EAEN;AAAEC,MAAAA,QAAQ,EAAE,aAAZ;AAA2BC,MAAAA,OAAO,EAAE;AAApC,KAFM,EAGN;AAAED,MAAAA,QAAQ,EAAE,aAAZ;AAA2BC,MAAAA,OAAO,EAAE;AAApC,KAHM;AADV,kBAOE,6BAAC,YAAD,sBAPF,CADF;AAWD,CAZM;;;AAAMF,O","sourcesContent":["import React from \"react\"\nimport { States } from \"storybook-states\"\nimport { Badge, BadgeProps } from \"../Badge/Badge\"\n\nexport default {\n title: \"Components/Badge\",\n}\n\nexport const Default = () => {\n return (\n <States<Partial<BadgeProps>>\n states={[\n {},\n { children: \"LGBT+ Owned\", variant: \"brand\" },\n { children: \"Women Owned\", variant: \"defaultLight\" },\n ]}\n >\n <Badge>Black Owned</Badge>\n </States>\n )\n}\n"],"file":"Badge.story.js"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { BadgeProps } from "../Badge/Badge";
|
|
2
3
|
import { FlexProps } from "../Flex";
|
|
3
4
|
import { ImageProps } from "../Image";
|
|
4
5
|
export interface EntityHeaderProps extends FlexProps {
|
|
@@ -10,6 +11,7 @@ export interface EntityHeaderProps extends FlexProps {
|
|
|
10
11
|
initials?: string;
|
|
11
12
|
meta?: string;
|
|
12
13
|
name: string;
|
|
14
|
+
badges?: BadgeProps[];
|
|
13
15
|
smallVariant?: boolean;
|
|
14
16
|
FollowButton?: JSX.Element;
|
|
15
17
|
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/elements/EntityHeader/EntityHeader.tsx"],"names":["EntityHeader","props","v2","v3","displayName"],"mappings":";;;;;;;AAAA;;AACA;;
|
|
1
|
+
{"version":3,"sources":["../../../src/elements/EntityHeader/EntityHeader.tsx"],"names":["EntityHeader","props","v2","v3","displayName"],"mappings":";;;;;;;AAAA;;AACA;;AAIA;;AACA;;;;AAgBA;AACA;AACA;AACO,IAAMA,YAAyC,GAAG,SAA5CA,YAA4C,CAACC,KAAD,EAAW;AAClE,SAAO,2BAAe;AACpBC,IAAAA,EAAE,eAAE,6BAAC,0BAAD,EAAoBD,KAApB,CADgB;AAEpBE,IAAAA,EAAE,eAAE,6BAAC,2BAAD,EAAoBF,KAApB;AAFgB,GAAf,CAAP;AAID,CALM;;;AAOPD,YAAY,CAACI,WAAb,GAA2B,cAA3B","sourcesContent":["import React from \"react\"\nimport { useThemeConfig } from \"../../Theme\"\nimport { BadgeProps } from \"../Badge/Badge\"\nimport { FlexProps } from \"../Flex\"\nimport { ImageProps } from \"../Image\"\nimport { EntityHeader as EntityHeaderV2 } from \"./v2/EntityHeader\"\nimport { EntityHeader as EntityHeaderV3 } from \"./v3/EntityHeader\"\n\nexport interface EntityHeaderProps extends FlexProps {\n href?: string\n /** @deprecated: use `image` instead */\n imageUrl?: string\n /** Pass props to the underlying `Image` in `Avatar` */\n image?: Partial<ImageProps>\n initials?: string\n meta?: string\n name: string\n badges?: BadgeProps[]\n smallVariant?: boolean\n FollowButton?: JSX.Element\n onClick?: (event: React.MouseEvent<HTMLElement>) => void\n}\n/**\n * Component that is used as entity header that is paired with rich information about the entity.\n */\nexport const EntityHeader: React.FC<EntityHeaderProps> = (props) => {\n return useThemeConfig({\n v2: <EntityHeaderV2 {...props} />,\n v3: <EntityHeaderV3 {...props} />,\n })\n}\n\nEntityHeader.displayName = \"EntityHeader\"\n"],"file":"EntityHeader.js"}
|
|
@@ -97,10 +97,33 @@ var Default = function Default() {
|
|
|
97
97
|
meta: "American, b. Founded 1979",
|
|
98
98
|
href: "http://www.artsy.net/artist/francesca-dimattio",
|
|
99
99
|
FollowButton: /*#__PURE__*/_react.default.createElement(FollowButton, null)
|
|
100
|
+
}, {
|
|
101
|
+
initials: "FLD",
|
|
102
|
+
name: "Francesca Much Longer DiMattio",
|
|
103
|
+
image: imageProps,
|
|
104
|
+
meta: "American, b. Founded 1979",
|
|
105
|
+
href: "http://www.artsy.net/artist/francesca-dimattio",
|
|
106
|
+
FollowButton: /*#__PURE__*/_react.default.createElement(FollowButton, null),
|
|
107
|
+
badges: [{
|
|
108
|
+
children: "Black Owned"
|
|
109
|
+
}]
|
|
110
|
+
}, {
|
|
111
|
+
initials: "FLD",
|
|
112
|
+
name: "Francesca Much Longer DiMattio",
|
|
113
|
+
image: imageProps,
|
|
114
|
+
meta: "American, b. Founded 1979",
|
|
115
|
+
href: "http://www.artsy.net/artist/francesca-dimattio",
|
|
116
|
+
FollowButton: /*#__PURE__*/_react.default.createElement(FollowButton, null),
|
|
117
|
+
badges: [{
|
|
118
|
+
children: "Black Owned"
|
|
119
|
+
}, {
|
|
120
|
+
children: "Women Owned",
|
|
121
|
+
variant: "brand"
|
|
122
|
+
}]
|
|
100
123
|
}]
|
|
101
124
|
}, function (props) {
|
|
102
125
|
return /*#__PURE__*/_react.default.createElement(_EntityHeader.EntityHeader, _extends({}, props, {
|
|
103
|
-
maxWidth:
|
|
126
|
+
maxWidth: 350
|
|
104
127
|
}));
|
|
105
128
|
});
|
|
106
129
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/elements/EntityHeader/EntityHeader.story.tsx"],"names":["title","FollowButton","v2","alert","v3","imageProps","src","srcSet","lazyLoad","Default","name","smallVariant","initials","image","meta","href","props"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AADM,C;;;AAIf,IAAMC,YAAY,GAAG,SAAfA,YAAe,GAAM;AACzB,SAAO,2BAAe;AACpBC,IAAAA,EAAE,eACA,6BAAC,oBAAD;AAAW,MAAA,cAAc,EAAC,WAA1B;AAAsC,MAAA,OAAO,EAAE;AAAA,eAAMC,KAAK,CAAC,QAAD,CAAX;AAAA;AAA/C,oBACE,6BAAC,UAAD;AAAM,MAAA,OAAO,EAAC;AAAd,gBADF,CAFkB;AAOpBC,IAAAA,EAAE,eACA,6BAAC,cAAD;AACE,MAAA,IAAI,EAAC,OADP;AAEE,MAAA,OAAO,EAAC,kBAFV;AAGE,MAAA,OAAO,EAAE;AAAA,eAAMD,KAAK,CAAC,QAAD,CAAX;AAAA;AAHX;AARkB,GAAf,CAAP;AAiBD,CAlBD;;AAoBA,IAAME,UAAU,GAAG;AACjBC,EAAAA,GAAG,EAAE,4CADY;AAEjBC,EAAAA,MAAM,EACJ,8FAHe;AAIjBC,EAAAA,QAAQ,EAAE;AAJO,CAAnB;;AAOO,IAAMC,OAAO,GAAG,SAAVA,OAAU,GAAM;AAC3B,sBACE,6BAAC,uBAAD;AACE,IAAA,MAAM,EAAE,CACN;AAAEC,MAAAA,IAAI,EAAE;AAAR,KADM,EAEN;AAAEC,MAAAA,YAAY,EAAE,IAAhB;AAAsBD,MAAAA,IAAI,EAAE,oBAA5B;AAAkDE,MAAAA,QAAQ,EAAE;AAA5D,KAFM,EAGN;AAAEF,MAAAA,IAAI,EAAE,oBAAR;AAA8BE,MAAAA,QAAQ,EAAE;AAAxC,KAHM,EAIN;AACED,MAAAA,YAAY,EAAE,IADhB;AAEED,MAAAA,IAAI,EAAE,oBAFR;AAGEG,MAAAA,KAAK,EAAER;AAHT,KAJM,EASN;AACEK,MAAAA,IAAI,EAAE,oBADR;AAEEG,MAAAA,KAAK,EAAER;AAFT,KATM,EAaN;AACEO,MAAAA,QAAQ,EAAE,IADZ;AAEEF,MAAAA,IAAI,EAAE,oBAFR;AAGEG,MAAAA,KAAK,EAAER,UAHT;AAIES,MAAAA,IAAI,EAAE,mBAJR;AAKEC,MAAAA,IAAI,EAAE;AALR,KAbM,EAoBN;AACEJ,MAAAA,YAAY,EAAE,IADhB;AAEED,MAAAA,IAAI,EAAE,oBAFR;AAGEG,MAAAA,KAAK,EAAER,UAHT;AAIEJ,MAAAA,YAAY,eAAE,6BAAC,YAAD;AAJhB,KApBM,EA0BN;AACEW,MAAAA,QAAQ,EAAE,IADZ;AAEEF,MAAAA,IAAI,EAAE,oBAFR;AAGEG,MAAAA,KAAK,EAAER,UAHT;AAIES,MAAAA,IAAI,EAAE,mBAJR;AAKEC,MAAAA,IAAI,EAAE,gDALR;AAMEd,MAAAA,YAAY,eAAE,6BAAC,YAAD;AANhB,KA1BM,EAkCN;AACEW,MAAAA,QAAQ,EAAE,KADZ;AAEEF,MAAAA,IAAI,EAAE,2BAFR;AAGEG,MAAAA,KAAK,EAAER,UAHT;AAIES,MAAAA,IAAI,EAAE,2BAJR;AAKEC,MAAAA,IAAI,EAAE,gDALR;AAMEd,MAAAA,YAAY,eAAE,6BAAC,YAAD;AANhB,KAlCM;AADV,
|
|
1
|
+
{"version":3,"sources":["../../../src/elements/EntityHeader/EntityHeader.story.tsx"],"names":["title","FollowButton","v2","alert","v3","imageProps","src","srcSet","lazyLoad","Default","name","smallVariant","initials","image","meta","href","badges","children","variant","props"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AADM,C;;;AAIf,IAAMC,YAAY,GAAG,SAAfA,YAAe,GAAM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N;AAAEA,QAAAA,QAAQ,EAAE,aAAZ;AAA2BC,QAAAA,OAAO,EAAE;AAApC,OAFM;AAPV,KAnDM;AADV,KAkEG,UAACC,KAAD;AAAA,wBAAW,6BAAC,0BAAD,eAAkBA,KAAlB;AAAyB,MAAA,QAAQ,EAAE;AAAnC,OAAX;AAAA,GAlEH,CADF;AAsED,CAvEM;;;AAAMV,O","sourcesContent":["import React from \"react\"\nimport { States } from \"storybook-states\"\nimport { useThemeConfig } from \"../../Theme\"\nimport { Button } from \"../Button\"\nimport { Clickable } from \"../Clickable\"\nimport { Text } from \"../Text\"\nimport { EntityHeader, EntityHeaderProps } from \"./EntityHeader\"\n\nexport default {\n title: \"Components/EntityHeader\",\n}\n\nconst FollowButton = () => {\n return useThemeConfig({\n v2: (\n <Clickable textDecoration=\"underline\" onClick={() => alert(\"Follow\")}>\n <Text variant=\"text\">Follow</Text>\n </Clickable>\n ),\n\n v3: (\n <Button\n size=\"small\"\n variant=\"secondaryOutline\"\n onClick={() => alert(\"Follow\")}\n >\n Follow\n </Button>\n ),\n })\n}\n\nconst imageProps = {\n src: \"https://picsum.photos/seed/example/110/110\",\n srcSet:\n \"https://picsum.photos/seed/example/110/110 1x, https://picsum.photos/seed/example/220/220 2x\",\n lazyLoad: true,\n}\n\nexport const Default = () => {\n return (\n <States<EntityHeaderProps>\n states={[\n { name: \"Francesca DiMattio\" },\n { smallVariant: true, name: \"Francesca DiMattio\", initials: \"FD\" },\n { name: \"Francesca DiMattio\", initials: \"FD\" },\n {\n smallVariant: true,\n name: \"Francesca DiMattio\",\n image: imageProps,\n },\n {\n name: \"Francesca DiMattio\",\n image: imageProps,\n },\n {\n initials: \"FD\",\n name: \"Francesca DiMattio\",\n image: imageProps,\n meta: \"American, b. 1979\",\n href: \"http://www.artsy.net/artist/francesca-dimattio\",\n },\n {\n smallVariant: true,\n name: \"Francesca DiMattio\",\n image: imageProps,\n FollowButton: <FollowButton />,\n },\n {\n initials: \"FD\",\n name: \"Francesca DiMattio\",\n image: imageProps,\n meta: \"American, b. 1979\",\n href: \"http://www.artsy.net/artist/francesca-dimattio\",\n FollowButton: <FollowButton />,\n },\n {\n initials: \"FLD\",\n name: \"Francesca Longer DiMattio\",\n image: imageProps,\n meta: \"American, b. Founded 1979\",\n href: \"http://www.artsy.net/artist/francesca-dimattio\",\n FollowButton: <FollowButton />,\n },\n {\n initials: \"FLD\",\n name: \"Francesca Much Longer DiMattio\",\n image: imageProps,\n meta: \"American, b. Founded 1979\",\n href: \"http://www.artsy.net/artist/francesca-dimattio\",\n FollowButton: <FollowButton />,\n badges: [{ children: \"Black Owned\" }],\n },\n {\n initials: \"FLD\",\n name: \"Francesca Much Longer DiMattio\",\n image: imageProps,\n meta: \"American, b. Founded 1979\",\n href: \"http://www.artsy.net/artist/francesca-dimattio\",\n FollowButton: <FollowButton />,\n badges: [\n { children: \"Black Owned\" },\n { children: \"Women Owned\", variant: \"brand\" },\n ],\n },\n ]}\n >\n {(props) => <EntityHeader {...props} maxWidth={350} />}\n </States>\n )\n}\n"],"file":"EntityHeader.story.js"}
|
|
@@ -9,11 +9,13 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
|
|
10
10
|
var _Avatar = require("../../Avatar");
|
|
11
11
|
|
|
12
|
+
var _Badge = require("../../Badge/Badge");
|
|
13
|
+
|
|
12
14
|
var _Flex = require("../../Flex");
|
|
13
15
|
|
|
14
16
|
var _Text = require("../../Text");
|
|
15
17
|
|
|
16
|
-
var _excluded = ["name", "href", "meta", "initials", "imageUrl", "image", "smallVariant", "FollowButton"];
|
|
18
|
+
var _excluded = ["name", "href", "meta", "initials", "imageUrl", "image", "smallVariant", "FollowButton", "badges"];
|
|
17
19
|
|
|
18
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
21
|
|
|
@@ -32,6 +34,7 @@ var EntityHeader = function EntityHeader(_ref) {
|
|
|
32
34
|
image = _ref.image,
|
|
33
35
|
smallVariant = _ref.smallVariant,
|
|
34
36
|
FollowButton = _ref.FollowButton,
|
|
37
|
+
badges = _ref.badges,
|
|
35
38
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
36
39
|
|
|
37
40
|
return /*#__PURE__*/_react.default.createElement(_Flex.Flex, _extends({
|
|
@@ -39,7 +42,7 @@ var EntityHeader = function EntityHeader(_ref) {
|
|
|
39
42
|
justifyContent: "space-between"
|
|
40
43
|
}, rest), /*#__PURE__*/_react.default.createElement(_Flex.Flex, _extends({
|
|
41
44
|
alignItems: "center"
|
|
42
|
-
},
|
|
45
|
+
}, href ? {
|
|
43
46
|
as: "a",
|
|
44
47
|
href: href,
|
|
45
48
|
style: {
|
|
@@ -56,7 +59,13 @@ var EntityHeader = function EntityHeader(_ref) {
|
|
|
56
59
|
mr: 1
|
|
57
60
|
}, /*#__PURE__*/_react.default.createElement(_Text.Text, {
|
|
58
61
|
variant: "md"
|
|
59
|
-
}, name),
|
|
62
|
+
}, name), /*#__PURE__*/_react.default.createElement(_Text.Text, {
|
|
63
|
+
variant: "md"
|
|
64
|
+
}, badges === null || badges === void 0 ? void 0 : badges.map(function (badge, i) {
|
|
65
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
|
|
66
|
+
key: i
|
|
67
|
+
}, /*#__PURE__*/_react.default.createElement(_Badge.Badge, badge), " ");
|
|
68
|
+
})), meta && /*#__PURE__*/_react.default.createElement(_Text.Text, {
|
|
60
69
|
variant: "xs",
|
|
61
70
|
color: "black60"
|
|
62
71
|
}, meta))), FollowButton);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/elements/EntityHeader/v3/EntityHeader.tsx"],"names":["EntityHeader","name","href","meta","initials","imageUrl","image","smallVariant","FollowButton","rest","as","style","textDecoration"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;;;;;AAGO,IAAMA,YAAyC,GAAG,SAA5CA,YAA4C,
|
|
1
|
+
{"version":3,"sources":["../../../../src/elements/EntityHeader/v3/EntityHeader.tsx"],"names":["EntityHeader","name","href","meta","initials","imageUrl","image","smallVariant","FollowButton","badges","rest","as","style","textDecoration","map","badge","i"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;AAGO,IAAMA,YAAyC,GAAG,SAA5CA,YAA4C,OAWnD;AAAA,MAVJC,IAUI,QAVJA,IAUI;AAAA,MATJC,IASI,QATJA,IASI;AAAA,MARJC,IAQI,QARJA,IAQI;AAAA,MAPJC,QAOI,QAPJA,QAOI;AAAA,MANJC,QAMI,QANJA,QAMI;AAAA,MALJC,KAKI,QALJA,KAKI;AAAA,MAJJC,YAII,QAJJA,YAII;AAAA,MAHJC,YAGI,QAHJA,YAGI;AAAA,MAFJC,MAEI,QAFJA,MAEI;AAAA,MADDC,IACC;;AACJ,sBACE,6BAAC,UAAD;AAAM,IAAA,UAAU,EAAC,QAAjB;AAA0B,IAAA,cAAc,EAAC;AAAzC,KAA6DA,IAA7D,gBACE,6BAAC,UAAD;AACE,IAAA,UAAU,EAAC;AADb,KAEOR,IAAI,GAAG;AAAES,IAAAA,EAAE,EAAE,GAAN;AAAWT,IAAAA,IAAI,EAAJA,IAAX;AAAiBU,IAAAA,KAAK,EAAE;AAAEC,MAAAA,cAAc,EAAE;AAAlB;AAAxB,GAAH,GAA0D,EAFrE,GAIG,CAACR,QAAQ,IAAIC,KAAZ,IAAqBF,QAAtB,kBACC,6BAAC,UAAD;AAAM,IAAA,EAAE,EAAE;AAAV,kBACE,6BAAC,cAAD;AACE,IAAA,IAAI,EAAEG,YAAY,GAAG,KAAH,GAAW,IAD/B;AAEE,IAAA,GAAG,EAAEF,QAFP;AAGE,IAAA,QAAQ,EAAED;AAHZ,KAIME,KAJN,EADF,CALJ,eAeE,6BAAC,UAAD;AAAM,IAAA,aAAa,EAAC,QAApB;AAA6B,IAAA,EAAE,EAAE;AAAjC,kBACE,6BAAC,UAAD;AAAM,IAAA,OAAO,EAAC;AAAd,KAAoBL,IAApB,CADF,eAGE,6BAAC,UAAD;AAAM,IAAA,OAAO,EAAC;AAAd,KACGQ,MADH,aACGA,MADH,uBACGA,MAAM,CAAEK,GAAR,CAAY,UAACC,KAAD,EAAQC,CAAR;AAAA,wBACX,6BAAC,cAAD,CAAO,QAAP;AAAgB,MAAA,GAAG,EAAEA;AAArB,oBACE,6BAAC,YAAD,EAAWD,KAAX,CADF,EACuB,GADvB,CADW;AAAA,GAAZ,CADH,CAHF,EAWGZ,IAAI,iBACH,6BAAC,UAAD;AAAM,IAAA,OAAO,EAAC,IAAd;AAAmB,IAAA,KAAK,EAAC;AAAzB,KACGA,IADH,CAZJ,CAfF,CADF,EAmCGK,YAnCH,CADF;AAuCD,CAnDM;;;AAAMR,Y","sourcesContent":["import React from \"react\"\nimport { Avatar } from \"../../Avatar\"\nimport { Badge } from \"../../Badge/Badge\"\nimport { Flex } from \"../../Flex\"\nimport { Text } from \"../../Text\"\nimport { EntityHeaderProps } from \"../EntityHeader\"\n\nexport const EntityHeader: React.FC<EntityHeaderProps> = ({\n name,\n href,\n meta,\n initials,\n imageUrl,\n image,\n smallVariant,\n FollowButton,\n badges,\n ...rest\n}) => {\n return (\n <Flex alignItems=\"center\" justifyContent=\"space-between\" {...rest}>\n <Flex\n alignItems=\"center\"\n {...(href ? { as: \"a\", href, style: { textDecoration: \"none\" } } : {})}\n >\n {(imageUrl || image || initials) && (\n <Flex mr={1}>\n <Avatar\n size={smallVariant ? \"xxs\" : \"xs\"}\n src={imageUrl}\n initials={initials}\n {...image}\n />\n </Flex>\n )}\n\n <Flex flexDirection=\"column\" mr={1}>\n <Text variant=\"md\">{name}</Text>\n\n <Text variant=\"md\">\n {badges?.map((badge, i) => (\n <React.Fragment key={i}>\n <Badge {...badge} />{\" \"}\n </React.Fragment>\n ))}\n </Text>\n\n {meta && (\n <Text variant=\"xs\" color=\"black60\">\n {meta}\n </Text>\n )}\n </Flex>\n </Flex>\n\n {FollowButton}\n </Flex>\n )\n}\n"],"file":"EntityHeader.js"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BoxProps } from "../Box";
|
|
3
|
+
declare const VARIANTS: {
|
|
4
|
+
defaultLight: {
|
|
5
|
+
backgroundColor: string;
|
|
6
|
+
color: string;
|
|
7
|
+
};
|
|
8
|
+
defaultDark: {
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
color: string;
|
|
11
|
+
};
|
|
12
|
+
brand: {
|
|
13
|
+
backgroundColor: string;
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export interface MarqueeProps extends BoxProps {
|
|
18
|
+
variant?: keyof typeof VARIANTS;
|
|
19
|
+
speed?: string;
|
|
20
|
+
color?: string;
|
|
21
|
+
marqueeText: string;
|
|
22
|
+
divider?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare const Marquee: React.FC<MarqueeProps>;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.Marquee = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
13
|
+
|
|
14
|
+
var _styledSystem = require("styled-system");
|
|
15
|
+
|
|
16
|
+
var _Theme = require("../../Theme");
|
|
17
|
+
|
|
18
|
+
var _Flex = require("../Flex");
|
|
19
|
+
|
|
20
|
+
var _Box = require("../Box");
|
|
21
|
+
|
|
22
|
+
var _Text = require("../Text");
|
|
23
|
+
|
|
24
|
+
var _excluded = ["marqueeText", "divider", "speed", "color"];
|
|
25
|
+
|
|
26
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
27
|
+
|
|
28
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
29
|
+
|
|
30
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
31
|
+
|
|
32
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
33
|
+
|
|
34
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
35
|
+
|
|
36
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
37
|
+
|
|
38
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
39
|
+
|
|
40
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
41
|
+
|
|
42
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
43
|
+
|
|
44
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
45
|
+
|
|
46
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
47
|
+
|
|
48
|
+
var VARIANTS = {
|
|
49
|
+
defaultLight: {
|
|
50
|
+
backgroundColor: "black10",
|
|
51
|
+
color: "black100"
|
|
52
|
+
},
|
|
53
|
+
defaultDark: {
|
|
54
|
+
backgroundColor: "black100",
|
|
55
|
+
color: "white100"
|
|
56
|
+
},
|
|
57
|
+
brand: {
|
|
58
|
+
backgroundColor: "brand",
|
|
59
|
+
color: "white100"
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
var move = function move(props) {
|
|
64
|
+
return (0, _styledComponents.keyframes)(["from{transform:translateX(0);}to{transform:translateX(-", "px);}"], props.offset);
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
var Container = (0, _styledComponents.default)(_Box.Box).withConfig({
|
|
68
|
+
displayName: "Marquee__Container",
|
|
69
|
+
componentId: "sc-7cbzx0-0"
|
|
70
|
+
})(["", " width:100%;overflow-x:hidden;"], (0, _styledSystem.variant)({
|
|
71
|
+
variants: VARIANTS
|
|
72
|
+
}));
|
|
73
|
+
var StyledText = (0, _styledComponents.default)(_Text.Text).withConfig({
|
|
74
|
+
displayName: "Marquee__StyledText",
|
|
75
|
+
componentId: "sc-7cbzx0-1"
|
|
76
|
+
})(["", " white-space:nowrap;"], (0, _styledSystem.variant)({
|
|
77
|
+
variants: VARIANTS
|
|
78
|
+
}));
|
|
79
|
+
|
|
80
|
+
var Inner = _styledComponents.default.div.withConfig({
|
|
81
|
+
displayName: "Marquee__Inner",
|
|
82
|
+
componentId: "sc-7cbzx0-2"
|
|
83
|
+
})(["animation:", " ", " infinite linear;cursor:default;user-select:none;white-space:nowrap;"], move, function (props) {
|
|
84
|
+
return props.speed;
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
var Item = _styledComponents.default.div.withConfig({
|
|
88
|
+
displayName: "Marquee__Item",
|
|
89
|
+
componentId: "sc-7cbzx0-3"
|
|
90
|
+
})(["display:inline-block;"]);
|
|
91
|
+
|
|
92
|
+
var Marquee = function Marquee(_ref) {
|
|
93
|
+
var marqueeText = _ref.marqueeText,
|
|
94
|
+
_ref$divider = _ref.divider,
|
|
95
|
+
divider = _ref$divider === void 0 ? true : _ref$divider,
|
|
96
|
+
_ref$speed = _ref.speed,
|
|
97
|
+
speed = _ref$speed === void 0 ? "10s" : _ref$speed,
|
|
98
|
+
color = _ref.color,
|
|
99
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
100
|
+
|
|
101
|
+
var size = (0, _Theme.useThemeConfig)({
|
|
102
|
+
v2: "small",
|
|
103
|
+
v3: "xs"
|
|
104
|
+
});
|
|
105
|
+
var containerEl = (0, _react.useRef)(null);
|
|
106
|
+
var childEl = (0, _react.useRef)(null);
|
|
107
|
+
|
|
108
|
+
var _useState = (0, _react.useState)(1),
|
|
109
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
110
|
+
amount = _useState2[0],
|
|
111
|
+
setAmount = _useState2[1];
|
|
112
|
+
|
|
113
|
+
var _useState3 = (0, _react.useState)(0),
|
|
114
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
115
|
+
offset = _useState4[0],
|
|
116
|
+
setOffset = _useState4[1];
|
|
117
|
+
|
|
118
|
+
(0, _react.useEffect)(function () {
|
|
119
|
+
if (!childEl.current || !containerEl.current) {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
var containerWidth = containerEl.current.getBoundingClientRect().width;
|
|
124
|
+
var childWidth = childEl.current.getBoundingClientRect().width;
|
|
125
|
+
var targetAmount = Math.min(Math.ceil(containerWidth / childWidth), 100);
|
|
126
|
+
setOffset(targetAmount * childWidth);
|
|
127
|
+
setAmount(Math.ceil(targetAmount * 2));
|
|
128
|
+
}, []);
|
|
129
|
+
return /*#__PURE__*/_react.default.createElement(Container, _extends({
|
|
130
|
+
ref: containerEl,
|
|
131
|
+
backgroundColor: color
|
|
132
|
+
}, rest), /*#__PURE__*/_react.default.createElement(Inner, {
|
|
133
|
+
speed: speed,
|
|
134
|
+
offset: offset
|
|
135
|
+
}, Array.from(Array(amount)).map(function (_, i) {
|
|
136
|
+
return /*#__PURE__*/_react.default.createElement(Item, {
|
|
137
|
+
key: i,
|
|
138
|
+
ref: childEl
|
|
139
|
+
}, /*#__PURE__*/_react.default.createElement(_Flex.Flex, null, /*#__PURE__*/_react.default.createElement(StyledText, {
|
|
140
|
+
px: [2, 4],
|
|
141
|
+
py: 0.5,
|
|
142
|
+
variant: size
|
|
143
|
+
}, marqueeText), divider && /*#__PURE__*/_react.default.createElement(StyledText, {
|
|
144
|
+
px: [1, 4],
|
|
145
|
+
py: 0.5,
|
|
146
|
+
variant: size
|
|
147
|
+
}, "\u2022")));
|
|
148
|
+
})));
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
exports.Marquee = Marquee;
|
|
152
|
+
Marquee.displayName = "Marquee";
|
|
153
|
+
Marquee.defaultProps = {
|
|
154
|
+
variant: "defaultDark"
|
|
155
|
+
};
|
|
156
|
+
//# sourceMappingURL=Marquee.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/elements/Marquee/Marquee.tsx"],"names":["VARIANTS","defaultLight","backgroundColor","color","defaultDark","brand","move","props","keyframes","offset","Container","Box","variants","StyledText","Text","Inner","styled","div","speed","Item","Marquee","marqueeText","divider","rest","size","v2","v3","containerEl","childEl","amount","setAmount","setOffset","current","containerWidth","getBoundingClientRect","width","childWidth","targetAmount","Math","min","ceil","Array","from","map","_","i","defaultProps","variant"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,QAAQ,GAAG;AACfC,EAAAA,YAAY,EAAE;AACZC,IAAAA,eAAe,EAAE,SADL;AAEZC,IAAAA,KAAK,EAAE;AAFK,GADC;AAKfC,EAAAA,WAAW,EAAE;AACXF,IAAAA,eAAe,EAAE,UADN;AAEXC,IAAAA,KAAK,EAAE;AAFI,GALE;AASfE,EAAAA,KAAK,EAAE;AACLH,IAAAA,eAAe,EAAE,OADZ;AAELC,IAAAA,KAAK,EAAE;AAFF;A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1C,gBALJ,CADF,CAD6B;AAAA,GAA9B,CADH,CADF,CADF;AAoBD,CA9CM;;;AAAMJ,O;AAgDbA,OAAO,CAAC0B,YAAR,GAAuB;AACrBC,EAAAA,OAAO,EAAE;AADY,CAAvB","sourcesContent":["import React, { useState, useEffect, useRef } from \"react\"\nimport styled, { keyframes } from \"styled-components\"\nimport { variant } from \"styled-system\"\nimport { TextVariant } from \"@artsy/palette-tokens/dist/typography/types\"\nimport { useThemeConfig } from \"../../Theme\"\nimport { Flex } from \"../Flex\"\nimport { Box, BoxProps } from \"../Box\"\nimport { Text } from \"../Text\"\n\nconst VARIANTS = {\n defaultLight: {\n backgroundColor: \"black10\",\n color: \"black100\",\n },\n defaultDark: {\n backgroundColor: \"black100\",\n color: \"white100\",\n },\n brand: {\n backgroundColor: \"brand\",\n color: \"white100\",\n },\n}\n\nconst move = (props) => keyframes`\n from {\n transform: translateX(0);\n }\n to {\n transform: translateX(-${props.offset}px);\n }\n`\n\nconst Container = styled(Box)`\n ${variant({ variants: VARIANTS })}\n width: 100%;\n overflow-x: hidden;\n`\nconst StyledText = styled(Text)`\n ${variant({ variants: VARIANTS })}\n white-space: nowrap;\n`\n\nconst Inner = styled.div<{ speed: string; offset: number }>`\n animation: ${move} ${(props) => props.speed} infinite linear;\n cursor: default;\n user-select: none;\n white-space: nowrap;\n`\n\nconst Item = styled.div`\n display: inline-block;\n`\n\nexport interface MarqueeProps extends BoxProps {\n variant?: keyof typeof VARIANTS\n speed?: string\n color?: string\n marqueeText: string\n divider?: boolean\n}\n\nexport const Marquee: React.FC<MarqueeProps> = ({\n marqueeText,\n divider = true,\n speed = \"10s\",\n color,\n ...rest\n}) => {\n const size: TextVariant = useThemeConfig({ v2: \"small\", v3: \"xs\" })\n const containerEl = useRef<HTMLDivElement | null>(null)\n const childEl = useRef<HTMLDivElement | null>(null)\n\n const [amount, setAmount] = useState(1)\n const [offset, setOffset] = useState(0)\n\n useEffect(() => {\n if (!childEl.current || !containerEl.current) {\n return\n }\n const containerWidth = containerEl.current.getBoundingClientRect().width\n const childWidth = childEl.current.getBoundingClientRect().width\n const targetAmount = Math.min(Math.ceil(containerWidth / childWidth), 100)\n\n setOffset(targetAmount * childWidth)\n setAmount(Math.ceil(targetAmount * 2))\n }, [])\n\n return (\n <Container ref={containerEl as any} backgroundColor={color} {...rest}>\n <Inner speed={speed} offset={offset}>\n {Array.from(Array(amount)).map((_, i) => (\n <Item key={i} ref={childEl as any}>\n <Flex>\n <StyledText px={[2, 4]} py={0.5} variant={size}>\n {marqueeText}\n </StyledText>\n {divider && (\n <StyledText px={[1, 4]} py={0.5} variant={size}>\n •\n </StyledText>\n )}\n </Flex>\n </Item>\n ))}\n </Inner>\n </Container>\n )\n}\n\nMarquee.defaultProps = {\n variant: \"defaultDark\",\n}\n"],"file":"Marquee.js"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.Default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _Marquee = require("./Marquee");
|
|
11
|
+
|
|
12
|
+
var _storybookStates = require("storybook-states");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
var _default = {
|
|
17
|
+
title: "Components/Marquee"
|
|
18
|
+
};
|
|
19
|
+
exports.default = _default;
|
|
20
|
+
|
|
21
|
+
var Default = function Default() {
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(_storybookStates.States, {
|
|
23
|
+
states: [{
|
|
24
|
+
variant: "defaultLight",
|
|
25
|
+
marqueeText: "Black Owned"
|
|
26
|
+
}, {
|
|
27
|
+
variant: "defaultDark",
|
|
28
|
+
marqueeText: "Black Owned"
|
|
29
|
+
}, {
|
|
30
|
+
variant: "brand",
|
|
31
|
+
marqueeText: "Black Owned"
|
|
32
|
+
}, {
|
|
33
|
+
speed: "5s",
|
|
34
|
+
marqueeText: "Black Owned"
|
|
35
|
+
}, {
|
|
36
|
+
speed: "20s",
|
|
37
|
+
marqueeText: "Black Owned"
|
|
38
|
+
}, {
|
|
39
|
+
divider: false,
|
|
40
|
+
marqueeText: "Black Owned"
|
|
41
|
+
}]
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement(_Marquee.Marquee, {
|
|
43
|
+
marqueeText: "Black Owned"
|
|
44
|
+
}));
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
exports.Default = Default;
|
|
48
|
+
Default.displayName = "Default";
|
|
49
|
+
//# sourceMappingURL=Marquee.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/elements/Marquee/Marquee.story.tsx"],"names":["title","Default","variant","marqueeText","speed","divider"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AADM,C;;;AAIR,IAAMC,OAAO,GAAG,SAAVA,OAAU,GAAM;AAC3B,sBACE,6BAAC,uBAAD;AACE,IAAA,MAAM,EAAE,CACN;AAAEC,MAAAA,OAAO,EAAE,cAAX;AAA2BC,MAAAA,WAAW,EAAE;AAAxC,KADM,EAEN;AAAED,MAAAA,OAAO,EAAE,aAAX;AAA0BC,MAAAA,WAAW,EAAE;AAAvC,KAFM,EAGN;AAAED,MAAAA,OAAO,EAAE,OAAX;AAAoBC,MAAAA,WAAW,EAAE;AAAjC,KAHM,EAIN;AAAEC,MAAAA,KAAK,EAAE,IAAT;AAAeD,MAAAA,WAAW,EAAE;AAA5B,KAJM,EAKN;AAAEC,MAAAA,KAAK,EAAE,KAAT;AAAgBD,MAAAA,WAAW,EAAE;AAA7B,KALM,EAMN;AAAEE,MAAAA,OAAO,EAAE,KAAX;AAAkBF,MAAAA,WAAW,EAAE;AAA/B,KANM;AADV,kBAUE,6BAAC,gBAAD;AAAS,IAAA,WAAW,EAAC;AAArB,IAVF,CADF;AAcD,CAfM;;;AAAMF,O","sourcesContent":["import React from \"react\"\nimport { Marquee, MarqueeProps } from \"./Marquee\"\nimport { States } from \"storybook-states\"\n\nexport default {\n title: \"Components/Marquee\",\n}\n\nexport const Default = () => {\n return (\n <States<MarqueeProps>\n states={[\n { variant: \"defaultLight\", marqueeText: \"Black Owned\" },\n { variant: \"defaultDark\", marqueeText: \"Black Owned\" },\n { variant: \"brand\", marqueeText: \"Black Owned\" },\n { speed: \"5s\", marqueeText: \"Black Owned\" },\n { speed: \"20s\", marqueeText: \"Black Owned\" },\n { divider: false, marqueeText: \"Black Owned\" },\n ]}\n >\n <Marquee marqueeText=\"Black Owned\" />\n </States>\n )\n}\n"],"file":"Marquee.story.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Marquee";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _Marquee = require("./Marquee");
|
|
8
|
+
|
|
9
|
+
Object.keys(_Marquee).forEach(function (key) {
|
|
10
|
+
if (key === "default" || key === "__esModule") return;
|
|
11
|
+
if (key in exports && exports[key] === _Marquee[key]) return;
|
|
12
|
+
Object.defineProperty(exports, key, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _Marquee[key];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/elements/Marquee/index.tsx"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from \"./Marquee\"\n"],"file":"index.js"}
|
package/dist/elements/index.d.ts
CHANGED
package/dist/elements/index.js
CHANGED
|
@@ -459,6 +459,19 @@ Object.keys(_Link).forEach(function (key) {
|
|
|
459
459
|
});
|
|
460
460
|
});
|
|
461
461
|
|
|
462
|
+
var _Marquee = require("./Marquee");
|
|
463
|
+
|
|
464
|
+
Object.keys(_Marquee).forEach(function (key) {
|
|
465
|
+
if (key === "default" || key === "__esModule") return;
|
|
466
|
+
if (key in exports && exports[key] === _Marquee[key]) return;
|
|
467
|
+
Object.defineProperty(exports, key, {
|
|
468
|
+
enumerable: true,
|
|
469
|
+
get: function get() {
|
|
470
|
+
return _Marquee[key];
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
});
|
|
474
|
+
|
|
462
475
|
var _Menu = require("./Menu");
|
|
463
476
|
|
|
464
477
|
Object.keys(_Menu).forEach(function (key) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/elements/index.tsx"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;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AA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from \"./AutocompleteInput\"\nexport * from \"./Avatar\"\nexport * from \"./Banner\"\nexport * from \"./BaseTabs\"\nexport * from \"./BorderBox\"\nexport * from \"./BorderedRadio\"\nexport * from \"./Box\"\nexport * from \"./Breadcrumbs\"\nexport * from \"./Button\"\nexport * from \"./Cards\"\nexport * from \"./Carousel\"\nexport * from \"./CarouselBar\"\nexport * from \"./Checkbox\"\nexport * from \"./CleanTag\"\nexport * from \"./Clickable\"\nexport * from \"./Collapse\"\nexport * from \"./Colors\"\nexport * from \"./CSSGrid\"\nexport * from \"./Dialog\"\nexport * from \"./Dropdown\"\nexport * from \"./EntityHeader\"\nexport * from \"./Expandable\"\nexport * from \"./FilterSelect\"\nexport * from \"./Flex\"\nexport * from \"./FullBleed\"\nexport * from \"./Grid\"\nexport * from \"./GridColumns\"\nexport * from \"./HorizontalOverflow\"\nexport * from \"./HTML\"\nexport * from \"./IconButton\"\nexport * from \"./Image\"\nexport * from \"./Input\"\nexport * from \"./Join\"\nexport * from \"./LabeledInput\"\nexport * from \"./Link\"\nexport * from \"./Menu\"\nexport * from \"./Message\"\nexport * from \"./Modal\"\nexport * from \"./ModalDialog\"\nexport * from \"./MultiSelect\"\nexport * from \"./Pagination\"\nexport * from \"./PasswordInput\"\nexport * from \"./Pill\"\nexport * from \"./Popover\"\nexport * from \"./ProgressBar\"\nexport * from \"./ProgressBarTimer\"\nexport * from \"./ProgressDots\"\nexport * from \"./Radio\"\nexport * from \"./RadioGroup\"\nexport * from \"./ReadMore\"\nexport * from \"./ResponsiveBox\"\nexport * from \"./Select\"\nexport * from \"./Separator\"\nexport * from \"./Shelf\"\nexport * from \"./ShowMore\"\nexport * from \"./Skeleton\"\nexport * from \"./Skip\"\nexport * from \"./Spacer\"\nexport * from \"./Spinner\"\nexport * from \"./StackableBorderBox\"\nexport * from \"./StaticCountdownTimer\"\nexport * from \"./Stepper\"\nexport * from \"./Sup\"\nexport * from \"./Swiper\"\nexport * from \"./Tabs\"\nexport * from \"./Tags\"\nexport * from \"./Text\"\nexport * from \"./TextArea\"\nexport * from \"./TimeRemaining\"\nexport * from \"./Toasts\"\nexport * from \"./Toggle\"\nexport * from \"./Tooltip\"\nexport * from \"./Typography\"\nexport * from \"./VisuallyHidden\"\n"],"file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../../src/elements/index.tsx"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA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AAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from \"./AutocompleteInput\"\nexport * from \"./Avatar\"\nexport * from \"./Banner\"\nexport * from \"./BaseTabs\"\nexport * from \"./BorderBox\"\nexport * from \"./BorderedRadio\"\nexport * from \"./Box\"\nexport * from \"./Breadcrumbs\"\nexport * from \"./Button\"\nexport * from \"./Cards\"\nexport * from \"./Carousel\"\nexport * from \"./CarouselBar\"\nexport * from \"./Checkbox\"\nexport * from \"./CleanTag\"\nexport * from \"./Clickable\"\nexport * from \"./Collapse\"\nexport * from \"./Colors\"\nexport * from \"./CSSGrid\"\nexport * from \"./Dialog\"\nexport * from \"./Dropdown\"\nexport * from \"./EntityHeader\"\nexport * from \"./Expandable\"\nexport * from \"./FilterSelect\"\nexport * from \"./Flex\"\nexport * from \"./FullBleed\"\nexport * from \"./Grid\"\nexport * from \"./GridColumns\"\nexport * from \"./HorizontalOverflow\"\nexport * from \"./HTML\"\nexport * from \"./IconButton\"\nexport * from \"./Image\"\nexport * from \"./Input\"\nexport * from \"./Join\"\nexport * from \"./LabeledInput\"\nexport * from \"./Link\"\nexport * from \"./Marquee\"\nexport * from \"./Menu\"\nexport * from \"./Message\"\nexport * from \"./Modal\"\nexport * from \"./ModalDialog\"\nexport * from \"./MultiSelect\"\nexport * from \"./Pagination\"\nexport * from \"./PasswordInput\"\nexport * from \"./Pill\"\nexport * from \"./Popover\"\nexport * from \"./ProgressBar\"\nexport * from \"./ProgressBarTimer\"\nexport * from \"./ProgressDots\"\nexport * from \"./Radio\"\nexport * from \"./RadioGroup\"\nexport * from \"./ReadMore\"\nexport * from \"./ResponsiveBox\"\nexport * from \"./Select\"\nexport * from \"./Separator\"\nexport * from \"./Shelf\"\nexport * from \"./ShowMore\"\nexport * from \"./Skeleton\"\nexport * from \"./Skip\"\nexport * from \"./Spacer\"\nexport * from \"./Spinner\"\nexport * from \"./StackableBorderBox\"\nexport * from \"./StaticCountdownTimer\"\nexport * from \"./Stepper\"\nexport * from \"./Sup\"\nexport * from \"./Swiper\"\nexport * from \"./Tabs\"\nexport * from \"./Tags\"\nexport * from \"./Text\"\nexport * from \"./TextArea\"\nexport * from \"./TimeRemaining\"\nexport * from \"./Toasts\"\nexport * from \"./Toggle\"\nexport * from \"./Tooltip\"\nexport * from \"./Typography\"\nexport * from \"./VisuallyHidden\"\n"],"file":"index.js"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.AppleIcon = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _helpers = require("../helpers");
|
|
11
|
+
|
|
12
|
+
var _Icon = require("./Icon");
|
|
13
|
+
|
|
14
|
+
var _excluded = ["title"];
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
19
|
+
|
|
20
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
|
+
|
|
22
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
23
|
+
|
|
24
|
+
/** AppleIcon */
|
|
25
|
+
var AppleIcon = function AppleIcon(_ref) {
|
|
26
|
+
var _ref$title = _ref.title,
|
|
27
|
+
title = _ref$title === void 0 ? "Apple Icon" : _ref$title,
|
|
28
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
29
|
+
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_Icon.Icon, _extends({}, props, {
|
|
31
|
+
viewBox: "0 0 18 18"
|
|
32
|
+
}), /*#__PURE__*/_react.default.createElement(_Icon.Title, null, title), /*#__PURE__*/_react.default.createElement(_Icon.G, {
|
|
33
|
+
width: "14",
|
|
34
|
+
height: "18",
|
|
35
|
+
viewBox: "0 0 14 18"
|
|
36
|
+
}, /*#__PURE__*/_react.default.createElement(_Icon.Path, {
|
|
37
|
+
fill: (0, _helpers.color)(props.fill),
|
|
38
|
+
"fill-rule": "evenodd",
|
|
39
|
+
d: "M9.152 3.208c-.556.692-1.49 1.211-2.235 1.211-.084 0-.168-.01-.22-.021a1.528 1.528 0 01-.032-.303c0-.887.43-1.753.902-2.304C8.165 1.066 9.163.525 9.992.492c.02.098.031.217.031.336 0 .876-.367 1.752-.871 2.38zm-3.65 13.977c-.374.166-.728.323-1.21.323-1.028 0-1.742-.974-2.56-2.164C.777 13.938 0 11.764 0 9.708c0-3.31 2.089-5.063 4.146-5.063.6 0 1.149.227 1.637.429.39.161.742.307 1.05.307.267 0 .6-.136.988-.294.542-.22 1.191-.485 1.919-.485.462 0 2.151.043 3.264 1.687l-.04.028c-.274.186-1.734 1.18-1.734 3.218 0 2.52 2.13 3.418 2.204 3.44l-.013.04c-.07.224-.404 1.29-1.12 2.372-.704 1.039-1.449 2.099-2.561 2.099-.549 0-.898-.16-1.259-.324-.385-.176-.783-.358-1.449-.358-.67 0-1.112.196-1.53.381z",
|
|
40
|
+
clipRule: "evenodd"
|
|
41
|
+
})));
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
exports.AppleIcon = AppleIcon;
|
|
45
|
+
AppleIcon.displayName = "AppleIcon";
|
|
46
|
+
//# sourceMappingURL=AppleIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/svgs/AppleIcon.tsx"],"names":["AppleIcon","title","props","fill"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;AAEA;AACO,IAAMA,SAA+B,GAAG,SAAlCA,SAAkC,OAGzC;AAAA,wBAFJC,KAEI;AAAA,MAFJA,KAEI,2BAFI,YAEJ;AAAA,MADDC,KACC;;AACJ,sBACE,6BAAC,UAAD,eAAUA,KAAV;AAAiB,IAAA,OAAO,EAAC;AAAzB,mBACE,6BAAC,WAAD,QAAQD,KAAR,CADF,eAEE,6BAAC,OAAD;AAAG,IAAA,KAAK,EAAC,IAAT;AAAc,IAAA,MAAM,EAAC,IAArB;AAA0B,IAAA,OAAO,EAAC;AAAlC,kBACE,6BAAC,UAAD;AAAM,IAAA,IAAI,EAAE,oBAAMC,KAAK,CAACC,IAAZ,CAAZ;AACM,iBAAU,SADhB;AAEM,IAAA,CAAC,EAAC,2rBAFR;AAEosB,IAAA,QAAQ,EAAC;AAF7sB,IADF,CAFF,CADF;AAUD,CAdM;;;AAAMH,S","sourcesContent":["import React from \"react\"\nimport { color } from \"../helpers\"\nimport { G, Icon, IconProps, Path, Title } from \"./Icon\"\n\n/** AppleIcon */\nexport const AppleIcon: React.SFC<IconProps> = ({\n title = \"Apple Icon\",\n ...props\n}) => {\n return (\n <Icon {...props} viewBox=\"0 0 18 18\">\n <Title>{title}</Title>\n <G width=\"14\" height=\"18\" viewBox=\"0 0 14 18\">\n <Path fill={color(props.fill!)}\n fill-rule=\"evenodd\"\n d=\"M9.152 3.208c-.556.692-1.49 1.211-2.235 1.211-.084 0-.168-.01-.22-.021a1.528 1.528 0 01-.032-.303c0-.887.43-1.753.902-2.304C8.165 1.066 9.163.525 9.992.492c.02.098.031.217.031.336 0 .876-.367 1.752-.871 2.38zm-3.65 13.977c-.374.166-.728.323-1.21.323-1.028 0-1.742-.974-2.56-2.164C.777 13.938 0 11.764 0 9.708c0-3.31 2.089-5.063 4.146-5.063.6 0 1.149.227 1.637.429.39.161.742.307 1.05.307.267 0 .6-.136.988-.294.542-.22 1.191-.485 1.919-.485.462 0 2.151.043 3.264 1.687l-.04.028c-.274.186-1.734 1.18-1.734 3.218 0 2.52 2.13 3.418 2.204 3.44l-.013.04c-.07.224-.404 1.29-1.12 2.372-.704 1.039-1.449 2.099-2.561 2.099-.549 0-.898-.16-1.259-.324-.385-.176-.783-.358-1.449-.358-.67 0-1.112.196-1.53.381z\" clipRule=\"evenodd\"/>\n </G>\n </Icon>\n )\n}\n"],"file":"AppleIcon.js"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.GoogleIcon = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _Icon = require("./Icon");
|
|
11
|
+
|
|
12
|
+
var _excluded = ["title"];
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
17
|
+
|
|
18
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
19
|
+
|
|
20
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
21
|
+
|
|
22
|
+
/** GoogleIcon */
|
|
23
|
+
var GoogleIcon = function GoogleIcon(_ref) {
|
|
24
|
+
var _ref$title = _ref.title,
|
|
25
|
+
title = _ref$title === void 0 ? "Google Icon" : _ref$title,
|
|
26
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/_react.default.createElement(_Icon.Icon, _extends({}, props, {
|
|
29
|
+
viewBox: "0 0 18 18"
|
|
30
|
+
}), /*#__PURE__*/_react.default.createElement(_Icon.Title, null, title), /*#__PURE__*/_react.default.createElement(_Icon.G, {
|
|
31
|
+
width: "17",
|
|
32
|
+
height: "18",
|
|
33
|
+
fill: "none",
|
|
34
|
+
viewBox: "0 0 17 18"
|
|
35
|
+
}, /*#__PURE__*/_react.default.createElement(_Icon.Path, {
|
|
36
|
+
fill: "#4285F4",
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
d: "M16.759 9.194a9.82 9.82 0 00-.156-1.75H8.551v3.308h4.601a3.933 3.933 0 01-1.706 2.58v2.146h2.763c1.617-1.489 2.55-3.68 2.55-6.284z",
|
|
39
|
+
clipRule: "evenodd"
|
|
40
|
+
}), /*#__PURE__*/_react.default.createElement(_Icon.Path, {
|
|
41
|
+
fill: "#34A853",
|
|
42
|
+
fillRule: "evenodd",
|
|
43
|
+
d: "M8.55 17.55c2.31 0 4.245-.765 5.66-2.07l-2.764-2.146c-.765.513-1.745.816-2.895.816-2.227 0-4.112-1.504-4.784-3.525H.91v2.215a8.547 8.547 0 007.64 4.71z",
|
|
44
|
+
clipRule: "evenodd"
|
|
45
|
+
}), /*#__PURE__*/_react.default.createElement(_Icon.Path, {
|
|
46
|
+
fill: "#FBBC05",
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
d: "M3.766 10.624a5.14 5.14 0 01-.268-1.625c0-.563.097-1.111.268-1.624V5.16H.909A8.547 8.547 0 000 9c0 1.38.33 2.685.91 3.84l2.856-2.216z",
|
|
49
|
+
clipRule: "evenodd"
|
|
50
|
+
}), /*#__PURE__*/_react.default.createElement(_Icon.Path, {
|
|
51
|
+
fill: "#EA4335",
|
|
52
|
+
fillRule: "evenodd",
|
|
53
|
+
d: "M8.55 3.85c1.256 0 2.383.431 3.27 1.278l2.451-2.452C12.791 1.296 10.855.45 8.552.45A8.547 8.547 0 00.91 5.16l2.856 2.216C4.439 5.354 6.324 3.85 8.55 3.85z",
|
|
54
|
+
clipRule: "evenodd"
|
|
55
|
+
})));
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
exports.GoogleIcon = GoogleIcon;
|
|
59
|
+
GoogleIcon.displayName = "GoogleIcon";
|
|
60
|
+
//# sourceMappingURL=GoogleIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/svgs/GoogleIcon.tsx"],"names":["GoogleIcon","title","props"],"mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;AAEA;AACO,IAAMA,UAAgC,GAAG,SAAnCA,UAAmC,OAG1C;AAAA,wBAFJC,KAEI;AAAA,MAFJA,KAEI,2BAFI,aAEJ;AAAA,MADDC,KACC;;AACJ,sBACE,6BAAC,UAAD,eAAUA,KAAV;AAAiB,IAAA,OAAO,EAAC;AAAzB,mBACE,6BAAC,WAAD,QAAQD,KAAR,CADF,eAEE,6BAAC,OAAD;AACE,IAAA,KAAK,EAAC,IADR;AAEE,IAAA,MAAM,EAAC,IAFT;AAGE,IAAA,IAAI,EAAC,MAHP;AAIE,IAAA,OAAO,EAAC;AAJV,kBAME,6BAAC,UAAD;AACE,IAAA,IAAI,EAAC,SADP;AAEE,IAAA,QAAQ,EAAC,SAFX;AAGE,IAAA,CAAC,EAAC,oIAHJ;AAIE,IAAA,QAAQ,EAAC;AAJX,IANF,eAYE,6BAAC,UAAD;AACE,IAAA,IAAI,EAAC,SADP;AAEE,IAAA,QAAQ,EAAC,SAFX;AAGE,IAAA,CAAC,EAAC,yJAHJ;AAIE,IAAA,QAAQ,EAAC;AAJX,IAZF,eAkBE,6BAAC,UAAD;AACE,IAAA,IAAI,EAAC,SADP;AAEE,IAAA,QAAQ,EAAC,SAFX;AAGE,IAAA,CAAC,EAAC,uIAHJ;AAIE,IAAA,QAAQ,EAAC;AAJX,IAlBF,eAwBE,6BAAC,UAAD;AACE,IAAA,IAAI,EAAC,SADP;AAEE,IAAA,QAAQ,EAAC,SAFX;AAGE,IAAA,CAAC,EAAC,4JAHJ;AAIE,IAAA,QAAQ,EAAC;AAJX,IAxBF,CAFF,CADF;AAoCD,CAxCM;;;AAAMD,U","sourcesContent":["import React from \"react\"\nimport { G, Icon, IconProps, Path, Title } from \"./Icon\"\n\n/** GoogleIcon */\nexport const GoogleIcon: React.SFC<IconProps> = ({\n title = \"Google Icon\",\n ...props\n}) => {\n return (\n <Icon {...props} viewBox=\"0 0 18 18\">\n <Title>{title}</Title>\n <G\n width=\"17\"\n height=\"18\"\n fill=\"none\"\n viewBox=\"0 0 17 18\"\n >\n <Path\n fill=\"#4285F4\"\n fillRule=\"evenodd\"\n d=\"M16.759 9.194a9.82 9.82 0 00-.156-1.75H8.551v3.308h4.601a3.933 3.933 0 01-1.706 2.58v2.146h2.763c1.617-1.489 2.55-3.68 2.55-6.284z\"\n clipRule=\"evenodd\"\n ></Path>\n <Path\n fill=\"#34A853\"\n fillRule=\"evenodd\"\n d=\"M8.55 17.55c2.31 0 4.245-.765 5.66-2.07l-2.764-2.146c-.765.513-1.745.816-2.895.816-2.227 0-4.112-1.504-4.784-3.525H.91v2.215a8.547 8.547 0 007.64 4.71z\"\n clipRule=\"evenodd\"\n ></Path>\n <Path\n fill=\"#FBBC05\"\n fillRule=\"evenodd\"\n d=\"M3.766 10.624a5.14 5.14 0 01-.268-1.625c0-.563.097-1.111.268-1.624V5.16H.909A8.547 8.547 0 000 9c0 1.38.33 2.685.91 3.84l2.856-2.216z\"\n clipRule=\"evenodd\"\n ></Path>\n <Path\n fill=\"#EA4335\"\n fillRule=\"evenodd\"\n d=\"M8.55 3.85c1.256 0 2.383.431 3.27 1.278l2.451-2.452C12.791 1.296 10.855.45 8.552.45A8.547 8.547 0 00.91 5.16l2.856 2.216C4.439 5.354 6.324 3.85 8.55 3.85z\"\n clipRule=\"evenodd\"\n ></Path>\n </G>\n </Icon>\n )\n}\n"],"file":"GoogleIcon.js"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ImageSetIcon = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _helpers = require("../helpers");
|
|
11
|
+
|
|
12
|
+
var _Icon = require("./Icon");
|
|
13
|
+
|
|
14
|
+
var _excluded = ["title"];
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
+
|
|
18
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
19
|
+
|
|
20
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
|
+
|
|
22
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
23
|
+
|
|
24
|
+
var ImageSetIcon = function ImageSetIcon(_ref) {
|
|
25
|
+
var _ref$title = _ref.title,
|
|
26
|
+
title = _ref$title === void 0 ? "Image Set" : _ref$title,
|
|
27
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
28
|
+
|
|
29
|
+
return /*#__PURE__*/_react.default.createElement(_Icon.Icon, _extends({}, props, {
|
|
30
|
+
viewBox: "0 0 44 44"
|
|
31
|
+
}), /*#__PURE__*/_react.default.createElement(_Icon.Title, null, title), /*#__PURE__*/_react.default.createElement(_Icon.Path, {
|
|
32
|
+
d: "M32 44H0V12h32v32ZM2 42h28V14H2v28Z",
|
|
33
|
+
fill: (0, _helpers.color)(props.fill)
|
|
34
|
+
}), /*#__PURE__*/_react.default.createElement(_Icon.Path, {
|
|
35
|
+
d: "M38 37h-2V8H7V6h31v31z",
|
|
36
|
+
fill: (0, _helpers.color)(props.fill)
|
|
37
|
+
}), /*#__PURE__*/_react.default.createElement(_Icon.Path, {
|
|
38
|
+
d: "M44 31h-2V2H13V0h31v31z",
|
|
39
|
+
fill: (0, _helpers.color)(props.fill)
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
exports.ImageSetIcon = ImageSetIcon;
|
|
44
|
+
ImageSetIcon.displayName = "ImageSetIcon";
|
|
45
|
+
//# sourceMappingURL=ImageSetIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/svgs/ImageSetIcon.tsx"],"names":["ImageSetIcon","title","props","fill"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;AAEO,IAAMA,YAAiC,GAAG,SAApCA,YAAoC,OAG3C;AAAA,wBAFJC,KAEI;AAAA,MAFJA,KAEI,2BAFI,WAEJ;AAAA,MADDC,KACC;;AACJ,sBACE,6BAAC,UAAD,eAAUA,KAAV;AAAiB,IAAA,OAAO,EAAC;AAAzB,mBACE,6BAAC,WAAD,QAAQD,KAAR,CADF,eAEE,6BAAC,UAAD;AAAM,IAAA,CAAC,EAAC,qCAAR;AAA8C,IAAA,IAAI,EAAE,oBAAMC,KAAK,CAACC,IAAZ;AAApD,IAFF,eAGE,6BAAC,UAAD;AAAM,IAAA,CAAC,EAAC,wBAAR;AAAiC,IAAA,IAAI,EAAE,oBAAMD,KAAK,CAACC,IAAZ;AAAvC,IAHF,eAIE,6BAAC,UAAD;AAAM,IAAA,CAAC,EAAC,yBAAR;AAAkC,IAAA,IAAI,EAAE,oBAAMD,KAAK,CAACC,IAAZ;AAAxC,IAJF,CADF;AAQD,CAZM;;;AAAMH,Y","sourcesContent":["import React from \"react\"\nimport { color } from \"../helpers\"\nimport { Icon, IconProps, Path, Title } from \"./Icon\"\n\nexport const ImageSetIcon: React.FC<IconProps> = ({\n title = \"Image Set\",\n ...props\n}) => {\n return (\n <Icon {...props} viewBox=\"0 0 44 44\">\n <Title>{title}</Title>\n <Path d=\"M32 44H0V12h32v32ZM2 42h28V14H2v28Z\" fill={color(props.fill!)} />\n <Path d=\"M38 37h-2V8H7V6h31v31z\" fill={color(props.fill!)} />\n <Path d=\"M44 31h-2V2H13V0h31v31z\" fill={color(props.fill!)} />\n </Icon>\n )\n}\n"],"file":"ImageSetIcon.js"}
|
|
@@ -9,13 +9,11 @@ exports.default = exports._AllIcons = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _GridColumns = require("../elements/GridColumns");
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _Separator = require("../elements/Separator");
|
|
15
15
|
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
var _Typography = require("../elements/Typography");
|
|
16
|
+
var _Text = require("../elements/Text/Text");
|
|
19
17
|
|
|
20
18
|
var AllIcons = _interopRequireWildcard(require("./index"));
|
|
21
19
|
|
|
@@ -37,44 +35,33 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
37
35
|
|
|
38
36
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
39
37
|
|
|
38
|
+
var BLOCKLIST = ["ChevronIcon", "Circle", "CreditCardIcon", "G", "Icon", "Path", "Rect", "Title"];
|
|
40
39
|
var _default = {
|
|
41
40
|
title: "Icons"
|
|
42
41
|
};
|
|
43
42
|
exports.default = _default;
|
|
44
43
|
|
|
45
44
|
var _AllIcons = function _AllIcons() {
|
|
46
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
47
|
-
flexWrap: "wrap",
|
|
48
|
-
m: 2
|
|
49
|
-
}, Object.entries(AllIcons).map(function (_ref, index) {
|
|
45
|
+
return /*#__PURE__*/_react.default.createElement(_GridColumns.GridColumns, null, Object.entries(AllIcons).sort().map(function (_ref) {
|
|
50
46
|
var _ref2 = _slicedToArray(_ref, 2),
|
|
51
|
-
|
|
47
|
+
name = _ref2[0],
|
|
52
48
|
IconComponent = _ref2[1];
|
|
53
49
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
if (!(typeof IconComponent === "function") || blocklist.some(function (icon) {
|
|
57
|
-
return icon === iconName;
|
|
58
|
-
})) {
|
|
50
|
+
if (!(typeof IconComponent === "function") || BLOCKLIST.includes(name)) {
|
|
59
51
|
return null;
|
|
60
52
|
}
|
|
61
53
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
pb: 2,
|
|
66
|
-
mb: 4,
|
|
67
|
-
key: index,
|
|
68
|
-
width: "20%"
|
|
54
|
+
return /*#__PURE__*/_react.default.createElement(_GridColumns.Column, {
|
|
55
|
+
key: name,
|
|
56
|
+
span: 2
|
|
69
57
|
}, /*#__PURE__*/_react.default.createElement(IconComponent, {
|
|
70
|
-
width:
|
|
71
|
-
height:
|
|
58
|
+
width: 40,
|
|
59
|
+
height: 40
|
|
72
60
|
}), /*#__PURE__*/_react.default.createElement(_Separator.Separator, {
|
|
73
61
|
my: 1
|
|
74
|
-
}), /*#__PURE__*/_react.default.createElement(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}, iconName));
|
|
62
|
+
}), /*#__PURE__*/_react.default.createElement(_Text.Text, {
|
|
63
|
+
variant: "xs"
|
|
64
|
+
}, name));
|
|
78
65
|
}));
|
|
79
66
|
};
|
|
80
67
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/svgs/_icons.story.tsx"],"names":["title","_AllIcons","Object","entries","AllIcons","
|
|
1
|
+
{"version":3,"sources":["../../src/svgs/_icons.story.tsx"],"names":["BLOCKLIST","title","_AllIcons","Object","entries","AllIcons","sort","map","name","IconComponent","includes","story"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,SAAS,GAAG,CAChB,aADgB,EAEhB,QAFgB,EAGhB,gBAHgB,EAIhB,GAJgB,EAKhB,MALgB,EAMhB,MANgB,EAOhB,MAPgB,EAQhB,OARgB,CAAlB;eAWe;AACbC,EAAAA,KAAK,EAAE;AADM,C;;;AAIR,IAAMC,SAAS,GAAG,SAAZA,SAAY,GAAM;AAC7B,sBACE,6BAAC,wBAAD,QACGC,MAAM,CAACC,OAAP,CAAeC,QAAf,EACEC,IADF,GAEEC,GAFF,CAEM,gBAA2B;AAAA;AAAA,QAAzBC,IAAyB;AAAA,QAAnBC,aAAmB;;AAC9B,QACE,EAAE,OAAOA,aAAP,KAAyB,UAA3B,KACAT,SAAS,CAACU,QAAV,CAAmBF,IAAnB,CAFF,EAGE;AACA,aAAO,IAAP;AACD;;AAED,wBACE,6BAAC,mBAAD;AAAQ,MAAA,GAAG,EAAEA,IAAb;AAAmB,MAAA,IAAI,EAAE;AAAzB,oBACE,6BAAC,aAAD;AAAe,MAAA,KAAK,EAAE,EAAtB;AAA0B,MAAA,MAAM,EAAE;AAAlC,MADF,eAGE,6BAAC,oBAAD;AAAW,MAAA,EAAE,EAAE;AAAf,MAHF,eAKE,6BAAC,UAAD;AAAM,MAAA,OAAO,EAAC;AAAd,OAAoBA,IAApB,CALF,CADF;AASD,GAnBF,CADH,CADF;AAwBD,CAzBM;;;AAAMN,S;AA2BbA,SAAS,CAACS,KAAV,GAAkB;AAChBH,EAAAA,IAAI,EAAE;AADU,CAAlB","sourcesContent":["import React from \"react\"\nimport { Column, GridColumns } from \"../elements/GridColumns\"\nimport { Separator } from \"../elements/Separator\"\nimport { Text } from \"../elements/Text/Text\"\nimport * as AllIcons from \"./index\"\n\nconst BLOCKLIST = [\n \"ChevronIcon\",\n \"Circle\",\n \"CreditCardIcon\",\n \"G\",\n \"Icon\",\n \"Path\",\n \"Rect\",\n \"Title\",\n]\n\nexport default {\n title: \"Icons\",\n}\n\nexport const _AllIcons = () => {\n return (\n <GridColumns>\n {Object.entries(AllIcons)\n .sort()\n .map(([name, IconComponent]) => {\n if (\n !(typeof IconComponent === \"function\") ||\n BLOCKLIST.includes(name)\n ) {\n return null\n }\n\n return (\n <Column key={name} span={2}>\n <IconComponent width={40} height={40} />\n\n <Separator my={1} />\n\n <Text variant=\"xs\">{name}</Text>\n </Column>\n )\n })}\n </GridColumns>\n )\n}\n\n_AllIcons.story = {\n name: \"all icons\",\n}\n"],"file":"_icons.story.js"}
|
package/dist/svgs/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./AddIcon";
|
|
|
4
4
|
export * from "./AddItemIcon";
|
|
5
5
|
export * from "./AlertCircleFillIcon";
|
|
6
6
|
export * from "./AlertIcon";
|
|
7
|
+
export * from "./AppleIcon";
|
|
7
8
|
export * from "./ArrowDownCircleIcon";
|
|
8
9
|
export * from "./ArrowDownIcon";
|
|
9
10
|
export * from "./ArrowLeftCircleIcon";
|
|
@@ -50,11 +51,13 @@ export * from "./FacebookIcon";
|
|
|
50
51
|
export * from "./FairIcon";
|
|
51
52
|
export * from "./FilterIcon";
|
|
52
53
|
export * from "./GenomeIcon";
|
|
54
|
+
export * from "./GoogleIcon";
|
|
53
55
|
export * from "./GraphIcon";
|
|
54
56
|
export * from "./HeartFillIcon";
|
|
55
57
|
export * from "./HeartIcon";
|
|
56
58
|
export * from "./HomeIcon";
|
|
57
59
|
export * from "./Icon";
|
|
60
|
+
export * from "./ImageSetIcon";
|
|
58
61
|
export * from "./IncreaseIcon";
|
|
59
62
|
export * from "./InfoCircleIcon";
|
|
60
63
|
export * from "./InstagramIcon";
|
package/dist/svgs/index.js
CHANGED
|
@@ -82,6 +82,19 @@ Object.keys(_AlertIcon).forEach(function (key) {
|
|
|
82
82
|
});
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
+
var _AppleIcon = require("./AppleIcon");
|
|
86
|
+
|
|
87
|
+
Object.keys(_AppleIcon).forEach(function (key) {
|
|
88
|
+
if (key === "default" || key === "__esModule") return;
|
|
89
|
+
if (key in exports && exports[key] === _AppleIcon[key]) return;
|
|
90
|
+
Object.defineProperty(exports, key, {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _AppleIcon[key];
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
|
|
85
98
|
var _ArrowDownCircleIcon = require("./ArrowDownCircleIcon");
|
|
86
99
|
|
|
87
100
|
Object.keys(_ArrowDownCircleIcon).forEach(function (key) {
|
|
@@ -680,6 +693,19 @@ Object.keys(_GenomeIcon).forEach(function (key) {
|
|
|
680
693
|
});
|
|
681
694
|
});
|
|
682
695
|
|
|
696
|
+
var _GoogleIcon = require("./GoogleIcon");
|
|
697
|
+
|
|
698
|
+
Object.keys(_GoogleIcon).forEach(function (key) {
|
|
699
|
+
if (key === "default" || key === "__esModule") return;
|
|
700
|
+
if (key in exports && exports[key] === _GoogleIcon[key]) return;
|
|
701
|
+
Object.defineProperty(exports, key, {
|
|
702
|
+
enumerable: true,
|
|
703
|
+
get: function get() {
|
|
704
|
+
return _GoogleIcon[key];
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
|
+
});
|
|
708
|
+
|
|
683
709
|
var _GraphIcon = require("./GraphIcon");
|
|
684
710
|
|
|
685
711
|
Object.keys(_GraphIcon).forEach(function (key) {
|
|
@@ -745,6 +771,19 @@ Object.keys(_Icon).forEach(function (key) {
|
|
|
745
771
|
});
|
|
746
772
|
});
|
|
747
773
|
|
|
774
|
+
var _ImageSetIcon = require("./ImageSetIcon");
|
|
775
|
+
|
|
776
|
+
Object.keys(_ImageSetIcon).forEach(function (key) {
|
|
777
|
+
if (key === "default" || key === "__esModule") return;
|
|
778
|
+
if (key in exports && exports[key] === _ImageSetIcon[key]) return;
|
|
779
|
+
Object.defineProperty(exports, key, {
|
|
780
|
+
enumerable: true,
|
|
781
|
+
get: function get() {
|
|
782
|
+
return _ImageSetIcon[key];
|
|
783
|
+
}
|
|
784
|
+
});
|
|
785
|
+
});
|
|
786
|
+
|
|
748
787
|
var _IncreaseIcon = require("./IncreaseIcon");
|
|
749
788
|
|
|
750
789
|
Object.keys(_IncreaseIcon).forEach(function (key) {
|
package/dist/svgs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/svgs/index.tsx"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;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export * from \"./AlertCircleFillIcon\"\nexport * from \"./AlertIcon\"\nexport * from \"./ArrowDownCircleIcon\"\nexport * from \"./ArrowDownIcon\"\nexport * from \"./ArrowLeftCircleIcon\"\nexport * from \"./ArrowLeftIcon\"\nexport * from \"./ArrowRightCircleIcon\"\nexport * from \"./ArrowRightIcon\"\nexport * from \"./ArrowUpCircleIcon\"\nexport * from \"./ArrowUpIcon\"\nexport * from \"./ArtsyLogoBlackIcon\"\nexport * from \"./ArtsyLogoWhiteIcon\"\nexport * from \"./ArtsyMarkBlackIcon\"\nexport * from \"./ArtsyMarkWhiteIcon\"\nexport * from \"./ArtworkIcon\"\nexport * from \"./ArtworkWithBadgeIcon\"\nexport * from \"./ArtworkWithCheckIcon\"\nexport * from \"./AuctionIcon\"\nexport * from \"./BellFillIcon\"\nexport * from \"./BellIcon\"\nexport * from \"./BlueChipIcon\"\nexport * from \"./BriefcaseIcon\"\nexport * from \"./CalendarIcon\"\nexport * from \"./CertificateIcon\"\nexport * from \"./CheckCircleFillIcon\"\nexport * from \"./CheckCircleIcon\"\nexport * from \"./CheckIcon\"\nexport * from \"./ChevronIcon\"\nexport * from \"./CloseCircleIcon\"\nexport * from \"./CloseIcon\"\nexport * from \"./CollapseIcon\"\nexport * from \"./CreditCardIcon\"\nexport * from \"./DecreaseIcon\"\nexport * from \"./DocumentIcon\"\nexport * from \"./DownloadIcon\"\nexport * from \"./DragIcon\"\nexport * from \"./EarnMoreIcon\"\nexport * from \"./EditIcon\"\nexport * from \"./EnterIcon\"\nexport * from \"./EnvelopeIcon\"\nexport * from \"./EstablishedIcon\"\nexport * from \"./ExpandIcon\"\nexport * from \"./EyeClosedIcon\"\nexport * from \"./EyeOpenedIcon\"\nexport * from \"./FacebookIcon\"\nexport * from \"./FairIcon\"\nexport * from \"./FilterIcon\"\nexport * from \"./GenomeIcon\"\nexport * from \"./GraphIcon\"\nexport * from \"./HeartFillIcon\"\nexport * from \"./HeartIcon\"\nexport * from \"./HomeIcon\"\nexport * from \"./Icon\"\nexport * from \"./IncreaseIcon\"\nexport * from \"./InfoCircleIcon\"\nexport * from \"./InstagramIcon\"\nexport * from \"./InstitutionIcon\"\nexport * from \"./LightningBoltIcon\"\nexport * from \"./LoaderIcon\"\nexport * from \"./LockIcon\"\nexport * from \"./LogoutIcon\"\nexport * from \"./MagnifyingGlassIcon\"\nexport * from \"./MapPinIcon\"\nexport * from \"./MenuIcon\"\nexport * from \"./MessageIcon\"\nexport * from \"./MoneyFillIcon\"\nexport * from \"./MoreIcon\"\nexport * from \"./MultipleOffersIcon\"\nexport * from \"./NoArtworkIcon\"\nexport * from \"./NoImageIcon\"\nexport * from \"./PageIcon\"\nexport * from \"./PaymentIcon\"\nexport * from \"./PendingCircleIcon\"\nexport * from \"./PinterestIcon\"\nexport * from \"./PublicationIcon\"\nexport * from \"./QuestionCircleIcon\"\nexport * from \"./ReceiptIcon\"\nexport * from \"./ReloadIcon\"\nexport * from \"./SettingsIcon\"\nexport * from \"./ShareIcon\"\nexport * from \"./TagIcon\"\nexport * from \"./TimerIcon\"\nexport * from \"./TopEmergingIcon\"\nexport * from \"./TrashIcon\"\nexport * from \"./TriangleDownIcon\"\nexport * from \"./TumblrIcon\"\nexport * from \"./TwitterIcon\"\nexport * from \"./UserMultiIcon\"\nexport * from \"./UserSingleIcon\"\nexport * from \"./UserWithChartIcon\"\nexport * from \"./VerifiedIcon\"\nexport * from \"./WatchingIcon\"\nexport * from \"./WeChatIcon\"\nexport * from \"./XCircleIcon\"\n"],"file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../../src/svgs/index.tsx"],"names":[],"mappings":";;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;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;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from \"./AddCircleFillIcon\"\nexport * from \"./AddCircleIcon\"\nexport * from \"./AddIcon\"\nexport * from \"./AddItemIcon\"\nexport * from \"./AlertCircleFillIcon\"\nexport * from \"./AlertIcon\"\nexport * from \"./AppleIcon\"\nexport * from \"./ArrowDownCircleIcon\"\nexport * from \"./ArrowDownIcon\"\nexport * from \"./ArrowLeftCircleIcon\"\nexport * from \"./ArrowLeftIcon\"\nexport * from \"./ArrowRightCircleIcon\"\nexport * from \"./ArrowRightIcon\"\nexport * from \"./ArrowUpCircleIcon\"\nexport * from \"./ArrowUpIcon\"\nexport * from \"./ArtsyLogoBlackIcon\"\nexport * from \"./ArtsyLogoWhiteIcon\"\nexport * from \"./ArtsyMarkBlackIcon\"\nexport * from \"./ArtsyMarkWhiteIcon\"\nexport * from \"./ArtworkIcon\"\nexport * from \"./ArtworkWithBadgeIcon\"\nexport * from \"./ArtworkWithCheckIcon\"\nexport * from \"./AuctionIcon\"\nexport * from \"./BellFillIcon\"\nexport * from \"./BellIcon\"\nexport * from \"./BlueChipIcon\"\nexport * from \"./BriefcaseIcon\"\nexport * from \"./CalendarIcon\"\nexport * from \"./CertificateIcon\"\nexport * from \"./CheckCircleFillIcon\"\nexport * from \"./CheckCircleIcon\"\nexport * from \"./CheckIcon\"\nexport * from \"./ChevronIcon\"\nexport * from \"./CloseCircleIcon\"\nexport * from \"./CloseIcon\"\nexport * from \"./CollapseIcon\"\nexport * from \"./CreditCardIcon\"\nexport * from \"./DecreaseIcon\"\nexport * from \"./DocumentIcon\"\nexport * from \"./DownloadIcon\"\nexport * from \"./DragIcon\"\nexport * from \"./EarnMoreIcon\"\nexport * from \"./EditIcon\"\nexport * from \"./EnterIcon\"\nexport * from \"./EnvelopeIcon\"\nexport * from \"./EstablishedIcon\"\nexport * from \"./ExpandIcon\"\nexport * from \"./EyeClosedIcon\"\nexport * from \"./EyeOpenedIcon\"\nexport * from \"./FacebookIcon\"\nexport * from \"./FairIcon\"\nexport * from \"./FilterIcon\"\nexport * from \"./GenomeIcon\"\nexport * from \"./GoogleIcon\"\nexport * from \"./GraphIcon\"\nexport * from \"./HeartFillIcon\"\nexport * from \"./HeartIcon\"\nexport * from \"./HomeIcon\"\nexport * from \"./Icon\"\nexport * from \"./ImageSetIcon\"\nexport * from \"./IncreaseIcon\"\nexport * from \"./InfoCircleIcon\"\nexport * from \"./InstagramIcon\"\nexport * from \"./InstitutionIcon\"\nexport * from \"./LightningBoltIcon\"\nexport * from \"./LoaderIcon\"\nexport * from \"./LockIcon\"\nexport * from \"./LogoutIcon\"\nexport * from \"./MagnifyingGlassIcon\"\nexport * from \"./MapPinIcon\"\nexport * from \"./MenuIcon\"\nexport * from \"./MessageIcon\"\nexport * from \"./MoneyFillIcon\"\nexport * from \"./MoreIcon\"\nexport * from \"./MultipleOffersIcon\"\nexport * from \"./NoArtworkIcon\"\nexport * from \"./NoImageIcon\"\nexport * from \"./PageIcon\"\nexport * from \"./PaymentIcon\"\nexport * from \"./PendingCircleIcon\"\nexport * from \"./PinterestIcon\"\nexport * from \"./PublicationIcon\"\nexport * from \"./QuestionCircleIcon\"\nexport * from \"./ReceiptIcon\"\nexport * from \"./ReloadIcon\"\nexport * from \"./SettingsIcon\"\nexport * from \"./ShareIcon\"\nexport * from \"./TagIcon\"\nexport * from \"./TimerIcon\"\nexport * from \"./TopEmergingIcon\"\nexport * from \"./TrashIcon\"\nexport * from \"./TriangleDownIcon\"\nexport * from \"./TumblrIcon\"\nexport * from \"./TwitterIcon\"\nexport * from \"./UserMultiIcon\"\nexport * from \"./UserSingleIcon\"\nexport * from \"./UserWithChartIcon\"\nexport * from \"./VerifiedIcon\"\nexport * from \"./WatchingIcon\"\nexport * from \"./WeChatIcon\"\nexport * from \"./XCircleIcon\"\n"],"file":"index.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/palette",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.22.0",
|
|
4
4
|
"description": "Design system library for react components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -178,5 +178,5 @@
|
|
|
178
178
|
"<rootDir>/www/"
|
|
179
179
|
]
|
|
180
180
|
},
|
|
181
|
-
"gitHead": "
|
|
181
|
+
"gitHead": "f794d61a8e4a6a717508d6d846ce3398aac3ddda"
|
|
182
182
|
}
|