@hitachivantara/uikit-react-lab 3.52.2 → 3.54.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.
Files changed (205) hide show
  1. package/dist/ImageCarousel/ImageCarousel.d.ts +11 -0
  2. package/dist/ImageCarousel/ImageCarousel.js +615 -0
  3. package/dist/ImageCarousel/ImageCarousel.js.map +1 -0
  4. package/dist/ImageCarousel/index.d.ts +2 -0
  5. package/dist/ImageCarousel/index.js +16 -0
  6. package/dist/ImageCarousel/index.js.map +1 -0
  7. package/dist/ImageCarousel/stories/resources/Ahsoka.jpg +0 -0
  8. package/dist/ImageCarousel/stories/resources/AnakinSkywalker.jpg +0 -0
  9. package/dist/ImageCarousel/stories/resources/BobaFett.jpg +0 -0
  10. package/dist/ImageCarousel/stories/resources/DarthVader.jpg +0 -0
  11. package/dist/ImageCarousel/stories/resources/MaceWindu.jpg +0 -0
  12. package/dist/ImageCarousel/stories/resources/ObiWan.png +0 -0
  13. package/dist/ImageCarousel/stories/resources/Panoramic.jpg +0 -0
  14. package/dist/ImageCarousel/stories/resources/Revan.jpg +0 -0
  15. package/dist/ImageCarousel/stories/resources/TheMandalorian.jpg +0 -0
  16. package/dist/ImageCarousel/stories/resources/Yoda.jpg +0 -0
  17. package/dist/ImageCarousel/styles.js +238 -0
  18. package/dist/ImageCarousel/styles.js.map +1 -0
  19. package/dist/StepNavigation/DefaultNavigation/DefaultNavigation.d.ts +58 -0
  20. package/dist/StepNavigation/DefaultNavigation/DefaultNavigation.js +130 -0
  21. package/dist/StepNavigation/DefaultNavigation/DefaultNavigation.js.map +1 -0
  22. package/dist/StepNavigation/DefaultNavigation/Step/Step.d.ts +27 -0
  23. package/dist/StepNavigation/DefaultNavigation/Step/Step.js +189 -0
  24. package/dist/StepNavigation/DefaultNavigation/Step/Step.js.map +1 -0
  25. package/dist/StepNavigation/DefaultNavigation/Step/index.d.ts +2 -0
  26. package/dist/StepNavigation/DefaultNavigation/Step/index.js +16 -0
  27. package/dist/StepNavigation/DefaultNavigation/Step/index.js.map +1 -0
  28. package/dist/StepNavigation/DefaultNavigation/Step/styles.js +53 -0
  29. package/dist/StepNavigation/DefaultNavigation/Step/styles.js.map +1 -0
  30. package/dist/StepNavigation/DefaultNavigation/index.d.ts +2 -0
  31. package/dist/StepNavigation/DefaultNavigation/index.js +16 -0
  32. package/dist/StepNavigation/DefaultNavigation/index.js.map +1 -0
  33. package/dist/StepNavigation/DefaultNavigation/styles.js +16 -0
  34. package/dist/StepNavigation/DefaultNavigation/styles.js.map +1 -0
  35. package/dist/StepNavigation/DefaultNavigation/utils.js +49 -0
  36. package/dist/StepNavigation/DefaultNavigation/utils.js.map +1 -0
  37. package/dist/StepNavigation/SimpleNavigation/Dot/Dot.d.ts +10 -0
  38. package/dist/StepNavigation/SimpleNavigation/Dot/Dot.js +166 -0
  39. package/dist/StepNavigation/SimpleNavigation/Dot/Dot.js.map +1 -0
  40. package/dist/StepNavigation/SimpleNavigation/Dot/index.d.ts +2 -0
  41. package/dist/StepNavigation/SimpleNavigation/Dot/index.js +16 -0
  42. package/dist/StepNavigation/SimpleNavigation/Dot/index.js.map +1 -0
  43. package/dist/StepNavigation/SimpleNavigation/Dot/styles.js +25 -0
  44. package/dist/StepNavigation/SimpleNavigation/Dot/styles.js.map +1 -0
  45. package/dist/StepNavigation/SimpleNavigation/SimpleNavigation.d.ts +58 -0
  46. package/dist/StepNavigation/SimpleNavigation/SimpleNavigation.js +133 -0
  47. package/dist/StepNavigation/SimpleNavigation/SimpleNavigation.js.map +1 -0
  48. package/dist/StepNavigation/SimpleNavigation/index.d.ts +2 -0
  49. package/dist/StepNavigation/SimpleNavigation/index.js +16 -0
  50. package/dist/StepNavigation/SimpleNavigation/index.js.map +1 -0
  51. package/dist/StepNavigation/SimpleNavigation/styles.js +16 -0
  52. package/dist/StepNavigation/SimpleNavigation/styles.js.map +1 -0
  53. package/dist/StepNavigation/SimpleNavigation/utils.js +31 -0
  54. package/dist/StepNavigation/SimpleNavigation/utils.js.map +1 -0
  55. package/dist/StepNavigation/StepNavigation.d.ts +42 -0
  56. package/dist/StepNavigation/StepNavigation.js +377 -0
  57. package/dist/StepNavigation/StepNavigation.js.map +1 -0
  58. package/dist/StepNavigation/index.d.ts +2 -0
  59. package/dist/StepNavigation/index.js +16 -0
  60. package/dist/StepNavigation/index.js.map +1 -0
  61. package/dist/StepNavigation/styles.js +41 -0
  62. package/dist/StepNavigation/styles.js.map +1 -0
  63. package/dist/StepNavigation/utils.js +15 -0
  64. package/dist/StepNavigation/utils.js.map +1 -0
  65. package/dist/Tag/Tag.d.ts +2 -21
  66. package/dist/index.d.ts +6 -0
  67. package/dist/index.js +19 -1
  68. package/dist/index.js.map +1 -1
  69. package/dist/legacy/ImageCarousel/ImageCarousel.d.ts +11 -0
  70. package/dist/legacy/ImageCarousel/ImageCarousel.js +574 -0
  71. package/dist/legacy/ImageCarousel/ImageCarousel.js.map +1 -0
  72. package/dist/legacy/ImageCarousel/index.d.ts +2 -0
  73. package/dist/legacy/ImageCarousel/index.js +2 -0
  74. package/dist/legacy/ImageCarousel/index.js.map +1 -0
  75. package/dist/legacy/ImageCarousel/stories/resources/Ahsoka.jpg +0 -0
  76. package/dist/legacy/ImageCarousel/stories/resources/AnakinSkywalker.jpg +0 -0
  77. package/dist/legacy/ImageCarousel/stories/resources/BobaFett.jpg +0 -0
  78. package/dist/legacy/ImageCarousel/stories/resources/DarthVader.jpg +0 -0
  79. package/dist/legacy/ImageCarousel/stories/resources/MaceWindu.jpg +0 -0
  80. package/dist/legacy/ImageCarousel/stories/resources/ObiWan.png +0 -0
  81. package/dist/legacy/ImageCarousel/stories/resources/Panoramic.jpg +0 -0
  82. package/dist/legacy/ImageCarousel/stories/resources/Revan.jpg +0 -0
  83. package/dist/legacy/ImageCarousel/stories/resources/TheMandalorian.jpg +0 -0
  84. package/dist/legacy/ImageCarousel/stories/resources/Yoda.jpg +0 -0
  85. package/dist/legacy/ImageCarousel/styles.js +228 -0
  86. package/dist/legacy/ImageCarousel/styles.js.map +1 -0
  87. package/dist/legacy/StepNavigation/DefaultNavigation/DefaultNavigation.d.ts +58 -0
  88. package/dist/legacy/StepNavigation/DefaultNavigation/DefaultNavigation.js +112 -0
  89. package/dist/legacy/StepNavigation/DefaultNavigation/DefaultNavigation.js.map +1 -0
  90. package/dist/legacy/StepNavigation/DefaultNavigation/Step/Step.d.ts +27 -0
  91. package/dist/legacy/StepNavigation/DefaultNavigation/Step/Step.js +169 -0
  92. package/dist/legacy/StepNavigation/DefaultNavigation/Step/Step.js.map +1 -0
  93. package/dist/legacy/StepNavigation/DefaultNavigation/Step/index.d.ts +2 -0
  94. package/dist/legacy/StepNavigation/DefaultNavigation/Step/index.js +2 -0
  95. package/dist/legacy/StepNavigation/DefaultNavigation/Step/index.js.map +1 -0
  96. package/dist/legacy/StepNavigation/DefaultNavigation/Step/styles.js +45 -0
  97. package/dist/legacy/StepNavigation/DefaultNavigation/Step/styles.js.map +1 -0
  98. package/dist/legacy/StepNavigation/DefaultNavigation/index.d.ts +2 -0
  99. package/dist/legacy/StepNavigation/DefaultNavigation/index.js +2 -0
  100. package/dist/legacy/StepNavigation/DefaultNavigation/index.js.map +1 -0
  101. package/dist/legacy/StepNavigation/DefaultNavigation/styles.js +8 -0
  102. package/dist/legacy/StepNavigation/DefaultNavigation/styles.js.map +1 -0
  103. package/dist/legacy/StepNavigation/DefaultNavigation/utils.js +41 -0
  104. package/dist/legacy/StepNavigation/DefaultNavigation/utils.js.map +1 -0
  105. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/Dot.d.ts +10 -0
  106. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/Dot.js +125 -0
  107. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/Dot.js.map +1 -0
  108. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/index.d.ts +2 -0
  109. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/index.js +2 -0
  110. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/index.js.map +1 -0
  111. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/styles.js +18 -0
  112. package/dist/legacy/StepNavigation/SimpleNavigation/Dot/styles.js.map +1 -0
  113. package/dist/legacy/StepNavigation/SimpleNavigation/SimpleNavigation.d.ts +58 -0
  114. package/dist/legacy/StepNavigation/SimpleNavigation/SimpleNavigation.js +113 -0
  115. package/dist/legacy/StepNavigation/SimpleNavigation/SimpleNavigation.js.map +1 -0
  116. package/dist/legacy/StepNavigation/SimpleNavigation/index.d.ts +2 -0
  117. package/dist/legacy/StepNavigation/SimpleNavigation/index.js +2 -0
  118. package/dist/legacy/StepNavigation/SimpleNavigation/index.js.map +1 -0
  119. package/dist/legacy/StepNavigation/SimpleNavigation/styles.js +8 -0
  120. package/dist/legacy/StepNavigation/SimpleNavigation/styles.js.map +1 -0
  121. package/dist/legacy/StepNavigation/SimpleNavigation/utils.js +22 -0
  122. package/dist/legacy/StepNavigation/SimpleNavigation/utils.js.map +1 -0
  123. package/dist/legacy/StepNavigation/StepNavigation.d.ts +42 -0
  124. package/dist/legacy/StepNavigation/StepNavigation.js +341 -0
  125. package/dist/legacy/StepNavigation/StepNavigation.js.map +1 -0
  126. package/dist/legacy/StepNavigation/index.d.ts +2 -0
  127. package/dist/legacy/StepNavigation/index.js +2 -0
  128. package/dist/legacy/StepNavigation/index.js.map +1 -0
  129. package/dist/legacy/StepNavigation/styles.js +33 -0
  130. package/dist/legacy/StepNavigation/styles.js.map +1 -0
  131. package/dist/legacy/StepNavigation/utils.js +6 -0
  132. package/dist/legacy/StepNavigation/utils.js.map +1 -0
  133. package/dist/legacy/Tag/Tag.d.ts +2 -21
  134. package/dist/legacy/index.d.ts +6 -0
  135. package/dist/legacy/index.js +2 -0
  136. package/dist/legacy/index.js.map +1 -1
  137. package/dist/modern/ImageCarousel/ImageCarousel.d.ts +11 -0
  138. package/dist/modern/ImageCarousel/ImageCarousel.js +499 -0
  139. package/dist/modern/ImageCarousel/ImageCarousel.js.map +1 -0
  140. package/dist/modern/ImageCarousel/index.d.ts +2 -0
  141. package/dist/modern/ImageCarousel/index.js +2 -0
  142. package/dist/modern/ImageCarousel/index.js.map +1 -0
  143. package/dist/modern/ImageCarousel/stories/resources/Ahsoka.jpg +0 -0
  144. package/dist/modern/ImageCarousel/stories/resources/AnakinSkywalker.jpg +0 -0
  145. package/dist/modern/ImageCarousel/stories/resources/BobaFett.jpg +0 -0
  146. package/dist/modern/ImageCarousel/stories/resources/DarthVader.jpg +0 -0
  147. package/dist/modern/ImageCarousel/stories/resources/MaceWindu.jpg +0 -0
  148. package/dist/modern/ImageCarousel/stories/resources/ObiWan.png +0 -0
  149. package/dist/modern/ImageCarousel/stories/resources/Panoramic.jpg +0 -0
  150. package/dist/modern/ImageCarousel/stories/resources/Revan.jpg +0 -0
  151. package/dist/modern/ImageCarousel/stories/resources/TheMandalorian.jpg +0 -0
  152. package/dist/modern/ImageCarousel/stories/resources/Yoda.jpg +0 -0
  153. package/dist/modern/ImageCarousel/styles.js +241 -0
  154. package/dist/modern/ImageCarousel/styles.js.map +1 -0
  155. package/dist/modern/StepNavigation/DefaultNavigation/DefaultNavigation.d.ts +58 -0
  156. package/dist/modern/StepNavigation/DefaultNavigation/DefaultNavigation.js +111 -0
  157. package/dist/modern/StepNavigation/DefaultNavigation/DefaultNavigation.js.map +1 -0
  158. package/dist/modern/StepNavigation/DefaultNavigation/Step/Step.d.ts +27 -0
  159. package/dist/modern/StepNavigation/DefaultNavigation/Step/Step.js +168 -0
  160. package/dist/modern/StepNavigation/DefaultNavigation/Step/Step.js.map +1 -0
  161. package/dist/modern/StepNavigation/DefaultNavigation/Step/index.d.ts +2 -0
  162. package/dist/modern/StepNavigation/DefaultNavigation/Step/index.js +2 -0
  163. package/dist/modern/StepNavigation/DefaultNavigation/Step/index.js.map +1 -0
  164. package/dist/modern/StepNavigation/DefaultNavigation/Step/styles.js +43 -0
  165. package/dist/modern/StepNavigation/DefaultNavigation/Step/styles.js.map +1 -0
  166. package/dist/modern/StepNavigation/DefaultNavigation/index.d.ts +2 -0
  167. package/dist/modern/StepNavigation/DefaultNavigation/index.js +2 -0
  168. package/dist/modern/StepNavigation/DefaultNavigation/index.js.map +1 -0
  169. package/dist/modern/StepNavigation/DefaultNavigation/styles.js +6 -0
  170. package/dist/modern/StepNavigation/DefaultNavigation/styles.js.map +1 -0
  171. package/dist/modern/StepNavigation/DefaultNavigation/utils.js +41 -0
  172. package/dist/modern/StepNavigation/DefaultNavigation/utils.js.map +1 -0
  173. package/dist/modern/StepNavigation/SimpleNavigation/Dot/Dot.d.ts +10 -0
  174. package/dist/modern/StepNavigation/SimpleNavigation/Dot/Dot.js +114 -0
  175. package/dist/modern/StepNavigation/SimpleNavigation/Dot/Dot.js.map +1 -0
  176. package/dist/modern/StepNavigation/SimpleNavigation/Dot/index.d.ts +2 -0
  177. package/dist/modern/StepNavigation/SimpleNavigation/Dot/index.js +2 -0
  178. package/dist/modern/StepNavigation/SimpleNavigation/Dot/index.js.map +1 -0
  179. package/dist/modern/StepNavigation/SimpleNavigation/Dot/styles.js +18 -0
  180. package/dist/modern/StepNavigation/SimpleNavigation/Dot/styles.js.map +1 -0
  181. package/dist/modern/StepNavigation/SimpleNavigation/SimpleNavigation.d.ts +58 -0
  182. package/dist/modern/StepNavigation/SimpleNavigation/SimpleNavigation.js +110 -0
  183. package/dist/modern/StepNavigation/SimpleNavigation/SimpleNavigation.js.map +1 -0
  184. package/dist/modern/StepNavigation/SimpleNavigation/index.d.ts +2 -0
  185. package/dist/modern/StepNavigation/SimpleNavigation/index.js +2 -0
  186. package/dist/modern/StepNavigation/SimpleNavigation/index.js.map +1 -0
  187. package/dist/modern/StepNavigation/SimpleNavigation/styles.js +6 -0
  188. package/dist/modern/StepNavigation/SimpleNavigation/styles.js.map +1 -0
  189. package/dist/modern/StepNavigation/SimpleNavigation/utils.js +22 -0
  190. package/dist/modern/StepNavigation/SimpleNavigation/utils.js.map +1 -0
  191. package/dist/modern/StepNavigation/StepNavigation.d.ts +42 -0
  192. package/dist/modern/StepNavigation/StepNavigation.js +324 -0
  193. package/dist/modern/StepNavigation/StepNavigation.js.map +1 -0
  194. package/dist/modern/StepNavigation/index.d.ts +2 -0
  195. package/dist/modern/StepNavigation/index.js +2 -0
  196. package/dist/modern/StepNavigation/index.js.map +1 -0
  197. package/dist/modern/StepNavigation/styles.js +31 -0
  198. package/dist/modern/StepNavigation/styles.js.map +1 -0
  199. package/dist/modern/StepNavigation/utils.js +6 -0
  200. package/dist/modern/StepNavigation/utils.js.map +1 -0
  201. package/dist/modern/Tag/Tag.d.ts +2 -21
  202. package/dist/modern/index.d.ts +6 -0
  203. package/dist/modern/index.js +2 -0
  204. package/dist/modern/index.js.map +1 -1
  205. package/package.json +3 -3
