@artsy/palette-mobile 11.0.16 → 11.0.18

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 CHANGED
@@ -1,3 +1,35 @@
1
+ # v11.0.18 (Tue Apr 25 2023)
2
+
3
+ :tada: This release contains work from a new contributor! :tada:
4
+
5
+ Thank you, Laura Bhayani ([@laurabeth](https://github.com/laurabeth)), for all your work!
6
+
7
+ #### 🐛 Bug Fix
8
+
9
+ - chore: update react native version [#91](https://github.com/artsy/palette-mobile/pull/91) ([@laurabeth](https://github.com/laurabeth))
10
+
11
+ #### Authors: 1
12
+
13
+ - Laura Bhayani ([@laurabeth](https://github.com/laurabeth))
14
+
15
+ ---
16
+
17
+ # v11.0.17 (Tue Apr 25 2023)
18
+
19
+ :tada: This release contains work from a new contributor! :tada:
20
+
21
+ Thank you, Dima Tretyak ([@dimatretyak](https://github.com/dimatretyak)), for all your work!
22
+
23
+ #### 🐛 Bug Fix
24
+
25
+ - feat: add `EmptyCheckCircleIcon` [#90](https://github.com/artsy/palette-mobile/pull/90) ([@dimatretyak](https://github.com/dimatretyak))
26
+
27
+ #### Authors: 1
28
+
29
+ - Dima Tretyak ([@dimatretyak](https://github.com/dimatretyak))
30
+
31
+ ---
32
+
1
33
  # v11.0.16 (Tue Apr 18 2023)
2
34
 
3
35
  #### 🐛 Bug Fix
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const react_native_1 = require("@storybook/react-native");
5
5
  const react_1 = require("react");
6
- const helpers_1 = require("storybook/helpers");
7
6
  const _1 = require(".");
7
+ const helpers_1 = require("../../storybook/helpers");
8
8
  const Button_1 = require("../Button");
9
9
  const DialogDemo = (props) => {
10
10
  const [visible, setVisible] = (0, react_1.useState)(false);
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const react_native_1 = require("@storybook/react-native");
5
- const helpers_1 = require("storybook/helpers");
6
5
  const Input_1 = require("./Input");
6
+ const helpers_1 = require("../../storybook/helpers");
7
7
  const svgs_1 = require("../../svgs");
8
8
  const Box_1 = require("../Box");
9
9
  (0, react_native_1.storiesOf)("Input", module)
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const react_native_1 = require("@storybook/react-native");
5
- const helpers_1 = require("storybook/helpers");
6
5
  const BulletedItem_1 = require("./BulletedItem");
6
+ const helpers_1 = require("../../storybook/helpers");
7
7
  const Flex_1 = require("../Flex");
8
8
  const Spacer_1 = require("../Spacer");
9
9
  const Text_1 = require("../Text");
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const react_native_1 = require("@storybook/react-native");
5
- const decorators_1 = require("storybook/decorators");
6
- const helpers_1 = require("storybook/helpers");
7
5
  const Message_1 = require("./Message");
6
+ const decorators_1 = require("../../storybook/decorators");
7
+ const helpers_1 = require("../../storybook/helpers");
8
8
  (0, react_native_1.storiesOf)("Message", module)
9
9
  .addDecorator(decorators_1.withTheme)
10
10
  .add("Variants", () => ((0, jsx_runtime_1.jsxs)(helpers_1.List, { contentContainerStyle: { marginHorizontal: 20, alignItems: "stretch" }, children: [(0, jsx_runtime_1.jsx)(Message_1.Message, { variant: "default", title: "Without Close Button", text: "Text" }), (0, jsx_runtime_1.jsx)(Message_1.Message, { variant: "default", showCloseButton: true, title: "Title", text: "Text" }), (0, jsx_runtime_1.jsx)(Message_1.Message, { variant: "default", showCloseButton: true, title: "Title", text: "Very very very very very very very very very very very very very very long text" }), (0, jsx_runtime_1.jsx)(Message_1.Message, { variant: "default", showCloseButton: true, title: "Very very very very very very very very very very very very very very long title", text: "Text" }), (0, jsx_runtime_1.jsx)(Message_1.Message, { variant: "default", showCloseButton: true, title: "Very very very very very very very very very very very very very very long title", text: "Very very very very very very very very very very very very very very long text" })] })))
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const react_native_1 = require("@storybook/react-native");
5
- const helpers_1 = require("storybook/helpers");
6
5
  const _1 = require("./");
6
+ const helpers_1 = require("../../storybook/helpers");
7
7
  const Text_1 = require("../Text");
8
8
  (0, react_native_1.storiesOf)("Theme/Text", module).add("Visual Clue", () => ((0, jsx_runtime_1.jsxs)(helpers_1.List, { children: [(0, jsx_runtime_1.jsx)(_1.VisualClueDot, {}), (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { children: "A Feature" }), (0, jsx_runtime_1.jsx)(_1.VisualClueText, { style: { top: 14, right: -24 } })] })] })));
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from "./Icon";
3
+ export declare const EmptyCheckCircleIcon: ({ fill, ...restProps }: IconProps) => JSX.Element;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EmptyCheckCircleIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const Icon_1 = require("./Icon");
6
+ const hooks_1 = require("../utils/hooks");
7
+ const EmptyCheckCircleIcon = ({ fill, ...restProps }) => {
8
+ const color = (0, hooks_1.useColor)();
9
+ return ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...restProps, viewBox: "0 0 18 18", children: (0, jsx_runtime_1.jsx)(Icon_1.Path, { d: "M1.0006 8.99993C1.0006 4.58165 4.58232 0.999931 9.00062 0.999931C11.1223 0.999931 13.1572 1.84278 14.6575 3.34307C16.1578 4.84337 17.0006 6.8782 17.0006 8.99993C17.0006 13.4182 13.4189 16.9999 9.00062 16.9999C4.58232 16.9999 1.0006 13.4182 1.0006 8.99993ZM16.1112 9.00007C16.1112 5.07273 12.9275 1.88898 9.00006 1.88898C5.07272 1.88898 1.88897 5.07273 1.88897 9.00007C1.88897 12.9275 5.07272 16.1112 9.00006 16.1112C12.9275 16.1112 16.1112 12.9275 16.1112 9.00007Z", fill: color(fill), fillRule: "evenodd", clipRule: "evenodd" }) }));
10
+ };
11
+ exports.EmptyCheckCircleIcon = EmptyCheckCircleIcon;
@@ -40,6 +40,7 @@ export * from "./DecreaseIcon";
40
40
  export * from "./DocumentIcon";
41
41
  export * from "./DownloadIcon";
42
42
  export * from "./EditIcon";
43
+ export * from "./EmptyCheckCircleIcon";
43
44
  export * from "./EnterIcon";
44
45
  export * from "./EnvelopeIcon";
45
46
  export * from "./EstablishedIcon";
@@ -56,6 +56,7 @@ __exportStar(require("./DecreaseIcon"), exports);
56
56
  __exportStar(require("./DocumentIcon"), exports);
57
57
  __exportStar(require("./DownloadIcon"), exports);
58
58
  __exportStar(require("./EditIcon"), exports);
59
+ __exportStar(require("./EmptyCheckCircleIcon"), exports);
59
60
  __exportStar(require("./EnterIcon"), exports);
60
61
  __exportStar(require("./EnvelopeIcon"), exports);
61
62
  __exportStar(require("./EstablishedIcon"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette-mobile",
3
- "version": "11.0.16",
3
+ "version": "11.0.18",
4
4
  "description": "Artsy's design system for React Native",
5
5
  "scripts": {
6
6
  "android": "react-native run-android",
@@ -24,7 +24,7 @@
24
24
  "setup:artsy": "./scripts/download-fonts",
25
25
  "start:reset-cache": "react-native start --reset-cache",
26
26
  "start": "react-native start",
27
- "storybook-watcher": "sb-rn-watcher",
27
+ "../../storybook-watcher": "sb-rn-watcher",
28
28
  "test": "jest",
29
29
  "type-check": "tsc --noEmit"
30
30
  },
@@ -106,7 +106,7 @@
106
106
  "nodemon": "^2.0.20",
107
107
  "react": "18.2.0",
108
108
  "react-dom": "18.2.0",
109
- "react-native": "0.70.7",
109
+ "react-native": "0.70.8",
110
110
  "react-native-flipper": "0.178.1",
111
111
  "react-native-haptic-feedback": "1.14.0",
112
112
  "react-native-linear-gradient": "2.6.2",