@ds-autonomie/web-components 2.0.1 → 2.1.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 (261) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/cdn/chunks/{chunk.QTUCYPM5.js → chunk.3TUFAITJ.js} +18 -0
  3. package/cdn/chunks/{chunk.ZC2YWJX5.js → chunk.5BF76EO7.js} +1 -1
  4. package/cdn/chunks/{chunk.HRSNXHEG.js → chunk.5BL6KECM.js} +31 -5
  5. package/cdn/chunks/{chunk.GDKBZ2H6.js → chunk.6CF6SXDF.js} +1 -2
  6. package/cdn/chunks/{chunk.Z326Q4YW.js → chunk.6V2FRFCB.js} +1 -1
  7. package/cdn/chunks/{chunk.KQ5BQRHA.js → chunk.77CWRZEL.js} +6 -0
  8. package/cdn/chunks/{chunk.5UR3I4O7.js → chunk.BE7PKTJW.js} +1 -1
  9. package/cdn/chunks/chunk.BNPGOQZ2.js +223 -0
  10. package/cdn/chunks/{chunk.VR6U4JFG.js → chunk.CUCCBQJX.js} +11 -2
  11. package/cdn/chunks/{chunk.Q2IGBG6C.js → chunk.CVV4WLBC.js} +16 -8
  12. package/cdn/chunks/{chunk.2GCON4UO.js → chunk.DSKRAAOI.js} +3 -4
  13. package/cdn/chunks/{chunk.454LK2SB.js → chunk.E6VF2I6I.js} +9 -4
  14. package/cdn/chunks/{chunk.JYYFSSR2.js → chunk.EARU4CHS.js} +1 -1
  15. package/cdn/chunks/{chunk.DTZ62PPT.js → chunk.IGA57P5N.js} +13 -22
  16. package/cdn/chunks/{chunk.SRCH73UW.js → chunk.JSVJ7J76.js} +24 -1
  17. package/cdn/chunks/{chunk.QPY2AEFG.js → chunk.JTHUYIYP.js} +9 -5
  18. package/cdn/chunks/{chunk.PLPMNDIZ.js → chunk.KTAPO27T.js} +1 -1
  19. package/cdn/chunks/{chunk.3NTS3AEA.js → chunk.LFCUNNYV.js} +34 -30
  20. package/cdn/chunks/{chunk.GLQFV66F.js → chunk.LRMXGBIU.js} +24 -10
  21. package/cdn/chunks/{chunk.NW4AAKGG.js → chunk.NPJ5ZOJ4.js} +24 -10
  22. package/{dist/chunks/chunk.3E6XVTWL.js → cdn/chunks/chunk.P45DWAWT.js} +1 -1
  23. package/cdn/chunks/{chunk.VIT6ZMSL.js → chunk.PGT2WHXR.js} +2 -3
  24. package/cdn/chunks/chunk.RJXLIOW7.js +28 -0
  25. package/cdn/chunks/{chunk.YTHFESMA.js → chunk.S4BW7KNM.js} +5 -1
  26. package/cdn/chunks/{chunk.PAGENBUA.js → chunk.UR6UOSYK.js} +10 -12
  27. package/cdn/chunks/{chunk.JY6ROHQN.js → chunk.WOONNSQ2.js} +14 -20
  28. package/cdn/chunks/{chunk.F2LQ5OCB.js → chunk.XD7G7WIJ.js} +6 -2
  29. package/cdn/chunks/chunk.XIX7XP2G.js +91 -0
  30. package/cdn/chunks/{chunk.CSDIRQFE.js → chunk.XLX7QTXT.js} +9 -1
  31. package/cdn/chunks/{chunk.BTTFPDXL.js → chunk.XPL6N3OJ.js} +3 -2
  32. package/cdn/chunks/{chunk.2SEDRBTZ.js → chunk.Z2IR3WWE.js} +4 -1
  33. package/cdn/chunks/{chunk.PS3BQQBO.js → chunk.Z6DEWBVS.js} +7 -3
  34. package/cdn/chunks/{chunk.FGSGBIL3.js → chunk.ZKPOAPR2.js} +0 -4
  35. package/cdn/components/accordion/accordion.js +3 -3
  36. package/cdn/components/alert/alert.js +4 -4
  37. package/cdn/components/avatar/avatar.js +4 -4
  38. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  39. package/cdn/components/button/button.d.ts +4 -1
  40. package/cdn/components/button/button.js +4 -4
  41. package/cdn/components/callout/callout.d.ts +3 -1
  42. package/cdn/components/callout/callout.js +4 -4
  43. package/cdn/components/checkbox/checkbox.d.ts +4 -1
  44. package/cdn/components/checkbox/checkbox.js +4 -4
  45. package/cdn/components/checkbox-button/checkbox-button.js +3 -3
  46. package/cdn/components/checkbox-group/checkbox-group.d.ts +4 -0
  47. package/cdn/components/checkbox-group/checkbox-group.js +6 -4
  48. package/cdn/components/combobox/combobox.js +3 -3
  49. package/cdn/components/dialog/dialog.d.ts +5 -1
  50. package/cdn/components/dialog/dialog.js +5 -5
  51. package/cdn/components/dialog/dialog.styles.js +1 -1
  52. package/cdn/components/download-card/download-card.js +5 -5
  53. package/cdn/components/download-card/download-card.styles.js +1 -1
  54. package/cdn/components/download-link/download-link.js +5 -5
  55. package/cdn/components/download-link/download-link.styles.js +1 -1
  56. package/cdn/components/drawer/drawer.js +3 -3
  57. package/cdn/components/error-text/error-text.js +3 -3
  58. package/cdn/components/file-upload/file-upload.js +3 -3
  59. package/cdn/components/file-upload-item/file-upload-item.js +3 -3
  60. package/cdn/components/filter-base/filter-base-stories.js +1 -1
  61. package/cdn/components/filter-base/filter-base.js +3 -3
  62. package/cdn/components/filter-button/filter-button.js +3 -3
  63. package/cdn/components/filter-counter/filter-counter.js +4 -4
  64. package/cdn/components/filter-date/filter-date.js +3 -3
  65. package/cdn/components/filter-range/filter-range.js +5 -5
  66. package/cdn/components/filter-select/filter-select.d.ts +1 -0
  67. package/cdn/components/filter-select/filter-select.js +9 -9
  68. package/cdn/components/header/header.d.ts +5 -1
  69. package/cdn/components/header/header.js +2 -2
  70. package/cdn/components/header/header.styles.js +1 -1
  71. package/cdn/components/header-search/header-search.d.ts +6 -0
  72. package/cdn/components/header-search/header-search.js +11 -5
  73. package/cdn/components/header-search/header-search.styles.js +1 -1
  74. package/cdn/components/icon/icon.js +3 -3
  75. package/cdn/components/icon/library.js +2 -2
  76. package/cdn/components/icon/library.system.js +1 -1
  77. package/cdn/components/icon-button/icon-button.js +3 -3
  78. package/cdn/components/input/input.js +3 -3
  79. package/cdn/components/input-date/input-date.js +3 -3
  80. package/cdn/components/input-mask/input-mask.js +3 -3
  81. package/cdn/components/input-phone/input-phone.d.ts +3 -3
  82. package/cdn/components/input-phone/input-phone.js +8 -14
  83. package/cdn/components/input-phone/input-phone.styles.js +1 -1
  84. package/cdn/components/input-phone/input-phone.utils.d.ts +0 -2
  85. package/cdn/components/input-phone/input-phone.utils.js +1 -7
  86. package/cdn/components/menu-accordion/menu-accordion.js +3 -3
  87. package/cdn/components/menu-item/menu-item.js +3 -3
  88. package/cdn/components/menu-navigation/menu-navigation.js +1 -1
  89. package/cdn/components/navbar-link/navbar-link.js +4 -4
  90. package/cdn/components/navbar-menu/navbar-menu.js +4 -4
  91. package/cdn/components/option/option.js +5 -5
  92. package/cdn/components/option/option.styles.js +1 -1
  93. package/cdn/components/pagination/pagination.js +5 -5
  94. package/cdn/components/profile-button/profile-button.js +4 -4
  95. package/cdn/components/quote/quote.js +3 -3
  96. package/cdn/components/radio/radio.js +3 -3
  97. package/cdn/components/radio-button/radio-button.js +7 -5
  98. package/cdn/components/radio-group/radio-group.d.ts +4 -0
  99. package/cdn/components/radio-group/radio-group.js +6 -4
  100. package/cdn/components/range-slider/range-slider.d.ts +0 -2
  101. package/cdn/components/range-slider/range-slider.js +1 -1
  102. package/cdn/components/select/select.js +3 -3
  103. package/cdn/components/split-panel/split-panel.js +3 -3
  104. package/cdn/components/step/step.js +3 -3
  105. package/cdn/components/tab/tab.d.ts +2 -0
  106. package/cdn/components/tab/tab.js +4 -4
  107. package/cdn/components/tab-group/tab-group.js +3 -3
  108. package/cdn/components/table-header-cell/table-header-cell.js +3 -3
  109. package/cdn/components/table-header-row/table-header-row.js +6 -6
  110. package/cdn/components/table-row/table-row.js +5 -5
  111. package/cdn/components/tag/tag.js +3 -3
  112. package/cdn/components/textarea/textarea.js +3 -3
  113. package/cdn/components/tree/tree.js +4 -4
  114. package/cdn/components/tree-item/tree-item.js +4 -4
  115. package/cdn/custom-elements.json +223 -68
  116. package/cdn/design-system.js +40 -40
  117. package/cdn/events/events.d.ts +7 -7
  118. package/cdn/internal/components/form-toggle-button/form-toggle-button-stories.d.ts +2 -86
  119. package/cdn/internal/test/disable-a11y-warnings.d.ts +2 -0
  120. package/cdn/internal/test/disable-a11y-warnings.js +10 -0
  121. package/cdn/themes/dsa-wc-theme.css +5 -0
  122. package/cdn/themes/dsa-wc-theme.min.css +1 -1
  123. package/cdn/themes/dsa-wc-theme.styles.js +5 -0
  124. package/cdn/utilities/icon-library.js +2 -2
  125. package/cdn/utilities/storybook.d.ts +1 -0
  126. package/cdn/utilities/storybook.js +3 -1
  127. package/cdn/vscode.html-custom-data.json +64 -11
  128. package/cdn/web-types.json +159 -35
  129. package/dist/chunks/{chunk.N5DO55QO.js → chunk.2EDNCADP.js} +9 -1
  130. package/dist/chunks/{chunk.YDXAC3AX.js → chunk.2VH3OZ2T.js} +1 -1
  131. package/dist/chunks/{chunk.QTUCYPM5.js → chunk.3TUFAITJ.js} +18 -0
  132. package/dist/chunks/{chunk.VC2F6FEI.js → chunk.4WSA3PVB.js} +1 -1
  133. package/dist/chunks/{chunk.TB3WT3D4.js → chunk.6QAB5TYJ.js} +6 -0
  134. package/dist/chunks/{chunk.IAL72I44.js → chunk.AF5WMYR2.js} +5 -1
  135. package/dist/chunks/{chunk.6RJLT24F.js → chunk.EGH3AVD7.js} +4 -1
  136. package/dist/chunks/{chunk.JDG6WH3B.js → chunk.EQZ4YFRU.js} +94 -54
  137. package/dist/chunks/{chunk.CWVZX3HL.js → chunk.FKXOTDTY.js} +1 -1
  138. package/dist/chunks/{chunk.35M6DDPF.js → chunk.G422H4DZ.js} +7 -3
  139. package/dist/chunks/chunk.HRIAHWFV.js +89 -0
  140. package/dist/chunks/{chunk.4FP4K3F5.js → chunk.JDIBYGPL.js} +11 -2
  141. package/dist/chunks/{chunk.2DJFK3E6.js → chunk.JX7OISYA.js} +24 -10
  142. package/dist/chunks/{chunk.QEFQHCEK.js → chunk.KFRR2I2P.js} +3 -4
  143. package/dist/chunks/{chunk.5LBJAKDG.js → chunk.LB54GRRB.js} +31 -5
  144. package/dist/chunks/{chunk.CQG7MKTO.js → chunk.LDXGSIJP.js} +6 -2
  145. package/dist/chunks/{chunk.ARYKCY32.js → chunk.MBRRLF6D.js} +34 -30
  146. package/dist/chunks/{chunk.X6V74J4Y.js → chunk.MEPTPSE5.js} +2 -3
  147. package/dist/chunks/{chunk.R426GAXO.js → chunk.MJKJSMQX.js} +3 -2
  148. package/dist/chunks/{chunk.RPZWIHKX.js → chunk.NCECJWN7.js} +1 -1
  149. package/dist/chunks/{chunk.JUPNFWMF.js → chunk.OHPSPLZO.js} +9 -5
  150. package/{cdn/chunks/chunk.3E6XVTWL.js → dist/chunks/chunk.P45DWAWT.js} +1 -1
  151. package/dist/chunks/{chunk.7NPJ25LI.js → chunk.PZXD4VTO.js} +14 -20
  152. package/dist/chunks/chunk.RJXLIOW7.js +28 -0
  153. package/dist/chunks/{chunk.35URRZJ2.js → chunk.SYVX56PU.js} +1 -2
  154. package/dist/chunks/{chunk.K6FDIYMY.js → chunk.UVN7RIEO.js} +0 -4
  155. package/dist/chunks/{chunk.LWFWCZIX.js → chunk.WQYBYKZ2.js} +9 -4
  156. package/dist/chunks/{chunk.GOMVXZ72.js → chunk.XRZGSSHY.js} +1 -1
  157. package/dist/chunks/{chunk.XWFZLRHU.js → chunk.XXHMFUD7.js} +24 -1
  158. package/dist/chunks/{chunk.Z2SRVRIK.js → chunk.XXN6UBL4.js} +10 -12
  159. package/dist/chunks/{chunk.DY2W3WPP.js → chunk.Z7DBDDCZ.js} +16 -8
  160. package/dist/chunks/{chunk.WI3DWLXW.js → chunk.ZTGPYOYG.js} +13 -22
  161. package/dist/chunks/{chunk.GBRTFFMV.js → chunk.ZYTDWH4E.js} +24 -10
  162. package/dist/components/accordion/accordion.js +3 -3
  163. package/dist/components/alert/alert.js +4 -4
  164. package/dist/components/avatar/avatar.js +4 -4
  165. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  166. package/dist/components/button/button.d.ts +4 -1
  167. package/dist/components/button/button.js +4 -4
  168. package/dist/components/callout/callout.d.ts +3 -1
  169. package/dist/components/callout/callout.js +4 -4
  170. package/dist/components/checkbox/checkbox.d.ts +4 -1
  171. package/dist/components/checkbox/checkbox.js +4 -4
  172. package/dist/components/checkbox-button/checkbox-button.js +3 -3
  173. package/dist/components/checkbox-group/checkbox-group.d.ts +4 -0
  174. package/dist/components/checkbox-group/checkbox-group.js +6 -4
  175. package/dist/components/combobox/combobox.js +3 -3
  176. package/dist/components/dialog/dialog.d.ts +5 -1
  177. package/dist/components/dialog/dialog.js +5 -5
  178. package/dist/components/dialog/dialog.styles.js +1 -1
  179. package/dist/components/download-card/download-card.js +5 -5
  180. package/dist/components/download-card/download-card.styles.js +1 -1
  181. package/dist/components/download-link/download-link.js +5 -5
  182. package/dist/components/download-link/download-link.styles.js +1 -1
  183. package/dist/components/drawer/drawer.js +3 -3
  184. package/dist/components/error-text/error-text.js +3 -3
  185. package/dist/components/file-upload/file-upload.js +3 -3
  186. package/dist/components/file-upload-item/file-upload-item.js +3 -3
  187. package/dist/components/filter-base/filter-base-stories.js +1 -1
  188. package/dist/components/filter-base/filter-base.js +3 -3
  189. package/dist/components/filter-button/filter-button.js +3 -3
  190. package/dist/components/filter-counter/filter-counter.js +4 -4
  191. package/dist/components/filter-date/filter-date.js +3 -3
  192. package/dist/components/filter-range/filter-range.js +5 -5
  193. package/dist/components/filter-select/filter-select.d.ts +1 -0
  194. package/dist/components/filter-select/filter-select.js +9 -9
  195. package/dist/components/header/header.d.ts +5 -1
  196. package/dist/components/header/header.js +2 -2
  197. package/dist/components/header/header.styles.js +1 -1
  198. package/dist/components/header-search/header-search.d.ts +6 -0
  199. package/dist/components/header-search/header-search.js +11 -5
  200. package/dist/components/header-search/header-search.styles.js +1 -1
  201. package/dist/components/icon/icon.js +3 -3
  202. package/dist/components/icon/library.js +2 -2
  203. package/dist/components/icon/library.system.js +1 -1
  204. package/dist/components/icon-button/icon-button.js +3 -3
  205. package/dist/components/input/input.js +3 -3
  206. package/dist/components/input-date/input-date.js +3 -3
  207. package/dist/components/input-mask/input-mask.js +3 -3
  208. package/dist/components/input-phone/input-phone.d.ts +3 -3
  209. package/dist/components/input-phone/input-phone.js +8 -14
  210. package/dist/components/input-phone/input-phone.styles.js +1 -1
  211. package/dist/components/input-phone/input-phone.utils.d.ts +0 -2
  212. package/dist/components/input-phone/input-phone.utils.js +1 -5
  213. package/dist/components/menu-accordion/menu-accordion.js +3 -3
  214. package/dist/components/menu-item/menu-item.js +3 -3
  215. package/dist/components/menu-navigation/menu-navigation.js +1 -1
  216. package/dist/components/navbar-link/navbar-link.js +4 -4
  217. package/dist/components/navbar-menu/navbar-menu.js +4 -4
  218. package/dist/components/option/option.js +5 -5
  219. package/dist/components/option/option.styles.js +1 -1
  220. package/dist/components/pagination/pagination.js +5 -5
  221. package/dist/components/profile-button/profile-button.js +4 -4
  222. package/dist/components/quote/quote.js +3 -3
  223. package/dist/components/radio/radio.js +3 -3
  224. package/dist/components/radio-button/radio-button.js +7 -5
  225. package/dist/components/radio-group/radio-group.d.ts +4 -0
  226. package/dist/components/radio-group/radio-group.js +6 -4
  227. package/dist/components/range-slider/range-slider.d.ts +0 -2
  228. package/dist/components/range-slider/range-slider.js +1 -1
  229. package/dist/components/select/select.js +3 -3
  230. package/dist/components/split-panel/split-panel.js +3 -3
  231. package/dist/components/step/step.js +3 -3
  232. package/dist/components/tab/tab.d.ts +2 -0
  233. package/dist/components/tab/tab.js +4 -4
  234. package/dist/components/tab-group/tab-group.js +3 -3
  235. package/dist/components/table-header-cell/table-header-cell.js +3 -3
  236. package/dist/components/table-header-row/table-header-row.js +6 -6
  237. package/dist/components/table-row/table-row.js +5 -5
  238. package/dist/components/tag/tag.js +3 -3
  239. package/dist/components/textarea/textarea.js +3 -3
  240. package/dist/components/tree/tree.js +4 -4
  241. package/dist/components/tree-item/tree-item.js +4 -4
  242. package/dist/custom-elements.json +223 -68
  243. package/dist/design-system.js +40 -40
  244. package/dist/events/events.d.ts +7 -7
  245. package/dist/internal/components/form-toggle-button/form-toggle-button-stories.d.ts +2 -86
  246. package/dist/internal/test/disable-a11y-warnings.d.ts +2 -0
  247. package/dist/internal/test/disable-a11y-warnings.js +10 -0
  248. package/dist/themes/dsa-wc-theme.css +5 -0
  249. package/dist/themes/dsa-wc-theme.min.css +1 -1
  250. package/dist/themes/dsa-wc-theme.styles.js +5 -0
  251. package/dist/utilities/icon-library.js +2 -2
  252. package/dist/utilities/storybook.d.ts +1 -0
  253. package/dist/utilities/storybook.js +3 -1
  254. package/dist/vscode.html-custom-data.json +64 -11
  255. package/dist/web-types.json +159 -35
  256. package/package.json +3 -1
  257. package/cdn/chunks/chunk.CCL2RZON.js +0 -132
  258. package/cdn/chunks/chunk.DIF52FDQ.js +0 -183
  259. package/cdn/chunks/chunk.GVVML3JJ.js +0 -272
  260. package/dist/chunks/chunk.2T66U3QC.js +0 -270
  261. package/dist/chunks/chunk.ESYJVRG3.js +0 -129
