@apple-pie/slice-native 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js
CHANGED
|
@@ -11,6 +11,12 @@ var theme = require('./theme.js');
|
|
|
11
11
|
* Each entry stores only icon line content renderers.
|
|
12
12
|
*/
|
|
13
13
|
const STATIC_ICON_REGISTRY = new Map([
|
|
14
|
+
[
|
|
15
|
+
'@',
|
|
16
|
+
{
|
|
17
|
+
line: ({ strokeColor }) => (jsxRuntime.jsx(Svg.Path, { d: "M10.03,17.85c-1.61,0-3.01-.32-4.21-.97s-2.12-1.54-2.78-2.69c-.66-1.15-.98-2.49-.98-4.01,0-1.19.2-2.27.59-3.25s.96-1.83,1.69-2.54c.73-.72,1.6-1.27,2.61-1.66,1.01-.39,2.11-.58,3.33-.58,1.12,0,2.15.18,3.08.53.93.35,1.74.84,2.42,1.46.68.62,1.21,1.36,1.58,2.2s.56,1.77.56,2.77-.18,1.89-.55,2.67c-.37.78-.86,1.4-1.49,1.85-.63.45-1.33.67-2.11.67-.53,0-.96-.12-1.27-.37-.31-.24-.52-.61-.62-1.1h-.07c-.47.98-1.27,1.47-2.4,1.47-.69,0-1.29-.18-1.79-.53s-.9-.85-1.17-1.48c-.28-.63-.42-1.36-.42-2.19s.14-1.57.42-2.2c.28-.63.67-1.12,1.17-1.47.51-.35,1.1-.53,1.78-.53,1.13,0,1.93.48,2.38,1.45h.07v-1.25h1.57v7.02c.6,0,1.13-.17,1.58-.52.46-.34.81-.81,1.07-1.41.25-.59.38-1.26.38-2.01,0-1.07-.26-2.02-.77-2.86s-1.23-1.5-2.15-1.98-1.99-.73-3.22-.73c-1.33,0-2.51.27-3.53.83-1.02.55-1.82,1.31-2.39,2.29-.57.98-.86,2.13-.86,3.45,0,1.23.26,2.32.79,3.25.53.93,1.28,1.66,2.25,2.18.97.52,2.13.77,3.48.77h4.53v1.47h-4.55ZM9.83,12.93c.61,0,1.1-.2,1.47-.61s.56-.96.56-1.66v-1.13c0-.71-.19-1.27-.56-1.67s-.86-.6-1.47-.6c-.7,0-1.25.26-1.63.78-.39.52-.58,1.2-.58,2.06s.19,1.54.58,2.06c.39.52.93.77,1.63.77Z", fill: strokeColor })),
|
|
18
|
+
},
|
|
19
|
+
],
|
|
14
20
|
[
|
|
15
21
|
'fullscreen',
|
|
16
22
|
{
|
|
@@ -698,6 +704,7 @@ const SliceIcons = {
|
|
|
698
704
|
inbox: 'inbox',
|
|
699
705
|
like: 'like',
|
|
700
706
|
unlike: 'unlike',
|
|
707
|
+
at: '@',
|
|
701
708
|
},
|
|
702
709
|
media: {
|
|
703
710
|
camera: 'camera',
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs, Fragment
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import { memo } from 'react';
|
|
3
3
|
import { useColorScheme } from 'react-native';
|
|
4
|
-
import Svg, { Polygon, Rect,
|
|
4
|
+
import Svg, { Path, Polygon, Rect, Line, Circle, G, Defs, ClipPath, Use, Polyline } from 'react-native-svg';
|
|
5
5
|
export { createTypography, darkTheme, lightTheme } from './theme.mjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -9,6 +9,12 @@ export { createTypography, darkTheme, lightTheme } from './theme.mjs';
|
|
|
9
9
|
* Each entry stores only icon line content renderers.
|
|
10
10
|
*/
|
|
11
11
|
const STATIC_ICON_REGISTRY = new Map([
|
|
12
|
+
[
|
|
13
|
+
'@',
|
|
14
|
+
{
|
|
15
|
+
line: ({ strokeColor }) => (jsx(Path, { d: "M10.03,17.85c-1.61,0-3.01-.32-4.21-.97s-2.12-1.54-2.78-2.69c-.66-1.15-.98-2.49-.98-4.01,0-1.19.2-2.27.59-3.25s.96-1.83,1.69-2.54c.73-.72,1.6-1.27,2.61-1.66,1.01-.39,2.11-.58,3.33-.58,1.12,0,2.15.18,3.08.53.93.35,1.74.84,2.42,1.46.68.62,1.21,1.36,1.58,2.2s.56,1.77.56,2.77-.18,1.89-.55,2.67c-.37.78-.86,1.4-1.49,1.85-.63.45-1.33.67-2.11.67-.53,0-.96-.12-1.27-.37-.31-.24-.52-.61-.62-1.1h-.07c-.47.98-1.27,1.47-2.4,1.47-.69,0-1.29-.18-1.79-.53s-.9-.85-1.17-1.48c-.28-.63-.42-1.36-.42-2.19s.14-1.57.42-2.2c.28-.63.67-1.12,1.17-1.47.51-.35,1.1-.53,1.78-.53,1.13,0,1.93.48,2.38,1.45h.07v-1.25h1.57v7.02c.6,0,1.13-.17,1.58-.52.46-.34.81-.81,1.07-1.41.25-.59.38-1.26.38-2.01,0-1.07-.26-2.02-.77-2.86s-1.23-1.5-2.15-1.98-1.99-.73-3.22-.73c-1.33,0-2.51.27-3.53.83-1.02.55-1.82,1.31-2.39,2.29-.57.98-.86,2.13-.86,3.45,0,1.23.26,2.32.79,3.25.53.93,1.28,1.66,2.25,2.18.97.52,2.13.77,3.48.77h4.53v1.47h-4.55ZM9.83,12.93c.61,0,1.1-.2,1.47-.61s.56-.96.56-1.66v-1.13c0-.71-.19-1.27-.56-1.67s-.86-.6-1.47-.6c-.7,0-1.25.26-1.63.78-.39.52-.58,1.2-.58,2.06s.19,1.54.58,2.06c.39.52.93.77,1.63.77Z", fill: strokeColor })),
|
|
16
|
+
},
|
|
17
|
+
],
|
|
12
18
|
[
|
|
13
19
|
'fullscreen',
|
|
14
20
|
{
|
|
@@ -696,6 +702,7 @@ const SliceIcons = {
|
|
|
696
702
|
inbox: 'inbox',
|
|
697
703
|
like: 'like',
|
|
698
704
|
unlike: 'unlike',
|
|
705
|
+
at: '@',
|
|
699
706
|
},
|
|
700
707
|
media: {
|
|
701
708
|
camera: 'camera',
|