@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,228 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+
3
+ var styles = function styles(theme) {
4
+ var _notFullscreen, _img, _thumbnailSelected, _imageContainer;
5
+
6
+ return {
7
+ root: {
8
+ "&:not(.xs)": {
9
+ background: theme.hv.palette.atmosphere.atmo1,
10
+ display: "flex",
11
+ alignItems: "center",
12
+ flexDirection: "column",
13
+ margin: "0px",
14
+ paddingTop: "15px",
15
+ paddingBottom: "15px"
16
+ },
17
+ "&:not(.nxs)": {
18
+ width: "100%",
19
+ maxWidth: "500px",
20
+ height: "200px",
21
+ padding: "0px"
22
+ }
23
+ },
24
+ fullscreenStyle: {
25
+ width: "100vw",
26
+ height: "100vh",
27
+ position: "fixed",
28
+ padding: "10px 150px 10px 150px",
29
+ top: 0,
30
+ left: 0,
31
+ zIndex: 1300
32
+ },
33
+ closeButton: {
34
+ position: "absolute",
35
+ right: "25px"
36
+ },
37
+ selectedImage: {
38
+ "&:not(.contain)": {
39
+ objectFit: "cover"
40
+ },
41
+ "&:not(.cover)": {
42
+ objectFit: "contain"
43
+ },
44
+ "&:not(.xs)": {
45
+ width: "100%",
46
+ textAlign: "center",
47
+ "&:not(.fullscreen)": (_notFullscreen = {}, _defineProperty(_notFullscreen, theme.breakpoints.up("xs"), {
48
+ height: "150px",
49
+ minHeight: "150px"
50
+ }), _defineProperty(_notFullscreen, theme.breakpoints.up("sm"), {
51
+ height: "300px",
52
+ minHeight: "300px"
53
+ }), _defineProperty(_notFullscreen, theme.breakpoints.up("lg"), {
54
+ height: "450px",
55
+ minHeight: "450px"
56
+ }), _notFullscreen),
57
+ "&:not(.notFullscreen)": {
58
+ height: "100%"
59
+ }
60
+ },
61
+ "&:not(.nxs)": {
62
+ width: "100%",
63
+ textAlign: "center"
64
+ }
65
+ },
66
+ xsMode: {
67
+ width: "min-content",
68
+ height: "min-content",
69
+ margin: "0px",
70
+ textAlign: "center"
71
+ },
72
+ circles: {
73
+ display: "flex",
74
+ alignItems: "center",
75
+ justifyContent: "center"
76
+ },
77
+ xsCircles: {
78
+ display: "flex",
79
+ alignItems: "center",
80
+ justifyContent: "center",
81
+ position: "relative",
82
+ transform: "translateY(-63px)"
83
+ },
84
+ hidden: {
85
+ visibility: "hidden"
86
+ },
87
+ title: {
88
+ display: "flex",
89
+ alignItems: "flex-start",
90
+ width: "100%",
91
+ justifyContent: "space-between"
92
+ },
93
+ divCounter: {
94
+ width: "100%",
95
+ paddingTop: "10px",
96
+ paddingRight: "15px",
97
+ display: "flex",
98
+ justifyContent: "flex-end",
99
+ position: "relative",
100
+ bottom: "102%",
101
+ "&:not(.nxs)": {
102
+ right: "5%",
103
+ bottom: "262px",
104
+ padding: "0px"
105
+ }
106
+ },
107
+ counter: {
108
+ width: "45px",
109
+ backgroundColor: theme.hv.palette.base.base2
110
+ },
111
+ img: (_img = {
112
+ width: "100%",
113
+ height: "70px"
114
+ }, _defineProperty(_img, theme.breakpoints.up("lg"), {
115
+ height: "75px"
116
+ }), _defineProperty(_img, "textAlign", "center"), _defineProperty(_img, "objectFit", "cover"), _img),
117
+ thumbnailSelected: (_thumbnailSelected = {
118
+ width: "100%",
119
+ height: "70px"
120
+ }, _defineProperty(_thumbnailSelected, theme.breakpoints.up("lg"), {
121
+ height: "75px"
122
+ }), _defineProperty(_thumbnailSelected, "textAlign", "center"), _defineProperty(_thumbnailSelected, "objectFit", "cover"), _defineProperty(_thumbnailSelected, "borderStyle", "solid"), _defineProperty(_thumbnailSelected, "borderColor", theme.hv.palette.base.base2), _defineProperty(_thumbnailSelected, "opacity", "50%"), _thumbnailSelected),
123
+ thumbnailButton: _defineProperty({
124
+ width: "110px",
125
+ height: "70px",
126
+ padding: "0px 0px"
127
+ }, theme.breakpoints.up("lg"), {
128
+ width: "120px",
129
+ height: "75px"
130
+ }),
131
+ miniCircle: {
132
+ width: "5px",
133
+ height: "5px",
134
+ borderRadius: "50%",
135
+ backgroundColor: theme.hv.palette.atmosphere.atmo4,
136
+ display: "inline-block",
137
+ margin: "10px"
138
+ },
139
+ selectedCircle: {
140
+ width: "10px",
141
+ height: "10px",
142
+ borderRadius: "50%",
143
+ backgroundColor: theme.hv.palette.atmosphere.atmo5,
144
+ display: "inline-block",
145
+ margin: "10px"
146
+ },
147
+ xsSelectedCircle: {
148
+ width: "10px",
149
+ height: "10px",
150
+ borderRadius: "50%",
151
+ backgroundColor: theme.hv.palette.atmosphere.atmo3,
152
+ display: "inline-block",
153
+ margin: "10px"
154
+ },
155
+ lowButtons: {
156
+ width: "95%",
157
+ display: "inline-flex",
158
+ justifyContent: "space-between",
159
+ position: "relative",
160
+ top: "-50%",
161
+ transform: "translateY(-16px)",
162
+ "&:not(.nxs)": {
163
+ width: "90%",
164
+ top: "-99px"
165
+ }
166
+ },
167
+ imageContainer: (_imageContainer = {
168
+ width: "100%",
169
+ marginTop: "20px",
170
+ margin: "0px",
171
+ textAlign: "center",
172
+ padding: "0px"
173
+ }, _defineProperty(_imageContainer, theme.breakpoints.up("xs"), {
174
+ height: "150px",
175
+ minHeight: "150px"
176
+ }), _defineProperty(_imageContainer, theme.breakpoints.up("sm"), {
177
+ height: "300px",
178
+ minHeight: "300px"
179
+ }), _defineProperty(_imageContainer, theme.breakpoints.up("lg"), {
180
+ height: "450px",
181
+ minHeight: "450px"
182
+ }), _defineProperty(_imageContainer, "&:not(.notFullscreen)", {
183
+ height: "85%",
184
+ alignItems: "center"
185
+ }), _imageContainer),
186
+ button: {
187
+ backgroundColor: theme.hv.palette.atmosphere.atmo3
188
+ },
189
+ inputImage: _defineProperty({
190
+ width: "110px",
191
+ height: "70px",
192
+ padding: "0px 0px"
193
+ }, theme.breakpoints.up("lg"), {
194
+ width: "120px",
195
+ height: "75px"
196
+ }),
197
+ stack: {
198
+ "&:not(.xs)": {
199
+ width: "100%",
200
+ display: "flex",
201
+ alignSelf: "center",
202
+ height: "100%",
203
+ padding: "0px"
204
+ },
205
+ "&:not(.flag)": {
206
+ overflowX: "hidden"
207
+ },
208
+ "&:not(.nxs)": {
209
+ height: "200px",
210
+ display: "flex",
211
+ padding: "0px"
212
+ }
213
+ },
214
+ normalButtons: {
215
+ padding: "5px 0px"
216
+ },
217
+ panel: {
218
+ display: "flex",
219
+ width: "100%",
220
+ overflow: "hidden",
221
+ padding: "3px",
222
+ height: "75px"
223
+ }
224
+ };
225
+ };
226
+
227
+ export default styles;
228
+ //# 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","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,IAAMA,MAAM,GAAG,SAATA,MAAS,CAACC,KAAD;EAAA;;EAAA,OAAY;IACzBC,IAAI,EAAE;MACJ,cAAc;QACZC,UAAU,EAAEF,KAAK,CAACG,EAAN,CAASC,OAAT,CAAiBC,UAAjB,CAA4BC,KAD5B;QAEZC,OAAO,EAAE,MAFG;QAGZC,UAAU,EAAE,QAHA;QAIZC,aAAa,EAAE,QAJH;QAKZC,MAAM,EAAE,KALI;QAMZC,UAAU,EAAE,MANA;QAOZC,aAAa,EAAE;MAPH,CADV;MAUJ,eAAe;QACbC,KAAK,EAAE,MADM;QAEbC,QAAQ,EAAE,OAFG;QAGbC,MAAM,EAAE,OAHK;QAIbC,OAAO,EAAE;MAJI;IAVX,CADmB;IAkBzBC,eAAe,EAAE;MACfJ,KAAK,EAAE,OADQ;MAEfE,MAAM,EAAE,OAFO;MAGfG,QAAQ,EAAE,OAHK;MAIfF,OAAO,EAAE,uBAJM;MAKfG,GAAG,EAAE,CALU;MAMfC,IAAI,EAAE,CANS;MAOfC,MAAM,EAAE;IAPO,CAlBQ;IA2BzBC,WAAW,EAAE;MACXJ,QAAQ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AAQ,EAAE,QAHL;MAILjD,OAAO,EAAE,KAJJ;MAKLD,MAAM,EAAE;IALH;EAtOkB,CAAZ;AAAA,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,112 @@
1
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
+ var _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
+ var HvDefaultNavigation = function HvDefaultNavigation(_ref) {
14
+ var numSteps = _ref.numSteps,
15
+ stepSize = _ref.stepSize,
16
+ getTitles = _ref.getTitles,
17
+ getDynamicValues = _ref.getDynamicValues,
18
+ children = _ref.children,
19
+ other = _objectWithoutProperties(_ref, _excluded);
20
+
21
+ var theme = useTheme(); // step values
22
+
23
+ var _stepSizes$stepSize = stepSizes[stepSize],
24
+ maxSize = _stepSizes$stepSize.container,
25
+ minSize = _stepSizes$stepSize.avatar;
26
+ var StepComponent = HvStep; //
27
+
28
+ var stepsWidth = maxSize + minSize * (numSteps - 1);
29
+
30
+ var _getDynamicValues = getDynamicValues(stepsWidth),
31
+ width = _getDynamicValues.width,
32
+ titleWidth = _getDynamicValues.titleWidth,
33
+ separatorWidth = _getDynamicValues.separatorWidth; // separator values
34
+
35
+
36
+ var getColor = function getColor(state) {
37
+ return getStateColor(state === "Current" ? "Disabled" : state, theme);
38
+ };
39
+
40
+ var maxWidth = Math.max(titleWidth - minSize, separatorWidth);
41
+ var minWidth = Math.max(titleWidth - (maxSize + minSize) * 0.5, separatorWidth); //
42
+
43
+ var Steps = children;
44
+ var titles = getTitles(function (_ref2) {
45
+ var state = _ref2.state;
46
+ return {
47
+ variant: state === "Disabled" ? "disabledText" : "highlightText",
48
+ titleWidth: titleWidth
49
+ };
50
+ });
51
+ return /*#__PURE__*/React.createElement("div", other, /*#__PURE__*/React.createElement(Steps, {
52
+ stepsWidth: stepsWidth,
53
+ navWidth: width,
54
+ separatorValues: {
55
+ minWidth: minWidth,
56
+ maxWidth: maxWidth,
57
+ getColor: getColor,
58
+ height: 3
59
+ },
60
+ stepValues: {
61
+ minSize: minSize,
62
+ maxSize: maxSize,
63
+ StepComponent: StepComponent
64
+ }
65
+ }), titles);
66
+ };
67
+
68
+ process.env.NODE_ENV !== "production" ? HvDefaultNavigation.propTypes = {
69
+ /**
70
+ * Class names to be applied.
71
+ */
72
+ className: PropTypes.string,
73
+
74
+ /**
75
+ * A Jss Object used to override or extend the styles applied.
76
+ */
77
+ classes: PropTypes.shape({
78
+ /**
79
+ * Styles applied to the component root class.
80
+ */
81
+ root: PropTypes.string
82
+ }).isRequired,
83
+
84
+ /**
85
+ * Number of steps to show on the component.
86
+ */
87
+ numSteps: PropTypes.number.isRequired,
88
+
89
+ /**
90
+ * Sets one of the standard sizes of the steps
91
+ */
92
+ stepSize: PropTypes.oneOf(["XS", "SM", "MD", "LG", "XL"]).isRequired,
93
+
94
+ /**
95
+ * Returns dynamic width values of the component (width, titleWidth, separatorWidth).
96
+ */
97
+ getDynamicValues: PropTypes.func.isRequired,
98
+
99
+ /**
100
+ * Returns a JSX.element of the titles container.
101
+ */
102
+ getTitles: PropTypes.func.isRequired,
103
+
104
+ /**
105
+ * Component to render Step Navigation with props = {separatorValues, stepValues, stepsWidth}
106
+ */
107
+ children: PropTypes.elementType.isRequired
108
+ } : void 0;
109
+ export default withStyles(styles, {
110
+ name: "HvDefaultNavigation"
111
+ })(HvDefaultNavigation);
112
+ //# 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","maxSize","container","minSize","avatar","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,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAsB,OAOtB;EAAA,IANJC,QAMI,QANJA,QAMI;EAAA,IALJC,QAKI,QALJA,QAKI;EAAA,IAJJC,SAII,QAJJA,SAII;EAAA,IAHJC,gBAGI,QAHJA,gBAGI;EAAA,IAFJC,QAEI,QAFJA,QAEI;EAAA,IADDC,KACC;;EACJ,IAAMC,KAAK,GAAGd,QAAQ,EAAtB,CADI,CAGJ;;EACA,0BAAgDK,SAAS,CAACI,QAAD,CAAzD;EAAA,IAAmBM,OAAnB,uBAAQC,SAAR;EAAA,IAAoCC,OAApC,uBAA4BC,MAA5B;EACA,IAAMC,aAAa,GAAGjB,MAAtB,CALI,CAMJ;;EAEA,IAAMkB,UAAU,GAAGL,OAAO,GAAGE,OAAO,IAAIT,QAAQ,GAAG,CAAf,CAApC;;EACA,wBAA8CG,gBAAgB,CAACS,UAAD,CAA9D;EAAA,IAAQC,KAAR,qBAAQA,KAAR;EAAA,IAAeC,UAAf,qBAAeA,UAAf;EAAA,IAA2BC,cAA3B,qBAA2BA,cAA3B,CATI,CAWJ;;;EACA,IAAMpB,QAAQ,GAAG,SAAXA,QAAW,CAACqB,KAAD;IAAA,OAAWpB,aAAa,CAACoB,KAAK,KAAK,SAAV,GAAsB,UAAtB,GAAmCA,KAApC,EA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,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,169 @@
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
+ var HvStep = function HvStep(_ref) {
15
+ var className = _ref.className,
16
+ classes = _ref.classes,
17
+ state = _ref.state,
18
+ title = _ref.title,
19
+ onClick = _ref.onClick,
20
+ _ref$size = _ref.size,
21
+ size = _ref$size === void 0 ? "SM" : _ref$size,
22
+ _ref$number = _ref.number,
23
+ number = _ref$number === void 0 ? 1 : _ref$number;
24
+ var iconSize = {
25
+ XS: "XS",
26
+ SM: "XS",
27
+ MD: "S",
28
+ LG: "M",
29
+ XL: "M"
30
+ }[size];
31
+ var squareL = {
32
+ Pending: 16,
33
+ Failed: 24,
34
+ Completed: 24
35
+ }[state];
36
+ var svgSize = {
37
+ XS: squareL - 8,
38
+ SM: squareL,
39
+ MD: squareL + 8,
40
+ LG: squareL + 16,
41
+ XL: squareL + 24
42
+ }[size];
43
+ var backgroundColor = getColor(state);
44
+ var color = state === "Pending" ? "atmo2" : undefined;
45
+ var semantic = state !== "Pending" ? backgroundColor : undefined;
46
+ var status = state === "Current" ? "atmo5" : undefined;
47
+ var IconComponent = {
48
+ Pending: HourGlass,
49
+ Failed: Level3Bad,
50
+ Completed: Level0Good
51
+ }[state];
52
+ return /*#__PURE__*/React.createElement("div", {
53
+ className: clsx(className, classes.root, state !== "Current" && classes["not-current"])
54
+ }, /*#__PURE__*/React.createElement(HvButton, {
55
+ className: clsx(classes.ghost, state === "Current" && classes.ghostDisabled),
56
+ "aria-label": "step-".concat(title),
57
+ icon: true,
58
+ overrideIconColors: false,
59
+ disabled: ["Current", "Disabled"].includes(state),
60
+ onClick: onClick
61
+ }, /*#__PURE__*/React.createElement(HvAvatar, {
62
+ className: clsx(classes.avatar, classes[size]),
63
+ backgroundColor: backgroundColor,
64
+ status: status,
65
+ size: size
66
+ }, IconComponent ? /*#__PURE__*/React.createElement(IconComponent, {
67
+ color: color,
68
+ semantic: semantic,
69
+ width: svgSize,
70
+ height: svgSize,
71
+ iconSize: iconSize
72
+ }) : number)));
73
+ };
74
+
75
+ process.env.NODE_ENV !== "production" ? HvStep.propTypes = {
76
+ /**
77
+ * Class names to be applied.
78
+ */
79
+ className: PropTypes.string,
80
+
81
+ /**
82
+ * A Jss Object used to override or extend the styles applied.
83
+ */
84
+ classes: PropTypes.shape({
85
+ /**
86
+ * Styles applied to the component root class.
87
+ */
88
+ root: PropTypes.string,
89
+
90
+ /**
91
+ * Styles applied to the ghost class.
92
+ */
93
+ ghost: PropTypes.string,
94
+
95
+ /**
96
+ * Styles applied to the ghostDisabled class.
97
+ */
98
+ ghostDisabled: PropTypes.string,
99
+
100
+ /**
101
+ * Styles applied to the root element when step is not in "current" state.
102
+ */
103
+ "not-current": PropTypes.string,
104
+
105
+ /**
106
+ * Styles applied to the root element when size is XS.
107
+ */
108
+ XS: PropTypes.string,
109
+
110
+ /**
111
+ * Styles applied to the root element when size is SM.
112
+ */
113
+ SM: PropTypes.string,
114
+
115
+ /**
116
+ * Styles applied to the root element when size is MD.
117
+ */
118
+ MD: PropTypes.string,
119
+
120
+ /**
121
+ * Styles applied to the root element when size is LG.
122
+ */
123
+ LG: PropTypes.string,
124
+
125
+ /**
126
+ * Styles applied to the root element when size is XL.
127
+ */
128
+ XL: PropTypes.string,
129
+
130
+ /**
131
+ * Styles applied to the avatar element.
132
+ */
133
+ avatar: PropTypes.string,
134
+
135
+ /**
136
+ * Styles applied to the title of a step element.
137
+ */
138
+ stepTitle: PropTypes.string
139
+ }).isRequired,
140
+
141
+ /**
142
+ * Sets one of the standard sizes of the step
143
+ */
144
+ size: PropTypes.oneOf(["XS", "SM", "MD", "LG", "XL"]),
145
+
146
+ /**
147
+ * State of the step. Values = {"Pending", "Failed", "Completed", "Current", "Disabled"}
148
+ */
149
+ state: PropTypes.oneOf(["Pending", "Failed", "Completed", "Current", "Disabled"]).isRequired,
150
+
151
+ /**
152
+ * Title of the step.
153
+ */
154
+ title: PropTypes.string.isRequired,
155
+
156
+ /**
157
+ * Number of the step.
158
+ */
159
+ number: PropTypes.number,
160
+
161
+ /**
162
+ * Event onClick of the step.
163
+ */
164
+ onClick: PropTypes.func
165
+ } : void 0;
166
+ export default withStyles(styles, {
167
+ name: "HvStep"
168
+ })(HvStep);
169
+ //# 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,IAAMC,MAAM,GAAG,SAATA,MAAS,OAA4E;EAAA,IAAzEC,SAAyE,QAAzEA,SAAyE;EAAA,IAA9DC,OAA8D,QAA9DA,OAA8D;EAAA,IAArDC,KAAqD,QAArDA,KAAqD;EAAA,IAA9CC,KAA8C,QAA9CA,KAA8C;EAAA,IAAvCC,OAAuC,QAAvCA,OAAuC;EAAA,qBAA9BC,IAA8B;EAAA,IAA9BA,IAA8B,0BAAvB,IAAuB;EAAA,uBAAjBC,MAAiB;EAAA,IAAjBA,MAAiB,4BAAR,CAAQ;EACzF,IAAMC,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,IAAMQ,OAAO,GAAG;IACdC,OAAO,EAAE,EADK;IAEdC,MAAM,EAAE,EAFM;IAGdC,SAAS,EAAE;EAHG,EAIdd,KAJc,CAAhB;EAMA,IAAMe,OAAO,GAAG;IACdT,EAAE,EAAEK,OAA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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