@orangesk/orange-design-system 2.0.0-beta.19 → 2.0.0-beta.20

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 (168) hide show
  1. package/README.md +346 -19
  2. package/build/components/Accordion/style.css +1 -1
  3. package/build/components/Accordion/style.css.map +1 -1
  4. package/build/components/Alert/style.css +1 -1
  5. package/build/components/Alert/style.css.map +1 -1
  6. package/build/components/AnchorNavigation/style.css +1 -1
  7. package/build/components/AnchorNavigation/style.css.map +1 -1
  8. package/build/components/BlockAction/style.css +1 -1
  9. package/build/components/BlockAction/style.css.map +1 -1
  10. package/build/components/CarouselPromotions/style.css +1 -1
  11. package/build/components/CarouselPromotions/style.css.map +1 -1
  12. package/build/components/FeatureAccordion/style.css +1 -1
  13. package/build/components/FeatureAccordion/style.css.map +1 -1
  14. package/build/components/Footer/style.css +1 -1
  15. package/build/components/Footer/style.css.map +1 -1
  16. package/build/components/Hero/style.css +1 -1
  17. package/build/components/Hero/style.css.map +1 -1
  18. package/build/components/Megamenu/style.css +1 -1
  19. package/build/components/Megamenu/style.css.map +1 -1
  20. package/build/components/Modal/style.css +1 -1
  21. package/build/components/Modal/style.css.map +1 -1
  22. package/build/components/Progress/style.css +1 -1
  23. package/build/components/Progress/style.css.map +1 -1
  24. package/build/components/PromoBanner/style.css +1 -1
  25. package/build/components/PromoBanner/style.css.map +1 -1
  26. package/build/components/PromotionCard/style.css +1 -1
  27. package/build/components/PromotionCard/style.css.map +1 -1
  28. package/build/components/Tag/style.css +1 -1
  29. package/build/components/Tag/style.css.map +1 -1
  30. package/build/components/Tile/style.css +1 -1
  31. package/build/components/Tile/style.css.map +1 -1
  32. package/build/components/index.js +1 -1
  33. package/build/components/index.js.map +1 -1
  34. package/build/components/tsconfig.tsbuildinfo +1 -1
  35. package/build/components/types/index.d.ts +5 -40
  36. package/build/components/types/src/components/Alert/Alert.d.ts +0 -2
  37. package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +1 -2
  38. package/build/components/types/src/components/BlockAction/BlockAction.d.ts +2 -0
  39. package/build/components/types/src/components/BlockAction/Context.d.ts +2 -0
  40. package/build/components/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  41. package/build/components/types/src/components/Button/Button.d.ts +0 -1
  42. package/build/components/types/src/components/Card/index.d.ts +1 -0
  43. package/build/components/types/src/components/Carousel/Carousel.d.ts +0 -2
  44. package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +0 -1
  45. package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +0 -1
  46. package/build/components/types/src/components/Controls/Controls.d.ts +0 -1
  47. package/build/components/types/src/components/Expander/Expander.d.ts +0 -3
  48. package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +0 -2
  49. package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +0 -1
  50. package/build/components/types/src/components/Hero/Hero.d.ts +0 -3
  51. package/build/components/types/src/components/Icon/iconSearchTags.d.ts +167 -166
  52. package/build/components/types/src/components/Link/Link.d.ts +0 -2
  53. package/build/components/types/src/components/Megamenu/static.d.ts +2 -3
  54. package/build/components/types/src/components/Modal/Modal.d.ts +0 -2
  55. package/build/components/types/src/components/Pagination/Pagination.d.ts +0 -2
  56. package/build/components/types/src/components/Pill/Pill.d.ts +0 -1
  57. package/build/components/types/src/components/Progress/Progress.d.ts +0 -1
  58. package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +1 -2
  59. package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +2 -2
  60. package/build/components/types/src/components/Stepbar/Stepbar.d.ts +0 -2
  61. package/build/components/types/src/components/Table/Table.d.ts +0 -2
  62. package/build/components/types/src/components/Tabs/Tabs.d.ts +0 -2
  63. package/build/components/types/src/components/Tooltip/Tooltip.d.ts +0 -1
  64. package/build/components/types/src/scripts/index.d.ts +2 -3
  65. package/build/components/types/src/styles/export/color.d.ts +102 -20
  66. package/build/lib/base.css +1 -1
  67. package/build/lib/base.css.map +1 -1
  68. package/build/lib/components.css +1 -1
  69. package/build/lib/components.css.map +1 -1
  70. package/build/lib/footer.css +1 -1
  71. package/build/lib/footer.css.map +1 -1
  72. package/build/lib/megamenu.css +1 -1
  73. package/build/lib/megamenu.css.map +1 -1
  74. package/build/lib/megamenu.js +1 -1
  75. package/build/lib/megamenu.js.map +1 -1
  76. package/build/lib/scripts.js +1 -1
  77. package/build/lib/scripts.js.map +1 -1
  78. package/build/lib/style.css +1 -1
  79. package/build/lib/style.css.map +1 -1
  80. package/build/lib/tsconfig.tsbuildinfo +1 -1
  81. package/build/lib/utilities.css +1 -1
  82. package/build/lib/utilities.css.map +1 -1
  83. package/build/sprite.svg +1 -1
  84. package/package.json +13 -13
  85. package/src/assets/icons/quote.svg +4 -0
  86. package/src/components/Accordion/styles/mixins.scss +2 -0
  87. package/src/components/Alert/Alert.tsx +0 -6
  88. package/src/components/Alert/styles/mixins.scss +3 -1
  89. package/src/components/Alert/tests/Alert.test.js +0 -14
  90. package/src/components/AnchorNavigation/AnchorNavigation.tsx +1 -10
  91. package/src/components/AnchorNavigation/tests/AnchorNavigation.conformance.test.js +0 -9
  92. package/src/components/BlockAction/BlockAction.tsx +10 -3
  93. package/src/components/BlockAction/Context.tsx +4 -0
  94. package/src/components/BlockAction/styles/mixins.scss +6 -0
  95. package/src/components/BlockAction/styles/style.scss +5 -0
  96. package/src/components/Breadcrumbs/BreadcrumbItem.tsx +16 -7
  97. package/src/components/Breadcrumbs/Breadcrumbs.tsx +4 -12
  98. package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +14 -8
  99. package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +14 -37
  100. package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +19 -23
  101. package/src/components/Button/Button.tsx +0 -4
  102. package/src/components/Button/tests/Button.test.js +0 -10
  103. package/src/components/Card/index.ts +1 -0
  104. package/src/components/Carousel/Carousel.static.ts +5 -0
  105. package/src/components/Carousel/Carousel.tsx +0 -5
  106. package/src/components/Carousel/tests/Carousel.unit.test.js +0 -21
  107. package/src/components/CarouselHero/CarouselHero.tsx +1 -9
  108. package/src/components/CarouselHero/tests/CarouselHero.conformance.test.js +0 -1
  109. package/src/components/CarouselHero/tests/CarouselHero.unit.test.js +0 -14
  110. package/src/components/CarouselPromotions/CarouselPromotions.tsx +1 -6
  111. package/src/components/CarouselPromotions/styles/mixins.scss +6 -3
  112. package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.js +0 -17
  113. package/src/components/Controls/Controls.tsx +2 -7
  114. package/src/components/Controls/tests/Controls.test.js +0 -23
  115. package/src/components/Expander/Expander.tsx +0 -6
  116. package/src/components/Expander/tests/Expander.conformance.test.js +8 -12
  117. package/src/components/Expander/tests/Expander.unit.test.js +37 -47
  118. package/src/components/FeatureAccordion/FeatureAccordion.tsx +2 -12
  119. package/src/components/FeatureAccordion/styles/mixins.scss +6 -14
  120. package/src/components/FeatureAccordion/styles/style.scss +2 -4
  121. package/src/components/FeatureAccordion/tests/FeatureAccordion.unit.test.js +0 -5
  122. package/src/components/Footer/styles/mixins.scss +1 -0
  123. package/src/components/Forms/InputStepper/InputStepper.tsx +0 -4
  124. package/src/components/Forms/Label/styles/config.scss +3 -0
  125. package/src/components/Hero/Hero.tsx +2 -16
  126. package/src/components/Hero/styles/style.scss +0 -14
  127. package/src/components/Hero/tests/Hero.unit.test.js +109 -119
  128. package/src/components/Icon/iconSearchTags.ts +167 -166
  129. package/src/components/Link/Link.tsx +0 -5
  130. package/src/components/Link/tests/Link.conformance.test.js +1 -7
  131. package/src/components/Link/tests/Link.unit.test.js +0 -20
  132. package/src/components/Megamenu/static.ts +5 -2
  133. package/src/components/Modal/Modal.tsx +0 -5
  134. package/src/components/Modal/styles/mixins.scss +7 -0
  135. package/src/components/Modal/styles/style.scss +1 -0
  136. package/src/components/Modal/tests/Modal.unit.test.js +0 -22
  137. package/src/components/Pagination/Pagination.tsx +1 -11
  138. package/src/components/Pill/Pill.tsx +0 -4
  139. package/src/components/Pill/tests/Pill.conformance.test.js +0 -4
  140. package/src/components/Pill/tests/Pill.unit.test.js +0 -18
  141. package/src/components/Progress/Progress.tsx +1 -13
  142. package/src/components/Progress/styles/mixins.scss +9 -7
  143. package/src/components/PromoBanner/PromoBanner.tsx +1 -10
  144. package/src/components/PromoBanner/styles/mixins.scss +0 -3
  145. package/src/components/PromoBanner/tests/PromoBanner.conformance.test.js +0 -30
  146. package/src/components/PromoBanner/tests/PromoBanner.unit.test.js +1 -33
  147. package/src/components/PromotionCard/PromotionCard.tsx +4 -6
  148. package/src/components/PromotionCard/styles/mixins.scss +1 -0
  149. package/src/components/PromotionCard/tests/PromotionCard.conformance.test.js +18 -19
  150. package/src/components/PromotionCard/tests/PromotionCard.unit.test.js +12 -74
  151. package/src/components/Stepbar/Stepbar.tsx +0 -5
  152. package/src/components/Table/Table.tsx +0 -5
  153. package/src/components/Table/tests/Table.unit.test.js +0 -31
  154. package/src/components/Tabs/Tabs.tsx +0 -5
  155. package/src/components/Tabs/tests/Tabs.unit.test.js +0 -8
  156. package/src/components/Tag/styles/config.scss +1 -1
  157. package/src/components/Tag/styles/style.scss +10 -9
  158. package/src/components/Tile/styles/mixins.scss +1 -0
  159. package/src/components/Tooltip/Tooltip.tsx +1 -10
  160. package/src/components/Tooltip/tests/Tooltip.unit.test.js +0 -29
  161. package/src/styles/base/globals.scss +9 -0
  162. package/src/styles/base/styleguide.scss +6 -2
  163. package/src/styles/export/color.js +102 -20
  164. package/src/styles/export/color.scss +10 -20
  165. package/src/styles/typography/config.scss +83 -37
  166. package/src/styles/typography/mixins.scss +3 -3
  167. package/src/styles/utilities/text.scss +26 -2
  168. package/src/components/Pagination/tests/utils.js +0 -12