@@ -1,270 +0,0 @@
1
- import {
2
- component_styles_default
3
- } from "./chunk.TUVJKY7S.js";
4
-
5
- // src/components/header-search/header-search.styles.ts
6
- import { css } from "lit";
7
- var header_search_styles_default = css`
8
- ${component_styles_default}
9
-
10
- :host {
11
- display: flex;
12
- align-items: center;
13
- justify-content: flex-end;
14
- gap: var(--dsa-spacing-8);
15
- flex: 1;
16
- width: 100%;
17
- }
18
-
19
- .mobile {
20
- display: block;
21
- }
22
- .desktop {
23
- display: none;
24
- }
25
-
26
- /* Input */
27
- .input {
28
- position: relative;
29
- display: inline-flex;
30
- flex-direction: row;
31
- align-items: center;
32
- vertical-align: middle;
33
- width: 100%;
34
- min-width: 0;
35
- font: var(--dsa-wc-input-text-field-font);
36
- border-bottom: 1px solid var(--dsa-wc-header-search-input-color);
37
- }
38
-
39
- .input--focused {
40
- outline: var(--dsa-wc-focus-ring);
41
- outline-offset: var(--dsa-wc-focus-ring-offset);
42
- }
43
-
44
- .input__control {
45
- display: inline-flex;
46
- flex-direction: row;
47
- flex: 1 1 auto;
48
- font-family: inherit;
49
- font-weight: inherit;
50
- min-width: 0;
51
- height: 100%;
52
- border: none;
53
- background: none;
54
- box-shadow: none;
55
- margin: 0;
56
- cursor: inherit;
57
- -webkit-appearance: none;
58
- color: var(--dsa-wc-header-search-input-color);
59
-
60
- font-size: 14px;
61
- padding: 8px 0 8px 8px;
62
- height: 34px;
63
- }
64
-
65
- .input__control::placeholder {
66
- color: var(--dsa-wc-input-on-layer-text-field-placeholder-color);
67
- opacity: 1;
68
- }
69
-
70
- .input__control::-webkit-search-decoration,
71
- .input__control::-webkit-search-cancel-button,
72
- .input__control::-webkit-search-results-button,
73
- .input__control::-webkit-search-results-decoration {
74
- -webkit-appearance: none;
75
- }
76
- .input__control:focus {
77
- outline: none;
78
- }
79
-
80
- /* Buttons */
81
- .button {
82
- display: inline-flex;
83
- align-items: center;
84
- justify-content: center;
85
- border-style: solid;
86
- border-width: var(--dsa-wc-button-border-width);
87
- border-radius: var(--dsa-wc-button-border-radius);
88
- text-decoration: none;
89
- user-select: none;
90
- white-space: nowrap;
91
- vertical-align: middle;
92
- padding: 0 var(--dsa-wc-button-padding-horizontal);
93
- transition: var(--dsa-wc-transition-x-fast) background-color,
94
- var(--dsa-wc-transition-x-fast) color,
95
- var(--dsa-wc-transition-x-fast) border,
96
- var(--dsa-wc-transition-x-fast) box-shadow;
97
- cursor: pointer;
98
- }
99
- .button::-moz-focus-inner {
100
- border: 0;
101
- }
102
- .button:focus {
103
- outline: none;
104
- }
105
- .button:focus-visible {
106
- outline: var(--dsa-wc-focus-ring);
107
- outline-offset: var(--dsa-wc-focus-ring-offset);
108
- }
109
-
110
- .button--tertiary {
111
- padding: 0;
112
- }
113
- .button--tertiary {
114
- background-color: var(--dsa-wc-button-tertiary-on-base-color);
115
- border: none;
116
- color: var(--dsa-wc-button-tertiary-on-base-font-color);
117
- }
118
- .button--tertiary:hover {
119
- background-color: var(--dsa-wc-button-tertiary-on-base-hover-color);
120
- color: var(--dsa-wc-button-tertiary-on-base-hover-font-color);
121
- }
122
- .button--tertiary:active {
123
- background-color: var(--dsa-wc-button-tertiary-on-base-active-color);
124
- color: var(--dsa-wc-button-tertiary-on-base-active-font-color);
125
- }
126
- .button--navigation {
127
- padding: 0;
128
- }
129
- .button--navigation {
130
- background-color: var(--dsa-wc-button-navigation-on-base-color);
131
- border-color: transparent;
132
- color: var(--dsa-wc-button-navigation-on-base-font-color);
133
- }
134
- .button--navigation:hover {
135
- background-color: var(--dsa-wc-button-navigation-on-base-hover-color);
136
- border-color: transparent;
137
- color: var(--dsa-wc-button-navigation-on-base-hover-font-color);
138
- }
139
- .button--navigation:active {
140
- background-color: var(--dsa-wc-button-navigation-on-base-active-color);
141
- border-color: transparent;
142
- color: var(--dsa-wc-button-navigation-on-base-active-font-color);
143
- }
144
-
145
- .icon-button {
146
- flex: 0 0 auto;
147
- display: flex;
148
- align-items: center;
149
- border: none;
150
- border-radius: var(--dsa-wc-icon-button-border-radius);
151
- font-size: inherit;
152
- padding: var(
153
- --dsa-wc-internal-icon-button-padding,
154
- var(--dsa-wc-icon-button-padding)
155
- );
156
- cursor: pointer;
157
- transition: var(--dsa-wc-transition-x-fast) color;
158
- -webkit-appearance: none;
159
- }
160
- .icon-button:focus {
161
- outline: none;
162
- }
163
- .icon-button:focus-visible {
164
- outline: var(--dsa-wc-focus-ring);
165
- outline-offset: var(--dsa-wc-focus-ring-offset);
166
- border-radius: var(--dsa-wc-focus-ring-radius);
167
- }
168
-
169
- .icon-button--primary {
170
- background-color: var(--dsa-wc-button-primary-on-base-color);
171
- border-color: var(--dsa-wc-button-primary-on-base-color);
172
- color: var(--dsa-wc-button-primary-on-base-font-color);
173
- }
174
- .icon-button--primary:hover:not(.icon-button--disabled) {
175
- background-color: var(--dsa-wc-button-primary-on-base-hover-color);
176
- border-color: var(--dsa-wc-button-primary-on-base-hover-color);
177
- color: var(--dsa-wc-button-primary-on-base-hover-font-color);
178
- }
179
- .icon-button--primary:active:not(.icon-button--disabled) {
180
- background-color: var(--dsa-wc-button-primary-on-base-active-color);
181
- border-color: var(--dsa-wc-button-primary-on-base-active-color);
182
- color: var(--dsa-wc-button-primary-on-base-active-font-color);
183
- }
184
-
185
- #expand-button {
186
- font: var(--dsa-wc-button-font);
187
- height: var(--dsa-wc-form-input-height);
188
- line-height: calc(
189
- var(--dsa-wc-form-input-height) - var(--dsa-wc-button-border-width) * 2
190
- );
191
- padding: var(
192
- --dsa-wc-internal-icon-button-padding,
193
- var(--dsa-wc-icon-button-padding)
194
- );
195
- }
196
- #expand-button dsa-icon {
197
- width: 20px;
198
- height: 20px;
199
- pointer-events: none;
200
- }
201
- .expand-button__label {
202
- display: none;
203
- }
204
-
205
- #submit-button dsa-icon {
206
- width: 20px;
207
- height: 20px;
208
- pointer-events: none;
209
- }
210
-
211
- #cancel-button {
212
- font: var(--dsa-wc-button-font-small);
213
- height: var(--dsa-wc-form-input-height-small);
214
- line-height: calc(
215
- var(--dsa-wc-form-input-height-small) - var(--dsa-wc-button-border-width) *
216
- 2
217
- );
218
- border-radius: var(--dsa-wc-button-border-radius);
219
- margin-inline-start: var(--dsa-spacing-8);
220
- }
221
-
222
- @media screen and (min-width: 720px) {
223
- :host {
224
- gap: var(--dsa-spacing-16);
225
- }
226
-
227
- .mobile {
228
- display: none;
229
- }
230
- .desktop {
231
- display: block;
232
- }
233
-
234
- .input__control {
235
- font: var(--dsa-wc-header-search-input-font);
236
- height: 40px;
237
- }
238
-
239
- #expand-button {
240
- padding: unset;
241
- }
242
- #expand-button dsa-icon {
243
- width: 1em;
244
- height: 1em;
245
- margin-inline-end: var(--dsa-wc-button-icon-spacing);
246
- }
247
- .expand-button__label {
248
- display: unset;
249
- }
250
-
251
- #submit-button dsa-icon {
252
- width: 24px;
253
- height: 24px;
254
- }
255
-
256
- #cancel-button {
257
- font: var(--dsa-wc-button-font);
258
- height: var(--dsa-wc-form-input-height);
259
- line-height: calc(
260
- var(--dsa-wc-form-input-height) - var(--dsa-wc-button-border-width) * 2
261
- );
262
- border-radius: var(--dsa-wc-button-border-radius);
263
- margin-inline-start: 0;
264
- }
265
- }
266
- `;
267
-
268
- export {
269
- header_search_styles_default
270
- };
@@ -1,129 +0,0 @@
1
- // src/components/input-phone/input-phone.utils.ts
2
- import { html } from "lit";
3
- var frenchNumberPrefix = [
4
- "+33",
5
- "+262",
6
- "+508",
7
- "+590",
8
- "+594",
9
- "+596",
10
- "+681",
11
- "+687",
12
- "+689"
13
- ];
14
- var phonePrefixOptions = [
15
- { value: "+33", label: "fr_FR" },
16
- { value: "+590", label: "fr_GP" },
17
- { value: "+594", label: "fr_GF" },
18
- { value: "+596", label: "fr_MQ" },
19
- { value: "+687", label: "fr_NC" },
20
- { value: "+689", label: "fr_PF" },
21
- { value: "+508", label: "fr_PM" },
22
- { value: "+262", label: "fr_RE" },
23
- { value: "+681", label: "fr_WF" }
24
- ];
25
- var frenchFlagSelect = html`<svg
26
- slot="prefix"
27
- xmlns="http://www.w3.org/2000/svg"
28
- width="28"
29
- height="20"
30
- fill="none"
31
- aria-hidden="true"
32
- >
33
- <rect
34
- width="27.5"
35
- height="19.5"
36
- x=".25"
37
- y=".25"
38
- fill="#fff"
39
- stroke="#F5F5F5"
40
- stroke-width=".5"
41
- rx="1.75"
42
- />
43
- <mask
44
- id="mask0_16382_21057"
45
- width="28"
46
- height="20"
47
- x="0"
48
- y="0"
49
- maskUnits="userSpaceOnUse"
50
- style="mask-type:luminance"
51
- >
52
- <rect
53
- width="27.5"
54
- height="19.5"
55
- x=".25"
56
- y=".25"
57
- fill="#fff"
58
- stroke="#fff"
59
- stroke-width=".5"
60
- rx="1.75"
61
- />
62
- </mask>
63
- <g mask="url(#mask0_16382_21057)">
64
- <path fill="#F44653" d="M18.666 0h9.333v20h-9.333z" />
65
- <path
66
- fill="#1035BB"
67
- fill-rule="evenodd"
68
- d="M0 20h9.333V0H0v20Z"
69
- clip-rule="evenodd"
70
- />
71
- </g>
72
- </svg>`;
73
- var frenchFlagOption = (id) => html`<svg
74
- slot="prefix"
75
- xmlns="http://www.w3.org/2000/svg"
76
- width="14"
77
- height="15"
78
- fill="none"
79
- aria-hidden="true"
80
- >
81
- <g clip-path=${`url(#clip${id})`}>
82
- <rect
83
- width="13.5"
84
- height="13.5"
85
- x=".25"
86
- y=".75"
87
- fill="#fff"
88
- stroke="#F5F5F5"
89
- stroke-width=".5"
90
- rx="1.75"
91
- />
92
- <mask
93
- id=${`mask${id}`}
94
- width="14"
95
- height="15"
96
- x="0"
97
- y="0"
98
- maskUnits="userSpaceOnUse"
99
- style="mask-type:luminance"
100
- >
101
- <rect
102
- width="13.5"
103
- height="13.5"
104
- x=".25"
105
- y=".75"
106
- fill="#fff"
107
- stroke="#fff"
108
- stroke-width=".5"
109
- rx="1.75"
110
- />
111
- </mask>
112
- <g mask=${`url(#mask${id})`}>
113
- <path fill="#F44653" d="M9.334.5h4.667v14H9.334z" />
114
- <path
115
- fill="#1035BB"
116
- fill-rule="evenodd"
117
- d="M0 14.5h4.667V.5H0v14Z"
118
- clip-rule="evenodd"
119
- />
120
- </g>
121
- </g>
122
- </svg>`;
123
-
124
- export {
125
- frenchNumberPrefix,
126
- phonePrefixOptions,
127
- frenchFlagSelect,
128
- frenchFlagOption
129
- };