gantri-components 0.0.0-semantic-release
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/CHANGELOG.md +25 -0
- package/README.md +1 -0
- package/dist/index.cjs.js +4280 -0
- package/lib/components/Button/Button.d.ts +29 -0
- package/lib/components/Button/Button.stories.d.ts +7 -0
- package/lib/components/Button/index.d.ts +1 -0
- package/lib/components/icon/generated/30DaysReturn.d.ts +3 -0
- package/lib/components/icon/generated/Address.d.ts +3 -0
- package/lib/components/icon/generated/Affirm.d.ts +3 -0
- package/lib/components/icon/generated/AffirmBlue.d.ts +3 -0
- package/lib/components/icon/generated/Amex.d.ts +3 -0
- package/lib/components/icon/generated/ApplePay.d.ts +3 -0
- package/lib/components/icon/generated/Ar.d.ts +3 -0
- package/lib/components/icon/generated/ArrowCircle.d.ts +3 -0
- package/lib/components/icon/generated/ArrowDown.d.ts +3 -0
- package/lib/components/icon/generated/ArrowLeft.d.ts +3 -0
- package/lib/components/icon/generated/ArrowRight.d.ts +3 -0
- package/lib/components/icon/generated/Behance.d.ts +3 -0
- package/lib/components/icon/generated/Bell.d.ts +3 -0
- package/lib/components/icon/generated/BellTransparent.d.ts +3 -0
- package/lib/components/icon/generated/BlankCard.d.ts +3 -0
- package/lib/components/icon/generated/Box.d.ts +3 -0
- package/lib/components/icon/generated/Branch.d.ts +3 -0
- package/lib/components/icon/generated/Bulb.d.ts +3 -0
- package/lib/components/icon/generated/Calendar.d.ts +3 -0
- package/lib/components/icon/generated/California.d.ts +3 -0
- package/lib/components/icon/generated/Camera.d.ts +3 -0
- package/lib/components/icon/generated/CameraSquare.d.ts +3 -0
- package/lib/components/icon/generated/Cart.d.ts +3 -0
- package/lib/components/icon/generated/Chain.d.ts +3 -0
- package/lib/components/icon/generated/Check.d.ts +3 -0
- package/lib/components/icon/generated/CheckFill.d.ts +3 -0
- package/lib/components/icon/generated/CheckReverse.d.ts +3 -0
- package/lib/components/icon/generated/CheckRound.d.ts +3 -0
- package/lib/components/icon/generated/ChevronDown.d.ts +3 -0
- package/lib/components/icon/generated/ChevronLeft.d.ts +3 -0
- package/lib/components/icon/generated/ChevronRight.d.ts +3 -0
- package/lib/components/icon/generated/Clip.d.ts +3 -0
- package/lib/components/icon/generated/Close.d.ts +3 -0
- package/lib/components/icon/generated/Cloud.d.ts +3 -0
- package/lib/components/icon/generated/Dashboard.d.ts +3 -0
- package/lib/components/icon/generated/DashboardChart.d.ts +3 -0
- package/lib/components/icon/generated/Design.d.ts +3 -0
- package/lib/components/icon/generated/Dimming.d.ts +3 -0
- package/lib/components/icon/generated/DisabledArrows.d.ts +3 -0
- package/lib/components/icon/generated/DisabledInputArrow.d.ts +3 -0
- package/lib/components/icon/generated/Discover.d.ts +3 -0
- package/lib/components/icon/generated/Docs.d.ts +3 -0
- package/lib/components/icon/generated/Dollar.d.ts +3 -0
- package/lib/components/icon/generated/Dots.d.ts +3 -0
- package/lib/components/icon/generated/DotsAnimated.d.ts +3 -0
- package/lib/components/icon/generated/Download.d.ts +3 -0
- package/lib/components/icon/generated/Drag.d.ts +3 -0
- package/lib/components/icon/generated/DragHandler.d.ts +3 -0
- package/lib/components/icon/generated/ElkLogo.d.ts +3 -0
- package/lib/components/icon/generated/Email.d.ts +3 -0
- package/lib/components/icon/generated/EmailRound.d.ts +3 -0
- package/lib/components/icon/generated/Error.d.ts +3 -0
- package/lib/components/icon/generated/FacebookBlack.d.ts +3 -0
- package/lib/components/icon/generated/FacebookTransparent.d.ts +3 -0
- package/lib/components/icon/generated/Flower.d.ts +3 -0
- package/lib/components/icon/generated/FreeShipping.d.ts +3 -0
- package/lib/components/icon/generated/Gift.d.ts +3 -0
- package/lib/components/icon/generated/GiftCard.d.ts +3 -0
- package/lib/components/icon/generated/GiftGold.d.ts +3 -0
- package/lib/components/icon/generated/GiftTeal.d.ts +3 -0
- package/lib/components/icon/generated/Google.d.ts +3 -0
- package/lib/components/icon/generated/Guarantee.d.ts +3 -0
- package/lib/components/icon/generated/Hand.d.ts +3 -0
- package/lib/components/icon/generated/Heart.d.ts +3 -0
- package/lib/components/icon/generated/HeartOutlined.d.ts +3 -0
- package/lib/components/icon/generated/Help.d.ts +3 -0
- package/lib/components/icon/generated/House.d.ts +3 -0
- package/lib/components/icon/generated/IconBell.d.ts +3 -0
- package/lib/components/icon/generated/IconCheck.d.ts +3 -0
- package/lib/components/icon/generated/IconDotArrow.d.ts +3 -0
- package/lib/components/icon/generated/IconDotModalClose.d.ts +3 -0
- package/lib/components/icon/generated/IconDownload.d.ts +3 -0
- package/lib/components/icon/generated/IconInfo.d.ts +3 -0
- package/lib/components/icon/generated/IconJobsAssemble.d.ts +3 -0
- package/lib/components/icon/generated/IconJobsBondo.d.ts +3 -0
- package/lib/components/icon/generated/IconJobsPack.d.ts +3 -0
- package/lib/components/icon/generated/IconJobsPrint.d.ts +3 -0
- package/lib/components/icon/generated/IconJobsQa.d.ts +3 -0
- package/lib/components/icon/generated/IconJobsSand.d.ts +3 -0
- package/lib/components/icon/generated/IconMenu.d.ts +3 -0
- package/lib/components/icon/generated/IconMenuClose.d.ts +3 -0
- package/lib/components/icon/generated/IconMore.d.ts +3 -0
- package/lib/components/icon/generated/IconReorderOff.d.ts +3 -0
- package/lib/components/icon/generated/IconReorderOn.d.ts +3 -0
- package/lib/components/icon/generated/IconSequence.d.ts +3 -0
- package/lib/components/icon/generated/IconStar.d.ts +3 -0
- package/lib/components/icon/generated/IconStarFilled.d.ts +3 -0
- package/lib/components/icon/generated/IconUpload.d.ts +3 -0
- package/lib/components/icon/generated/IconUserProfile.d.ts +3 -0
- package/lib/components/icon/generated/IconUserStats.d.ts +3 -0
- package/lib/components/icon/generated/Info.d.ts +3 -0
- package/lib/components/icon/generated/InputArrow.d.ts +3 -0
- package/lib/components/icon/generated/Instagram.d.ts +3 -0
- package/lib/components/icon/generated/InstagramColored.d.ts +3 -0
- package/lib/components/icon/generated/Lamp.d.ts +3 -0
- package/lib/components/icon/generated/Leaf.d.ts +3 -0
- package/lib/components/icon/generated/Led.d.ts +3 -0
- package/lib/components/icon/generated/LeftQuote.d.ts +3 -0
- package/lib/components/icon/generated/Letter.d.ts +3 -0
- package/lib/components/icon/generated/Link.d.ts +3 -0
- package/lib/components/icon/generated/LiveTracking.d.ts +3 -0
- package/lib/components/icon/generated/Loader.d.ts +3 -0
- package/lib/components/icon/generated/Logo.d.ts +3 -0
- package/lib/components/icon/generated/Mastercard.d.ts +3 -0
- package/lib/components/icon/generated/Menu.d.ts +3 -0
- package/lib/components/icon/generated/MenuDown.d.ts +3 -0
- package/lib/components/icon/generated/MinusCircle.d.ts +3 -0
- package/lib/components/icon/generated/Moon.d.ts +3 -0
- package/lib/components/icon/generated/NavHelp.d.ts +3 -0
- package/lib/components/icon/generated/Next.d.ts +3 -0
- package/lib/components/icon/generated/One.d.ts +3 -0
- package/lib/components/icon/generated/Paint.d.ts +3 -0
- package/lib/components/icon/generated/Pencil.d.ts +3 -0
- package/lib/components/icon/generated/Pinterest.d.ts +3 -0
- package/lib/components/icon/generated/PinterestColored.d.ts +3 -0
- package/lib/components/icon/generated/Play.d.ts +3 -0
- package/lib/components/icon/generated/PlayFull.d.ts +3 -0
- package/lib/components/icon/generated/Plus.d.ts +3 -0
- package/lib/components/icon/generated/PlusCircle.d.ts +3 -0
- package/lib/components/icon/generated/PlusCircleBold.d.ts +3 -0
- package/lib/components/icon/generated/Pointing.d.ts +3 -0
- package/lib/components/icon/generated/Previous.d.ts +3 -0
- package/lib/components/icon/generated/Ray.d.ts +3 -0
- package/lib/components/icon/generated/Reach.d.ts +3 -0
- package/lib/components/icon/generated/ReachLogo.d.ts +3 -0
- package/lib/components/icon/generated/Returns.d.ts +3 -0
- package/lib/components/icon/generated/RightArrow.d.ts +3 -0
- package/lib/components/icon/generated/Ruler.d.ts +3 -0
- package/lib/components/icon/generated/Search.d.ts +3 -0
- package/lib/components/icon/generated/Settings.d.ts +3 -0
- package/lib/components/icon/generated/Share.d.ts +3 -0
- package/lib/components/icon/generated/SprkLogo.d.ts +3 -0
- package/lib/components/icon/generated/Star.d.ts +3 -0
- package/lib/components/icon/generated/StarHalf.d.ts +3 -0
- package/lib/components/icon/generated/StarOutlined.d.ts +3 -0
- package/lib/components/icon/generated/Sun.d.ts +3 -0
- package/lib/components/icon/generated/Tip.d.ts +3 -0
- package/lib/components/icon/generated/Trash.d.ts +3 -0
- package/lib/components/icon/generated/TrashRound.d.ts +3 -0
- package/lib/components/icon/generated/Trunk.d.ts +3 -0
- package/lib/components/icon/generated/Twitter.d.ts +3 -0
- package/lib/components/icon/generated/TwitterTransparent.d.ts +3 -0
- package/lib/components/icon/generated/User.d.ts +3 -0
- package/lib/components/icon/generated/UserSmiling.d.ts +3 -0
- package/lib/components/icon/generated/Visa.d.ts +3 -0
- package/lib/components/icon/generated/Warranty.d.ts +3 -0
- package/lib/components/icon/generated/Website.d.ts +3 -0
- package/lib/components/icon/generated/Windows.d.ts +3 -0
- package/lib/components/icon/generated/Wishlist.d.ts +3 -0
- package/lib/components/icon/generated/World.d.ts +3 -0
- package/lib/components/icon/generated/Yotpo.d.ts +3 -0
- package/lib/components/icon/generated/index.d.ts +151 -0
- package/lib/components/icon/icon.d.ts +3 -0
- package/lib/components/icon/icon.hooks.d.ts +1 -0
- package/lib/components/icon/icon.presets.d.ts +2 -0
- package/lib/components/icon/icon.props.d.ts +20 -0
- package/lib/components/icon/icon.styles.d.ts +1 -0
- package/lib/components/icon/icon.type.d.ts +1 -0
- package/lib/components/icon/index.d.ts +2 -0
- package/lib/helpers/layout.helpers.d.ts +16 -0
- package/lib/index.d.ts +4 -0
- package/lib/styles/index.d.ts +3 -0
- package/lib/styles/media.d.ts +10 -0
- package/lib/styles/theme-provider.d.ts +5 -0
- package/lib/styles/theme.d.ts +180 -0
- package/lib/theme/index.d.ts +2 -0
- package/lib/theme/theme-provider.d.ts +5 -0
- package/lib/theme/theme.d.ts +180 -0
- package/lib/types/layout.d.ts +8 -0
- package/lib/types/resolution-aware-prop.type.d.ts +7 -0
- package/package.json +103 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
export { default as Svg30DaysReturn } from './30DaysReturn';
|
|
2
|
+
export { default as Address } from './Address';
|
|
3
|
+
export { default as AffirmBlue } from './AffirmBlue';
|
|
4
|
+
export { default as Affirm } from './Affirm';
|
|
5
|
+
export { default as Amex } from './Amex';
|
|
6
|
+
export { default as ApplePay } from './ApplePay';
|
|
7
|
+
export { default as Ar } from './Ar';
|
|
8
|
+
export { default as ArrowCircle } from './ArrowCircle';
|
|
9
|
+
export { default as ArrowDown } from './ArrowDown';
|
|
10
|
+
export { default as ArrowLeft } from './ArrowLeft';
|
|
11
|
+
export { default as ArrowRight } from './ArrowRight';
|
|
12
|
+
export { default as Behance } from './Behance';
|
|
13
|
+
export { default as BellTransparent } from './BellTransparent';
|
|
14
|
+
export { default as Bell } from './Bell';
|
|
15
|
+
export { default as BlankCard } from './BlankCard';
|
|
16
|
+
export { default as Box } from './Box';
|
|
17
|
+
export { default as Branch } from './Branch';
|
|
18
|
+
export { default as Bulb } from './Bulb';
|
|
19
|
+
export { default as Calendar } from './Calendar';
|
|
20
|
+
export { default as California } from './California';
|
|
21
|
+
export { default as CameraSquare } from './CameraSquare';
|
|
22
|
+
export { default as Camera } from './Camera';
|
|
23
|
+
export { default as Cart } from './Cart';
|
|
24
|
+
export { default as Chain } from './Chain';
|
|
25
|
+
export { default as CheckFill } from './CheckFill';
|
|
26
|
+
export { default as CheckReverse } from './CheckReverse';
|
|
27
|
+
export { default as CheckRound } from './CheckRound';
|
|
28
|
+
export { default as Check } from './Check';
|
|
29
|
+
export { default as ChevronDown } from './ChevronDown';
|
|
30
|
+
export { default as ChevronLeft } from './ChevronLeft';
|
|
31
|
+
export { default as ChevronRight } from './ChevronRight';
|
|
32
|
+
export { default as Clip } from './Clip';
|
|
33
|
+
export { default as Close } from './Close';
|
|
34
|
+
export { default as Cloud } from './Cloud';
|
|
35
|
+
export { default as DashboardChart } from './DashboardChart';
|
|
36
|
+
export { default as Dashboard } from './Dashboard';
|
|
37
|
+
export { default as Design } from './Design';
|
|
38
|
+
export { default as Dimming } from './Dimming';
|
|
39
|
+
export { default as DisabledArrows } from './DisabledArrows';
|
|
40
|
+
export { default as DisabledInputArrow } from './DisabledInputArrow';
|
|
41
|
+
export { default as Discover } from './Discover';
|
|
42
|
+
export { default as Docs } from './Docs';
|
|
43
|
+
export { default as Dollar } from './Dollar';
|
|
44
|
+
export { default as DotsAnimated } from './DotsAnimated';
|
|
45
|
+
export { default as Dots } from './Dots';
|
|
46
|
+
export { default as Download } from './Download';
|
|
47
|
+
export { default as DragHandler } from './DragHandler';
|
|
48
|
+
export { default as Drag } from './Drag';
|
|
49
|
+
export { default as ElkLogo } from './ElkLogo';
|
|
50
|
+
export { default as EmailRound } from './EmailRound';
|
|
51
|
+
export { default as Email } from './Email';
|
|
52
|
+
export { default as Error } from './Error';
|
|
53
|
+
export { default as FacebookBlack } from './FacebookBlack';
|
|
54
|
+
export { default as FacebookTransparent } from './FacebookTransparent';
|
|
55
|
+
export { default as Flower } from './Flower';
|
|
56
|
+
export { default as FreeShipping } from './FreeShipping';
|
|
57
|
+
export { default as GiftCard } from './GiftCard';
|
|
58
|
+
export { default as GiftGold } from './GiftGold';
|
|
59
|
+
export { default as GiftTeal } from './GiftTeal';
|
|
60
|
+
export { default as Gift } from './Gift';
|
|
61
|
+
export { default as Google } from './Google';
|
|
62
|
+
export { default as Guarantee } from './Guarantee';
|
|
63
|
+
export { default as Hand } from './Hand';
|
|
64
|
+
export { default as HeartOutlined } from './HeartOutlined';
|
|
65
|
+
export { default as Heart } from './Heart';
|
|
66
|
+
export { default as Help } from './Help';
|
|
67
|
+
export { default as House } from './House';
|
|
68
|
+
export { default as IconBell } from './IconBell';
|
|
69
|
+
export { default as IconCheck } from './IconCheck';
|
|
70
|
+
export { default as IconDotArrow } from './IconDotArrow';
|
|
71
|
+
export { default as IconDotModalClose } from './IconDotModalClose';
|
|
72
|
+
export { default as IconDownload } from './IconDownload';
|
|
73
|
+
export { default as IconInfo } from './IconInfo';
|
|
74
|
+
export { default as IconJobsAssemble } from './IconJobsAssemble';
|
|
75
|
+
export { default as IconJobsBondo } from './IconJobsBondo';
|
|
76
|
+
export { default as IconJobsPack } from './IconJobsPack';
|
|
77
|
+
export { default as IconJobsPrint } from './IconJobsPrint';
|
|
78
|
+
export { default as IconJobsQa } from './IconJobsQa';
|
|
79
|
+
export { default as IconJobsSand } from './IconJobsSand';
|
|
80
|
+
export { default as IconMenuClose } from './IconMenuClose';
|
|
81
|
+
export { default as IconMenu } from './IconMenu';
|
|
82
|
+
export { default as IconMore } from './IconMore';
|
|
83
|
+
export { default as IconReorderOff } from './IconReorderOff';
|
|
84
|
+
export { default as IconReorderOn } from './IconReorderOn';
|
|
85
|
+
export { default as IconSequence } from './IconSequence';
|
|
86
|
+
export { default as IconStarFilled } from './IconStarFilled';
|
|
87
|
+
export { default as IconStar } from './IconStar';
|
|
88
|
+
export { default as IconUpload } from './IconUpload';
|
|
89
|
+
export { default as IconUserProfile } from './IconUserProfile';
|
|
90
|
+
export { default as IconUserStats } from './IconUserStats';
|
|
91
|
+
export { default as Info } from './Info';
|
|
92
|
+
export { default as InputArrow } from './InputArrow';
|
|
93
|
+
export { default as InstagramColored } from './InstagramColored';
|
|
94
|
+
export { default as Instagram } from './Instagram';
|
|
95
|
+
export { default as Lamp } from './Lamp';
|
|
96
|
+
export { default as Leaf } from './Leaf';
|
|
97
|
+
export { default as Led } from './Led';
|
|
98
|
+
export { default as LeftQuote } from './LeftQuote';
|
|
99
|
+
export { default as Letter } from './Letter';
|
|
100
|
+
export { default as Link } from './Link';
|
|
101
|
+
export { default as LiveTracking } from './LiveTracking';
|
|
102
|
+
export { default as Loader } from './Loader';
|
|
103
|
+
export { default as Logo } from './Logo';
|
|
104
|
+
export { default as Mastercard } from './Mastercard';
|
|
105
|
+
export { default as MenuDown } from './MenuDown';
|
|
106
|
+
export { default as Menu } from './Menu';
|
|
107
|
+
export { default as MinusCircle } from './MinusCircle';
|
|
108
|
+
export { default as Moon } from './Moon';
|
|
109
|
+
export { default as NavHelp } from './NavHelp';
|
|
110
|
+
export { default as Next } from './Next';
|
|
111
|
+
export { default as One } from './One';
|
|
112
|
+
export { default as Paint } from './Paint';
|
|
113
|
+
export { default as Pencil } from './Pencil';
|
|
114
|
+
export { default as PinterestColored } from './PinterestColored';
|
|
115
|
+
export { default as Pinterest } from './Pinterest';
|
|
116
|
+
export { default as PlayFull } from './PlayFull';
|
|
117
|
+
export { default as Play } from './Play';
|
|
118
|
+
export { default as PlusCircleBold } from './PlusCircleBold';
|
|
119
|
+
export { default as PlusCircle } from './PlusCircle';
|
|
120
|
+
export { default as Plus } from './Plus';
|
|
121
|
+
export { default as Pointing } from './Pointing';
|
|
122
|
+
export { default as Previous } from './Previous';
|
|
123
|
+
export { default as Ray } from './Ray';
|
|
124
|
+
export { default as ReachLogo } from './ReachLogo';
|
|
125
|
+
export { default as Reach } from './Reach';
|
|
126
|
+
export { default as Returns } from './Returns';
|
|
127
|
+
export { default as RightArrow } from './RightArrow';
|
|
128
|
+
export { default as Ruler } from './Ruler';
|
|
129
|
+
export { default as Search } from './Search';
|
|
130
|
+
export { default as Settings } from './Settings';
|
|
131
|
+
export { default as Share } from './Share';
|
|
132
|
+
export { default as SprkLogo } from './SprkLogo';
|
|
133
|
+
export { default as StarHalf } from './StarHalf';
|
|
134
|
+
export { default as StarOutlined } from './StarOutlined';
|
|
135
|
+
export { default as Star } from './Star';
|
|
136
|
+
export { default as Sun } from './Sun';
|
|
137
|
+
export { default as Tip } from './Tip';
|
|
138
|
+
export { default as TrashRound } from './TrashRound';
|
|
139
|
+
export { default as Trash } from './Trash';
|
|
140
|
+
export { default as Trunk } from './Trunk';
|
|
141
|
+
export { default as TwitterTransparent } from './TwitterTransparent';
|
|
142
|
+
export { default as Twitter } from './Twitter';
|
|
143
|
+
export { default as UserSmiling } from './UserSmiling';
|
|
144
|
+
export { default as User } from './User';
|
|
145
|
+
export { default as Visa } from './Visa';
|
|
146
|
+
export { default as Warranty } from './Warranty';
|
|
147
|
+
export { default as Website } from './Website';
|
|
148
|
+
export { default as Windows } from './Windows';
|
|
149
|
+
export { default as Wishlist } from './Wishlist';
|
|
150
|
+
export { default as World } from './World';
|
|
151
|
+
export { default as Yotpo } from './Yotpo';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useWithViewbox: (ref: any) => void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
import { Property } from 'csstype';
|
|
3
|
+
import { IconType } from './icon.type';
|
|
4
|
+
import { PaletteColor } from '../../styles';
|
|
5
|
+
import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
|
|
6
|
+
export interface IconProps extends SVGProps<any> {
|
|
7
|
+
bottom?: Property.Bottom;
|
|
8
|
+
color?: PaletteColor;
|
|
9
|
+
cursor?: Property.Cursor;
|
|
10
|
+
height?: ResolutionAwareProp<Property.Height<string | any>>;
|
|
11
|
+
left?: Property.Left;
|
|
12
|
+
name: IconType;
|
|
13
|
+
opacity?: number;
|
|
14
|
+
right?: Property.Right;
|
|
15
|
+
size?: ResolutionAwareProp<Property.Height<string>>;
|
|
16
|
+
strokeColor?: PaletteColor;
|
|
17
|
+
strokeWidth?: Property.StrokeWidth<string>;
|
|
18
|
+
top?: Property.Top;
|
|
19
|
+
width?: ResolutionAwareProp<Property.Width<string | any>>;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledSvgIcon: import("styled-components").StyledComponent<"svg", import("styled-components").DefaultTheme, any, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type IconType = '30-days-return' | 'address' | 'affirm' | 'affirm-blue' | 'amex' | 'apple-pay' | 'ar' | 'arrow-circle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'behance' | 'bell' | 'bell-transparent' | 'blank-card' | 'box' | 'branch' | 'bulb' | 'calendar' | 'california' | 'camera' | 'camera-square' | 'cart' | 'chain' | 'check' | 'check-fill' | 'check-reverse' | 'check-round' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'clip' | 'close' | 'cloud' | 'dashboard' | 'dashboard-chart' | 'design' | 'dimming' | 'disabled-arrows' | 'disabled-input-arrow' | 'discover' | 'docs' | 'dollar' | 'dots' | 'dots-animated' | 'download' | 'drag' | 'drag-handler' | 'elk-logo' | 'email' | 'email-round' | 'error' | 'facebook-black' | 'facebook-transparent' | 'flower' | 'free-shipping' | 'gift' | 'gift-card' | 'gift-gold' | 'gift-teal' | 'google' | 'guarantee' | 'hand' | 'heart' | 'heart-outlined' | 'help' | 'house' | 'info' | 'input-arrow' | 'instagram' | 'instagram-colored' | 'lamp' | 'leaf' | 'led' | 'left-quote' | 'letter' | 'link' | 'live-tracking' | 'loader' | 'logo' | 'mastercard' | 'menu' | 'menu-down' | 'minus-circle' | 'moon' | 'nav-help' | 'next' | 'one' | 'paint' | 'pencil' | 'pinterest' | 'pinterest-colored' | 'play' | 'play-full' | 'plus' | 'plus-circle' | 'plus-circle-bold' | 'pointing' | 'previous' | 'ray' | 'reach' | 'reach-logo' | 'returns' | 'right-arrow' | 'ruler' | 'search' | 'settings' | 'share' | 'sprk-logo' | 'star' | 'star-half' | 'star-outlined' | 'sun' | 'tip' | 'trash' | 'trash-round' | 'trunk' | 'twitter' | 'twitter-transparent' | 'user' | 'user-smiling' | 'visa' | 'warranty' | 'website' | 'windows' | 'wishlist' | 'world' | 'yotpo';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AppSize, ResolutionAwareProp, ResolutionAwarePropBase } from '../types/resolution-aware-prop.type';
|
|
2
|
+
import { ExtractStyleFromResolutionAwarePropEntry } from '../types/layout';
|
|
3
|
+
export declare const extractValuesFromResolutionAwareProp: (prop: any) => ResolutionAwarePropBase<any>;
|
|
4
|
+
export declare const getResolutionPrefix: () => AppSize;
|
|
5
|
+
export declare const extractValueFromResolutionAwareProp: (prop: any, size: AppSize) => any;
|
|
6
|
+
export declare const calculateDimensionsFromAspectRatio: (aspectRatio: string) => {
|
|
7
|
+
height: string;
|
|
8
|
+
width: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const generateStylesForResolutionAwareProps: (entries: ExtractStyleFromResolutionAwarePropEntry[]) => import("styled-components").FlattenSimpleInterpolation;
|
|
11
|
+
export declare const isLargeScreen: () => boolean;
|
|
12
|
+
export declare const isSmallScreen: () => boolean;
|
|
13
|
+
export declare const extractValueFromResolutionAwarePropertyForCurrentScreenSize: (property: ResolutionAwareProp<any>) => any;
|
|
14
|
+
export declare const getAspectRatioByCategory: (category: string) => string;
|
|
15
|
+
export declare const isCssPropertyValueDefined: (property: string) => boolean | "";
|
|
16
|
+
export declare const getAspectRatio: (width: number, height: number) => string;
|
package/lib/index.d.ts
ADDED