@compsych-ui-components/react-native 8.0.11
“ComPsych React Native Design System — components, icons, tokens, and theming”
Font path loaded as a code moduleSource file under src
SHA-256ac0e9cf030f5a768633394c987e9f15084eaa543d0cdf4b3b1ecb737d1c37c02
MaleculeO(As)H(Cm)Md(Pa)
Evidence
23:21… ans_500Medium',
24 semibold: 'GoogleSans_600SemiBold'
25};
26const VARIANT_TOKEN_KEY = {
27 large: 'bodyLarge',
28 medium: 'bodyMedium',
29 small: 'bodySmall',
30 labelLarge: 'labelLarge',
31 labelMedium: 'lab …
35:42… useTheme)();
36 const [fontsLoaded] = (0, _expofont.useFonts)({
37 GoogleSans_400Regular: require('../../fonts/GoogleSans_400Regular.ttf'),
38 GoogleSans_500Medium: require('../../fonts/GoogleSans_500Medium.ttf'),
39 GoogleSans_600SemiBold: require('../../fonts/GoogleSans_600SemiBold.ttf')
40 });
41 const token = ts[VARIANT_TOKEN_KEY[variant]];
42 const weight = emphasized ? token.sysFontWeightEmphasized : token.sysFontWeight;
43 return /*#__PURE__*/ (0, _jsxruntime.jsx)(_ …
39:31… = Object.defineProperty && Object.getOwnPropertyDescriptor;
40 for(var key in obj){
41 if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
42 var desc = hasPropertyDescripto …
43:3… if (desc && (desc.get || desc.set)) {
44 Object.defineProperty(newObj, key, desc);
45 } else {
46 newObj[key] = obj[key];
⋯10 lines
194:82… x 16px
195 // rgba(0,0,0,0.10)) and fall back to elevation: 2 on Android.
196 ...variant === 'elevated' ? {
197 shadowColor: '#000',
198 shadowOffset: {
199 width: 0,
200 height: 4
201 },
202 shadowOpacity: 0.1,
203 …
Showing the top 5 files — 1 more file (14 regions) not shown.
No evidence locations were recorded for this file. Raw result