@proulr/sdui-components 0.1.44 → 0.1.45
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/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet, Text, View } from 'react-native';
|
|
3
3
|
import QRCode from 'react-native-qrcode-svg';
|
|
4
|
-
import brandMarkAsset from '../assets/proulr-brand-mark.png';
|
|
5
4
|
import { gradients, m3Colors, m3Shape, m3Type, spacing } from '../theme/proulr-theme';
|
|
6
5
|
import { resolveViewStyleProps } from '../theme/resolve-style-props';
|
|
7
6
|
import type { SduiBlockRenderProps } from './SduiPrimitiveBlocks';
|
|
8
7
|
|
|
8
|
+
// `require` (padrão RN para assets estáticos) — import ESM de .png exigiria um
|
|
9
|
+
// ambient d.ts que consumers compilando o source em node_modules não enxergam.
|
|
10
|
+
const brandMarkAsset = require('../assets/proulr-brand-mark.png') as number;
|
|
11
|
+
|
|
9
12
|
/**
|
|
10
13
|
* Nametag de QR estilo "cartão de convite" (ref. Instagram): cartão claro
|
|
11
14
|
* (inverseSurface) com QR customizado da marca — módulos no gradiente Proulr
|