@innspel/react-native 0.4.1 → 0.5.1
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/README.md +13 -3
- package/dist/index.cjs +418 -373
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.js +428 -383
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
package/dist/index.d.cts
CHANGED
|
@@ -55,7 +55,7 @@ type CaptureRefFn = (ref: RefObject<ViewRef | null> | ViewRef, options: {
|
|
|
55
55
|
declare function createScreenshotAdapter(captureRef: CaptureRefFn): ScreenshotAdapter;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* tokens.ts — GENERERT fra theme/theme.ts (avtrykk
|
|
58
|
+
* tokens.ts — GENERERT fra theme/theme.ts (avtrykk 9c17bc0e5f8c).
|
|
59
59
|
* Rediger aldri denne filen. Endre temaet i kilden og kjør
|
|
60
60
|
* `node scripts/generate-tokens.ts`, som CI verifiserer med `--check`.
|
|
61
61
|
*
|
|
@@ -125,6 +125,7 @@ declare const t: {
|
|
|
125
125
|
readonly pill: 999;
|
|
126
126
|
};
|
|
127
127
|
readonly font: {
|
|
128
|
+
readonly display: 40;
|
|
128
129
|
readonly h1: 24;
|
|
129
130
|
readonly h2: 21;
|
|
130
131
|
readonly h3: 18;
|
|
@@ -133,6 +134,7 @@ declare const t: {
|
|
|
133
134
|
readonly tiny: 11;
|
|
134
135
|
};
|
|
135
136
|
readonly lineHeight: {
|
|
137
|
+
readonly display: 48;
|
|
136
138
|
readonly h1: 30;
|
|
137
139
|
readonly h2: 27;
|
|
138
140
|
readonly h3: 24;
|
|
@@ -151,6 +153,10 @@ declare const t: {
|
|
|
151
153
|
readonly base: 200;
|
|
152
154
|
readonly slow: 320;
|
|
153
155
|
};
|
|
156
|
+
readonly icon: {
|
|
157
|
+
readonly inline: 20;
|
|
158
|
+
readonly minste: 16;
|
|
159
|
+
};
|
|
154
160
|
readonly touch: 48;
|
|
155
161
|
readonly screenPadding: 24;
|
|
156
162
|
readonly hairline: 1;
|
|
@@ -210,6 +216,7 @@ declare const light: {
|
|
|
210
216
|
readonly pill: 999;
|
|
211
217
|
};
|
|
212
218
|
readonly font: {
|
|
219
|
+
readonly display: 40;
|
|
213
220
|
readonly h1: 24;
|
|
214
221
|
readonly h2: 21;
|
|
215
222
|
readonly h3: 18;
|
|
@@ -218,6 +225,7 @@ declare const light: {
|
|
|
218
225
|
readonly tiny: 11;
|
|
219
226
|
};
|
|
220
227
|
readonly lineHeight: {
|
|
228
|
+
readonly display: 48;
|
|
221
229
|
readonly h1: 30;
|
|
222
230
|
readonly h2: 27;
|
|
223
231
|
readonly h3: 24;
|
|
@@ -236,6 +244,10 @@ declare const light: {
|
|
|
236
244
|
readonly base: 200;
|
|
237
245
|
readonly slow: 320;
|
|
238
246
|
};
|
|
247
|
+
readonly icon: {
|
|
248
|
+
readonly inline: 20;
|
|
249
|
+
readonly minste: 16;
|
|
250
|
+
};
|
|
239
251
|
readonly touch: 48;
|
|
240
252
|
readonly screenPadding: 24;
|
|
241
253
|
readonly hairline: 1;
|
|
@@ -483,7 +495,13 @@ declare const tekst: {
|
|
|
483
495
|
readonly omvei: "Omvei:";
|
|
484
496
|
readonly rettesI: (versjon: string) => string;
|
|
485
497
|
readonly rettetI: (versjon: string) => string;
|
|
486
|
-
|
|
498
|
+
/**
|
|
499
|
+
* «Ditt innspill», ikke «Din feil» (DD-54). «Din» festet saken til personen, og
|
|
500
|
+
* «feil» karakteriserte den før noen hadde lest den — innsenderen leste det som
|
|
501
|
+
* skyld. Ønskesporet beholder «Ditt ønske»: et ønske er ingen feil, og der finnes
|
|
502
|
+
* ikke problemet. De to står aldri ved siden av hverandre; sporet velges før dette.
|
|
503
|
+
*/
|
|
504
|
+
readonly feltLabelFeil: "Ditt innspill";
|
|
487
505
|
readonly feltLabelOnske: "Ditt ønske";
|
|
488
506
|
/** DD-45: to spørsmål i feilsporet. Kilde: Sentry «What's the bug? What did you expect?» */
|
|
489
507
|
readonly placeholderFeil: "Hva skjedde? Hva forventet du?";
|
package/dist/index.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ type CaptureRefFn = (ref: RefObject<ViewRef | null> | ViewRef, options: {
|
|
|
55
55
|
declare function createScreenshotAdapter(captureRef: CaptureRefFn): ScreenshotAdapter;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* tokens.ts — GENERERT fra theme/theme.ts (avtrykk
|
|
58
|
+
* tokens.ts — GENERERT fra theme/theme.ts (avtrykk 9c17bc0e5f8c).
|
|
59
59
|
* Rediger aldri denne filen. Endre temaet i kilden og kjør
|
|
60
60
|
* `node scripts/generate-tokens.ts`, som CI verifiserer med `--check`.
|
|
61
61
|
*
|
|
@@ -125,6 +125,7 @@ declare const t: {
|
|
|
125
125
|
readonly pill: 999;
|
|
126
126
|
};
|
|
127
127
|
readonly font: {
|
|
128
|
+
readonly display: 40;
|
|
128
129
|
readonly h1: 24;
|
|
129
130
|
readonly h2: 21;
|
|
130
131
|
readonly h3: 18;
|
|
@@ -133,6 +134,7 @@ declare const t: {
|
|
|
133
134
|
readonly tiny: 11;
|
|
134
135
|
};
|
|
135
136
|
readonly lineHeight: {
|
|
137
|
+
readonly display: 48;
|
|
136
138
|
readonly h1: 30;
|
|
137
139
|
readonly h2: 27;
|
|
138
140
|
readonly h3: 24;
|
|
@@ -151,6 +153,10 @@ declare const t: {
|
|
|
151
153
|
readonly base: 200;
|
|
152
154
|
readonly slow: 320;
|
|
153
155
|
};
|
|
156
|
+
readonly icon: {
|
|
157
|
+
readonly inline: 20;
|
|
158
|
+
readonly minste: 16;
|
|
159
|
+
};
|
|
154
160
|
readonly touch: 48;
|
|
155
161
|
readonly screenPadding: 24;
|
|
156
162
|
readonly hairline: 1;
|
|
@@ -210,6 +216,7 @@ declare const light: {
|
|
|
210
216
|
readonly pill: 999;
|
|
211
217
|
};
|
|
212
218
|
readonly font: {
|
|
219
|
+
readonly display: 40;
|
|
213
220
|
readonly h1: 24;
|
|
214
221
|
readonly h2: 21;
|
|
215
222
|
readonly h3: 18;
|
|
@@ -218,6 +225,7 @@ declare const light: {
|
|
|
218
225
|
readonly tiny: 11;
|
|
219
226
|
};
|
|
220
227
|
readonly lineHeight: {
|
|
228
|
+
readonly display: 48;
|
|
221
229
|
readonly h1: 30;
|
|
222
230
|
readonly h2: 27;
|
|
223
231
|
readonly h3: 24;
|
|
@@ -236,6 +244,10 @@ declare const light: {
|
|
|
236
244
|
readonly base: 200;
|
|
237
245
|
readonly slow: 320;
|
|
238
246
|
};
|
|
247
|
+
readonly icon: {
|
|
248
|
+
readonly inline: 20;
|
|
249
|
+
readonly minste: 16;
|
|
250
|
+
};
|
|
239
251
|
readonly touch: 48;
|
|
240
252
|
readonly screenPadding: 24;
|
|
241
253
|
readonly hairline: 1;
|
|
@@ -483,7 +495,13 @@ declare const tekst: {
|
|
|
483
495
|
readonly omvei: "Omvei:";
|
|
484
496
|
readonly rettesI: (versjon: string) => string;
|
|
485
497
|
readonly rettetI: (versjon: string) => string;
|
|
486
|
-
|
|
498
|
+
/**
|
|
499
|
+
* «Ditt innspill», ikke «Din feil» (DD-54). «Din» festet saken til personen, og
|
|
500
|
+
* «feil» karakteriserte den før noen hadde lest den — innsenderen leste det som
|
|
501
|
+
* skyld. Ønskesporet beholder «Ditt ønske»: et ønske er ingen feil, og der finnes
|
|
502
|
+
* ikke problemet. De to står aldri ved siden av hverandre; sporet velges før dette.
|
|
503
|
+
*/
|
|
504
|
+
readonly feltLabelFeil: "Ditt innspill";
|
|
487
505
|
readonly feltLabelOnske: "Ditt ønske";
|
|
488
506
|
/** DD-45: to spørsmål i feilsporet. Kilde: Sentry «What's the bug? What did you expect?» */
|
|
489
507
|
readonly placeholderFeil: "Hva skjedde? Hva forventet du?";
|