@@ -4,84 +4,52 @@ export const iconsWithTags = {
4
4
  "accessibility-mobility": ["people"],
5
5
  "accessibility-motor": ["other"],
6
6
  "accessibility-vision": ["other"],
7
- accessibility: ["people"],
8
- add: ["common"],
9
- advertising: ["other"],
10
- aeroplane: ["vehicles"],
11
7
  "age-rating-3": ["other"],
12
8
  "airbox-auto": ["vehicles", "waves"],
13
9
  "alias-numbers": ["people"],
14
10
  "android-manage": ["other"],
15
- ai: ["other", "devices"],
16
- antenna: ["waves"],
17
11
  "apartment-building": ["buildings"],
18
- apps: ["other"],
19
- article: ["reading"],
20
- assistent: ["other"],
21
- assistance: ["other"],
22
- at: ["common"],
23
- avatar: ["common", "people"],
24
12
  "backup-internet": ["waves"],
25
- bank: ["buildings"],
26
13
  "battery-charging": ["other"],
27
14
  "battery-full": ["other"],
28
15
  "battery-status-1-3": ["other"],
29
16
  "battery-status-charging": ["other"],
30
17
  "battery-status-full": ["other"],
31
- bed: ["other"],
32
- birth: ["other"],
33
- birthday: ["time"],
34
- bluetooth: ["common"],
35
18
  "boarding-pass": ["vehicles"],
36
19
  "book-award": ["reading", "entertainment"],
37
- book: ["reading", "entertainment"],
38
- boxes: ["other"],
39
- briefcase: ["other"],
40
20
  "browser-plug-in": ["other"],
41
21
  "business-advisor": ["people"],
42
22
  "business-consultant": ["people"],
43
23
  "business-lounge": ["people"],
44
- buy: ["common"],
45
24
  "calendar-30": ["time"],
46
25
  "calendar-alarm": ["time"],
47
26
  "calendar-day": ["time"],
48
27
  "calendar-month": ["time"],
49
28
  "call-in": ["arrows", "handset"],
50
29
  "call-out": ["arrows", "handset"],
51
- call: ["handset"],
52
- camera: ["other"],
53
30
  "car-park": ["other"],
54
- car: ["vehicles"],
55
31
  "card-reader": ["other"],
56
- casting: ["entertainment"],
57
32
  "cest-ici": ["arrows"],
58
- charger: ["other"],
59
- chatbot: ["other"],
60
33
  "check-your-balance": ["arrows"],
61
- checked: ["checks"],
62
34
  "chevron-down": ["common", "arrows"],
63
35
  "chevron-end": ["common", "arrows"],
64
36
  "chevron-left": ["common", "arrows"],
65
37
  "chevron-right": ["common", "arrows"],
66
38
  "chevron-start": ["common", "arrows"],
67
39
  "chevron-up": ["common", "arrows"],
68
- child: ["people"],
69
40
  "children-channel": ["entertainment"],
70
41
  "childrens-content": ["entertainment"],
71
42
  "christmas-tree": ["other"],
72
43
  "cinema-ticket-2-for-1": ["entertainment"],
73
44
  "cle-pc": ["devices"],
74
- clock: ["common", "time"],
75
45
  "closed-captions": ["other"],
76
46
  "cloud-backup": ["arrows"],
77
47
  "cloud-security": ["other"],
78
48
  "collective-class-training": ["people"],
79
49
  "community-sms": ["people"],
80
50
  "company-structure": ["other"],
81
- connections: ["devices", "waves"],
82
51
  "control-centre": ["people"],
83
52
  "control-my-data": ["arrows"],
84
- cpu: ["other"],
85
53
  "currency-euro": ["money"],
86
54
  "cyber-shield": ["shields"],
87
55
  "dashboard-display": ["devices"],
@@ -89,8 +57,6 @@ export const iconsWithTags = {
89
57
  "data-centre": ["other"],
90
58
  "data-services": ["arrows"],
91
59
  "data-traffic": ["arrows"],
92
- data: ["arrows"],
93
- delete: ["common"],
94
60
  "desk-phone": ["devices", "handset"],
95
61
  "desktop-pc": ["devices"],
96
62
  "device-fixed-line-phone": ["devices"],
@@ -99,33 +65,16 @@ export const iconsWithTags = {
99
65
  "device-smart-phone": ["devices"],
100
66
  "device-tablet": ["devices"],
101
67
  "device-tv": ["devices"],
102
- diagnostic: ["reading"],
103
68
  "digital-frame": ["other"],
104
69
  "discussion-more": ["other"],
105
- doctor: ["people"],
106
- documentary: ["entertainment"],
107
- donation: ["money"],
108
- download: ["common", "arrows"],
109
70
  "e-reader": ["reading"],
110
71
  "e-shop": ["common"],
111
72
  "easy-internet": ["devices"],
112
73
  "eco-mode": ["other"],
113
- edit: ["common"],
114
- electrcar: ["vehicles"],
115
- email: ["common"],
116
- employees: ["people"],
117
74
  "empty-trash": ["common"],
118
- entertainment: ["entertainment"],
119
- epg: ["devices"],
120
75
  "error-severe": ["common"],
121
- ethenet: ["other"],
122
- euro: ["common", "money"],
123
- exit: ["arrows"],
124
76
  "facebook-2": ["common"],
125
- facebook: ["common"],
126
- factory: ["buildings"],
127
77
  "family-place": ["people"],
128
- fashion: ["entertainment"],
129
78
  "fast-delivery": ["vehicles"],
130
79
  "file-compressed": ["reading"],
131
80
  "file-copy": ["reading"],
@@ -134,91 +83,50 @@ export const iconsWithTags = {
134
83
  "file-draft-edit": ["reading"],
135
84
  "file-pdf": ["common", "reading"],
136
85
  "file-terms-and-conditions": ["reading"],
137
- files: ["reading"],
138
- film: ["entertainment"],
139
- filter: ["common"],
140
- finance: ["money"],
141
- firewall: ["other"],
142
- flag: ["other"],
143
- flashlight: ["other"],
144
86
  "flexible-storage": ["other"],
145
- folder: ["common"],
146
87
  "football-match": ["people", "entertainment"],
147
88
  "football-quiz": ["entertainment"],
148
- football: ["entertainment"],
149
89
  "form-tick": ["common", "checks"],
150
90
  "front-end-dashboard": ["devices", "reading"],
151
- funny: ["other"],
152
91
  "futher-education": ["other"],
153
- games: ["entertainment"],
154
92
  "garage-closed": ["buildings"],
155
93
  "gauge-rate": ["arrows"],
156
- gears: ["other"],
157
- geolocation: ["arrows"],
158
94
  "guide-info": ["reading"],
159
- hammer: ["other"],
160
95
  "hand-shake": ["hearts"],
161
96
  "hard-drive": ["other"],
162
97
  "hdmi-key": ["other"],
163
- headphones: ["entertainment"],
164
98
  "health-app": ["devices", "hearts"],
165
99
  "health-monitor": ["hearts"],
166
100
  "health-patient": ["people", "hearts"],
167
- heart: ["hearts"],
168
101
  "home-appliance": ["other"],
169
- home: ["buildings"],
170
- homelive: ["buildings"],
171
- hourglass: ["time"],
172
- house: ["buildings"],
173
102
  "id-card": ["people", "reading"],
174
- image: ["common"],
175
- important: ["common"],
176
- improvement: ["arrows"],
177
- inbox: ["common", "arrows"],
178
- info: ["common"],
179
103
  "information-data": ["other"],
180
- instagram: ["common"],
181
104
  "international-globe": ["other"],
182
105
  "internet-browser": ["arrows"],
183
106
  "internet-security-desktop": ["devices"],
184
107
  "internet-security-mobile": ["devices"],
185
108
  "internet-security-password": ["other"],
186
109
  "internet-usage": ["arrows"],
187
- internet: ["common"],
188
110
  "invoice-euro": ["reading", "money"],
189
111
  "invoices-euro": ["reading", "money"],
190
- iso: ["other"],
191
112
  "it-infrastructure": ["devices"],
192
- keyboard: ["other"],
193
113
  "la-cle-tv": ["devices"],
194
114
  "laptop-connected": ["devices", "waves"],
195
- laptop: ["devices"],
196
115
  "le-vote": ["checks"],
197
- link: ["common"],
198
116
  "linkedin-2": ["common"],
199
- linkedin: ["common"],
200
117
  "location-on-map": ["other"],
201
118
  "location-pin": ["common", "arrows"],
202
119
  "lock-open": ["common"],
203
- lock: ["common"],
204
- logistics: ["vehicles"],
205
120
  "love-logo": ["other"],
206
- mahali: ["buildings", "arrows"],
207
121
  "maintenance-man": ["people"],
208
122
  "map-pin": ["common", "arrows"],
209
- map: ["other"],
210
- medal: ["other"],
211
123
  "medical-app": ["devices", "hearts"],
212
124
  "medical-chart": ["reading"],
213
- medicine: ["other"],
214
125
  "menu-arrow": ["common", "arrows"],
215
126
  "menu-grid": ["common"],
216
- menu: ["common"],
217
127
  "message-alert": ["other"],
218
- messages: ["reading"],
219
128
  "micro-sd-card": ["other"],
220
129
  "microphone-mute": ["common"],
221
- microphone: ["common"],
222
130
  "mini-games": ["entertainment"],
223
131
  "mobile-applications": ["devices"],
224
132
  "mobile-data-toggle": ["arrows"],
@@ -227,7 +135,6 @@ export const iconsWithTags = {
227
135
  "mobile-payment": ["devices", "money"],
228
136
  "mobile-security": ["devices"],
229
137
  "mobile-setup": ["devices"],
230
- modem: ["waves"],
231
138
  "modifier-delete": ["other"],
232
139
  "modifier-done": ["checks"],
233
140
  "modifier-download": ["arrows"],
@@ -235,7 +142,6 @@ export const iconsWithTags = {
235
142
  "money-box": ["money"],
236
143
  "more-dots": ["common"],
237
144
  "multi-sim": ["other"],
238
- music: ["entertainment"],
239
145
  "my-account": ["people"],
240
146
  "my-orange": ["people"],
241
147
  "my-skills": ["people"],
@@ -246,11 +152,8 @@ export const iconsWithTags = {
246
152
  "network-optical-amplifier": ["arrows"],
247
153
  "network-optical-transport": ["arrows"],
248
154
  "network-wan-optimisation-engine": ["arrows"],
249
- networks: ["waves"],
250
- newspaper: ["reading"],
251
155
  "not-checked": ["common"],
252
156
  "notification-alert": ["common"],
253
- office: ["buildings"],
254
157
  "online-help": ["devices"],
255
158
  "orange-assistant": ["other"],
256
159
  "orange-cash": ["devices", "waves", "money"],
@@ -270,72 +173,35 @@ export const iconsWithTags = {
270
173
  "orange-rewards": ["other"],
271
174
  "orange-tv": ["devices"],
272
175
  "orange-vr-experience": ["entertainment"],
273
- outbox: ["arrows"],
274
176
  "package-content": ["entertainment", "people"],
275
177
  "package-services": ["other"],
276
- package: ["arrows"],
277
178
  "packaging-icon-hd": ["other"],
278
179
  "parabole-tv": ["other"],
279
180
  "parental-control": ["people", "shields"],
280
- pause: ["common"],
281
181
  "payment-card": ["money"],
282
182
  "payment-euro": ["money"],
283
- pda: ["devices"],
284
- pencil: ["other"],
285
183
  "personal-hotspot": ["devices", "waves"],
286
184
  "personal-smartphone-trainer": ["devices", "people"],
287
185
  "phone-advisor": ["devices"],
288
186
  "play-and-win": ["entertainment"],
289
- play: ["common", "arrows"],
290
187
  "plug-socket": ["other"],
291
- power: ["common"],
292
- powerstation: ["buildings"],
293
- presentation: ["devices"],
294
- print: ["common"],
295
- printer: ["other"],
296
188
  "real-time": ["time"],
297
189
  "recycle-device": ["devices", "arrows"],
298
- recycle: ["common", "arrows"],
299
- reduction: ["arrows"],
300
- reload: ["common", "arrows"],
301
- reminders: ["reading"],
302
190
  "remote-desktop-protocol": ["devices", "arrows"],
303
- remove: ["common"],
304
- repair: ["common"],
305
- reseau: ["other"],
306
- restaurant: ["entertainment"],
307
- rewards: ["other"],
308
- running: ["people", "entertainment"],
309
- safety: ["shields", "checks"],
310
- satallite: ["other"],
311
- save: ["common"],
312
- school: ["buildings"],
313
- science: ["other"],
314
191
  "sd-card": ["other"],
315
- search: ["common"],
316
192
  "security-status-good": ["shields"],
317
- send: ["common", "arrows"],
318
193
  "senior-person": ["people"],
319
194
  "server-storage-array": ["other"],
320
195
  "server-tower": ["other"],
321
196
  "session-enter": ["arrows"],
322
197
  "session-leave": ["arrows"],
323
- settings: ["common"],
324
- share: ["other"],
325
198
  "shop-pin": ["arrows", "checks"],
326
- shop: ["buildings"],
327
199
  "showroom-mobile-pro": ["devices"],
328
200
  "signal-5-5": ["common"],
329
- silence: ["common"],
330
201
  "sim-e": ["other"],
331
- sim: ["other"],
332
202
  "simple-mode": ["devices"],
333
- simplicity: ["other"],
334
- siren: ["other"],
335
- skiing: ["people", "entertainment"],
336
203
  "skip-to-end": ["common", "arrows"],
337
204
  "skip-to-start": ["common", "arrows"],
338
- sleep: ["other"],
339
205
  "smart-care": ["devices"],
340
206
  "smart-home": ["buildings", "waves"],
341
207
  "smart-tap": ["other"],
@@ -344,79 +210,214 @@ export const iconsWithTags = {
344
210
  "sms-message-compose": ["reading"],
345
211
  "sms-message": ["reading"],
346
212
  "social-network": ["people"],
347
- sofa: ["other"],
348
- sort: ["common", "arrows"],
349
- stadium: ["buildings", "entertainment"],
350
- "star-favourite-half": ["common"],
351
213
  "star-empty": ["common"],
214
+ "star-favourite-half": ["common"],
352
215
  "star-favourite": ["common"],
353
- startover: ["common", "arrows"],
354
- statistics: ["other"],
355
216
  "stop-secret": ["shields", "handset"],
356
217
  "storage-cloud": ["other"],
357
218
  "store-locator": ["arrows"],
358
- street: ["buildings"],
359
219
  "subscription-package": ["other"],
360
- suitcase: ["other"],
361
- support: ["people"],
362
220
  "surveillance-camera": ["other"],
363
- syncronise: ["arrows"],
364
221
  "tag-advertising": ["other"],
365
- tag: ["other"],
366
222
  "target-location": ["common"],
367
- tarif: ["other"],
368
223
  "task-list": ["reading"],
369
224
  "team-connect": ["people"],
370
225
  "thumb-up": ["other"],
371
- tick: ["checks"],
372
- ticket: ["entertainment"],
373
226
  "top-up-card-euro": ["money"],
374
227
  "top-up-euro": ["arrows", "money"],
375
228
  "top-up-time": ["arrows", "money", "time"],
376
- town: ["buildings"],
377
- townhall: ["buildings"],
378
- train: ["vehicles"],
379
229
  "training-session": ["people"],
380
- tranquility: ["other"],
381
230
  "transfer-data": ["devices", "arrows"],
382
- transfers: ["common", "arrows"],
383
- trash: ["common"],
384
231
  "tv-channel-list": ["devices"],
385
232
  "tv-commande": ["other"],
386
233
  "unlimited-calls": ["handset"],
387
- upload: ["common", "arrows"],
388
234
  "usb-hard-drive": ["other"],
389
235
  "usb-key": ["other"],
390
236
  "user-manual": ["reading"],
391
- user: ["common", "people"],
392
237
  "video-call": ["devices", "people"],
393
238
  "video-live": ["common"],
394
239
  "video-phone": ["devices"],
395
240
  "video-record": ["common"],
396
- video: ["entertainment"],
397
241
  "vip-contact": ["people", "reading"],
398
242
  "virtual-gamepad": ["devices", "entertainment"],
399
243
  "vod-portrait": ["arrows"],
400
- volte: ["waves", "handset"],
401
244
  "volume-status-4-4": ["common", "waves"],
245
+ "warning-important": ["common"],
246
+ "web-browser": ["other"],
247
+ "web-camera": ["other"],
248
+ "weighing-scales": ["other"],
249
+ "wifi-home": ["waves"],
250
+ "your-balance": ["arrows"],
251
+ "zoom-in": ["common"],
252
+ "zoom-out": ["common"],
253
+ accessibility: ["people"],
254
+ add: ["common"],
255
+ advertising: ["other"],
256
+ aeroplane: ["vehicles"],
257
+ ai: ["other", "devices"],
258
+ antenna: ["waves"],
259
+ apps: ["other"],
260
+ article: ["reading"],
261
+ assistance: ["other"],
262
+ assistent: ["other"],
263
+ at: ["common"],
264
+ avatar: ["common", "people"],
265
+ bank: ["buildings"],
266
+ bed: ["other"],
267
+ birth: ["other"],
268
+ birthday: ["time"],
269
+ bluetooth: ["common"],
270
+ book: ["reading", "entertainment"],
271
+ boxes: ["other"],
272
+ briefcase: ["other"],
273
+ buy: ["common"],
274
+ call: ["handset"],
275
+ camera: ["other"],
276
+ car: ["vehicles"],
277
+ casting: ["entertainment"],
278
+ charger: ["other"],
279
+ chatbot: ["other"],
280
+ checked: ["checks"],
281
+ child: ["people"],
282
+ clock: ["common", "time"],
283
+ connections: ["devices", "waves"],
284
+ cpu: ["other"],
285
+ data: ["arrows"],
286
+ delete: ["common"],
287
+ diagnostic: ["reading"],
288
+ doctor: ["people"],
289
+ documentary: ["entertainment"],
290
+ donation: ["money"],
291
+ download: ["common", "arrows"],
292
+ edit: ["common"],
293
+ electrcar: ["vehicles"],
294
+ email: ["common"],
295
+ employees: ["people"],
296
+ entertainment: ["entertainment"],
297
+ epg: ["devices"],
298
+ ethenet: ["other"],
299
+ euro: ["common", "money"],
300
+ exit: ["arrows"],
301
+ facebook: ["common"],
302
+ factory: ["buildings"],
303
+ fashion: ["entertainment"],
304
+ files: ["reading"],
305
+ film: ["entertainment"],
306
+ filter: ["common"],
307
+ finance: ["money"],
308
+ firewall: ["other"],
309
+ flag: ["other"],
310
+ flashlight: ["other"],
311
+ folder: ["common"],
312
+ football: ["entertainment"],
313
+ funny: ["other"],
314
+ games: ["entertainment"],
315
+ gears: ["other"],
316
+ geolocation: ["arrows"],
317
+ hammer: ["other"],
318
+ headphones: ["entertainment"],
319
+ heart: ["hearts"],
320
+ home: ["buildings"],
321
+ homelive: ["buildings"],
322
+ hourglass: ["time"],
323
+ house: ["buildings"],
324
+ image: ["common"],
325
+ important: ["common"],
326
+ improvement: ["arrows"],
327
+ inbox: ["common", "arrows"],
328
+ info: ["common"],
329
+ instagram: ["common"],
330
+ internet: ["common"],
331
+ iso: ["other"],
332
+ keyboard: ["other"],
333
+ laptop: ["devices"],
334
+ link: ["common"],
335
+ linkedin: ["common"],
336
+ lock: ["common"],
337
+ logistics: ["vehicles"],
338
+ mahali: ["buildings", "arrows"],
339
+ map: ["other"],
340
+ medal: ["other"],
341
+ medicine: ["other"],
342
+ menu: ["common"],
343
+ messages: ["reading"],
344
+ microphone: ["common"],
345
+ modem: ["waves"],
346
+ music: ["entertainment"],
347
+ networks: ["waves"],
348
+ newspaper: ["reading"],
349
+ office: ["buildings"],
350
+ outbox: ["arrows"],
351
+ package: ["arrows"],
352
+ pause: ["common"],
353
+ pda: ["devices"],
354
+ pencil: ["other"],
355
+ play: ["common", "arrows"],
356
+ power: ["common"],
357
+ powerstation: ["buildings"],
358
+ presentation: ["devices"],
359
+ print: ["common"],
360
+ printer: ["other"],
361
+ quote: ["reading"],
362
+ recycle: ["common", "arrows"],
363
+ reduction: ["arrows"],
364
+ reload: ["common", "arrows"],
365
+ reminders: ["reading"],
366
+ remove: ["common"],
367
+ repair: ["common"],
368
+ reseau: ["other"],
369
+ restaurant: ["entertainment"],
370
+ rewards: ["other"],
371
+ running: ["people", "entertainment"],
372
+ safety: ["shields", "checks"],
373
+ satallite: ["other"],
374
+ save: ["common"],
375
+ school: ["buildings"],
376
+ science: ["other"],
377
+ search: ["common"],
378
+ send: ["common", "arrows"],
379
+ settings: ["common"],
380
+ share: ["other"],
381
+ shop: ["buildings"],
382
+ silence: ["common"],
383
+ sim: ["other"],
384
+ simplicity: ["other"],
385
+ siren: ["other"],
386
+ skiing: ["people", "entertainment"],
387
+ sleep: ["other"],
388
+ sofa: ["other"],
389
+ sort: ["common", "arrows"],
390
+ stadium: ["buildings", "entertainment"],
391
+ startover: ["common", "arrows"],
392
+ statistics: ["other"],
393
+ street: ["buildings"],
394
+ suitcase: ["other"],
395
+ support: ["people"],
396
+ syncronise: ["arrows"],
397
+ tag: ["other"],
398
+ tarif: ["other"],
399
+ tick: ["checks"],
400
+ ticket: ["entertainment"],
401
+ town: ["buildings"],
402
+ townhall: ["buildings"],
403
+ train: ["vehicles"],
404
+ tranquility: ["other"],
405
+ transfers: ["common", "arrows"],
406
+ trash: ["common"],
407
+ upload: ["common", "arrows"],
408
+ user: ["common", "people"],
409
+ video: ["entertainment"],
410
+ volte: ["waves", "handset"],
402
411
  vowifi: ["waves", "handset"],
403
412
  wallet: ["money"],
404
- "warning-important": ["common"],
405
413
  washroom: ["other"],
406
414
  watch: ["time"],
407
415
  water: ["other"],
408
416
  weather: ["other"],
409
- "web-browser": ["other"],
410
- "web-camera": ["other"],
411
- "weighing-scales": ["other"],
412
417
  widget: ["other"],
413
- "wifi-home": ["waves"],
414
418
  wifi: ["waves", "common"],
415
419
  x: ["common"],
416
- "your-balance": ["arrows"],
417
420
  youtube: ["common"],
418
- "zoom-in": ["common"],
419
- "zoom-out": ["common"],
420
421
  };
421
422
 
422
423
  export const tags = [
@@ -12,8 +12,6 @@ export interface LinkProps {
12
12
  className?: string;
13
13
  /** link content */
14
14
  children?: React.ReactNode;
15
- /** color scheme for link: dark (white text) or light (black text) */
16
- colorScheme?: "dark" | "light";
17
15
  /** whether the link should be underlined */
18
16
  isUnderline?: boolean;
19
17
  /** whether the link should have normal font weight */
@@ -25,7 +23,6 @@ export interface LinkProps {
25
23
  export const Link: React.FC<LinkProps & React.HTMLAttributes<HTMLElement>> = ({
26
24
  className,
27
25
  children,
28
- colorScheme,
29
26
  isUnderline,
30
27
  isNormal,
31
28
  noAccent,
@@ -36,8 +33,6 @@ export const Link: React.FC<LinkProps & React.HTMLAttributes<HTMLElement>> = ({
36
33
  const classes = cx(
37
34
  CLASS_ROOT,
38
35
  {
39
- "is-dark": colorScheme === "dark",
40
- "is-light": colorScheme === "light",
41
36
  underline: isUnderline,
42
37
  normal: isNormal,
43
38
  "no-accent": noAccent,
@@ -50,15 +50,9 @@ describe("Link Conformance Tests", () => {
50
50
  );
51
51
  expect(container).toHTMLValidate();
52
52
  });
53
- it("is valid HTML with colorScheme variants and underline", () => {
53
+ it("is valid HTML with underline", () => {
54
54
  const { container } = render(
55
55
  <>
56
- <Link href="#" colorScheme="dark">
57
- Dark link
58
- </Link>
59
- <Link href="#" colorScheme="light">
60
- Light link
61
- </Link>
62
56
  <Link href="#" isUnderline>
63
57
  Underlined link
64
58
  </Link>
@@ -100,26 +100,6 @@ describe("Link Component", () => {
100
100
  });
101
101
 
102
102
  describe("Color Scheme", () => {
103
- it("applies is-dark class for colorScheme dark", () => {
104
- render(
105
- <Link href="/" colorScheme="dark" data-testid="link">
106
- Dark link
107
- </Link>,
108
- );
109
- const link = screen.getByTestId("link");
110
- expect(link).toHaveClass("is-dark");
111
- });
112
-
113
- it("applies is-light class for colorScheme light", () => {
114
- render(
115
- <Link href="/" colorScheme="light" data-testid="link">
116
- Light link
117
- </Link>,
118
- );
119
- const link = screen.getByTestId("link");
120
- expect(link).toHaveClass("is-light");
121
- });
122
-
123
103
  it("applies underline class when isUnderline is true", () => {
124
104
  render(
125
105
  <Link href="/" isUnderline data-testid="link">
@@ -22,8 +22,11 @@ declare global {
22
22
  instances: Megamenu[];
23
23
  init: () => void;
24
24
  destroy: () => void;
25
- initModulesWithin: typeof initModulesWithin;
26
- destroyModulesWithin: typeof destroyModulesWithin;
25
+ initModulesWithin: (container: any) => {};
26
+ destroyModulesWithin: (
27
+ container: any,
28
+ removeOrphanedNodes?: boolean | undefined,
29
+ ) => {};
27
30
  };
28
31
  }
29
32
  }
@@ -49,8 +49,6 @@ interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
49
49
  children?: React.ReactNode;
50
50
  /** Additional CSS classes */
51
51
  className?: string;
52
- /** Color scheme for the modal */
53
- colorScheme?: "dark" | "light";
54
52
  /** Disables header paddings */
55
53
  disableHeaderSpacing?: boolean;
56
54
  /** Disables footer paddings */
@@ -81,7 +79,6 @@ const Modal: React.FC<ModalProps> = ({
81
79
  renderTitle,
82
80
  renderFooter,
83
81
  fullHeight,
84
- colorScheme,
85
82
  disableHeaderSpacing,
86
83
  disableFooterSpacing,
87
84
  ...other
@@ -99,8 +96,6 @@ const Modal: React.FC<ModalProps> = ({
99
96
  {
100
97
  [`${CLASS_ROOT}__dialog--${size}`]: size,
101
98
  [`${CLASS_ROOT}__dialog--full-height`]: fullHeight,
102
- "is-dark": colorScheme === "dark",
103
- "is-light": colorScheme === "light",
104
99
  },
105
100
  className,
106
101
  );
@@ -292,4 +292,11 @@
292
292
  object-fit: cover;
293
293
  object-position: left;
294
294
  max-width: convert.to-rem(125px);
295
+ width: auto;
296
+ height: auto;
297
+ aspect-ratio: auto;
298
+
299
+ @include breakpoint.get("sm", "down") {
300
+ max-width: convert.to-rem(62.5px);
301
+ }
295
302
  }