@alveole/components 0.35.3 → 0.36.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/dist/generated/version.d.ts +2 -0
- package/dist/generated/version.d.ts.map +1 -0
- package/dist/generated/version.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/ui/Badge/Badge.d.ts +2 -1
- package/dist/ui/Badge/Badge.d.ts.map +1 -1
- package/dist/ui/Badge/Badge.js +3 -2
- package/dist/ui/DocumentViewer/DocumentViewerPDF.web.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewerPDF.web.js +9 -2
- package/dist/ui/LucideIcon/LucideIcon.props.d.ts +12 -2
- package/dist/ui/LucideIcon/LucideIcon.props.d.ts.map +1 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.d.ts +6 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.d.ts.map +1 -1
- package/package.json +33 -16
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/generated/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,QAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const ALVEOLE_COMPONENTS_VERSION = "0.36.0";
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,cAAc,QAAQ,CAAC;AACvB,cAAc,MAAM,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/ui/Badge/Badge.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TypographyProps } from '../../core/Typography';
|
|
2
|
+
import { LucideIconProps } from '../LucideIcon';
|
|
2
3
|
export type BadgeProps = TypographyProps & {
|
|
3
4
|
variant: 'default' | 'info' | 'success' | 'error' | 'new' | 'warning';
|
|
4
5
|
size: 'sm' | 'md';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/ui/Badge/Badge.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/ui/Badge/Badge.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAG5D,MAAM,MAAM,UAAU,GAAG,eAAe,GAAG;IACzC,OAAO,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,SAAS,CAAC;IACtE,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AACF,eAAO,MAAM,KAAK,GAAI,OAAO,UAAU,4CAoCtC,CAAC"}
|
package/dist/ui/Badge/Badge.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Box } from '../../core/Box';
|
|
3
|
+
import { Typography } from '../../core/Typography';
|
|
4
|
+
import { LucideIcon } from '../LucideIcon';
|
|
4
5
|
import { useStyles } from './Badge.styles';
|
|
5
6
|
export const Badge = (props) => {
|
|
6
7
|
const { variant, style, size, icon, ...badgeProps } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentViewerPDF.web.d.ts","sourceRoot":"","sources":["../../../src/ui/DocumentViewer/DocumentViewerPDF.web.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAG1D,KAAK,oBAAoB,GAAG;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;QACjC,WAAW,EAAE,CAAC,OAAO,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,sBAAsB,CAAA;SAAE,KAAK;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;QACjH,MAAM,EAAE,CAAC,OAAO,EAAE;YAChB,aAAa,EAAE,wBAAwB,CAAC;YACxC,QAAQ,EAAE;gBAAE,KAAK,EAAE,MAAM,CAAC;gBAAC,MAAM,EAAE,MAAM,CAAA;aAAE,CAAC;YAC5C,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;SAC9D,KAAK;YAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;SAAE,GAAG,IAAI,CAAC;QAC7D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;KACtB,CAAC,CAAC;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAUF,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAA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EAAE,MAAM,CAAC;CAClB,CAAC;AAUF,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC5B,QAAQ,EAAE,sBAAsB,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACjD,CAAC;AA6CF,eAAO,MAAM,iBAAiB,GAAI,OAAO,sBAAsB,4CAsK9D,CAAC"}
|
|
@@ -9,6 +9,13 @@ const isPdfCancellationError = (error) => {
|
|
|
9
9
|
error.message.includes('Worker was terminated') ||
|
|
10
10
|
error.message.includes("Cannot read properties of null (reading 'sendWithPromise')"));
|
|
11
11
|
};
|
|
12
|
+
const getPdfJsAssetUrl = (filename) => {
|
|
13
|
+
const expoScript = document.querySelector('script[src*="/_expo/"]');
|
|
14
|
+
const scriptUrl = expoScript?.src ? new URL(expoScript.src, window.location.href) : null;
|
|
15
|
+
const basePath = scriptUrl?.pathname.split('/_expo/')[0] ?? '';
|
|
16
|
+
const normalizedBasePath = basePath === '/' ? '' : basePath;
|
|
17
|
+
return `${window.location.origin}${normalizedBasePath}/${filename}`;
|
|
18
|
+
};
|
|
12
19
|
const loadPdfJs = (() => {
|
|
13
20
|
let promise = null;
|
|
14
21
|
return () => {
|
|
@@ -18,9 +25,9 @@ const loadPdfJs = (() => {
|
|
|
18
25
|
if (promise)
|
|
19
26
|
return promise;
|
|
20
27
|
const dynamicImport = new Function('url', 'return import(url);');
|
|
21
|
-
promise = dynamicImport('
|
|
28
|
+
promise = dynamicImport(getPdfJsAssetUrl('pdf.min.mjs')).then(module => {
|
|
22
29
|
const pdfjs = (module.default ?? module);
|
|
23
|
-
pdfjs.GlobalWorkerOptions.workerSrc =
|
|
30
|
+
pdfjs.GlobalWorkerOptions.workerSrc = getPdfJsAssetUrl('pdf.worker.min.mjs');
|
|
24
31
|
return pdfjs;
|
|
25
32
|
});
|
|
26
33
|
return promise;
|
|
@@ -177,6 +177,7 @@ declare const PublicPropsSchema: z.ZodObject<{
|
|
|
177
177
|
Beer: "Beer";
|
|
178
178
|
BeerOff: "BeerOff";
|
|
179
179
|
Bell: "Bell";
|
|
180
|
+
BellCheck: "BellCheck";
|
|
180
181
|
BellDot: "BellDot";
|
|
181
182
|
BellElectric: "BellElectric";
|
|
182
183
|
BellMinus: "BellMinus";
|
|
@@ -235,6 +236,7 @@ declare const PublicPropsSchema: z.ZodObject<{
|
|
|
235
236
|
Bookmark: "Bookmark";
|
|
236
237
|
BookmarkCheck: "BookmarkCheck";
|
|
237
238
|
BookmarkMinus: "BookmarkMinus";
|
|
239
|
+
BookmarkOff: "BookmarkOff";
|
|
238
240
|
BookmarkPlus: "BookmarkPlus";
|
|
239
241
|
BookmarkX: "BookmarkX";
|
|
240
242
|
BoomBox: "BoomBox";
|
|
@@ -816,6 +818,7 @@ declare const PublicPropsSchema: z.ZodObject<{
|
|
|
816
818
|
HeartOff: "HeartOff";
|
|
817
819
|
HeartPlus: "HeartPlus";
|
|
818
820
|
HeartPulse: "HeartPulse";
|
|
821
|
+
HeartX: "HeartX";
|
|
819
822
|
Heater: "Heater";
|
|
820
823
|
Helicopter: "Helicopter";
|
|
821
824
|
Hexagon: "Hexagon";
|
|
@@ -880,6 +883,7 @@ declare const PublicPropsSchema: z.ZodObject<{
|
|
|
880
883
|
Laugh: "Laugh";
|
|
881
884
|
Layers: "Layers";
|
|
882
885
|
Layers2: "Layers2";
|
|
886
|
+
LayersMinus: "LayersMinus";
|
|
883
887
|
LayersPlus: "LayersPlus";
|
|
884
888
|
LayoutDashboard: "LayoutDashboard";
|
|
885
889
|
LayoutGrid: "LayoutGrid";
|
|
@@ -1423,6 +1427,7 @@ declare const PublicPropsSchema: z.ZodObject<{
|
|
|
1423
1427
|
SquareDashedBottomCode: "SquareDashedBottomCode";
|
|
1424
1428
|
SquareDashedKanban: "SquareDashedKanban";
|
|
1425
1429
|
SquareDashedMousePointer: "SquareDashedMousePointer";
|
|
1430
|
+
SquareDashedText: "SquareDashedText";
|
|
1426
1431
|
SquareDashedTopSolid: "SquareDashedTopSolid";
|
|
1427
1432
|
SquareDivide: "SquareDivide";
|
|
1428
1433
|
SquareDot: "SquareDot";
|
|
@@ -1531,7 +1536,6 @@ declare const PublicPropsSchema: z.ZodObject<{
|
|
|
1531
1536
|
TextInitial: "TextInitial";
|
|
1532
1537
|
TextQuote: "TextQuote";
|
|
1533
1538
|
TextSearch: "TextSearch";
|
|
1534
|
-
TextSelect: "TextSelect";
|
|
1535
1539
|
TextWrap: "TextWrap";
|
|
1536
1540
|
Theater: "Theater";
|
|
1537
1541
|
Thermometer: "Thermometer";
|
|
@@ -1548,6 +1552,7 @@ declare const PublicPropsSchema: z.ZodObject<{
|
|
|
1548
1552
|
TicketX: "TicketX";
|
|
1549
1553
|
Tickets: "Tickets";
|
|
1550
1554
|
TicketsPlane: "TicketsPlane";
|
|
1555
|
+
Timeline: "Timeline";
|
|
1551
1556
|
Timer: "Timer";
|
|
1552
1557
|
TimerOff: "TimerOff";
|
|
1553
1558
|
TimerReset: "TimerReset";
|
|
@@ -2275,6 +2280,7 @@ export declare const LucideIconPropsJSON: z.core.ZodStandardJSONSchemaPayload<z.
|
|
|
2275
2280
|
Beer: "Beer";
|
|
2276
2281
|
BeerOff: "BeerOff";
|
|
2277
2282
|
Bell: "Bell";
|
|
2283
|
+
BellCheck: "BellCheck";
|
|
2278
2284
|
BellDot: "BellDot";
|
|
2279
2285
|
BellElectric: "BellElectric";
|
|
2280
2286
|
BellMinus: "BellMinus";
|
|
@@ -2333,6 +2339,7 @@ export declare const LucideIconPropsJSON: z.core.ZodStandardJSONSchemaPayload<z.
|
|
|
2333
2339
|
Bookmark: "Bookmark";
|
|
2334
2340
|
BookmarkCheck: "BookmarkCheck";
|
|
2335
2341
|
BookmarkMinus: "BookmarkMinus";
|
|
2342
|
+
BookmarkOff: "BookmarkOff";
|
|
2336
2343
|
BookmarkPlus: "BookmarkPlus";
|
|
2337
2344
|
BookmarkX: "BookmarkX";
|
|
2338
2345
|
BoomBox: "BoomBox";
|
|
@@ -2914,6 +2921,7 @@ export declare const LucideIconPropsJSON: z.core.ZodStandardJSONSchemaPayload<z.
|
|
|
2914
2921
|
HeartOff: "HeartOff";
|
|
2915
2922
|
HeartPlus: "HeartPlus";
|
|
2916
2923
|
HeartPulse: "HeartPulse";
|
|
2924
|
+
HeartX: "HeartX";
|
|
2917
2925
|
Heater: "Heater";
|
|
2918
2926
|
Helicopter: "Helicopter";
|
|
2919
2927
|
Hexagon: "Hexagon";
|
|
@@ -2978,6 +2986,7 @@ export declare const LucideIconPropsJSON: z.core.ZodStandardJSONSchemaPayload<z.
|
|
|
2978
2986
|
Laugh: "Laugh";
|
|
2979
2987
|
Layers: "Layers";
|
|
2980
2988
|
Layers2: "Layers2";
|
|
2989
|
+
LayersMinus: "LayersMinus";
|
|
2981
2990
|
LayersPlus: "LayersPlus";
|
|
2982
2991
|
LayoutDashboard: "LayoutDashboard";
|
|
2983
2992
|
LayoutGrid: "LayoutGrid";
|
|
@@ -3521,6 +3530,7 @@ export declare const LucideIconPropsJSON: z.core.ZodStandardJSONSchemaPayload<z.
|
|
|
3521
3530
|
SquareDashedBottomCode: "SquareDashedBottomCode";
|
|
3522
3531
|
SquareDashedKanban: "SquareDashedKanban";
|
|
3523
3532
|
SquareDashedMousePointer: "SquareDashedMousePointer";
|
|
3533
|
+
SquareDashedText: "SquareDashedText";
|
|
3524
3534
|
SquareDashedTopSolid: "SquareDashedTopSolid";
|
|
3525
3535
|
SquareDivide: "SquareDivide";
|
|
3526
3536
|
SquareDot: "SquareDot";
|
|
@@ -3629,7 +3639,6 @@ export declare const LucideIconPropsJSON: z.core.ZodStandardJSONSchemaPayload<z.
|
|
|
3629
3639
|
TextInitial: "TextInitial";
|
|
3630
3640
|
TextQuote: "TextQuote";
|
|
3631
3641
|
TextSearch: "TextSearch";
|
|
3632
|
-
TextSelect: "TextSelect";
|
|
3633
3642
|
TextWrap: "TextWrap";
|
|
3634
3643
|
Theater: "Theater";
|
|
3635
3644
|
Thermometer: "Thermometer";
|
|
@@ -3646,6 +3655,7 @@ export declare const LucideIconPropsJSON: z.core.ZodStandardJSONSchemaPayload<z.
|
|
|
3646
3655
|
TicketX: "TicketX";
|
|
3647
3656
|
Tickets: "Tickets";
|
|
3648
3657
|
TicketsPlane: "TicketsPlane";
|
|
3658
|
+
Timeline: "Timeline";
|
|
3649
3659
|
Timer: "Timer";
|
|
3650
3660
|
TimerOff: "TimerOff";
|
|
3651
3661
|
TimerReset: "TimerReset";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LucideIcon.props.d.ts","sourceRoot":"","sources":["../../../src/ui/LucideIcon/LucideIcon.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,QAAQ,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,WAAW,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,WAAW,CAAC;AACtD,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,QAAQ,CAAC;AAGhD,MAAM,MAAM,QAAQ,GAAG,cAAc,GAAG,WAAW,CAAC;AAEpD,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,KAAG,IAAI,IAAI,cAAyD,CAAC;AAElH,QAAA,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"LucideIcon.props.d.ts","sourceRoot":"","sources":["../../../src/ui/LucideIcon/LucideIcon.props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,QAAQ,MAAM,aAAa,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAoC,CAAC"}
|
|
@@ -175,6 +175,7 @@ declare const _default: {
|
|
|
175
175
|
Beer: "Beer";
|
|
176
176
|
BeerOff: "BeerOff";
|
|
177
177
|
Bell: "Bell";
|
|
178
|
+
BellCheck: "BellCheck";
|
|
178
179
|
BellDot: "BellDot";
|
|
179
180
|
BellElectric: "BellElectric";
|
|
180
181
|
BellMinus: "BellMinus";
|
|
@@ -233,6 +234,7 @@ declare const _default: {
|
|
|
233
234
|
Bookmark: "Bookmark";
|
|
234
235
|
BookmarkCheck: "BookmarkCheck";
|
|
235
236
|
BookmarkMinus: "BookmarkMinus";
|
|
237
|
+
BookmarkOff: "BookmarkOff";
|
|
236
238
|
BookmarkPlus: "BookmarkPlus";
|
|
237
239
|
BookmarkX: "BookmarkX";
|
|
238
240
|
BoomBox: "BoomBox";
|
|
@@ -814,6 +816,7 @@ declare const _default: {
|
|
|
814
816
|
HeartOff: "HeartOff";
|
|
815
817
|
HeartPlus: "HeartPlus";
|
|
816
818
|
HeartPulse: "HeartPulse";
|
|
819
|
+
HeartX: "HeartX";
|
|
817
820
|
Heater: "Heater";
|
|
818
821
|
Helicopter: "Helicopter";
|
|
819
822
|
Hexagon: "Hexagon";
|
|
@@ -878,6 +881,7 @@ declare const _default: {
|
|
|
878
881
|
Laugh: "Laugh";
|
|
879
882
|
Layers: "Layers";
|
|
880
883
|
Layers2: "Layers2";
|
|
884
|
+
LayersMinus: "LayersMinus";
|
|
881
885
|
LayersPlus: "LayersPlus";
|
|
882
886
|
LayoutDashboard: "LayoutDashboard";
|
|
883
887
|
LayoutGrid: "LayoutGrid";
|
|
@@ -1421,6 +1425,7 @@ declare const _default: {
|
|
|
1421
1425
|
SquareDashedBottomCode: "SquareDashedBottomCode";
|
|
1422
1426
|
SquareDashedKanban: "SquareDashedKanban";
|
|
1423
1427
|
SquareDashedMousePointer: "SquareDashedMousePointer";
|
|
1428
|
+
SquareDashedText: "SquareDashedText";
|
|
1424
1429
|
SquareDashedTopSolid: "SquareDashedTopSolid";
|
|
1425
1430
|
SquareDivide: "SquareDivide";
|
|
1426
1431
|
SquareDot: "SquareDot";
|
|
@@ -1529,7 +1534,6 @@ declare const _default: {
|
|
|
1529
1534
|
TextInitial: "TextInitial";
|
|
1530
1535
|
TextQuote: "TextQuote";
|
|
1531
1536
|
TextSearch: "TextSearch";
|
|
1532
|
-
TextSelect: "TextSelect";
|
|
1533
1537
|
TextWrap: "TextWrap";
|
|
1534
1538
|
Theater: "Theater";
|
|
1535
1539
|
Thermometer: "Thermometer";
|
|
@@ -1546,6 +1550,7 @@ declare const _default: {
|
|
|
1546
1550
|
TicketX: "TicketX";
|
|
1547
1551
|
Tickets: "Tickets";
|
|
1548
1552
|
TicketsPlane: "TicketsPlane";
|
|
1553
|
+
Timeline: "Timeline";
|
|
1549
1554
|
Timer: "Timer";
|
|
1550
1555
|
TimerOff: "TimerOff";
|
|
1551
1556
|
TimerReset: "TimerReset";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LucideIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/LucideIcon/LucideIcon.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LucideIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/LucideIcon/LucideIcon.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBASkB;AAElB,eAAO,MAAM,OAAO,+CAOnB,CAAC;AAEF,eAAO,MAAM,OAAO,+CAAgE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alveole/components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"description": "Shared UI components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,25 +23,45 @@
|
|
|
23
23
|
],
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build": "tsc -p tsconfig.build.json && node ./scripts/prepare-pdfjs-web-assets.mjs",
|
|
26
|
+
"build": "node ./scripts/generate-version.mjs && tsc -p tsconfig.build.json && node ./scripts/prepare-pdfjs-web-assets.mjs",
|
|
27
27
|
"lint": "eslint .",
|
|
28
28
|
"postinstall": "node ./scripts/postinstall.mjs",
|
|
29
|
+
"test:unit": "NODE_OPTIONS=--max-old-space-size=4096 npx jest --maxWorkers=2 --ci",
|
|
29
30
|
"typecheck": "tsc -p tsconfig.typecheck.json --noEmit"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
33
|
"@alveole/eslint-config": "file:../eslint-config",
|
|
33
|
-
"
|
|
34
|
+
"@lucide/lab": "^0.1.2",
|
|
35
|
+
"@shopify/flash-list": "^2.3.1",
|
|
36
|
+
"@tamagui/config": "^1.144.4",
|
|
37
|
+
"@tamagui/core": "^1.144.4",
|
|
38
|
+
"@testing-library/react-native": "^13.3.3",
|
|
39
|
+
"eslint": "^9.39.2",
|
|
40
|
+
"expo": "~53.0.0",
|
|
41
|
+
"expo-router": "~4.0.0",
|
|
42
|
+
"jest": "^29.7.0",
|
|
43
|
+
"jest-expo": "~53.0.0",
|
|
44
|
+
"lucide-react-native": "^1.11.0",
|
|
45
|
+
"pdfjs-dist": "^4.10.38",
|
|
46
|
+
"react": "^19.2.5",
|
|
47
|
+
"react-dom": "^19.2.5",
|
|
48
|
+
"react-native": "^0.79.2",
|
|
49
|
+
"react-test-renderer": "^19.2.5",
|
|
50
|
+
"tamagui": "^1.144.4"
|
|
34
51
|
},
|
|
35
52
|
"dependencies": {
|
|
36
53
|
"zod": "^4.1.11"
|
|
37
54
|
},
|
|
38
55
|
"peerDependencies": {
|
|
39
56
|
"@alveole/theme": "*",
|
|
40
|
-
"@
|
|
57
|
+
"@lottiefiles/dotlottie-react": "*",
|
|
58
|
+
"@lucide/lab": "*",
|
|
59
|
+
"@shopify/flash-list": ">=2",
|
|
41
60
|
"@tamagui/accordion": "^1.129.0 <2.0.0",
|
|
42
61
|
"@tamagui/animations-css": "^1.129.0 <2.0.0",
|
|
43
62
|
"@tamagui/avatar": "^1.129.0 <2.0.0",
|
|
44
63
|
"@tamagui/config": "^1.129.0 <2.0.0",
|
|
64
|
+
"@tamagui/core": "^1.129.0 <2.0.0",
|
|
45
65
|
"@tamagui/dialog": "^1.129.0 <2.0.0",
|
|
46
66
|
"@tamagui/popover": "^1.129.0 <2.0.0",
|
|
47
67
|
"@tamagui/radio-group": "^1.129.0 <2.0.0",
|
|
@@ -50,23 +70,20 @@
|
|
|
50
70
|
"@tamagui/switch": "^1.129.0 <2.0.0",
|
|
51
71
|
"@tamagui/tabs": "^1.129.0 <2.0.0",
|
|
52
72
|
"@tamagui/toast": "^1.129.0 <2.0.0",
|
|
53
|
-
"tamagui": "^1.129.0 <2.0.0",
|
|
54
|
-
"react-native-safe-area-context": "*",
|
|
55
|
-
"react": "*",
|
|
56
|
-
"react-native": "*",
|
|
57
|
-
"react-native-svg": "^15.0.0",
|
|
58
|
-
"lucide-react-native": ">=0.570.0",
|
|
59
|
-
"@lucide/lab": "*",
|
|
60
|
-
"@shopify/flash-list": ">=2",
|
|
61
|
-
"react-native-webview": ">=13",
|
|
62
73
|
"expo-application": "*",
|
|
74
|
+
"expo-constants": "*",
|
|
63
75
|
"expo-image": "*",
|
|
64
|
-
"expo-router": "*",
|
|
65
76
|
"expo-linear-gradient": "*",
|
|
66
|
-
"expo-
|
|
77
|
+
"expo-router": "*",
|
|
67
78
|
"lottie-react-native": "*",
|
|
79
|
+
"lucide-react-native": ">=0.570.0",
|
|
68
80
|
"pdfjs-dist": "^4.0.0",
|
|
69
|
-
"
|
|
81
|
+
"react": "*",
|
|
82
|
+
"react-native": "*",
|
|
83
|
+
"react-native-safe-area-context": "*",
|
|
84
|
+
"react-native-svg": "^15.0.0",
|
|
85
|
+
"react-native-webview": ">=13",
|
|
86
|
+
"tamagui": "^1.129.0 <2.0.0"
|
|
70
87
|
},
|
|
71
88
|
"publishConfig": {
|
|
72
89
|
"access": "public"
|