@ovotech/element-native 5.0.2-canary-d7e56f2-350 → 5.0.2
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/esm/providers/IconsProvider.js +7 -1
- package/dist/esm/providers/PictogramsProvider.js +1 -1
- package/dist/esm/providers/icons/index.js +23 -17
- package/dist/providers/IconsProvider.js +6 -0
- package/dist/providers/PictogramsProvider.d.ts +1 -1
- package/dist/providers/PictogramsProvider.js +1 -1
- package/dist/providers/icons/index.d.ts +23 -17
- package/dist/providers/icons/index.js +23 -17
- package/dist/providers/icons-types.d.ts +1 -1
- package/package.json +3 -3
|
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { createContext, useContext } from 'react';
|
|
14
|
-
import { Address, Advice, Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Award, Battery, Cal, CalBook, CaretArrowDown, CaretArrowLeft, CaretArrowRight, CaretArrowUp, Chart, ChartFilled, Check, CheckCircle, ChevronDown, ChevronLeft, ChevronLeftSmall, ChevronLeftSmallFirst, ChevronRight, ChevronRightSmall, ChevronRightSmallLast, ChevronUp, Circle, CloseCircle, Cross, Doc, Dollar, Dots, Download, Eco, EcoHome, Edit, ElectricCar, ElectricHome, Electricity, Ellipsis, EnergyAdvice, Equals, Euro, Gas, GlobeAddress, Help, HelpFilled, Hide, Home, HomeFilled, HydroPower, Info, Link, Logo, Mail, MailOpen, Menu, Message, MessageFilled, Minus, Mobile, NewWindow, Pause, PaymentCard, PaymentCardFilled, Phone, Plus, PlusFilled, Pound, Pricing, PricingFilled, Search, Security, Share, Show, SmartHome, SmartMeter, Solar, Star, StarFilled, Sun, Torch, Trees, Tune, User, UserFilled, Wallet, WarmHome, Warning, WebAddress, WindPower, } from './icons';
|
|
14
|
+
import { Address, Advice, Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Award, Battery, Cal, CalBook, CaretArrowDown, CaretArrowLeft, CaretArrowRight, CaretArrowUp, CaretDown, CaretLeft, CaretRight, CaretUp, Chart, ChartFilled, Check, CheckCircle, ChevronDown, ChevronLeft, ChevronLeftSmall, ChevronLeftSmallFirst, ChevronRight, ChevronRightSmall, ChevronRightSmallLast, ChevronUp, Circle, CloseCircle, Cross, Doc, Dollar, Dots, Download, Eco, EcoHome, Edit, ElectricCar, ElectricHome, Electricity, Ellipsis, EnergyAdvice, Equals, Euro, Gas, GlobeAddress, Help, HelpFilled, Hide, Home, HomeFilled, HydroPower, Info, Link, Logo, Mail, MailOpen, Menu, Message, MessageFilled, Minus, Mobile, NewWindow, Pause, PaymentCard, PaymentCardFilled, Phone, Plus, PlusFilled, Pound, Pricing, PricingFilled, Search, Security, Share, Shop, ShopFilled, Show, SmartHome, SmartMeter, Solar, Star, StarFilled, Sun, Torch, Trees, Tune, User, UserFilled, Wallet, WarmHome, Warning, WebAddress, WindPower, } from './icons';
|
|
15
15
|
var defaultIcons = {
|
|
16
16
|
address: Address,
|
|
17
17
|
advice: Advice,
|
|
@@ -28,6 +28,10 @@ var defaultIcons = {
|
|
|
28
28
|
'caret-arrow-left': CaretArrowLeft,
|
|
29
29
|
'caret-arrow-right': CaretArrowRight,
|
|
30
30
|
'caret-arrow-up': CaretArrowUp,
|
|
31
|
+
'caret-down': CaretDown,
|
|
32
|
+
'caret-left': CaretLeft,
|
|
33
|
+
'caret-right': CaretRight,
|
|
34
|
+
'caret-up': CaretUp,
|
|
31
35
|
'chart-filled': ChartFilled,
|
|
32
36
|
chart: Chart,
|
|
33
37
|
'check-circle': CheckCircle,
|
|
@@ -88,6 +92,8 @@ var defaultIcons = {
|
|
|
88
92
|
search: Search,
|
|
89
93
|
security: Security,
|
|
90
94
|
share: Share,
|
|
95
|
+
'shop-filled': ShopFilled,
|
|
96
|
+
shop: Shop,
|
|
91
97
|
show: Show,
|
|
92
98
|
'smart-home': SmartHome,
|
|
93
99
|
'smart-meter': SmartMeter,
|
|
@@ -180,4 +180,4 @@ function PictogramsProvider(_a) {
|
|
|
180
180
|
var mergedPictograms = __assign(__assign({}, basePictograms), pictograms);
|
|
181
181
|
return (_jsx(PictogramsContext.Provider, { value: mergedPictograms, children: children }));
|
|
182
182
|
}
|
|
183
|
-
export {
|
|
183
|
+
export { usePictograms, PictogramsProvider, defaultPictograms };
|
|
@@ -7,23 +7,27 @@ export * from './ArrowRight';
|
|
|
7
7
|
export * from './ArrowUp';
|
|
8
8
|
export * from './Award';
|
|
9
9
|
export * from './Battery';
|
|
10
|
-
export * from './Cal';
|
|
11
10
|
export * from './CalBook';
|
|
11
|
+
export * from './Cal';
|
|
12
12
|
export * from './CaretArrowDown';
|
|
13
13
|
export * from './CaretArrowLeft';
|
|
14
14
|
export * from './CaretArrowRight';
|
|
15
15
|
export * from './CaretArrowUp';
|
|
16
|
-
export * from './
|
|
16
|
+
export * from './CaretDown';
|
|
17
|
+
export * from './CaretLeft';
|
|
18
|
+
export * from './CaretRight';
|
|
19
|
+
export * from './CaretUp';
|
|
17
20
|
export * from './ChartFilled';
|
|
18
|
-
export * from './
|
|
21
|
+
export * from './Chart';
|
|
19
22
|
export * from './CheckCircle';
|
|
23
|
+
export * from './Check';
|
|
20
24
|
export * from './ChevronDown';
|
|
21
|
-
export * from './ChevronLeft';
|
|
22
|
-
export * from './ChevronLeftSmall';
|
|
23
25
|
export * from './ChevronLeftSmallFirst';
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
26
|
+
export * from './ChevronLeftSmall';
|
|
27
|
+
export * from './ChevronLeft';
|
|
26
28
|
export * from './ChevronRightSmallLast';
|
|
29
|
+
export * from './ChevronRightSmall';
|
|
30
|
+
export * from './ChevronRight';
|
|
27
31
|
export * from './ChevronUp';
|
|
28
32
|
export * from './Circle';
|
|
29
33
|
export * from './CloseCircle';
|
|
@@ -32,8 +36,8 @@ export * from './Doc';
|
|
|
32
36
|
export * from './Dollar';
|
|
33
37
|
export * from './Dots';
|
|
34
38
|
export * from './Download';
|
|
35
|
-
export * from './Eco';
|
|
36
39
|
export * from './EcoHome';
|
|
40
|
+
export * from './Eco';
|
|
37
41
|
export * from './Edit';
|
|
38
42
|
export * from './ElectricCar';
|
|
39
43
|
export * from './ElectricHome';
|
|
@@ -44,47 +48,49 @@ export * from './Equals';
|
|
|
44
48
|
export * from './Euro';
|
|
45
49
|
export * from './Gas';
|
|
46
50
|
export * from './GlobeAddress';
|
|
47
|
-
export * from './Help';
|
|
48
51
|
export * from './HelpFilled';
|
|
52
|
+
export * from './Help';
|
|
49
53
|
export * from './Hide';
|
|
50
|
-
export * from './Home';
|
|
51
54
|
export * from './HomeFilled';
|
|
55
|
+
export * from './Home';
|
|
52
56
|
export * from './HydroPower';
|
|
53
57
|
export * from './Info';
|
|
54
58
|
export * from './Link';
|
|
55
59
|
export * from './Logo';
|
|
56
|
-
export * from './Mail';
|
|
57
60
|
export * from './MailOpen';
|
|
61
|
+
export * from './Mail';
|
|
58
62
|
export * from './Menu';
|
|
59
|
-
export * from './Message';
|
|
60
63
|
export * from './MessageFilled';
|
|
64
|
+
export * from './Message';
|
|
61
65
|
export * from './Minus';
|
|
62
66
|
export * from './Mobile';
|
|
63
67
|
export * from './NewWindow';
|
|
64
68
|
export * from './Pause';
|
|
65
|
-
export * from './PaymentCard';
|
|
66
69
|
export * from './PaymentCardFilled';
|
|
70
|
+
export * from './PaymentCard';
|
|
67
71
|
export * from './Phone';
|
|
68
|
-
export * from './Plus';
|
|
69
72
|
export * from './PlusFilled';
|
|
73
|
+
export * from './Plus';
|
|
70
74
|
export * from './Pound';
|
|
71
|
-
export * from './Pricing';
|
|
72
75
|
export * from './PricingFilled';
|
|
76
|
+
export * from './Pricing';
|
|
73
77
|
export * from './Search';
|
|
74
78
|
export * from './Security';
|
|
75
79
|
export * from './Share';
|
|
80
|
+
export * from './ShopFilled';
|
|
81
|
+
export * from './Shop';
|
|
76
82
|
export * from './Show';
|
|
77
83
|
export * from './SmartHome';
|
|
78
84
|
export * from './SmartMeter';
|
|
79
85
|
export * from './Solar';
|
|
80
|
-
export * from './Star';
|
|
81
86
|
export * from './StarFilled';
|
|
87
|
+
export * from './Star';
|
|
82
88
|
export * from './Sun';
|
|
83
89
|
export * from './Torch';
|
|
84
90
|
export * from './Trees';
|
|
85
91
|
export * from './Tune';
|
|
86
|
-
export * from './User';
|
|
87
92
|
export * from './UserFilled';
|
|
93
|
+
export * from './User';
|
|
88
94
|
export * from './Wallet';
|
|
89
95
|
export * from './WarmHome';
|
|
90
96
|
export * from './Warning';
|
|
@@ -31,6 +31,10 @@ var defaultIcons = {
|
|
|
31
31
|
'caret-arrow-left': icons_1.CaretArrowLeft,
|
|
32
32
|
'caret-arrow-right': icons_1.CaretArrowRight,
|
|
33
33
|
'caret-arrow-up': icons_1.CaretArrowUp,
|
|
34
|
+
'caret-down': icons_1.CaretDown,
|
|
35
|
+
'caret-left': icons_1.CaretLeft,
|
|
36
|
+
'caret-right': icons_1.CaretRight,
|
|
37
|
+
'caret-up': icons_1.CaretUp,
|
|
34
38
|
'chart-filled': icons_1.ChartFilled,
|
|
35
39
|
chart: icons_1.Chart,
|
|
36
40
|
'check-circle': icons_1.CheckCircle,
|
|
@@ -91,6 +95,8 @@ var defaultIcons = {
|
|
|
91
95
|
search: icons_1.Search,
|
|
92
96
|
security: icons_1.Security,
|
|
93
97
|
share: icons_1.Share,
|
|
98
|
+
'shop-filled': icons_1.ShopFilled,
|
|
99
|
+
shop: icons_1.Shop,
|
|
94
100
|
show: icons_1.Show,
|
|
95
101
|
'smart-home': icons_1.SmartHome,
|
|
96
102
|
'smart-meter': icons_1.SmartMeter,
|
|
@@ -5,4 +5,4 @@ declare function usePictograms<T extends PictogramsType = string & object>(): Pi
|
|
|
5
5
|
declare function PictogramsProvider({ children, pictograms, }: PropsWithChildren<{
|
|
6
6
|
pictograms?: PictogramsType;
|
|
7
7
|
}>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {
|
|
8
|
+
export { usePictograms, PictogramsProvider, defaultPictograms };
|
|
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
14
|
+
exports.defaultPictograms = exports.PictogramsProvider = exports.usePictograms = void 0;
|
|
15
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
16
|
var react_1 = require("react");
|
|
17
17
|
var pictograms_1 = require("./pictograms");
|
|
@@ -7,23 +7,27 @@ export * from './ArrowRight';
|
|
|
7
7
|
export * from './ArrowUp';
|
|
8
8
|
export * from './Award';
|
|
9
9
|
export * from './Battery';
|
|
10
|
-
export * from './Cal';
|
|
11
10
|
export * from './CalBook';
|
|
11
|
+
export * from './Cal';
|
|
12
12
|
export * from './CaretArrowDown';
|
|
13
13
|
export * from './CaretArrowLeft';
|
|
14
14
|
export * from './CaretArrowRight';
|
|
15
15
|
export * from './CaretArrowUp';
|
|
16
|
-
export * from './
|
|
16
|
+
export * from './CaretDown';
|
|
17
|
+
export * from './CaretLeft';
|
|
18
|
+
export * from './CaretRight';
|
|
19
|
+
export * from './CaretUp';
|
|
17
20
|
export * from './ChartFilled';
|
|
18
|
-
export * from './
|
|
21
|
+
export * from './Chart';
|
|
19
22
|
export * from './CheckCircle';
|
|
23
|
+
export * from './Check';
|
|
20
24
|
export * from './ChevronDown';
|
|
21
|
-
export * from './ChevronLeft';
|
|
22
|
-
export * from './ChevronLeftSmall';
|
|
23
25
|
export * from './ChevronLeftSmallFirst';
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
26
|
+
export * from './ChevronLeftSmall';
|
|
27
|
+
export * from './ChevronLeft';
|
|
26
28
|
export * from './ChevronRightSmallLast';
|
|
29
|
+
export * from './ChevronRightSmall';
|
|
30
|
+
export * from './ChevronRight';
|
|
27
31
|
export * from './ChevronUp';
|
|
28
32
|
export * from './Circle';
|
|
29
33
|
export * from './CloseCircle';
|
|
@@ -32,8 +36,8 @@ export * from './Doc';
|
|
|
32
36
|
export * from './Dollar';
|
|
33
37
|
export * from './Dots';
|
|
34
38
|
export * from './Download';
|
|
35
|
-
export * from './Eco';
|
|
36
39
|
export * from './EcoHome';
|
|
40
|
+
export * from './Eco';
|
|
37
41
|
export * from './Edit';
|
|
38
42
|
export * from './ElectricCar';
|
|
39
43
|
export * from './ElectricHome';
|
|
@@ -44,47 +48,49 @@ export * from './Equals';
|
|
|
44
48
|
export * from './Euro';
|
|
45
49
|
export * from './Gas';
|
|
46
50
|
export * from './GlobeAddress';
|
|
47
|
-
export * from './Help';
|
|
48
51
|
export * from './HelpFilled';
|
|
52
|
+
export * from './Help';
|
|
49
53
|
export * from './Hide';
|
|
50
|
-
export * from './Home';
|
|
51
54
|
export * from './HomeFilled';
|
|
55
|
+
export * from './Home';
|
|
52
56
|
export * from './HydroPower';
|
|
53
57
|
export * from './Info';
|
|
54
58
|
export * from './Link';
|
|
55
59
|
export * from './Logo';
|
|
56
|
-
export * from './Mail';
|
|
57
60
|
export * from './MailOpen';
|
|
61
|
+
export * from './Mail';
|
|
58
62
|
export * from './Menu';
|
|
59
|
-
export * from './Message';
|
|
60
63
|
export * from './MessageFilled';
|
|
64
|
+
export * from './Message';
|
|
61
65
|
export * from './Minus';
|
|
62
66
|
export * from './Mobile';
|
|
63
67
|
export * from './NewWindow';
|
|
64
68
|
export * from './Pause';
|
|
65
|
-
export * from './PaymentCard';
|
|
66
69
|
export * from './PaymentCardFilled';
|
|
70
|
+
export * from './PaymentCard';
|
|
67
71
|
export * from './Phone';
|
|
68
|
-
export * from './Plus';
|
|
69
72
|
export * from './PlusFilled';
|
|
73
|
+
export * from './Plus';
|
|
70
74
|
export * from './Pound';
|
|
71
|
-
export * from './Pricing';
|
|
72
75
|
export * from './PricingFilled';
|
|
76
|
+
export * from './Pricing';
|
|
73
77
|
export * from './Search';
|
|
74
78
|
export * from './Security';
|
|
75
79
|
export * from './Share';
|
|
80
|
+
export * from './ShopFilled';
|
|
81
|
+
export * from './Shop';
|
|
76
82
|
export * from './Show';
|
|
77
83
|
export * from './SmartHome';
|
|
78
84
|
export * from './SmartMeter';
|
|
79
85
|
export * from './Solar';
|
|
80
|
-
export * from './Star';
|
|
81
86
|
export * from './StarFilled';
|
|
87
|
+
export * from './Star';
|
|
82
88
|
export * from './Sun';
|
|
83
89
|
export * from './Torch';
|
|
84
90
|
export * from './Trees';
|
|
85
91
|
export * from './Tune';
|
|
86
|
-
export * from './User';
|
|
87
92
|
export * from './UserFilled';
|
|
93
|
+
export * from './User';
|
|
88
94
|
export * from './Wallet';
|
|
89
95
|
export * from './WarmHome';
|
|
90
96
|
export * from './Warning';
|
|
@@ -23,23 +23,27 @@ __exportStar(require("./ArrowRight"), exports);
|
|
|
23
23
|
__exportStar(require("./ArrowUp"), exports);
|
|
24
24
|
__exportStar(require("./Award"), exports);
|
|
25
25
|
__exportStar(require("./Battery"), exports);
|
|
26
|
-
__exportStar(require("./Cal"), exports);
|
|
27
26
|
__exportStar(require("./CalBook"), exports);
|
|
27
|
+
__exportStar(require("./Cal"), exports);
|
|
28
28
|
__exportStar(require("./CaretArrowDown"), exports);
|
|
29
29
|
__exportStar(require("./CaretArrowLeft"), exports);
|
|
30
30
|
__exportStar(require("./CaretArrowRight"), exports);
|
|
31
31
|
__exportStar(require("./CaretArrowUp"), exports);
|
|
32
|
-
__exportStar(require("./
|
|
32
|
+
__exportStar(require("./CaretDown"), exports);
|
|
33
|
+
__exportStar(require("./CaretLeft"), exports);
|
|
34
|
+
__exportStar(require("./CaretRight"), exports);
|
|
35
|
+
__exportStar(require("./CaretUp"), exports);
|
|
33
36
|
__exportStar(require("./ChartFilled"), exports);
|
|
34
|
-
__exportStar(require("./
|
|
37
|
+
__exportStar(require("./Chart"), exports);
|
|
35
38
|
__exportStar(require("./CheckCircle"), exports);
|
|
39
|
+
__exportStar(require("./Check"), exports);
|
|
36
40
|
__exportStar(require("./ChevronDown"), exports);
|
|
37
|
-
__exportStar(require("./ChevronLeft"), exports);
|
|
38
|
-
__exportStar(require("./ChevronLeftSmall"), exports);
|
|
39
41
|
__exportStar(require("./ChevronLeftSmallFirst"), exports);
|
|
40
|
-
__exportStar(require("./
|
|
41
|
-
__exportStar(require("./
|
|
42
|
+
__exportStar(require("./ChevronLeftSmall"), exports);
|
|
43
|
+
__exportStar(require("./ChevronLeft"), exports);
|
|
42
44
|
__exportStar(require("./ChevronRightSmallLast"), exports);
|
|
45
|
+
__exportStar(require("./ChevronRightSmall"), exports);
|
|
46
|
+
__exportStar(require("./ChevronRight"), exports);
|
|
43
47
|
__exportStar(require("./ChevronUp"), exports);
|
|
44
48
|
__exportStar(require("./Circle"), exports);
|
|
45
49
|
__exportStar(require("./CloseCircle"), exports);
|
|
@@ -48,8 +52,8 @@ __exportStar(require("./Doc"), exports);
|
|
|
48
52
|
__exportStar(require("./Dollar"), exports);
|
|
49
53
|
__exportStar(require("./Dots"), exports);
|
|
50
54
|
__exportStar(require("./Download"), exports);
|
|
51
|
-
__exportStar(require("./Eco"), exports);
|
|
52
55
|
__exportStar(require("./EcoHome"), exports);
|
|
56
|
+
__exportStar(require("./Eco"), exports);
|
|
53
57
|
__exportStar(require("./Edit"), exports);
|
|
54
58
|
__exportStar(require("./ElectricCar"), exports);
|
|
55
59
|
__exportStar(require("./ElectricHome"), exports);
|
|
@@ -60,47 +64,49 @@ __exportStar(require("./Equals"), exports);
|
|
|
60
64
|
__exportStar(require("./Euro"), exports);
|
|
61
65
|
__exportStar(require("./Gas"), exports);
|
|
62
66
|
__exportStar(require("./GlobeAddress"), exports);
|
|
63
|
-
__exportStar(require("./Help"), exports);
|
|
64
67
|
__exportStar(require("./HelpFilled"), exports);
|
|
68
|
+
__exportStar(require("./Help"), exports);
|
|
65
69
|
__exportStar(require("./Hide"), exports);
|
|
66
|
-
__exportStar(require("./Home"), exports);
|
|
67
70
|
__exportStar(require("./HomeFilled"), exports);
|
|
71
|
+
__exportStar(require("./Home"), exports);
|
|
68
72
|
__exportStar(require("./HydroPower"), exports);
|
|
69
73
|
__exportStar(require("./Info"), exports);
|
|
70
74
|
__exportStar(require("./Link"), exports);
|
|
71
75
|
__exportStar(require("./Logo"), exports);
|
|
72
|
-
__exportStar(require("./Mail"), exports);
|
|
73
76
|
__exportStar(require("./MailOpen"), exports);
|
|
77
|
+
__exportStar(require("./Mail"), exports);
|
|
74
78
|
__exportStar(require("./Menu"), exports);
|
|
75
|
-
__exportStar(require("./Message"), exports);
|
|
76
79
|
__exportStar(require("./MessageFilled"), exports);
|
|
80
|
+
__exportStar(require("./Message"), exports);
|
|
77
81
|
__exportStar(require("./Minus"), exports);
|
|
78
82
|
__exportStar(require("./Mobile"), exports);
|
|
79
83
|
__exportStar(require("./NewWindow"), exports);
|
|
80
84
|
__exportStar(require("./Pause"), exports);
|
|
81
|
-
__exportStar(require("./PaymentCard"), exports);
|
|
82
85
|
__exportStar(require("./PaymentCardFilled"), exports);
|
|
86
|
+
__exportStar(require("./PaymentCard"), exports);
|
|
83
87
|
__exportStar(require("./Phone"), exports);
|
|
84
|
-
__exportStar(require("./Plus"), exports);
|
|
85
88
|
__exportStar(require("./PlusFilled"), exports);
|
|
89
|
+
__exportStar(require("./Plus"), exports);
|
|
86
90
|
__exportStar(require("./Pound"), exports);
|
|
87
|
-
__exportStar(require("./Pricing"), exports);
|
|
88
91
|
__exportStar(require("./PricingFilled"), exports);
|
|
92
|
+
__exportStar(require("./Pricing"), exports);
|
|
89
93
|
__exportStar(require("./Search"), exports);
|
|
90
94
|
__exportStar(require("./Security"), exports);
|
|
91
95
|
__exportStar(require("./Share"), exports);
|
|
96
|
+
__exportStar(require("./ShopFilled"), exports);
|
|
97
|
+
__exportStar(require("./Shop"), exports);
|
|
92
98
|
__exportStar(require("./Show"), exports);
|
|
93
99
|
__exportStar(require("./SmartHome"), exports);
|
|
94
100
|
__exportStar(require("./SmartMeter"), exports);
|
|
95
101
|
__exportStar(require("./Solar"), exports);
|
|
96
|
-
__exportStar(require("./Star"), exports);
|
|
97
102
|
__exportStar(require("./StarFilled"), exports);
|
|
103
|
+
__exportStar(require("./Star"), exports);
|
|
98
104
|
__exportStar(require("./Sun"), exports);
|
|
99
105
|
__exportStar(require("./Torch"), exports);
|
|
100
106
|
__exportStar(require("./Trees"), exports);
|
|
101
107
|
__exportStar(require("./Tune"), exports);
|
|
102
|
-
__exportStar(require("./User"), exports);
|
|
103
108
|
__exportStar(require("./UserFilled"), exports);
|
|
109
|
+
__exportStar(require("./User"), exports);
|
|
104
110
|
__exportStar(require("./Wallet"), exports);
|
|
105
111
|
__exportStar(require("./WarmHome"), exports);
|
|
106
112
|
__exportStar(require("./Warning"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
2
|
import { SvgProps } from 'react-native-svg';
|
|
3
|
-
export type IconName = 'address' | 'advice' | 'archive' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'award' | 'battery' | 'cal-book' | 'cal' | 'caret-arrow-down' | 'caret-arrow-left' | 'caret-arrow-right' | 'caret-arrow-up' | 'chart-filled' | 'chart' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left-small-first' | 'chevron-left-small' | 'chevron-left' | 'chevron-right-small-last' | 'chevron-right-small' | 'chevron-right' | 'chevron-up' | 'circle' | 'close-circle' | 'cross' | 'doc' | 'dollar' | 'dots' | 'download' | 'eco-home' | 'eco' | 'edit' | 'electric-car' | 'electric-home' | 'electricity' | 'ellipsis' | 'energy-advice' | 'equals' | 'euro' | 'gas' | 'globe-address' | 'help-filled' | 'help' | 'hide' | 'home-filled' | 'home' | 'hydro-power' | 'info' | 'link' | 'logo' | 'mail-open' | 'mail' | 'menu' | 'message-filled' | 'message' | 'minus' | 'mobile' | 'new-window' | 'pause' | 'payment-card-filled' | 'payment-card' | 'phone' | 'plus-filled' | 'plus' | 'pound' | 'pricing-filled' | 'pricing' | 'search' | 'security' | 'share' | 'show' | 'smart-home' | 'smart-meter' | 'solar' | 'star-filled' | 'star' | 'sun' | 'torch' | 'trees' | 'tune' | 'user-filled' | 'user' | 'wallet' | 'warm-home' | 'warning' | 'web-address' | 'wind-power';
|
|
3
|
+
export type IconName = 'address' | 'advice' | 'archive' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'award' | 'battery' | 'cal-book' | 'cal' | 'caret-arrow-down' | 'caret-arrow-left' | 'caret-arrow-right' | 'caret-arrow-up' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'chart-filled' | 'chart' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left-small-first' | 'chevron-left-small' | 'chevron-left' | 'chevron-right-small-last' | 'chevron-right-small' | 'chevron-right' | 'chevron-up' | 'circle' | 'close-circle' | 'cross' | 'doc' | 'dollar' | 'dots' | 'download' | 'eco-home' | 'eco' | 'edit' | 'electric-car' | 'electric-home' | 'electricity' | 'ellipsis' | 'energy-advice' | 'equals' | 'euro' | 'gas' | 'globe-address' | 'help-filled' | 'help' | 'hide' | 'home-filled' | 'home' | 'hydro-power' | 'info' | 'link' | 'logo' | 'mail-open' | 'mail' | 'menu' | 'message-filled' | 'message' | 'minus' | 'mobile' | 'new-window' | 'pause' | 'payment-card-filled' | 'payment-card' | 'phone' | 'plus-filled' | 'plus' | 'pound' | 'pricing-filled' | 'pricing' | 'search' | 'security' | 'share' | 'shop-filled' | 'shop' | 'show' | 'smart-home' | 'smart-meter' | 'solar' | 'star-filled' | 'star' | 'sun' | 'torch' | 'trees' | 'tune' | 'user-filled' | 'user' | 'wallet' | 'warm-home' | 'warning' | 'web-address' | 'wind-power';
|
|
4
4
|
export type IconNameExtended = IconName | (string & {});
|
|
5
5
|
export type IconsType = Record<string, FunctionComponent<SvgProps>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ovotech/element-native",
|
|
3
|
-
"version": "5.0.2
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@backpackapp-io/react-native-toast": "^0.10.0",
|
|
17
|
-
"@ovotech/element-core": "4.0.0-canary-d7e56f2-350",
|
|
18
17
|
"deepmerge": "^4.2.2",
|
|
19
18
|
"lodash.groupby": "^4.6.0",
|
|
20
|
-
"react-native-reanimated-carousel": "^3.5.1"
|
|
19
|
+
"react-native-reanimated-carousel": "^3.5.1",
|
|
20
|
+
"@ovotech/element-core": "4.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@babel/core": "^7.11.5",
|