@expo/styleguide-native 6.1.3 → 7.0.0-alpha.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/LICENSE +2 -2
- package/README.md +4 -16
- package/dist/index.d.ts +4 -11
- package/dist/index.js +288 -30
- package/dist/{logos → src/logos}/DocsLogo.d.ts +0 -1
- package/dist/{logos → src/logos}/ExpoGoLogo.d.ts +0 -1
- package/dist/{logos → src/logos}/Logo.d.ts +0 -1
- package/dist/{logos → src/logos}/SnackLogo.d.ts +0 -1
- package/dist/{logos → src/logos}/WordMarkLogo.d.ts +0 -1
- package/dist/{logos → src/logos}/index.d.ts +0 -0
- package/dist/{styles → src/styles}/shadows.d.ts +0 -0
- package/dist/{styles → src/styles}/typography.d.ts +0 -0
- package/dist/{types → src/types}/index.d.ts +1 -1
- package/package.json +13 -17
- package/dist/icons/ActivityIcon.d.ts +0 -3
- package/dist/icons/ActivityIcon.js +0 -32
- package/dist/icons/AddPhotoIcon.d.ts +0 -3
- package/dist/icons/AddPhotoIcon.js +0 -32
- package/dist/icons/AndroidIcon.d.ts +0 -3
- package/dist/icons/AndroidIcon.js +0 -32
- package/dist/icons/AppleAppStoreIcon.d.ts +0 -3
- package/dist/icons/AppleAppStoreIcon.js +0 -34
- package/dist/icons/AppleIcon.d.ts +0 -3
- package/dist/icons/AppleIcon.js +0 -32
- package/dist/icons/AppleSimulatorIcon.d.ts +0 -3
- package/dist/icons/AppleSimulatorIcon.js +0 -36
- package/dist/icons/ArrowDownIcon.d.ts +0 -3
- package/dist/icons/ArrowDownIcon.js +0 -32
- package/dist/icons/ArrowLeftIcon.d.ts +0 -3
- package/dist/icons/ArrowLeftIcon.js +0 -32
- package/dist/icons/ArrowRightIcon.d.ts +0 -3
- package/dist/icons/ArrowRightIcon.js +0 -32
- package/dist/icons/ArrowUpIcon.d.ts +0 -3
- package/dist/icons/ArrowUpIcon.js +0 -32
- package/dist/icons/ArrowUpRightIcon.d.ts +0 -3
- package/dist/icons/ArrowUpRightIcon.js +0 -32
- package/dist/icons/AtSignIcon.d.ts +0 -3
- package/dist/icons/AtSignIcon.js +0 -32
- package/dist/icons/BadgeIcon.d.ts +0 -3
- package/dist/icons/BadgeIcon.js +0 -33
- package/dist/icons/BellIcon.d.ts +0 -3
- package/dist/icons/BellIcon.js +0 -32
- package/dist/icons/BranchIcon.d.ts +0 -3
- package/dist/icons/BranchIcon.js +0 -32
- package/dist/icons/BugInspectIcon.d.ts +0 -3
- package/dist/icons/BugInspectIcon.js +0 -34
- package/dist/icons/BuildIcon.d.ts +0 -3
- package/dist/icons/BuildIcon.js +0 -32
- package/dist/icons/BuildNumberIcon.d.ts +0 -3
- package/dist/icons/BuildNumberIcon.js +0 -32
- package/dist/icons/BuildProfileIcon.d.ts +0 -3
- package/dist/icons/BuildProfileIcon.js +0 -32
- package/dist/icons/ChangelogIcon.d.ts +0 -3
- package/dist/icons/ChangelogIcon.js +0 -33
- package/dist/icons/ChannelIcon.d.ts +0 -3
- package/dist/icons/ChannelIcon.js +0 -33
- package/dist/icons/ChartIcon.d.ts +0 -3
- package/dist/icons/ChartIcon.js +0 -33
- package/dist/icons/CheckIcon.d.ts +0 -3
- package/dist/icons/CheckIcon.js +0 -32
- package/dist/icons/ChevronDownIcon.d.ts +0 -3
- package/dist/icons/ChevronDownIcon.js +0 -32
- package/dist/icons/ChevronLeftIcon.d.ts +0 -3
- package/dist/icons/ChevronLeftIcon.js +0 -32
- package/dist/icons/ChevronRightIcon.d.ts +0 -3
- package/dist/icons/ChevronRightIcon.js +0 -32
- package/dist/icons/ChevronUpIcon.d.ts +0 -3
- package/dist/icons/ChevronUpIcon.js +0 -32
- package/dist/icons/ClipboardIcon.d.ts +0 -3
- package/dist/icons/ClipboardIcon.js +0 -34
- package/dist/icons/CloudSlashIcon.d.ts +0 -3
- package/dist/icons/CloudSlashIcon.js +0 -32
- package/dist/icons/CodeIcon.d.ts +0 -3
- package/dist/icons/CodeIcon.js +0 -32
- package/dist/icons/CommandLineIcon.d.ts +0 -3
- package/dist/icons/CommandLineIcon.js +0 -32
- package/dist/icons/CommitIcon.d.ts +0 -3
- package/dist/icons/CommitIcon.js +0 -32
- package/dist/icons/CredentialIcon.d.ts +0 -3
- package/dist/icons/CredentialIcon.js +0 -34
- package/dist/icons/CreditCardIcon.d.ts +0 -3
- package/dist/icons/CreditCardIcon.js +0 -33
- package/dist/icons/DatabaseIcon.d.ts +0 -3
- package/dist/icons/DatabaseIcon.js +0 -33
- package/dist/icons/DebugIcon.d.ts +0 -3
- package/dist/icons/DebugIcon.js +0 -33
- package/dist/icons/DeploymentIcon.d.ts +0 -3
- package/dist/icons/DeploymentIcon.js +0 -32
- package/dist/icons/DeploymentsIcon.d.ts +0 -3
- package/dist/icons/DeploymentsIcon.js +0 -35
- package/dist/icons/DiscordIcon.d.ts +0 -3
- package/dist/icons/DiscordIcon.js +0 -32
- package/dist/icons/DiscourseIcon.d.ts +0 -3
- package/dist/icons/DiscourseIcon.js +0 -32
- package/dist/icons/DownloadIcon.d.ts +0 -3
- package/dist/icons/DownloadIcon.js +0 -33
- package/dist/icons/EasMetadataIcon.d.ts +0 -3
- package/dist/icons/EasMetadataIcon.js +0 -39
- package/dist/icons/EasSubmitIcon.d.ts +0 -3
- package/dist/icons/EasSubmitIcon.js +0 -39
- package/dist/icons/EditIcon.d.ts +0 -3
- package/dist/icons/EditIcon.js +0 -37
- package/dist/icons/ErrorIcon.d.ts +0 -3
- package/dist/icons/ErrorIcon.js +0 -32
- package/dist/icons/FacebookIcon.d.ts +0 -3
- package/dist/icons/FacebookIcon.js +0 -32
- package/dist/icons/GeneralIcon.d.ts +0 -3
- package/dist/icons/GeneralIcon.js +0 -43
- package/dist/icons/GithubIcon.d.ts +0 -3
- package/dist/icons/GithubIcon.js +0 -32
- package/dist/icons/GoogleAppStoreIcon.d.ts +0 -3
- package/dist/icons/GoogleAppStoreIcon.js +0 -32
- package/dist/icons/HamburgerIcon.d.ts +0 -3
- package/dist/icons/HamburgerIcon.js +0 -32
- package/dist/icons/HeadsetIcon.d.ts +0 -3
- package/dist/icons/HeadsetIcon.js +0 -36
- package/dist/icons/HomeFilledIcon.d.ts +0 -3
- package/dist/icons/HomeFilledIcon.js +0 -32
- package/dist/icons/HomeIcon.d.ts +0 -3
- package/dist/icons/HomeIcon.js +0 -32
- package/dist/icons/InfoIcon.d.ts +0 -3
- package/dist/icons/InfoIcon.js +0 -32
- package/dist/icons/InspectElementIcon.d.ts +0 -3
- package/dist/icons/InspectElementIcon.js +0 -33
- package/dist/icons/InstagramIcon.d.ts +0 -3
- package/dist/icons/InstagramIcon.js +0 -32
- package/dist/icons/InvoicesIcon.d.ts +0 -3
- package/dist/icons/InvoicesIcon.js +0 -33
- package/dist/icons/LifebuoyIcon.d.ts +0 -3
- package/dist/icons/LifebuoyIcon.js +0 -32
- package/dist/icons/LockIcon.d.ts +0 -3
- package/dist/icons/LockIcon.js +0 -32
- package/dist/icons/LogoutMobileIcon.d.ts +0 -3
- package/dist/icons/LogoutMobileIcon.js +0 -33
- package/dist/icons/LogsIcon.d.ts +0 -3
- package/dist/icons/LogsIcon.js +0 -34
- package/dist/icons/MailIcon.d.ts +0 -3
- package/dist/icons/MailIcon.js +0 -32
- package/dist/icons/MegaphoneIcon.d.ts +0 -3
- package/dist/icons/MegaphoneIcon.js +0 -33
- package/dist/icons/MessageIcon.d.ts +0 -3
- package/dist/icons/MessageIcon.js +0 -32
- package/dist/icons/MoreHorizontalIcon.d.ts +0 -3
- package/dist/icons/MoreHorizontalIcon.js +0 -34
- package/dist/icons/MoreVerticalIcon.d.ts +0 -3
- package/dist/icons/MoreVerticalIcon.js +0 -34
- package/dist/icons/OneTimePasswordIcon.d.ts +0 -3
- package/dist/icons/OneTimePasswordIcon.js +0 -34
- package/dist/icons/OpenInternalIcon.d.ts +0 -3
- package/dist/icons/OpenInternalIcon.js +0 -33
- package/dist/icons/OrganizationIcon.d.ts +0 -3
- package/dist/icons/OrganizationIcon.js +0 -33
- package/dist/icons/OverviewIcon.d.ts +0 -3
- package/dist/icons/OverviewIcon.js +0 -32
- package/dist/icons/PerformanceIcon.d.ts +0 -3
- package/dist/icons/PerformanceIcon.js +0 -33
- package/dist/icons/PersonalTrainerIcon.d.ts +0 -3
- package/dist/icons/PersonalTrainerIcon.js +0 -32
- package/dist/icons/PinIcon.d.ts +0 -3
- package/dist/icons/PinIcon.js +0 -32
- package/dist/icons/PlanEnterpriseIcon.d.ts +0 -3
- package/dist/icons/PlanEnterpriseIcon.js +0 -32
- package/dist/icons/PlanFreeIcon.d.ts +0 -3
- package/dist/icons/PlanFreeIcon.js +0 -32
- package/dist/icons/PlanProductionIcon.d.ts +0 -3
- package/dist/icons/PlanProductionIcon.js +0 -33
- package/dist/icons/PlansIcon.d.ts +0 -3
- package/dist/icons/PlansIcon.js +0 -33
- package/dist/icons/PlusIcon.d.ts +0 -3
- package/dist/icons/PlusIcon.js +0 -32
- package/dist/icons/PrivacyIcon.d.ts +0 -3
- package/dist/icons/PrivacyIcon.js +0 -32
- package/dist/icons/ProjectTransferIcon.d.ts +0 -3
- package/dist/icons/ProjectTransferIcon.js +0 -33
- package/dist/icons/PushToDeviceIcon.d.ts +0 -3
- package/dist/icons/PushToDeviceIcon.js +0 -35
- package/dist/icons/QrCodeIcon.d.ts +0 -3
- package/dist/icons/QrCodeIcon.js +0 -36
- package/dist/icons/QuestionIcon.d.ts +0 -3
- package/dist/icons/QuestionIcon.js +0 -32
- package/dist/icons/QuestionMarkIcon.d.ts +0 -3
- package/dist/icons/QuestionMarkIcon.js +0 -32
- package/dist/icons/ReceiptIcon.d.ts +0 -3
- package/dist/icons/ReceiptIcon.js +0 -33
- package/dist/icons/RedditIcon.d.ts +0 -3
- package/dist/icons/RedditIcon.js +0 -32
- package/dist/icons/RefreshIcon.d.ts +0 -3
- package/dist/icons/RefreshIcon.js +0 -35
- package/dist/icons/RolloutIcon.d.ts +0 -3
- package/dist/icons/RolloutIcon.js +0 -33
- package/dist/icons/RunIcon.d.ts +0 -3
- package/dist/icons/RunIcon.js +0 -33
- package/dist/icons/RuntimeVersionIcon.d.ts +0 -3
- package/dist/icons/RuntimeVersionIcon.js +0 -32
- package/dist/icons/ScanIcon.d.ts +0 -3
- package/dist/icons/ScanIcon.js +0 -33
- package/dist/icons/SearchIcon.d.ts +0 -3
- package/dist/icons/SearchIcon.js +0 -33
- package/dist/icons/SecretsIcon.d.ts +0 -3
- package/dist/icons/SecretsIcon.js +0 -32
- package/dist/icons/SettingsFilledIcon.d.ts +0 -3
- package/dist/icons/SettingsFilledIcon.js +0 -32
- package/dist/icons/SettingsIcon.d.ts +0 -3
- package/dist/icons/SettingsIcon.js +0 -32
- package/dist/icons/SlashShortcutIcon.d.ts +0 -3
- package/dist/icons/SlashShortcutIcon.js +0 -32
- package/dist/icons/SparklesIcon.d.ts +0 -3
- package/dist/icons/SparklesIcon.js +0 -32
- package/dist/icons/StatusCanceledIcon.d.ts +0 -3
- package/dist/icons/StatusCanceledIcon.js +0 -32
- package/dist/icons/StatusFailedIcon.d.ts +0 -3
- package/dist/icons/StatusFailedIcon.js +0 -32
- package/dist/icons/StatusNewIcon.d.ts +0 -3
- package/dist/icons/StatusNewIcon.js +0 -33
- package/dist/icons/StatusSuccessIcon.d.ts +0 -3
- package/dist/icons/StatusSuccessIcon.js +0 -32
- package/dist/icons/StatusWaitingIcon.d.ts +0 -3
- package/dist/icons/StatusWaitingIcon.js +0 -32
- package/dist/icons/StoreIcon.d.ts +0 -3
- package/dist/icons/StoreIcon.js +0 -39
- package/dist/icons/ThemeAutoIcon.d.ts +0 -3
- package/dist/icons/ThemeAutoIcon.js +0 -33
- package/dist/icons/ThemeDarkIcon.d.ts +0 -3
- package/dist/icons/ThemeDarkIcon.js +0 -32
- package/dist/icons/ThemeIcon.d.ts +0 -3
- package/dist/icons/ThemeIcon.js +0 -32
- package/dist/icons/ThemeLightIcon.d.ts +0 -3
- package/dist/icons/ThemeLightIcon.js +0 -33
- package/dist/icons/ThumbsDownIcon.d.ts +0 -3
- package/dist/icons/ThumbsDownIcon.js +0 -32
- package/dist/icons/ThumbsUpIcon.d.ts +0 -3
- package/dist/icons/ThumbsUpIcon.js +0 -32
- package/dist/icons/TokensIcon.d.ts +0 -3
- package/dist/icons/TokensIcon.js +0 -34
- package/dist/icons/TrashIcon.d.ts +0 -3
- package/dist/icons/TrashIcon.js +0 -32
- package/dist/icons/TriangleDownIcon.d.ts +0 -3
- package/dist/icons/TriangleDownIcon.js +0 -32
- package/dist/icons/TriangleLeftIcon.d.ts +0 -3
- package/dist/icons/TriangleLeftIcon.js +0 -32
- package/dist/icons/TriangleRightIcon.d.ts +0 -3
- package/dist/icons/TriangleRightIcon.js +0 -32
- package/dist/icons/TriangleUpIcon.d.ts +0 -3
- package/dist/icons/TriangleUpIcon.js +0 -32
- package/dist/icons/TwitchIcon.d.ts +0 -3
- package/dist/icons/TwitchIcon.js +0 -33
- package/dist/icons/TwitterIcon.d.ts +0 -3
- package/dist/icons/TwitterIcon.js +0 -32
- package/dist/icons/UndoIcon.d.ts +0 -3
- package/dist/icons/UndoIcon.js +0 -32
- package/dist/icons/UpdateIcon.d.ts +0 -3
- package/dist/icons/UpdateIcon.js +0 -33
- package/dist/icons/UpgradeIcon.d.ts +0 -3
- package/dist/icons/UpgradeIcon.js +0 -32
- package/dist/icons/UploadIcon.d.ts +0 -3
- package/dist/icons/UploadIcon.js +0 -33
- package/dist/icons/UserFilledIcon.d.ts +0 -3
- package/dist/icons/UserFilledIcon.js +0 -32
- package/dist/icons/UserIcon.d.ts +0 -3
- package/dist/icons/UserIcon.js +0 -32
- package/dist/icons/UsersFilledIcon.d.ts +0 -3
- package/dist/icons/UsersFilledIcon.js +0 -33
- package/dist/icons/UsersIcon.d.ts +0 -3
- package/dist/icons/UsersIcon.js +0 -33
- package/dist/icons/VersionIcon.d.ts +0 -3
- package/dist/icons/VersionIcon.js +0 -33
- package/dist/icons/WarningIcon.d.ts +0 -3
- package/dist/icons/WarningIcon.js +0 -32
- package/dist/icons/WrapLinesIcon.d.ts +0 -3
- package/dist/icons/WrapLinesIcon.js +0 -33
- package/dist/icons/XIcon.d.ts +0 -3
- package/dist/icons/XIcon.js +0 -32
- package/dist/icons/YoutubeIcon.d.ts +0 -3
- package/dist/icons/YoutubeIcon.js +0 -32
- package/dist/icons/index.d.ts +0 -130
- package/dist/icons/index.js +0 -268
- package/dist/logos/DocsLogo.js +0 -33
- package/dist/logos/ExpoGoLogo.js +0 -32
- package/dist/logos/Logo.js +0 -32
- package/dist/logos/SnackLogo.js +0 -33
- package/dist/logos/WordMarkLogo.js +0 -32
- package/dist/logos/index.js +0 -16
- package/dist/styles/breakpoints.d.ts +0 -5
- package/dist/styles/breakpoints.js +0 -8
- package/dist/styles/palette.d.ts +0 -200
- package/dist/styles/palette.js +0 -50
- package/dist/styles/shadows.js +0 -40
- package/dist/styles/sizing.d.ts +0 -19
- package/dist/styles/sizing.js +0 -22
- package/dist/styles/spacing.d.ts +0 -36
- package/dist/styles/spacing.js +0 -40
- package/dist/styles/themes.d.ts +0 -236
- package/dist/styles/themes.js +0 -240
- package/dist/styles/typography.js +0 -338
- package/dist/types/index.js +0 -2
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2023 Expo
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
# @expo/styleguide-native
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Expo's React Native styleguide components.
|
|
4
4
|
|
|
5
5
|
## Get started
|
|
6
6
|
|
|
7
|
-
Install
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
yarn add @expo/styleguide-native
|
|
11
|
-
|
|
12
|
-
# or
|
|
13
|
-
|
|
14
|
-
npm install @expo/styleguide-native
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Then in a component:
|
|
18
|
-
|
|
19
|
-
```tsx
|
|
20
|
-
import { lightTheme, darkTheme, ... } from "@expo/styleguide-native";
|
|
21
|
-
```
|
|
7
|
+
1. Install dependencies with `yarn`.
|
|
8
|
+
2. Build everything with `yarn build`.
|
|
9
|
+
3. Develop with `yarn dev`.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { spacing } from './styles/spacing';
|
|
6
|
-
import { breakpoints } from './styles/breakpoints';
|
|
7
|
-
import { typography } from './styles/typography';
|
|
8
|
-
import { IconProps } from 'types';
|
|
9
|
-
export * from './icons';
|
|
10
|
-
export * from './logos';
|
|
11
|
-
export { borderRadius, breakpoints, darkTheme, iconSize, lightTheme, palette, shadows, spacing, typography, IconProps, };
|
|
1
|
+
export * from './src/logos';
|
|
2
|
+
export type { IconProps } from './src/types';
|
|
3
|
+
export { shadows } from './src/styles/shadows';
|
|
4
|
+
export { typography } from './src/styles/typography';
|
package/dist/index.js
CHANGED
|
@@ -1,31 +1,289 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Svg, { Path } from 'react-native-svg';
|
|
3
|
+
|
|
4
|
+
/******************************************************************************
|
|
5
|
+
Copyright (c) Microsoft Corporation.
|
|
6
|
+
|
|
7
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
8
|
+
purpose with or without fee is hereby granted.
|
|
9
|
+
|
|
10
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
11
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
12
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
13
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
14
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
15
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
16
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
17
|
+
***************************************************************************** */
|
|
18
|
+
|
|
19
|
+
var __assign = function() {
|
|
20
|
+
__assign = Object.assign || function __assign(t) {
|
|
21
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
22
|
+
s = arguments[i];
|
|
23
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
24
|
+
}
|
|
25
|
+
return t;
|
|
26
|
+
};
|
|
27
|
+
return __assign.apply(this, arguments);
|
|
11
28
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
|
|
30
|
+
function DocsLogo(props) {
|
|
31
|
+
var color = props.color;
|
|
32
|
+
return (React.createElement(Svg, __assign({ viewBox: "0 0 20 20", fill: "none" }, props),
|
|
33
|
+
React.createElement(Path, { d: "M12.07 8a.157.157 0 01.166.015l5.374 4.141a.16.16 0 01.055.168l-.37 1.298a.157.157 0 01-.234.09l-4.416-2.768-.846 5.47a.157.157 0 01-.219.12l-1.158-.518a.157.157 0 01-.093-.154l.477-7.132a.157.157 0 01.085-.129L12.069 8z", fill: color || "#000" }),
|
|
34
|
+
React.createElement(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M9.584.02a.157.157 0 00-.157.001L.708 5.071l-.003.001a.157.157 0 00-.079.135V15.31c0 .056.03.108.079.136l1.71.984.004.003a.157.157 0 00.157 0l1.054-.61v1.183c0 .056.03.108.078.136l1.715.987a.157.157 0 00.156 0l.003-.002 2.024-1.172.91 2.934a.157.157 0 00.198.102l1.815-.594a.156.156 0 00.03-.013l8.732-4.666a.157.157 0 00.075-.186L16.06 4.258a.157.157 0 00-.205-.098l-1.473.529v-1.85a.157.157 0 00-.079-.135l-.002-.001-1.713-.986a.157.157 0 00-.156 0l-1.054.61V1.144a.157.157 0 00-.078-.136L9.584.02zM5.33 9.56l-.003-1.578-1.383-.805v9.74l1.4.806-.014-8.119a.156.156 0 010-.045zM.94 5.48l1.384.805.017 9.741-1.4-.806V5.48zm9.968-4.336l-1.4-.806-8.412 4.87 1.385.806 8.427-4.87zM5.483 7.71l8.427-4.87-1.4-.806-8.411 4.87 1.384.806zm5.09 11.313l-3.21-9.971 8.455-4.519 3.21 9.97-8.456 4.52zM5.678 9.678l3.09 9.967 1.514-.496-3.21-9.972-1.394.501z", fill: color || "#000" })));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function ExpoGoLogo(props) {
|
|
38
|
+
var color = props.color;
|
|
39
|
+
return (React.createElement(Svg, __assign({ viewBox: "0 0 20 20", fill: "none" }, props),
|
|
40
|
+
React.createElement(Path, { d: "M18.072 7.75a1.749 1.749 0 00-1.56-.732 1.763 1.763 0 00-1.436.946 1.55 1.55 0 00.302 1.75 2.57 2.57 0 001.716-.484 2.53 2.53 0 00.978-1.48zM12.866 1L11.751.394 6.897 3.072l.387.207.736.383 1.332-.733L12.867.987 12.866 1zm.449-.184a.173.173 0 01.124.115l1.626 4.755a.158.158 0 01-.077.207 3.126 3.126 0 00-1.384 1.519 3.09 3.09 0 00-.134 2.042 3.29 3.29 0 001.35 1.793 3.343 3.343 0 002.195.524.208.208 0 01.202.123l1.68 4.88a.196.196 0 01-.078.215l-5.163 2.992a.195.195 0 01-.078.015.208.208 0 01-.14-.022l-1.81-1.129a.18.18 0 01-.078-.076l-3.538-8.065-5.388 3.039a.25.25 0 01-.21.008l-1.224-.69a.177.177 0 01-.077-.23l5.234-9.847c.02-.033.05-.06.085-.076L11.65.023a.2.2 0 01.186 0l1.479.793zM6.843 3.46l-.256-.13-5.044 9.523.92.514 4.352-5.643a.212.212 0 01.178-.077.217.217 0 01.155.115l4.738 10.82 1.266.775L8.066 4.62l-.216-.614-1.014-.552.007.007zm7.804 5.679a1.932 1.932 0 01.092-1.28c.176-.404.484-.737.875-.945a2.152 2.152 0 012.509.307 1.934 1.934 0 01.056 2.745l-.056.056a2.118 2.118 0 01-1.986.516 2.118 2.118 0 01-.928-.508 2.091 2.091 0 01-.562-.891z", fill: color || "#000" })));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function Logo(props) {
|
|
44
|
+
var color = props.color;
|
|
45
|
+
return (React.createElement(Svg, __assign({ viewBox: "0 0 20 20", fill: "none" }, props),
|
|
46
|
+
React.createElement(Path, { d: "M9.477 7.638c.164-.24.343-.27.488-.27.145 0 .387.03.551.27 2.13 2.901 6.55 10.56 6.959 10.976.605.618 1.436.233 1.918-.468.475-.69.607-1.174.607-1.69 0-.352-6.883-13.05-7.576-14.106-.667-1.017-.884-1.274-2.025-1.274h-.854c-1.138 0-1.302.257-1.969 1.274C6.883 3.406 0 16.104 0 16.456c0 .517.132 1 .607 1.69.482.7 1.313 1.086 1.918.468.41-.417 4.822-8.075 6.952-10.977z", fill: color || "#000" })));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function SnackLogo(props) {
|
|
50
|
+
var color = props.color;
|
|
51
|
+
return (React.createElement(Svg, __assign({ viewBox: "0 0 20 20", fill: "none" }, props),
|
|
52
|
+
React.createElement(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M17.168 1.152a2.752 2.752 0 100 5.504 2.752 2.752 0 000-5.504zm-2.43 2.752a2.429 2.429 0 014.608-1.075 3.805 3.805 0 01-3.701 2.925h-.051a2.423 2.423 0 01-.855-1.85zm-1.755-1.422a.16.16 0 01.081.14v4.825L17.23 9.86c.05.029.081.082.082.14l.026 4.92a.16.16 0 01-.081.14l-8.52 4.92a.161.161 0 01-.242-.14V10c0-.057.03-.11.08-.14l4.006-2.319-4.005-2.32a.161.161 0 010-.28l4.246-2.458a.161.161 0 01.162 0zm3.845 7.517L13.064 7.82v4.36L16.828 10zM8.978 5.08l3.764 2.18V2.901l-3.763 2.18z", fill: color || "#000" }),
|
|
53
|
+
React.createElement(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M8.75.022a.161.161 0 00-.162 0l-4.242 2.46a.16.16 0 00-.019.01L.11 4.94l-.003.001a.161.161 0 00-.081.136v.004l-.013 4.994a.161.161 0 000 .125L0 14.92c0 .058.03.111.08.14l4.24 2.455.03.018 4.226 2.446a.161.161 0 00.242-.14v-9.746l4.166-2.412a.162.162 0 000-.28l-.081-.046V2.808l.08-.047a.162.162 0 000-.28L8.75.022zm3.828 2.597L8.67.35 4.74 2.626l3.917 2.267 3.922-2.275zM8.656 5.268L4.74 7.538l3.916 2.275L12.58 7.54 8.656 5.268zM4.419 7.352l3.915-2.27-3.916-2.268L.508 5.08 4.42 7.35zm-.165.277v4.692L.336 10.05l.012-4.69 3.906 2.268zm.323 4.879V7.817l3.918 2.275v4.685l-3.918-2.27zm-.323.186l-3.92-2.27-.01 4.403 3.93 2.276v-4.41zm.323 4.596v-4.41l3.918 2.27v4.408L4.577 17.29z", fill: color || "#000" })));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function WordMarkLogo(props) {
|
|
57
|
+
var color = props.color;
|
|
58
|
+
return (React.createElement(Svg, __assign({ viewBox: "0 0 71 20", fill: "none" }, props),
|
|
59
|
+
React.createElement(Path, { d: "M9.258 6.342c.158-.23.331-.26.472-.26.14 0 .374.03.532.26 2.06 2.806 6.332 10.208 6.727 10.611.585.597 1.388.225 1.854-.452.46-.667.587-1.135.587-1.634 0-.34-6.653-12.614-7.324-13.636C11.462.248 11.252 0 10.15 0h-.825c-1.1 0-1.259.248-1.903 1.23C6.75 2.254.097 14.528.097 14.868c0 .5.127.967.587 1.634.466.677 1.269 1.05 1.854.452.395-.403 4.661-7.805 6.72-10.61zm14.941-5.237v15.344h9.35v-3.113h-6.125v-3.244h5.45V6.98h-5.45V4.218h6.125V1.105h-9.35zM46.25 16.449l-3.88-5.568 3.619-5.195h-3.662L40.54 8.23l-1.765-2.543h-3.706l3.618 5.217-3.857 5.546h3.661l2.027-2.915 2.027 2.915h3.705zm7.572-10.982c-1.482 0-2.637.614-3.378 1.732V5.686H47.37V20h3.073v-5.063c.74 1.117 1.896 1.731 3.378 1.731 2.768 0 4.97-2.52 4.97-5.611 0-3.091-2.202-5.59-4.97-5.59zm-.697 8.242c-1.504 0-2.681-1.14-2.681-2.652 0-1.49 1.177-2.653 2.68-2.653 1.483 0 2.681 1.184 2.681 2.653 0 1.49-1.198 2.652-2.68 2.652zm12.188-8.242c-3.16 0-5.558 2.411-5.558 5.612 0 3.2 2.397 5.59 5.557 5.59 3.139 0 5.558-2.39 5.558-5.59 0-3.2-2.42-5.612-5.558-5.612zm0 2.96c1.438 0 2.55 1.117 2.55 2.652 0 1.49-1.112 2.63-2.55 2.63-1.46 0-2.55-1.14-2.55-2.63 0-1.535 1.09-2.653 2.55-2.653z", fill: color || "#000" })));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
var shadows = {
|
|
63
|
+
xs: {
|
|
64
|
+
elevation: 1,
|
|
65
|
+
shadowColor: '#000',
|
|
66
|
+
shadowRadius: 1,
|
|
67
|
+
shadowOffset: { height: 1, width: 0 },
|
|
68
|
+
shadowOpacity: 0.075
|
|
69
|
+
},
|
|
70
|
+
sm: {
|
|
71
|
+
elevation: 4,
|
|
72
|
+
shadowColor: '#000',
|
|
73
|
+
shadowRadius: 3,
|
|
74
|
+
shadowOffset: { height: 3, width: 0 },
|
|
75
|
+
shadowOpacity: 0.15
|
|
76
|
+
},
|
|
77
|
+
md: {
|
|
78
|
+
elevation: 8,
|
|
79
|
+
shadowColor: '#000',
|
|
80
|
+
shadowRadius: 8,
|
|
81
|
+
shadowOffset: { height: 6, width: 0 },
|
|
82
|
+
shadowOpacity: 0.15
|
|
83
|
+
},
|
|
84
|
+
lg: {
|
|
85
|
+
elevation: 16,
|
|
86
|
+
shadowColor: '#000',
|
|
87
|
+
shadowRadius: 10,
|
|
88
|
+
shadowOffset: { height: 10, width: 0 },
|
|
89
|
+
shadowOpacity: 0.17
|
|
90
|
+
},
|
|
91
|
+
xl: {
|
|
92
|
+
elevation: 28,
|
|
93
|
+
shadowColor: '#000',
|
|
94
|
+
shadowRadius: 25,
|
|
95
|
+
shadowOffset: { height: 16, width: 0 },
|
|
96
|
+
shadowOpacity: 0.2
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
var baseFontSize = 16;
|
|
101
|
+
var fontSizes = {
|
|
102
|
+
61: {
|
|
103
|
+
fontSize: 61,
|
|
104
|
+
lineHeight: 73,
|
|
105
|
+
letterSpacing: -0.022 * baseFontSize
|
|
106
|
+
},
|
|
107
|
+
53: {
|
|
108
|
+
fontSize: 53,
|
|
109
|
+
lineHeight: 64,
|
|
110
|
+
letterSpacing: -0.022 * baseFontSize
|
|
111
|
+
},
|
|
112
|
+
49: {
|
|
113
|
+
fontSize: 49,
|
|
114
|
+
lineHeight: 59,
|
|
115
|
+
letterSpacing: -0.022 * baseFontSize
|
|
116
|
+
},
|
|
117
|
+
46: {
|
|
118
|
+
fontSize: 46,
|
|
119
|
+
lineHeight: 55,
|
|
120
|
+
letterSpacing: -0.022 * baseFontSize
|
|
121
|
+
},
|
|
122
|
+
43: {
|
|
123
|
+
fontSize: 43,
|
|
124
|
+
lineHeight: 52,
|
|
125
|
+
letterSpacing: -0.022 * baseFontSize
|
|
126
|
+
},
|
|
127
|
+
39: {
|
|
128
|
+
fontSize: 39,
|
|
129
|
+
lineHeight: 51,
|
|
130
|
+
letterSpacing: -0.022 * baseFontSize
|
|
131
|
+
},
|
|
132
|
+
37: {
|
|
133
|
+
fontSize: 37,
|
|
134
|
+
lineHeight: 48,
|
|
135
|
+
letterSpacing: -0.022 * baseFontSize
|
|
136
|
+
},
|
|
137
|
+
34: {
|
|
138
|
+
fontSize: 34,
|
|
139
|
+
lineHeight: 44,
|
|
140
|
+
letterSpacing: -0.022 * baseFontSize
|
|
141
|
+
},
|
|
142
|
+
31: {
|
|
143
|
+
fontSize: 31,
|
|
144
|
+
lineHeight: 40,
|
|
145
|
+
letterSpacing: -0.021 * baseFontSize
|
|
146
|
+
},
|
|
147
|
+
29: {
|
|
148
|
+
fontSize: 29,
|
|
149
|
+
lineHeight: 38,
|
|
150
|
+
letterSpacing: -0.021 * baseFontSize
|
|
151
|
+
},
|
|
152
|
+
27: {
|
|
153
|
+
fontSize: 27,
|
|
154
|
+
lineHeight: 36,
|
|
155
|
+
letterSpacing: -0.021 * baseFontSize
|
|
156
|
+
},
|
|
157
|
+
25: {
|
|
158
|
+
fontSize: 25,
|
|
159
|
+
lineHeight: 35,
|
|
160
|
+
letterSpacing: -0.021 * baseFontSize
|
|
161
|
+
},
|
|
162
|
+
23: {
|
|
163
|
+
fontSize: 23,
|
|
164
|
+
lineHeight: 32,
|
|
165
|
+
letterSpacing: -0.019 * baseFontSize
|
|
166
|
+
},
|
|
167
|
+
22: {
|
|
168
|
+
fontSize: 22,
|
|
169
|
+
lineHeight: 31,
|
|
170
|
+
letterSpacing: -0.018 * baseFontSize
|
|
171
|
+
},
|
|
172
|
+
20: {
|
|
173
|
+
fontSize: 20,
|
|
174
|
+
lineHeight: 30,
|
|
175
|
+
letterSpacing: -0.017 * baseFontSize
|
|
176
|
+
},
|
|
177
|
+
19: {
|
|
178
|
+
fontSize: 19,
|
|
179
|
+
lineHeight: 29,
|
|
180
|
+
letterSpacing: -0.015 * baseFontSize
|
|
181
|
+
},
|
|
182
|
+
18: {
|
|
183
|
+
fontSize: 18,
|
|
184
|
+
lineHeight: 28,
|
|
185
|
+
letterSpacing: -0.014 * baseFontSize
|
|
186
|
+
},
|
|
187
|
+
16: {
|
|
188
|
+
fontSize: 16,
|
|
189
|
+
lineHeight: 26,
|
|
190
|
+
letterSpacing: -0.011 * baseFontSize
|
|
191
|
+
},
|
|
192
|
+
15: {
|
|
193
|
+
fontSize: 15,
|
|
194
|
+
lineHeight: 24,
|
|
195
|
+
letterSpacing: -0.009 * baseFontSize
|
|
196
|
+
},
|
|
197
|
+
14: {
|
|
198
|
+
fontSize: 14,
|
|
199
|
+
lineHeight: 22,
|
|
200
|
+
letterSpacing: -0.006 * baseFontSize
|
|
201
|
+
},
|
|
202
|
+
13: {
|
|
203
|
+
fontSize: 13,
|
|
204
|
+
lineHeight: 21,
|
|
205
|
+
letterSpacing: -0.003 * baseFontSize
|
|
206
|
+
},
|
|
207
|
+
12: {
|
|
208
|
+
fontSize: 12,
|
|
209
|
+
lineHeight: 19
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
var headers = {
|
|
213
|
+
xl: {
|
|
214
|
+
large: {
|
|
215
|
+
huge: __assign({ fontWeight: '900' }, fontSizes[61]),
|
|
216
|
+
h1: __assign({ fontWeight: '600' }, fontSizes[49]),
|
|
217
|
+
h2: __assign({ fontWeight: '600' }, fontSizes[39]),
|
|
218
|
+
h3: __assign({ fontWeight: '600' }, fontSizes[31]),
|
|
219
|
+
h4: __assign({ fontWeight: '600' }, fontSizes[25]),
|
|
220
|
+
h5: __assign({ fontWeight: '600' }, fontSizes[20]),
|
|
221
|
+
h6: __assign({ fontWeight: '600' }, fontSizes[16])
|
|
222
|
+
},
|
|
223
|
+
medium: {
|
|
224
|
+
huge: __assign({ fontWeight: '900' }, fontSizes[53]),
|
|
225
|
+
h1: __assign({ fontWeight: '600' }, fontSizes[43]),
|
|
226
|
+
h2: __assign({ fontWeight: '600' }, fontSizes[34]),
|
|
227
|
+
h3: __assign({ fontWeight: '600' }, fontSizes[27]),
|
|
228
|
+
h4: __assign({ fontWeight: '600' }, fontSizes[22]),
|
|
229
|
+
h5: __assign({ fontWeight: '600' }, fontSizes[18]),
|
|
230
|
+
h6: __assign({ fontWeight: '600' }, fontSizes[16])
|
|
231
|
+
},
|
|
232
|
+
small: {
|
|
233
|
+
huge: __assign({ fontWeight: '900' }, fontSizes[46]),
|
|
234
|
+
h1: __assign({ fontWeight: '600' }, fontSizes[37]),
|
|
235
|
+
h2: __assign({ fontWeight: '600' }, fontSizes[29]),
|
|
236
|
+
h3: __assign({ fontWeight: '600' }, fontSizes[23]),
|
|
237
|
+
h4: __assign({ fontWeight: '600' }, fontSizes[19]),
|
|
238
|
+
h5: __assign({ fontWeight: '600' }, fontSizes[16]),
|
|
239
|
+
h6: __assign({ fontWeight: '600' }, fontSizes[16])
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"default": {
|
|
243
|
+
large: {
|
|
244
|
+
huge: __assign({ fontWeight: '900' }, fontSizes[39]),
|
|
245
|
+
h1: __assign({ fontWeight: '600' }, fontSizes[31]),
|
|
246
|
+
h2: __assign({ fontWeight: '600' }, fontSizes[25]),
|
|
247
|
+
h3: __assign({ fontWeight: '600' }, fontSizes[20]),
|
|
248
|
+
h4: __assign({ fontWeight: '600' }, fontSizes[16]),
|
|
249
|
+
h5: __assign({ fontWeight: '600' }, fontSizes[13]),
|
|
250
|
+
h6: __assign({ fontWeight: '600' }, fontSizes[12])
|
|
251
|
+
},
|
|
252
|
+
medium: {
|
|
253
|
+
huge: __assign({ fontWeight: '900' }, fontSizes[34]),
|
|
254
|
+
h1: __assign({ fontWeight: '600' }, fontSizes[27]),
|
|
255
|
+
h2: __assign({ fontWeight: '600' }, fontSizes[22]),
|
|
256
|
+
h3: __assign({ fontWeight: '600' }, fontSizes[18]),
|
|
257
|
+
h4: __assign({ fontWeight: '600' }, fontSizes[16]),
|
|
258
|
+
h5: __assign({ fontWeight: '600' }, fontSizes[13]),
|
|
259
|
+
h6: __assign({ fontWeight: '600' }, fontSizes[12])
|
|
260
|
+
},
|
|
261
|
+
small: {
|
|
262
|
+
huge: __assign({ fontWeight: '900' }, fontSizes[29]),
|
|
263
|
+
h1: __assign({ fontWeight: '600' }, fontSizes[23]),
|
|
264
|
+
h2: __assign({ fontWeight: '600' }, fontSizes[19]),
|
|
265
|
+
h3: __assign({ fontWeight: '600' }, fontSizes[16]),
|
|
266
|
+
h4: __assign({ fontWeight: '600' }, fontSizes[16]),
|
|
267
|
+
h5: __assign({ fontWeight: '600' }, fontSizes[13]),
|
|
268
|
+
h6: __assign({ fontWeight: '600' }, fontSizes[12])
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
var baseStyle = __assign({ fontWeight: '400' }, fontSizes[16]);
|
|
273
|
+
var body = {
|
|
274
|
+
headline: __assign({ fontWeight: '500' }, fontSizes[16]),
|
|
275
|
+
paragraph: baseStyle,
|
|
276
|
+
label: __assign({ fontWeight: '500' }, fontSizes[15]),
|
|
277
|
+
callout: __assign({ fontWeight: '400' }, fontSizes[14]),
|
|
278
|
+
footnote: __assign({ fontWeight: '400' }, fontSizes[13]),
|
|
279
|
+
caption: __assign({ fontWeight: '400' }, fontSizes[12]),
|
|
280
|
+
code: __assign({ fontWeight: '400' }, fontSizes[13])
|
|
281
|
+
};
|
|
282
|
+
var typography = {
|
|
283
|
+
baseFontSize: baseFontSize,
|
|
284
|
+
headers: headers,
|
|
285
|
+
body: body,
|
|
286
|
+
fontSizes: fontSizes
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
export { DocsLogo, ExpoGoLogo, Logo, SnackLogo, WordMarkLogo, shadows, typography };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/styleguide-native",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "7.0.0-alpha.0",
|
|
4
|
+
"description": "Expo's React Native styleguide components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"clean": "rimraf
|
|
9
|
-
"
|
|
10
|
-
"build
|
|
11
|
-
"
|
|
12
|
-
"dev": "yarn tsc --watch"
|
|
8
|
+
"clean": "rimraf dist",
|
|
9
|
+
"bundle": "rollup --config",
|
|
10
|
+
"build": "run-s clean bundle",
|
|
11
|
+
"dev": "rollup --config --watch"
|
|
13
12
|
},
|
|
14
13
|
"files": [
|
|
15
14
|
"dist"
|
|
16
15
|
],
|
|
17
|
-
"keywords": [
|
|
18
|
-
"expo"
|
|
19
|
-
],
|
|
20
16
|
"author": "Jon Samp",
|
|
21
17
|
"license": "MIT",
|
|
22
18
|
"homepage": "https://github.com/expo/styleguide",
|
|
@@ -26,18 +22,18 @@
|
|
|
26
22
|
"directory": "packages/styleguide-native"
|
|
27
23
|
},
|
|
28
24
|
"devDependencies": {
|
|
29
|
-
"@
|
|
25
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
26
|
+
"@svgr/cli": "^6.5.1",
|
|
30
27
|
"@types/react": "^17.0.6",
|
|
28
|
+
"npm-run-all": "^4.1.5",
|
|
31
29
|
"react-native-svg": "^12.1.1",
|
|
32
|
-
"rimraf": "^
|
|
33
|
-
"
|
|
30
|
+
"rimraf": "^4.1.2",
|
|
31
|
+
"rollup": "^3.15.0",
|
|
32
|
+
"typescript": "^4.9.5"
|
|
34
33
|
},
|
|
35
34
|
"peerDependencies": {
|
|
36
35
|
"react": "*",
|
|
37
36
|
"react-native-svg": "*"
|
|
38
37
|
},
|
|
39
|
-
"gitHead": "
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"@radix-ui/colors": "^0.1.8"
|
|
42
|
-
}
|
|
38
|
+
"gitHead": "8d0008658bbe60cde729660ca15cfc7aa6fd1373"
|
|
43
39
|
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
const react_1 = __importDefault(require("react"));
|
|
26
|
-
const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
27
|
-
function ActivityIcon(props) {
|
|
28
|
-
const { size, color, width, height } = props;
|
|
29
|
-
return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
|
|
30
|
-
react_1.default.createElement(react_native_svg_1.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M13.706.163c.342.24.479.683.332 1.077L11.69 7.52l5.638 1.53a.922.922 0 01.363 1.573l-10.286 9.15a.896.896 0 01-1.112.064.922.922 0 01-.332-1.077l2.347-6.28-5.638-1.53a.91.91 0 01-.647-.676.923.923 0 01.284-.896L12.594.228a.896.896 0 011.112-.065zM4.772 9.624l4.97 1.348a.907.907 0 01.572.467c.116.23.131.5.04.742L8.94 15.97l6.289-5.594-4.97-1.348a.907.907 0 01-.572-.467.926.926 0 01-.04-.742L11.06 4.03 4.772 9.624z", fill: color || "#000" })));
|
|
31
|
-
}
|
|
32
|
-
exports.default = ActivityIcon;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
const react_1 = __importDefault(require("react"));
|
|
26
|
-
const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
27
|
-
function AddPhotoIcon(props) {
|
|
28
|
-
const { size, color, width, height } = props;
|
|
29
|
-
return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
|
|
30
|
-
react_1.default.createElement(react_native_svg_1.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M17.25 1.75a.75.75 0 00-1.5 0v2h-2a.75.75 0 000 1.5h2v2a.75.75 0 001.5 0v-2h2a.75.75 0 000-1.5h-2v-2zM4.152 5.673L3.692 7H2a2 2 0 00-2 2v8a2 2 0 002 2h11a2 2 0 002-2V9a2 2 0 00-2-2h-1.692l-.46-1.327A1 1 0 009.903 5H5.097a1 1 0 00-.945.673zM7.5 15.5a3 3 0 100-6 3 3 0 000 6z", fill: color || "#000" })));
|
|
31
|
-
}
|
|
32
|
-
exports.default = AddPhotoIcon;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
const react_1 = __importDefault(require("react"));
|
|
26
|
-
const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
27
|
-
function AndroidIcon(props) {
|
|
28
|
-
const { size, color, width, height } = props;
|
|
29
|
-
return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
|
|
30
|
-
react_1.default.createElement(react_native_svg_1.Path, { d: "M14.219 12.325a.766.766 0 010-1.532.765.765 0 010 1.532zm-8.438 0a.766.766 0 010-1.532.765.765 0 010 1.532zm8.712-4.613l1.525-2.651a.317.317 0 10-.55-.318l-1.544 2.684A9.393 9.393 0 0010 6.585a9.393 9.393 0 00-3.924.842L4.531 4.742a.317.317 0 10-.55.319l1.526 2.65c-2.62 1.43-4.412 4.091-4.674 7.235h18.334c-.263-3.144-2.055-5.805-4.674-7.234z", fill: color || "#000" })));
|
|
31
|
-
}
|
|
32
|
-
exports.default = AndroidIcon;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
const react_1 = __importDefault(require("react"));
|
|
26
|
-
const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
27
|
-
function AppleAppStoreIcon(props) {
|
|
28
|
-
const { size, color, width, height } = props;
|
|
29
|
-
return (react_1.default.createElement(react_native_svg_1.default, Object.assign({ viewBox: "0 0 20 20", fill: "none", width: size || width || 20, height: size || height || 20 }, props),
|
|
30
|
-
react_1.default.createElement(react_native_svg_1.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M13.03 3.202a1.6 1.6 0 10-2.77-1.604L2.779 14.522h3.698l6.554-11.32zm-7.498 12.95c-.681-.584-1.417-1.13-2.053-1.156-.928-.037-1.237.446-1.47.88l-.008-.01-.54.932a1.6 1.6 0 102.769 1.604l1.302-2.25z", fill: color || "#000" }),
|
|
31
|
-
react_1.default.createElement(react_native_svg_1.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M9.718 11.322c.687.008 1.394.077 1.833.727.482.714.519 1.632.337 2.473H1.6a1.6 1.6 0 010-3.2h8.118zm3.959 3.2H18.4a1.6 1.6 0 000-3.2h-6.587l1.864 3.2z", fill: color || "#000" }),
|
|
32
|
-
react_1.default.createElement(react_native_svg_1.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M7.047 3.202a1.6 1.6 0 012.77-1.604l2.053 3.547-1.901 3.102-2.922-5.045zm4.25 7.338l4.55 7.862a1.6 1.6 0 002.77-1.604L12.456 6.157c-.395.052-.75.283-1.025.831-.784 1.569-.433 2.899-.132 3.553h-.003z", fill: color || "#000" })));
|
|
33
|
-
}
|
|
34
|
-
exports.default = AppleAppStoreIcon;
|