@@ -0,0 +1,241 @@
1
+ const styles = theme => ({
2
+ root: {
3
+ "&:not(.xs)": {
4
+ background: theme.hv.palette.atmosphere.atmo1,
5
+ display: "flex",
6
+ alignItems: "center",
7
+ flexDirection: "column",
8
+ margin: "0px",
9
+ paddingTop: "15px",
10
+ paddingBottom: "15px"
11
+ },
12
+ "&:not(.nxs)": {
13
+ width: "100%",
14
+ maxWidth: "500px",
15
+ height: "200px",
16
+ padding: "0px"
17
+ }
18
+ },
19
+ fullscreenStyle: {
20
+ width: "100vw",
21
+ height: "100vh",
22
+ position: "fixed",
23
+ padding: "10px 150px 10px 150px",
24
+ top: 0,
25
+ left: 0,
26
+ zIndex: 1300
27
+ },
28
+ closeButton: {
29
+ position: "absolute",
30
+ right: "25px"
31
+ },
32
+ selectedImage: {
33
+ "&:not(.contain)": {
34
+ objectFit: "cover"
35
+ },
36
+ "&:not(.cover)": {
37
+ objectFit: "contain"
38
+ },
39
+ "&:not(.xs)": {
40
+ width: "100%",
41
+ textAlign: "center",
42
+ "&:not(.fullscreen)": {
43
+ [theme.breakpoints.up("xs")]: {
44
+ height: "150px",
45
+ minHeight: "150px"
46
+ },
47
+ [theme.breakpoints.up("sm")]: {
48
+ height: "300px",
49
+ minHeight: "300px"
50
+ },
51
+ [theme.breakpoints.up("lg")]: {
52
+ height: "450px",
53
+ minHeight: "450px"
54
+ }
55
+ },
56
+ "&:not(.notFullscreen)": {
57
+ height: "100%"
58
+ }
59
+ },
60
+ "&:not(.nxs)": {
61
+ width: "100%",
62
+ textAlign: "center"
63
+ }
64
+ },
65
+ xsMode: {
66
+ width: "min-content",
67
+ height: "min-content",
68
+ margin: "0px",
69
+ textAlign: "center"
70
+ },
71
+ circles: {
72
+ display: "flex",
73
+ alignItems: "center",
74
+ justifyContent: "center"
75
+ },
76
+ xsCircles: {
77
+ display: "flex",
78
+ alignItems: "center",
79
+ justifyContent: "center",
80
+ position: "relative",
81
+ transform: "translateY(-63px)"
82
+ },
83
+ hidden: {
84
+ visibility: "hidden"
85
+ },
86
+ title: {
87
+ display: "flex",
88
+ alignItems: "flex-start",
89
+ width: "100%",
90
+ justifyContent: "space-between"
91
+ },
92
+ divCounter: {
93
+ width: "100%",
94
+ paddingTop: "10px",
95
+ paddingRight: "15px",
96
+ display: "flex",
97
+ justifyContent: "flex-end",
98
+ position: "relative",
99
+ bottom: "102%",
100
+ "&:not(.nxs)": {
101
+ right: "5%",
102
+ bottom: "262px",
103
+ padding: "0px"
104
+ }
105
+ },
106
+ counter: {
107
+ width: "45px",
108
+ backgroundColor: theme.hv.palette.base.base2
109
+ },
110
+ img: {
111
+ width: "100%",
112
+ height: "70px",
113
+ [theme.breakpoints.up("lg")]: {
114
+ height: "75px"
115
+ },
116
+ textAlign: "center",
117
+ objectFit: "cover"
118
+ },
119
+ thumbnailSelected: {
120
+ width: "100%",
121
+ height: "70px",
122
+ [theme.breakpoints.up("lg")]: {
123
+ height: "75px"
124
+ },
125
+ textAlign: "center",
126
+ objectFit: "cover",
127
+ borderStyle: "solid",
128
+ borderColor: theme.hv.palette.base.base2,
129
+ opacity: "50%"
130
+ },
131
+ thumbnailButton: {
132
+ width: "110px",
133
+ height: "70px",
134
+ padding: "0px 0px",
135
+ [theme.breakpoints.up("lg")]: {
136
+ width: "120px",
137
+ height: "75px"
138
+ }
139
+ },
140
+ miniCircle: {
141
+ width: "5px",
142
+ height: "5px",
143
+ borderRadius: "50%",
144
+ backgroundColor: theme.hv.palette.atmosphere.atmo4,
145
+ display: "inline-block",
146
+ margin: "10px"
147
+ },
148
+ selectedCircle: {
149
+ width: "10px",
150
+ height: "10px",
151
+ borderRadius: "50%",
152
+ backgroundColor: theme.hv.palette.atmosphere.atmo5,
153
+ display: "inline-block",
154
+ margin: "10px"
155
+ },
156
+ xsSelectedCircle: {
157
+ width: "10px",
158
+ height: "10px",
159
+ borderRadius: "50%",
160
+ backgroundColor: theme.hv.palette.atmosphere.atmo3,
161
+ display: "inline-block",
162
+ margin: "10px"
163
+ },
164
+ lowButtons: {
165
+ width: "95%",
166
+ display: "inline-flex",
167
+ justifyContent: "space-between",
168
+ position: "relative",
169
+ top: "-50%",
170
+ transform: "translateY(-16px)",
171
+ "&:not(.nxs)": {
172
+ width: "90%",
173
+ top: "-99px"
174
+ }
175
+ },
176
+ imageContainer: {
177
+ width: "100%",
178
+ marginTop: "20px",
179
+ margin: "0px",
180
+ textAlign: "center",
181
+ padding: "0px",
182
+ [theme.breakpoints.up("xs")]: {
183
+ height: "150px",
184
+ minHeight: "150px"
185
+ },
186
+ [theme.breakpoints.up("sm")]: {
187
+ height: "300px",
188
+ minHeight: "300px"
189
+ },
190
+ [theme.breakpoints.up("lg")]: {
191
+ height: "450px",
192
+ minHeight: "450px"
193
+ },
194
+ "&:not(.notFullscreen)": {
195
+ height: "85%",
196
+ alignItems: "center"
197
+ }
198
+ },
199
+ button: {
200
+ backgroundColor: theme.hv.palette.atmosphere.atmo3
201
+ },
202
+ inputImage: {
203
+ width: "110px",
204
+ height: "70px",
205
+ padding: "0px 0px",
206
+ [theme.breakpoints.up("lg")]: {
207
+ width: "120px",
208
+ height: "75px"
209
+ }
210
+ },
211
+ stack: {
212
+ "&:not(.xs)": {
213
+ width: "100%",
214
+ display: "flex",
215
+ alignSelf: "center",
216
+ height: "100%",
217
+ padding: "0px"
218
+ },
219
+ "&:not(.flag)": {
220
+ overflowX: "hidden"
221
+ },
222
+ "&:not(.nxs)": {
223
+ height: "200px",
224
+ display: "flex",
225
+ padding: "0px"
226
+ }
227
+ },
228
+ normalButtons: {
229
+ padding: "5px 0px"
230
+ },
231
+ panel: {
232
+ display: "flex",
233
+ width: "100%",
234
+ overflow: "hidden",
235
+ padding: "3px",
236
+ height: "75px"
237
+ }
238
+ });
239
+
240
+ export default styles;
241
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","names":["styles","theme","root","background","hv","palette","atmosphere","atmo1","display","alignItems","flexDirection","margin","paddingTop","paddingBottom","width","maxWidth","height","padding","fullscreenStyle","position","top","left","zIndex","closeButton","right","selectedImage","objectFit","textAlign","breakpoints","up","minHeight","xsMode","circles","justifyContent","xsCircles","transform","hidden","visibility","title","divCounter","paddingRight","bottom","counter","backgroundColor","base","base2","img","thumbnailSelected","borderStyle","borderColor","opacity","thumbnailButton","miniCircle","borderRadius","atmo4","selectedCircle","atmo5","xsSelectedCircle","atmo3","lowButtons","imageContainer","marginTop","button","inputImage","stack","alignSelf","overflowX","normalButtons","panel","overflow"],"sources":["../../../src/ImageCarousel/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {\n \"&:not(.xs)\": {\n background: theme.hv.palette.atmosphere.atmo1,\n display: \"flex\",\n alignItems: \"center\",\n flexDirection: \"column\",\n margin: \"0px\",\n paddingTop: \"15px\",\n paddingBottom: \"15px\",\n },\n \"&:not(.nxs)\": {\n width: \"100%\",\n maxWidth: \"500px\",\n height: \"200px\",\n padding: \"0px\",\n },\n },\n fullscreenStyle: {\n width: \"100vw\",\n height: \"100vh\",\n position: \"fixed\",\n padding: \"10px 150px 10px 150px\",\n top: 0,\n left: 0,\n zIndex: 1300,\n },\n closeButton: {\n position: \"absolute\",\n right: \"25px\",\n },\n selectedImage: {\n \"&:not(.contain)\": {\n objectFit: \"cover\",\n },\n \"&:not(.cover)\": {\n objectFit: \"contain\",\n },\n \"&:not(.xs)\": {\n width: \"100%\",\n textAlign: \"center\",\n \"&:not(.fullscreen)\": {\n [theme.breakpoints.up(\"xs\")]: {\n height: \"150px\",\n minHeight: \"150px\",\n },\n [theme.breakpoints.up(\"sm\")]: {\n height: \"300px\",\n minHeight: \"300px\",\n },\n [theme.breakpoints.up(\"lg\")]: {\n height: \"450px\",\n minHeight: \"450px\",\n },\n },\n \"&:not(.notFullscreen)\": {\n height: \"100%\",\n },\n },\n \"&:not(.nxs)\": {\n width: \"100%\",\n textAlign: \"center\",\n },\n },\n xsMode: {\n width: \"min-content\",\n height: \"min-content\",\n margin: \"0px\",\n textAlign: \"center\",\n },\n circles: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n },\n xsCircles: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n position: \"relative\",\n transform: \"translateY(-63px)\",\n },\n hidden: {\n visibility: \"hidden\",\n },\n title: {\n display: \"flex\",\n alignItems: \"flex-start\",\n width: \"100%\",\n justifyContent: \"space-between\",\n },\n divCounter: {\n width: \"100%\",\n paddingTop: \"10px\",\n paddingRight: \"15px\",\n display: \"flex\",\n justifyContent: \"flex-end\",\n position: \"relative\",\n bottom: \"102%\",\n \"&:not(.nxs)\": {\n right: \"5%\",\n bottom: \"262px\",\n padding: \"0px\",\n },\n },\n counter: {\n width: \"45px\",\n backgroundColor: theme.hv.palette.base.base2,\n },\n img: {\n width: \"100%\",\n height: \"70px\",\n [theme.breakpoints.up(\"lg\")]: {\n height: \"75px\",\n },\n textAlign: \"center\",\n objectFit: \"cover\",\n },\n thumbnailSelected: {\n width: \"100%\",\n height: \"70px\",\n [theme.breakpoints.up(\"lg\")]: {\n height: \"75px\",\n },\n textAlign: \"center\",\n objectFit: \"cover\",\n borderStyle: \"solid\",\n borderColor: theme.hv.palette.base.base2,\n opacity: \"50%\",\n },\n thumbnailButton: {\n width: \"110px\",\n height: \"70px\",\n padding: \"0px 0px\",\n [theme.breakpoints.up(\"lg\")]: {\n width: \"120px\",\n height: \"75px\",\n },\n },\n miniCircle: {\n width: \"5px\",\n height: \"5px\",\n borderRadius: \"50%\",\n backgroundColor: theme.hv.palette.atmosphere.atmo4,\n display: \"inline-block\",\n margin: \"10px\",\n },\n selectedCircle: {\n width: \"10px\",\n height: \"10px\",\n borderRadius: \"50%\",\n backgroundColor: theme.hv.palette.atmosphere.atmo5,\n display: \"inline-block\",\n margin: \"10px\",\n },\n xsSelectedCircle: {\n width: \"10px\",\n height: \"10px\",\n borderRadius: \"50%\",\n backgroundColor: theme.hv.palette.atmosphere.atmo3,\n display: \"inline-block\",\n margin: \"10px\",\n },\n lowButtons: {\n width: \"95%\",\n display: \"inline-flex\",\n justifyContent: \"space-between\",\n position: \"relative\",\n top: \"-50%\",\n transform: \"translateY(-16px)\",\n \"&:not(.nxs)\": {\n width: \"90%\",\n top: \"-99px\",\n },\n },\n imageContainer: {\n width: \"100%\",\n marginTop: \"20px\",\n margin: \"0px\",\n textAlign: \"center\",\n padding: \"0px\",\n [theme.breakpoints.up(\"xs\")]: {\n height: \"150px\",\n minHeight: \"150px\",\n },\n [theme.breakpoints.up(\"sm\")]: {\n height: \"300px\",\n minHeight: \"300px\",\n },\n [theme.breakpoints.up(\"lg\")]: {\n height: \"450px\",\n minHeight: \"450px\",\n },\n \"&:not(.notFullscreen)\": {\n height: \"85%\",\n alignItems: \"center\",\n },\n },\n button: {\n backgroundColor: theme.hv.palette.atmosphere.atmo3,\n },\n inputImage: {\n width: \"110px\",\n height: \"70px\",\n padding: \"0px 0px\",\n [theme.breakpoints.up(\"lg\")]: {\n width: \"120px\",\n height: \"75px\",\n },\n },\n stack: {\n \"&:not(.xs)\": {\n width: \"100%\",\n display: \"flex\",\n alignSelf: \"center\",\n height: \"100%\",\n padding: \"0px\",\n },\n \"&:not(.flag)\": {\n overflowX: \"hidden\",\n },\n \"&:not(.nxs)\": {\n height: \"200px\",\n display: \"flex\",\n padding: \"0px\",\n },\n },\n normalButtons: {\n padding: \"5px 0px\",\n },\n panel: {\n display: \"flex\",\n width: \"100%\",\n overflow: \"hidden\",\n padding: \"3px\",\n height: \"75px\",\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,MAAMA,MAAM,GAAIC,KAAD,KAAY;EACzBC,IAAI,EAAE;IACJ,cAAc;MACZC,UAAU,EAAEF,KAAK,CAACG,EAAN,CAASC,OAAT,CAAiBC,UAAjB,CAA4BC,KAD5B;MAEZC,OAAO,EAAE,MAFG;MAGZC,UAAU,EAAE,QAHA;MAIZC,aAAa,EAAE,QAJH;MAKZC,MAAM,EAAE,KALI;MAMZC,UAAU,EAAE,MANA;MAOZC,aAAa,EAAE;IAPH,CADV;IAUJ,eAAe;MACbC,KAAK,EAAE,MADM;MAEbC,QAAQ,EAAE,OAFG;MAGbC,MAAM,EAAE,OAHK;MAIbC,OAAO,EAAE;IAJI;EAVX,CADmB;EAkBzBC,eAAe,EAAE;IACfJ,KAAK,EAAE,OADQ;IAEfE,MAAM,EAAE,OAFO;IAGfG,QAAQ,EAAE,OAHK;IAIfF,OAAO,EAAE,uBAJM;IAKfG,GAAG,EAAE,CALU;IAMfC,IAAI,EAAE,CANS;IAOfC,MAAM,EAAE;EAPO,CAlBQ;EA2BzBC,WAAW,EAAE;IACXJ,QAAQ,EAAE,UADC;IAEXK,KAAK,EAAE;EAFI,CA3BY;EA+BzBC,aAAa,EAAE;IACb,mBAAmB;MACjBC,SAAS,EAAE;IADM,CADN;IAIb,iBAAiB;MACfA,SAAS,EAAE;IADI,CAJJ;IAOb,cAAc;MACZZ,KAAK,EAAE,MADK;MAEZa,SAAS,EAAE,QAFC;MAGZ,sBAAsB;QACpB,CAAC1B,KAAK,CAAC2B,WAAN,CAAkBC,EAAlB,CAAqB,IAArB,CAAD,GAA8B;UAC5Bb,MAAM,EAAE,OADoB;UAE5Bc,SAAS,EAAE;QAFiB,CADV;QAKpB,CAAC7B,KAAK,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AC7B,KAAK,CAAC2B,WAAN,CAAkBC,EAAlB,CAAqB,IAArB,CAAD,GAA8B;MAC5Bb,MAAM,EAAE,OADoB;MAE5Bc,SAAS,EAAE;IAFiB,CAdhB;IAkBd,yBAAyB;MACvBd,MAAM,EAAE,KADe;MAEvBP,UAAU,EAAE;IAFW;EAlBX,CA/KS;EAsMzBqD,MAAM,EAAE;IACNnB,eAAe,EAAE1C,KAAK,CAACG,EAAN,CAASC,OAAT,CAAiBC,UAAjB,CAA4BoD;EADvC,CAtMiB;EAyMzBK,UAAU,EAAE;IACVjD,KAAK,EAAE,OADG;IAEVE,MAAM,EAAE,MAFE;IAGVC,OAAO,EAAE,SAHC;IAIV,CAAChB,KAAK,CAAC2B,WAAN,CAAkBC,EAAlB,CAAqB,IAArB,CAAD,GAA8B;MAC5Bf,KAAK,EAAE,OADqB;MAE5BE,MAAM,EAAE;IAFoB;EAJpB,CAzMa;EAkNzBgD,KAAK,EAAE;IACL,cAAc;MACZlD,KAAK,EAAE,MADK;MAEZN,OAAO,EAAE,MAFG;MAGZyD,SAAS,EAAE,QAHC;MAIZjD,MAAM,EAAE,MAJI;MAKZC,OAAO,EAAE;IALG,CADT;IAQL,gBAAgB;MACdiD,SAAS,EAAE;IADG,CARX;IAWL,eAAe;MACblD,MAAM,EAAE,OADK;MAEbR,OAAO,EAAE,MAFI;MAGbS,OAAO,EAAE;IAHI;EAXV,CAlNkB;EAmOzBkD,aAAa,EAAE;IACblD,OAAO,EAAE;EADI,CAnOU;EAsOzBmD,KAAK,EAAE;IACL5D,OAAO,EAAE,MADJ;IAELM,KAAK,EAAE,MAFF;IAGLuD,QAAQ,EAAE,QAHL;IAILpD,OAAO,EAAE,KAJJ;IAKLD,MAAM,EAAE;EALH;AAtOkB,CAAZ,CAAf;;AA+OA,eAAehB,MAAf"}
@@ -0,0 +1,58 @@
1
+ import * as React from "react";
2
+ import { StandardProps } from "@material-ui/core";
3
+
4
+ import { HvStepNavigationProps } from "../StepNavigation";
5
+ import { HvStepProps } from "./Step";
6
+
7
+ export type HvDefaultNavigationClassKey = "root";
8
+
9
+ export type ComponentChildProps = {
10
+ stepsWidth: number;
11
+ navWidth: number;
12
+ separatorValues: {
13
+ minWidth: number;
14
+ maxWidth: number;
15
+ getColor: (state: HvStepProps["state"]) => any;
16
+ height: number;
17
+ };
18
+ stepValues: {
19
+ minSize: number;
20
+ maxSize: number;
21
+ StepComponent: React.ComponentType<HvStepProps>;
22
+ };
23
+ };
24
+
25
+ export type HvDefaultNavigationProps = StandardProps<
26
+ React.HTMLAttributes<HTMLDivElement>,
27
+ HvDefaultNavigationClassKey
28
+ > &
29
+ Pick<HvStepNavigationProps, "stepSize"> & {
30
+ /**
31
+ * Number of steps to show on the component.
32
+ */
33
+ numSteps: number;
34
+ /**
35
+ * Returns a JSX.element of the titles container.
36
+ */
37
+ getTitles: (
38
+ getTitleProps?: (params: {
39
+ state: HvStepProps["state"];
40
+ rawTitle: string;
41
+ number: number;
42
+ }) => { variant: string; title: string }
43
+ ) => JSX.Element | null;
44
+ /**
45
+ * Returns dynamic width values of the component (width, titleWidth, separatorWidth).
46
+ */
47
+ getDynamicValues: (stepsWidth: number) => {
48
+ width: number;
49
+ titleWidth: number;
50
+ separatorWidth: number;
51
+ };
52
+ /**
53
+ * Component to render Step Navigation with props = {separatorValues, stepValues, stepsWidth}
54
+ */
55
+ children: React.FunctionComponent<ComponentChildProps>;
56
+ };
57
+
58
+ export default function HvDefaultNavigation(props: HvDefaultNavigationProps): JSX.Element | null;
@@ -0,0 +1,111 @@
1
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
+ const _excluded = ["numSteps", "stepSize", "getTitles", "getDynamicValues", "children"];
3
+ import React from "react";
4
+ import PropTypes from "prop-types";
5
+ import { useTheme, withStyles } from "@material-ui/core";
6
+ import HvStep from "./Step";
7
+ import { getColor as getStateColor, stepSizes } from "./utils";
8
+ import styles from "./styles";
9
+ /**
10
+ * Default Navigation
11
+ */
12
+
13
+ const HvDefaultNavigation = _ref => {
14
+ let {
15
+ numSteps,
16
+ stepSize,
17
+ getTitles,
18
+ getDynamicValues,
19
+ children
20
+ } = _ref,
21
+ other = _objectWithoutProperties(_ref, _excluded);
22
+
23
+ const theme = useTheme(); // step values
24
+
25
+ const {
26
+ container: maxSize,
27
+ avatar: minSize
28
+ } = stepSizes[stepSize];
29
+ const StepComponent = HvStep; //
30
+
31
+ const stepsWidth = maxSize + minSize * (numSteps - 1);
32
+ const {
33
+ width,
34
+ titleWidth,
35
+ separatorWidth
36
+ } = getDynamicValues(stepsWidth); // separator values
37
+
38
+ const getColor = state => getStateColor(state === "Current" ? "Disabled" : state, theme);
39
+
40
+ const maxWidth = Math.max(titleWidth - minSize, separatorWidth);
41
+ const minWidth = Math.max(titleWidth - (maxSize + minSize) * 0.5, separatorWidth); //
42
+
43
+ const Steps = children;
44
+ const titles = getTitles(({
45
+ state
46
+ }) => ({
47
+ variant: state === "Disabled" ? "disabledText" : "highlightText",
48
+ titleWidth
49
+ }));
50
+ return /*#__PURE__*/React.createElement("div", other, /*#__PURE__*/React.createElement(Steps, {
51
+ stepsWidth,
52
+ navWidth: width,
53
+ separatorValues: {
54
+ minWidth,
55
+ maxWidth,
56
+ getColor,
57
+ height: 3
58
+ },
59
+ stepValues: {
60
+ minSize,
61
+ maxSize,
62
+ StepComponent
63
+ }
64
+ }), titles);
65
+ };
66
+
67
+ process.env.NODE_ENV !== "production" ? HvDefaultNavigation.propTypes = {
68
+ /**
69
+ * Class names to be applied.
70
+ */
71
+ className: PropTypes.string,
72
+
73
+ /**
74
+ * A Jss Object used to override or extend the styles applied.
75
+ */
76
+ classes: PropTypes.shape({
77
+ /**
78
+ * Styles applied to the component root class.
79
+ */
80
+ root: PropTypes.string
81
+ }).isRequired,
82
+
83
+ /**
84
+ * Number of steps to show on the component.
85
+ */
86
+ numSteps: PropTypes.number.isRequired,
87
+
88
+ /**
89
+ * Sets one of the standard sizes of the steps
90
+ */
91
+ stepSize: PropTypes.oneOf(["XS", "SM", "MD", "LG", "XL"]).isRequired,
92
+
93
+ /**
94
+ * Returns dynamic width values of the component (width, titleWidth, separatorWidth).
95
+ */
96
+ getDynamicValues: PropTypes.func.isRequired,
97
+
98
+ /**
99
+ * Returns a JSX.element of the titles container.
100
+ */
101
+ getTitles: PropTypes.func.isRequired,
102
+
103
+ /**
104
+ * Component to render Step Navigation with props = {separatorValues, stepValues, stepsWidth}
105
+ */
106
+ children: PropTypes.elementType.isRequired
107
+ } : void 0;
108
+ export default withStyles(styles, {
109
+ name: "HvDefaultNavigation"
110
+ })(HvDefaultNavigation);
111
+ //# sourceMappingURL=DefaultNavigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultNavigation.js","names":["React","PropTypes","useTheme","withStyles","HvStep","getColor","getStateColor","stepSizes","styles","HvDefaultNavigation","numSteps","stepSize","getTitles","getDynamicValues","children","other","theme","container","maxSize","avatar","minSize","StepComponent","stepsWidth","width","titleWidth","separatorWidth","state","maxWidth","Math","max","minWidth","Steps","titles","variant","navWidth","separatorValues","height","stepValues","propTypes","className","string","classes","shape","root","isRequired","number","oneOf","func","elementType","name"],"sources":["../../../../src/StepNavigation/DefaultNavigation/DefaultNavigation.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useTheme, withStyles } from \"@material-ui/core\";\n\nimport HvStep from \"./Step\";\nimport { getColor as getStateColor, stepSizes } from \"./utils\";\nimport styles from \"./styles\";\n\n/**\n * Default Navigation\n */\nconst HvDefaultNavigation = ({\n numSteps,\n stepSize,\n getTitles,\n getDynamicValues,\n children,\n ...other\n}) => {\n const theme = useTheme();\n\n // step values\n const { container: maxSize, avatar: minSize } = stepSizes[stepSize];\n const StepComponent = HvStep;\n //\n\n const stepsWidth = maxSize + minSize * (numSteps - 1);\n const { width, titleWidth, separatorWidth } = getDynamicValues(stepsWidth);\n\n // separator values\n const getColor = (state) => getStateColor(state === \"Current\" ? \"Disabled\" : state, theme);\n const maxWidth = Math.max(titleWidth - minSize, separatorWidth);\n const minWidth = Math.max(titleWidth - (maxSize + minSize) * 0.5, separatorWidth);\n //\n\n const Steps = children;\n\n const titles = getTitles(({ state }) => ({\n variant: state === \"Disabled\" ? \"disabledText\" : \"highlightText\",\n titleWidth,\n }));\n\n return (\n <div {...other}>\n <Steps\n {...{\n stepsWidth,\n navWidth: width,\n separatorValues: {\n minWidth,\n maxWidth,\n getColor,\n height: 3,\n },\n stepValues: {\n minSize,\n maxSize,\n StepComponent,\n },\n }}\n />\n {titles}\n </div>\n );\n};\n\nHvDefaultNavigation.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n }).isRequired,\n /**\n * Number of steps to show on the component.\n */\n numSteps: PropTypes.number.isRequired,\n /**\n * Sets one of the standard sizes of the steps\n */\n stepSize: PropTypes.oneOf([\"XS\", \"SM\", \"MD\", \"LG\", \"XL\"]).isRequired,\n /**\n * Returns dynamic width values of the component (width, titleWidth, separatorWidth).\n */\n getDynamicValues: PropTypes.func.isRequired,\n /**\n * Returns a JSX.element of the titles container.\n */\n getTitles: PropTypes.func.isRequired,\n /**\n * Component to render Step Navigation with props = {separatorValues, stepValues, stepsWidth}\n */\n children: PropTypes.elementType.isRequired,\n};\n\nexport default withStyles(styles, { name: \"HvDefaultNavigation\" })(HvDefaultNavigation);\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,SAASC,QAAT,EAAmBC,UAAnB,QAAqC,mBAArC;AAEA,OAAOC,MAAP,MAAmB,QAAnB;AACA,SAASC,QAAQ,IAAIC,aAArB,EAAoCC,SAApC,QAAqD,SAArD;AACA,OAAOC,MAAP,MAAmB,UAAnB;AAEA;AACA;AACA;;AACA,MAAMC,mBAAmB,GAAG,QAOtB;EAAA,IAPuB;IA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;IAUIC,UAAU,EAAE;MACVjB,OADU;MAEVF,OAFU;MAGVG;IAHU;EAVhB,EADF,EAkBGW,MAlBH,CADF;AAsBD,CArDD;;AAuDA,wCAAAvB,mBAAmB,CAAC6B,SAApB,GAAgC;EAC9B;AACF;AACA;EACEC,SAAS,EAAEtC,SAAS,CAACuC,MAJS;;EAK9B;AACF;AACA;EACEC,OAAO,EAAExC,SAAS,CAACyC,KAAV,CAAgB;IACvB;AACJ;AACA;IACIC,IAAI,EAAE1C,SAAS,CAACuC;EAJO,CAAhB,EAKNI,UAb2B;;EAc9B;AACF;AACA;EACElC,QAAQ,EAAET,SAAS,CAAC4C,MAAV,CAAiBD,UAjBG;;EAkB9B;AACF;AACA;EACEjC,QAAQ,EAAEV,SAAS,CAAC6C,KAAV,CAAgB,CAAC,IAAD,EAAO,IAAP,EAAa,IAAb,EAAmB,IAAnB,EAAyB,IAAzB,CAAhB,EAAgDF,UArB5B;;EAsB9B;AACF;AACA;EACE/B,gBAAgB,EAAEZ,SAAS,CAAC8C,IAAV,CAAeH,UAzBH;;EA0B9B;AACF;AACA;EACEhC,SAAS,EAAEX,SAAS,CAAC8C,IAAV,CAAeH,UA7BI;;EA8B9B;AACF;AACA;EACE9B,QAAQ,EAAEb,SAAS,CAAC+C,WAAV,CAAsBJ;AAjCF,CAAhC;AAoCA,eAAezC,UAAU,CAACK,MAAD,EAAS;EAAEyC,IAAI,EAAE;AAAR,CAAT,CAAV,CAAoDxC,mBAApD,CAAf"}
@@ -0,0 +1,27 @@
1
+ import * as React from "react";
2
+ import { StandardProps } from "@material-ui/core";
3
+ import { HvButtonProps } from "@hitachivantara/uikit-react-core";
4
+
5
+ export type HvStepClassKey = "root";
6
+
7
+ export type HvStepProps = StandardProps<React.HTMLAttributes<HTMLDivElement>, HvStepClassKey> &
8
+ Pick<HvButtonProps, "onClick"> & {
9
+ /**
10
+ * State of the step. Values = {"Pending", "Failed", "Completed", "Current", "Disabled"}
11
+ */
12
+ state: "Pending" | "Failed" | "Completed" | "Current" | "Disabled";
13
+ /**
14
+ * Title of the step.
15
+ */
16
+ title: string;
17
+ /**
18
+ * Sets one of the standard sizes of the step
19
+ */
20
+ size?: "XS" | "SM" | "MD" | "LG" | "XL";
21
+ /**
22
+ * Number of the step.
23
+ */
24
+ number?: number;
25
+ };
26
+
27
+ export default function HvStep(props: HvStepProps): JSX.Element | null;
@@ -0,0 +1,168 @@
1
+ import "core-js/modules/es.array.includes.js";
2
+ import React from "react";
3
+ import PropTypes from "prop-types";
4
+ import clsx from "clsx";
5
+ import { withStyles } from "@material-ui/core";
6
+ import { Level0Good, Level3Bad, HourGlass } from "@hitachivantara/uikit-react-icons";
7
+ import { HvAvatar, HvButton } from "@hitachivantara/uikit-react-core";
8
+ import { getColor } from "../utils";
9
+ import styles from "./styles";
10
+ /**
11
+ * Step element of "Default" Step Navigation root component
12
+ */
13
+
14
+ const HvStep = ({
15
+ className,
16
+ classes,
17
+ state,
18
+ title,
19
+ onClick,
20
+ size = "SM",
21
+ number = 1
22
+ }) => {
23
+ const iconSize = {
24
+ XS: "XS",
25
+ SM: "XS",
26
+ MD: "S",
27
+ LG: "M",
28
+ XL: "M"
29
+ }[size];
30
+ const squareL = {
31
+ Pending: 16,
32
+ Failed: 24,
33
+ Completed: 24
34
+ }[state];
35
+ const svgSize = {
36
+ XS: squareL - 8,
37
+ SM: squareL,
38
+ MD: squareL + 8,
39
+ LG: squareL + 16,
40
+ XL: squareL + 24
41
+ }[size];
42
+ const backgroundColor = getColor(state);
43
+ const color = state === "Pending" ? "atmo2" : undefined;
44
+ const semantic = state !== "Pending" ? backgroundColor : undefined;
45
+ const status = state === "Current" ? "atmo5" : undefined;
46
+ const IconComponent = {
47
+ Pending: HourGlass,
48
+ Failed: Level3Bad,
49
+ Completed: Level0Good
50
+ }[state];
51
+ return /*#__PURE__*/React.createElement("div", {
52
+ className: clsx(className, classes.root, state !== "Current" && classes["not-current"])
53
+ }, /*#__PURE__*/React.createElement(HvButton, {
54
+ className: clsx(classes.ghost, state === "Current" && classes.ghostDisabled),
55
+ "aria-label": `step-${title}`,
56
+ icon: true,
57
+ overrideIconColors: false,
58
+ disabled: ["Current", "Disabled"].includes(state),
59
+ onClick: onClick
60
+ }, /*#__PURE__*/React.createElement(HvAvatar, {
61
+ className: clsx(classes.avatar, classes[size]),
62
+ backgroundColor: backgroundColor,
63
+ status: status,
64
+ size: size
65
+ }, IconComponent ? /*#__PURE__*/React.createElement(IconComponent, {
66
+ color: color,
67
+ semantic: semantic,
68
+ width: svgSize,
69
+ height: svgSize,
70
+ iconSize: iconSize
71
+ }) : number)));
72
+ };
73
+
74
+ process.env.NODE_ENV !== "production" ? HvStep.propTypes = {
75
+ /**
76
+ * Class names to be applied.
77
+ */
78
+ className: PropTypes.string,
79
+
80
+ /**
81
+ * A Jss Object used to override or extend the styles applied.
82
+ */
83
+ classes: PropTypes.shape({
84
+ /**
85
+ * Styles applied to the component root class.
86
+ */
87
+ root: PropTypes.string,
88
+
89
+ /**
90
+ * Styles applied to the ghost class.
91
+ */
92
+ ghost: PropTypes.string,
93
+
94
+ /**
95
+ * Styles applied to the ghostDisabled class.
96
+ */
97
+ ghostDisabled: PropTypes.string,
98
+
99
+ /**
100
+ * Styles applied to the root element when step is not in "current" state.
101
+ */
102
+ "not-current": PropTypes.string,
103
+
104
+ /**
105
+ * Styles applied to the root element when size is XS.
106
+ */
107
+ XS: PropTypes.string,
108
+
109
+ /**
110
+ * Styles applied to the root element when size is SM.
111
+ */
112
+ SM: PropTypes.string,
113
+
114
+ /**
115
+ * Styles applied to the root element when size is MD.
116
+ */
117
+ MD: PropTypes.string,
118
+
119
+ /**
120
+ * Styles applied to the root element when size is LG.
121
+ */
122
+ LG: PropTypes.string,
123
+
124
+ /**
125
+ * Styles applied to the root element when size is XL.
126
+ */
127
+ XL: PropTypes.string,
128
+
129
+ /**
130
+ * Styles applied to the avatar element.
131
+ */
132
+ avatar: PropTypes.string,
133
+
134
+ /**
135
+ * Styles applied to the title of a step element.
136
+ */
137
+ stepTitle: PropTypes.string
138
+ }).isRequired,
139
+
140
+ /**
141
+ * Sets one of the standard sizes of the step
142
+ */
143
+ size: PropTypes.oneOf(["XS", "SM", "MD", "LG", "XL"]),
144
+
145
+ /**
146
+ * State of the step. Values = {"Pending", "Failed", "Completed", "Current", "Disabled"}
147
+ */
148
+ state: PropTypes.oneOf(["Pending", "Failed", "Completed", "Current", "Disabled"]).isRequired,
149
+
150
+ /**
151
+ * Title of the step.
152
+ */
153
+ title: PropTypes.string.isRequired,
154
+
155
+ /**
156
+ * Number of the step.
157
+ */
158
+ number: PropTypes.number,
159
+
160
+ /**
161
+ * Event onClick of the step.
162
+ */
163
+ onClick: PropTypes.func
164
+ } : void 0;
165
+ export default withStyles(styles, {
166
+ name: "HvStep"
167
+ })(HvStep);
168
+ //# sourceMappingURL=Step.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Step.js","names":["React","PropTypes","clsx","withStyles","Level0Good","Level3Bad","HourGlass","HvAvatar","HvButton","getColor","styles","HvStep","className","classes","state","title","onClick","size","number","iconSize","XS","SM","MD","LG","XL","squareL","Pending","Failed","Completed","svgSize","backgroundColor","color","undefined","semantic","status","IconComponent","root","ghost","ghostDisabled","includes","avatar","propTypes","string","shape","stepTitle","isRequired","oneOf","func","name"],"sources":["../../../../../src/StepNavigation/DefaultNavigation/Step/Step.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\n\nimport { withStyles } from \"@material-ui/core\";\n\nimport { Level0Good, Level3Bad, HourGlass } from \"@hitachivantara/uikit-react-icons\";\nimport { HvAvatar, HvButton } from \"@hitachivantara/uikit-react-core\";\n\nimport { getColor } from \"../utils\";\nimport styles from \"./styles\";\n\n/**\n * Step element of \"Default\" Step Navigation root component\n */\nconst HvStep = ({ className, classes, state, title, onClick, size = \"SM\", number = 1 }) => {\n const iconSize = {\n XS: \"XS\",\n SM: \"XS\",\n MD: \"S\",\n LG: \"M\",\n XL: \"M\",\n }[size];\n\n const squareL = {\n Pending: 16,\n Failed: 24,\n Completed: 24,\n }[state];\n\n const svgSize = {\n XS: squareL - 8,\n SM: squareL,\n MD: squareL + 8,\n LG: squareL + 16,\n XL: squareL + 24,\n }[size];\n\n const backgroundColor = getColor(state);\n\n const color = state === \"Pending\" ? \"atmo2\" : undefined;\n\n const semantic = state !== \"Pending\" ? backgroundColor : undefined;\n\n const status = state === \"Current\" ? \"atmo5\" : undefined;\n\n const IconComponent = {\n Pending: HourGlass,\n Failed: Level3Bad,\n Completed: Level0Good,\n }[state];\n\n return (\n <div\n className={clsx(className, classes.root, { [classes[\"not-current\"]]: state !== \"Current\" })}\n >\n <HvButton\n className={clsx(classes.ghost, { [classes.ghostDisabled]: state === \"Current\" })}\n aria-label={`step-${title}`}\n icon\n overrideIconColors={false}\n disabled={[\"Current\", \"Disabled\"].includes(state)}\n onClick={onClick}\n >\n <HvAvatar\n className={clsx(classes.avatar, classes[size])}\n backgroundColor={backgroundColor}\n status={status}\n size={size}\n >\n {IconComponent ? (\n <IconComponent\n color={color}\n semantic={semantic}\n width={svgSize}\n height={svgSize}\n iconSize={iconSize}\n />\n ) : (\n number\n )}\n </HvAvatar>\n </HvButton>\n </div>\n );\n};\n\nHvStep.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the ghost class.\n */\n ghost: PropTypes.string,\n /**\n * Styles applied to the ghostDisabled class.\n */\n ghostDisabled: PropTypes.string,\n /**\n * Styles applied to the root element when step is not in \"current\" state.\n */\n \"not-current\": PropTypes.string,\n /**\n * Styles applied to the root element when size is XS.\n */\n XS: PropTypes.string,\n /**\n * Styles applied to the root element when size is SM.\n */\n SM: PropTypes.string,\n /**\n * Styles applied to the root element when size is MD.\n */\n MD: PropTypes.string,\n /**\n * Styles applied to the root element when size is LG.\n */\n LG: PropTypes.string,\n /**\n * Styles applied to the root element when size is XL.\n */\n XL: PropTypes.string,\n /**\n * Styles applied to the avatar element.\n */\n avatar: PropTypes.string,\n /**\n * Styles applied to the title of a step element.\n */\n stepTitle: PropTypes.string,\n }).isRequired,\n /**\n * Sets one of the standard sizes of the step\n */\n size: PropTypes.oneOf([\"XS\", \"SM\", \"MD\", \"LG\", \"XL\"]),\n /**\n * State of the step. Values = {\"Pending\", \"Failed\", \"Completed\", \"Current\", \"Disabled\"}\n */\n state: PropTypes.oneOf([\"Pending\", \"Failed\", \"Completed\", \"Current\", \"Disabled\"]).isRequired,\n /**\n * Title of the step.\n */\n title: PropTypes.string.isRequired,\n /**\n * Number of the step.\n */\n number: PropTypes.number,\n /**\n * Event onClick of the step.\n */\n onClick: PropTypes.func,\n};\n\nexport default withStyles(styles, { name: \"HvStep\" })(HvStep);\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,IAAP,MAAiB,MAAjB;AAEA,SAASC,UAAT,QAA2B,mBAA3B;AAEA,SAASC,UAAT,EAAqBC,SAArB,EAAgCC,SAAhC,QAAiD,mCAAjD;AACA,SAASC,QAAT,EAAmBC,QAAnB,QAAmC,kCAAnC;AAEA,SAASC,QAAT,QAAyB,UAAzB;AACA,OAAOC,MAAP,MAAmB,UAAnB;AAEA;AACA;AACA;;AACA,MAAMC,MAAM,GAAG,CAAC;EAAEC,SAAF;EAAaC,OAAb;EAAsBC,KAAtB;EAA6BC,KAA7B;EAAoCC,OAApC;EAA6CC,IAAI,GAAG,IAApD;EAA0DC,MAAM,GAAG;AAAnE,CAAD,KAA4E;EACzF,MAAMC,QAAQ,GAAG;IACfC,EAAE,EAAE,IADW;IAEfC,EAAE,EAAE,IAFW;IAGfC,EAAE,EAAE,GAHW;IAIfC,EAAE,EAAE,GAJW;IAKfC,EAAE,EAAE;EALW,EAMfP,IANe,CAAjB;EAQA,MAAMQ,OAAO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;AACA;EACE5B,IAAI,EAAEhB,SAAS,CAAC6C,KAAV,CAAgB,CAAC,IAAD,EAAO,IAAP,EAAa,IAAb,EAAmB,IAAnB,EAAyB,IAAzB,CAAhB,CAzDW;;EA0DjB;AACF;AACA;EACEhC,KAAK,EAAEb,SAAS,CAAC6C,KAAV,CAAgB,CAAC,SAAD,EAAY,QAAZ,EAAsB,WAAtB,EAAmC,SAAnC,EAA8C,UAA9C,CAAhB,EAA2ED,UA7DjE;;EA8DjB;AACF;AACA;EACE9B,KAAK,EAAEd,SAAS,CAACyC,MAAV,CAAiBG,UAjEP;;EAkEjB;AACF;AACA;EACE3B,MAAM,EAAEjB,SAAS,CAACiB,MArED;;EAsEjB;AACF;AACA;EACEF,OAAO,EAAEf,SAAS,CAAC8C;AAzEF,CAAnB;AA4EA,eAAe5C,UAAU,CAACO,MAAD,EAAS;EAAEsC,IAAI,EAAE;AAAR,CAAT,CAAV,CAAuCrC,MAAvC,CAAf"}
@@ -0,0 +1,2 @@
1
+ export { default } from "./Step";
2
+ export * from "./Step";
@@ -0,0 +1,2 @@
1
+ export { default } from "./Step";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["default"],"sources":["../../../../../src/StepNavigation/DefaultNavigation/Step/index.js"],"sourcesContent":["export { default } from \"./Step\";\n"],"mappings":"AAAA,SAASA,OAAT,QAAwB,QAAxB"}