@atlaskit/react-select 2.2.1 → 2.3.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 (270) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/compiled/components/containers.compiled.css +26 -0
  3. package/dist/cjs/compiled/components/containers.js +119 -0
  4. package/dist/cjs/compiled/components/control.compiled.css +51 -0
  5. package/dist/cjs/compiled/components/control.js +66 -0
  6. package/dist/cjs/compiled/components/group.compiled.css +12 -0
  7. package/dist/cjs/compiled/components/group.js +81 -0
  8. package/dist/cjs/compiled/components/indicators.compiled.css +24 -0
  9. package/dist/cjs/compiled/components/indicators.js +157 -0
  10. package/dist/cjs/compiled/components/input.compiled.css +49 -0
  11. package/dist/cjs/compiled/components/input.js +69 -0
  12. package/dist/cjs/compiled/components/internal/a11y-text.compiled.css +15 -0
  13. package/dist/cjs/compiled/components/internal/a11y-text.js +23 -0
  14. package/dist/cjs/compiled/components/internal/dummy-input.compiled.css +17 -0
  15. package/dist/cjs/compiled/components/internal/dummy-input.js +30 -0
  16. package/dist/cjs/compiled/components/internal/required-input.compiled.css +8 -0
  17. package/dist/cjs/compiled/components/internal/required-input.js +34 -0
  18. package/dist/cjs/compiled/components/live-region.js +177 -0
  19. package/dist/cjs/compiled/components/menu.compiled.css +19 -0
  20. package/dist/cjs/compiled/components/menu.js +491 -0
  21. package/dist/cjs/compiled/components/multi-value.compiled.css +56 -0
  22. package/dist/cjs/compiled/components/multi-value.js +199 -0
  23. package/dist/cjs/compiled/components/option.compiled.css +22 -0
  24. package/dist/cjs/compiled/components/option.js +57 -0
  25. package/dist/cjs/compiled/components/placeholder.compiled.css +7 -0
  26. package/dist/cjs/compiled/components/placeholder.js +45 -0
  27. package/dist/cjs/compiled/components/single-value.compiled.css +13 -0
  28. package/dist/cjs/compiled/components/single-value.js +46 -0
  29. package/dist/cjs/components/containers.js +12 -72
  30. package/dist/cjs/components/control.js +11 -96
  31. package/dist/cjs/components/group.js +15 -53
  32. package/dist/cjs/components/indicators.js +15 -107
  33. package/dist/cjs/components/input.js +12 -81
  34. package/dist/cjs/components/internal/a11y-text.js +6 -25
  35. package/dist/cjs/components/internal/dummy-input.js +8 -36
  36. package/dist/cjs/components/internal/notify-open-layer-observer.js +1 -0
  37. package/dist/cjs/components/internal/required-input.js +7 -31
  38. package/dist/cjs/components/internal/scroll-manager.js +19 -17
  39. package/dist/cjs/components/live-region.js +6 -164
  40. package/dist/cjs/components/menu.js +26 -181
  41. package/dist/cjs/components/multi-value.js +21 -197
  42. package/dist/cjs/components/option.js +11 -68
  43. package/dist/cjs/components/placeholder.js +11 -20
  44. package/dist/cjs/components/single-value.js +11 -26
  45. package/dist/cjs/emotion/components/containers.js +2 -0
  46. package/dist/cjs/emotion/components/control.js +2 -0
  47. package/dist/cjs/emotion/components/group.js +1 -0
  48. package/dist/cjs/emotion/components/indicators.js +1 -0
  49. package/dist/cjs/emotion/components/input.js +1 -1
  50. package/dist/cjs/emotion/components/internal/a11y-text.js +1 -0
  51. package/dist/cjs/emotion/components/internal/dummy-input.js +1 -0
  52. package/dist/cjs/emotion/components/internal/required-input.js +2 -0
  53. package/dist/cjs/emotion/components/live-region.js +1 -1
  54. package/dist/cjs/emotion/components/menu.js +1 -1
  55. package/dist/cjs/emotion/components/multi-value.js +1 -1
  56. package/dist/cjs/emotion/components/option.js +2 -0
  57. package/dist/cjs/emotion/components/placeholder.js +2 -0
  58. package/dist/cjs/emotion/components/single-value.js +2 -0
  59. package/dist/cjs/utils.js +2 -1
  60. package/dist/es2019/compiled/components/containers.compiled.css +26 -0
  61. package/dist/es2019/compiled/components/containers.js +115 -0
  62. package/dist/es2019/compiled/components/control.compiled.css +51 -0
  63. package/dist/es2019/compiled/components/control.js +58 -0
  64. package/dist/es2019/compiled/components/group.compiled.css +12 -0
  65. package/dist/es2019/compiled/components/group.js +72 -0
  66. package/dist/es2019/compiled/components/indicators.compiled.css +24 -0
  67. package/dist/es2019/compiled/components/indicators.js +144 -0
  68. package/dist/es2019/compiled/components/input.compiled.css +49 -0
  69. package/dist/es2019/compiled/components/input.js +59 -0
  70. package/dist/es2019/compiled/components/internal/a11y-text.compiled.css +15 -0
  71. package/dist/es2019/compiled/components/internal/a11y-text.js +11 -0
  72. package/dist/es2019/compiled/components/internal/dummy-input.compiled.css +17 -0
  73. package/dist/es2019/compiled/components/internal/dummy-input.js +19 -0
  74. package/dist/es2019/compiled/components/internal/required-input.compiled.css +8 -0
  75. package/dist/es2019/compiled/components/internal/required-input.js +23 -0
  76. package/dist/es2019/compiled/components/live-region.js +171 -0
  77. package/dist/es2019/compiled/components/menu.compiled.css +19 -0
  78. package/dist/es2019/compiled/components/menu.js +478 -0
  79. package/dist/es2019/compiled/components/multi-value.compiled.css +56 -0
  80. package/dist/es2019/compiled/components/multi-value.js +190 -0
  81. package/dist/es2019/compiled/components/option.compiled.css +22 -0
  82. package/dist/es2019/compiled/components/option.js +48 -0
  83. package/dist/es2019/compiled/components/placeholder.compiled.css +7 -0
  84. package/dist/es2019/compiled/components/placeholder.js +36 -0
  85. package/dist/es2019/compiled/components/single-value.compiled.css +13 -0
  86. package/dist/es2019/compiled/components/single-value.js +37 -0
  87. package/dist/es2019/components/containers.js +10 -87
  88. package/dist/es2019/components/control.js +8 -103
  89. package/dist/es2019/components/group.js +9 -54
  90. package/dist/es2019/components/indicators.js +11 -113
  91. package/dist/es2019/components/input.js +7 -83
  92. package/dist/es2019/components/internal/a11y-text.js +6 -26
  93. package/dist/es2019/components/internal/dummy-input.js +7 -36
  94. package/dist/es2019/components/internal/notify-open-layer-observer.js +1 -0
  95. package/dist/es2019/components/internal/required-input.js +6 -32
  96. package/dist/es2019/components/internal/scroll-manager.js +16 -16
  97. package/dist/es2019/components/live-region.js +5 -168
  98. package/dist/es2019/components/menu.js +14 -192
  99. package/dist/es2019/components/multi-value.js +12 -216
  100. package/dist/es2019/components/option.js +7 -75
  101. package/dist/es2019/components/placeholder.js +7 -25
  102. package/dist/es2019/components/single-value.js +7 -31
  103. package/dist/es2019/emotion/components/containers.js +1 -0
  104. package/dist/es2019/emotion/components/control.js +1 -0
  105. package/dist/es2019/emotion/components/group.js +1 -0
  106. package/dist/es2019/emotion/components/indicators.js +1 -0
  107. package/dist/es2019/emotion/components/input.js +1 -0
  108. package/dist/es2019/emotion/components/internal/a11y-text.js +1 -0
  109. package/dist/es2019/emotion/components/internal/dummy-input.js +1 -0
  110. package/dist/es2019/emotion/components/internal/required-input.js +1 -0
  111. package/dist/es2019/emotion/components/live-region.js +2 -0
  112. package/dist/es2019/emotion/components/menu.js +2 -0
  113. package/dist/es2019/emotion/components/multi-value.js +1 -0
  114. package/dist/es2019/emotion/components/option.js +1 -0
  115. package/dist/es2019/emotion/components/placeholder.js +1 -0
  116. package/dist/es2019/emotion/components/single-value.js +1 -0
  117. package/dist/es2019/utils.js +1 -0
  118. package/dist/esm/compiled/components/containers.compiled.css +26 -0
  119. package/dist/esm/compiled/components/containers.js +110 -0
  120. package/dist/esm/compiled/components/control.compiled.css +51 -0
  121. package/dist/esm/compiled/components/control.js +57 -0
  122. package/dist/esm/compiled/components/group.compiled.css +12 -0
  123. package/dist/esm/compiled/components/group.js +71 -0
  124. package/dist/esm/compiled/components/indicators.compiled.css +24 -0
  125. package/dist/esm/compiled/components/indicators.js +148 -0
  126. package/dist/esm/compiled/components/input.compiled.css +49 -0
  127. package/dist/esm/compiled/components/input.js +59 -0
  128. package/dist/esm/compiled/components/internal/a11y-text.compiled.css +15 -0
  129. package/dist/esm/compiled/components/internal/a11y-text.js +13 -0
  130. package/dist/esm/compiled/components/internal/dummy-input.compiled.css +17 -0
  131. package/dist/esm/compiled/components/internal/dummy-input.js +20 -0
  132. package/dist/esm/compiled/components/internal/required-input.compiled.css +8 -0
  133. package/dist/esm/compiled/components/internal/required-input.js +24 -0
  134. package/dist/esm/compiled/components/live-region.js +168 -0
  135. package/dist/esm/compiled/components/menu.compiled.css +19 -0
  136. package/dist/esm/compiled/components/menu.js +485 -0
  137. package/dist/esm/compiled/components/multi-value.compiled.css +56 -0
  138. package/dist/esm/compiled/components/multi-value.js +187 -0
  139. package/dist/esm/compiled/components/option.compiled.css +22 -0
  140. package/dist/esm/compiled/components/option.js +47 -0
  141. package/dist/esm/compiled/components/placeholder.compiled.css +7 -0
  142. package/dist/esm/compiled/components/placeholder.js +35 -0
  143. package/dist/esm/compiled/components/single-value.compiled.css +13 -0
  144. package/dist/esm/compiled/components/single-value.js +36 -0
  145. package/dist/esm/components/containers.js +12 -73
  146. package/dist/esm/components/control.js +8 -97
  147. package/dist/esm/components/group.js +11 -54
  148. package/dist/esm/components/indicators.js +15 -109
  149. package/dist/esm/components/input.js +8 -83
  150. package/dist/esm/components/internal/a11y-text.js +6 -26
  151. package/dist/esm/components/internal/dummy-input.js +7 -37
  152. package/dist/esm/components/internal/notify-open-layer-observer.js +1 -0
  153. package/dist/esm/components/internal/required-input.js +7 -32
  154. package/dist/esm/components/internal/scroll-manager.js +16 -16
  155. package/dist/esm/components/live-region.js +5 -163
  156. package/dist/esm/components/menu.js +24 -182
  157. package/dist/esm/components/multi-value.js +17 -199
  158. package/dist/esm/components/option.js +8 -69
  159. package/dist/esm/components/placeholder.js +8 -21
  160. package/dist/esm/components/single-value.js +8 -27
  161. package/dist/esm/emotion/components/containers.js +1 -0
  162. package/dist/esm/emotion/components/control.js +1 -0
  163. package/dist/esm/emotion/components/group.js +1 -0
  164. package/dist/esm/emotion/components/indicators.js +1 -0
  165. package/dist/esm/emotion/components/input.js +1 -0
  166. package/dist/esm/emotion/components/internal/a11y-text.js +1 -0
  167. package/dist/esm/emotion/components/internal/dummy-input.js +1 -0
  168. package/dist/esm/emotion/components/internal/required-input.js +1 -0
  169. package/dist/esm/emotion/components/live-region.js +2 -0
  170. package/dist/esm/emotion/components/menu.js +2 -0
  171. package/dist/esm/emotion/components/multi-value.js +1 -0
  172. package/dist/esm/emotion/components/option.js +1 -0
  173. package/dist/esm/emotion/components/placeholder.js +1 -0
  174. package/dist/esm/emotion/components/single-value.js +1 -0
  175. package/dist/esm/utils.js +2 -1
  176. package/dist/types/compiled/components/containers.d.ts +53 -0
  177. package/dist/types/compiled/components/control.d.ts +41 -0
  178. package/dist/types/compiled/components/group.d.ts +54 -0
  179. package/dist/types/compiled/components/indicators.d.ts +72 -0
  180. package/dist/types/compiled/components/input.d.ts +36 -0
  181. package/dist/types/compiled/components/internal/a11y-text.d.ts +3 -0
  182. package/dist/types/compiled/components/internal/dummy-input.d.ts +8 -0
  183. package/dist/types/compiled/components/internal/required-input.d.ts +10 -0
  184. package/dist/types/compiled/components/live-region.d.ts +19 -0
  185. package/dist/types/compiled/components/menu.d.ts +115 -0
  186. package/dist/types/compiled/components/multi-value.d.ts +57 -0
  187. package/dist/types/compiled/components/option.d.ts +48 -0
  188. package/dist/types/compiled/components/placeholder.d.ts +21 -0
  189. package/dist/types/compiled/components/single-value.d.ts +27 -0
  190. package/dist/types/components/containers.d.ts +6 -11
  191. package/dist/types/components/control.d.ts +4 -9
  192. package/dist/types/components/group.d.ts +8 -10
  193. package/dist/types/components/index.d.ts +21 -21
  194. package/dist/types/components/indicators.d.ts +7 -12
  195. package/dist/types/components/input.d.ts +3 -8
  196. package/dist/types/components/internal/a11y-text.d.ts +2 -7
  197. package/dist/types/components/internal/dummy-input.d.ts +3 -8
  198. package/dist/types/components/internal/required-input.d.ts +0 -4
  199. package/dist/types/components/internal/scroll-manager.d.ts +2 -7
  200. package/dist/types/components/live-region.d.ts +2 -8
  201. package/dist/types/components/menu.d.ts +10 -15
  202. package/dist/types/components/multi-value.d.ts +19 -13
  203. package/dist/types/components/option.d.ts +3 -8
  204. package/dist/types/components/placeholder.d.ts +3 -8
  205. package/dist/types/components/single-value.d.ts +3 -8
  206. package/dist/types/select.d.ts +21 -21
  207. package/dist/types/types.d.ts +3 -0
  208. package/dist/types-ts4.5/compiled/components/containers.d.ts +53 -0
  209. package/dist/types-ts4.5/compiled/components/control.d.ts +41 -0
  210. package/dist/types-ts4.5/compiled/components/group.d.ts +54 -0
  211. package/dist/types-ts4.5/compiled/components/indicators.d.ts +72 -0
  212. package/dist/types-ts4.5/compiled/components/input.d.ts +36 -0
  213. package/dist/types-ts4.5/compiled/components/internal/a11y-text.d.ts +3 -0
  214. package/dist/types-ts4.5/compiled/components/internal/dummy-input.d.ts +8 -0
  215. package/dist/types-ts4.5/compiled/components/internal/required-input.d.ts +10 -0
  216. package/dist/types-ts4.5/compiled/components/live-region.d.ts +19 -0
  217. package/dist/types-ts4.5/compiled/components/menu.d.ts +115 -0
  218. package/dist/types-ts4.5/compiled/components/multi-value.d.ts +57 -0
  219. package/dist/types-ts4.5/compiled/components/option.d.ts +48 -0
  220. package/dist/types-ts4.5/compiled/components/placeholder.d.ts +21 -0
  221. package/dist/types-ts4.5/compiled/components/single-value.d.ts +27 -0
  222. package/dist/types-ts4.5/components/containers.d.ts +6 -11
  223. package/dist/types-ts4.5/components/control.d.ts +4 -9
  224. package/dist/types-ts4.5/components/group.d.ts +8 -10
  225. package/dist/types-ts4.5/components/index.d.ts +21 -21
  226. package/dist/types-ts4.5/components/indicators.d.ts +7 -12
  227. package/dist/types-ts4.5/components/input.d.ts +3 -8
  228. package/dist/types-ts4.5/components/internal/a11y-text.d.ts +2 -7
  229. package/dist/types-ts4.5/components/internal/dummy-input.d.ts +3 -8
  230. package/dist/types-ts4.5/components/internal/required-input.d.ts +0 -4
  231. package/dist/types-ts4.5/components/internal/scroll-manager.d.ts +2 -7
  232. package/dist/types-ts4.5/components/live-region.d.ts +2 -8
  233. package/dist/types-ts4.5/components/menu.d.ts +10 -15
  234. package/dist/types-ts4.5/components/multi-value.d.ts +19 -13
  235. package/dist/types-ts4.5/components/option.d.ts +3 -8
  236. package/dist/types-ts4.5/components/placeholder.d.ts +3 -8
  237. package/dist/types-ts4.5/components/single-value.d.ts +3 -8
  238. package/dist/types-ts4.5/select.d.ts +21 -21
  239. package/dist/types-ts4.5/types.d.ts +3 -0
  240. package/package.json +10 -2
  241. package/dist/cjs/emotion/components/index.js +0 -52
  242. package/dist/cjs/emotion/components/internal/index.js +0 -34
  243. package/dist/cjs/emotion/components/internal/notify-open-layer-observer.js +0 -21
  244. package/dist/cjs/emotion/components/internal/scroll-manager.js +0 -57
  245. package/dist/cjs/emotion/components/internal/use-scroll-capture.js +0 -132
  246. package/dist/cjs/emotion/components/internal/use-scroll-lock.js +0 -149
  247. package/dist/es2019/emotion/components/index.js +0 -41
  248. package/dist/es2019/emotion/components/internal/index.js +0 -4
  249. package/dist/es2019/emotion/components/internal/notify-open-layer-observer.js +0 -16
  250. package/dist/es2019/emotion/components/internal/scroll-manager.js +0 -49
  251. package/dist/es2019/emotion/components/internal/use-scroll-capture.js +0 -128
  252. package/dist/es2019/emotion/components/internal/use-scroll-lock.js +0 -143
  253. package/dist/esm/emotion/components/index.js +0 -43
  254. package/dist/esm/emotion/components/internal/index.js +0 -4
  255. package/dist/esm/emotion/components/internal/notify-open-layer-observer.js +0 -15
  256. package/dist/esm/emotion/components/internal/scroll-manager.js +0 -49
  257. package/dist/esm/emotion/components/internal/use-scroll-capture.js +0 -126
  258. package/dist/esm/emotion/components/internal/use-scroll-lock.js +0 -143
  259. package/dist/types/emotion/components/index.d.ts +0 -67
  260. package/dist/types/emotion/components/internal/index.d.ts +0 -4
  261. package/dist/types/emotion/components/internal/notify-open-layer-observer.d.ts +0 -11
  262. package/dist/types/emotion/components/internal/scroll-manager.d.ts +0 -17
  263. package/dist/types/emotion/components/internal/use-scroll-capture.d.ts +0 -12
  264. package/dist/types/emotion/components/internal/use-scroll-lock.d.ts +0 -9
  265. package/dist/types-ts4.5/emotion/components/index.d.ts +0 -67
  266. package/dist/types-ts4.5/emotion/components/internal/index.d.ts +0 -4
  267. package/dist/types-ts4.5/emotion/components/internal/notify-open-layer-observer.d.ts +0 -11
  268. package/dist/types-ts4.5/emotion/components/internal/scroll-manager.d.ts +0 -17
  269. package/dist/types-ts4.5/emotion/components/internal/use-scroll-capture.d.ts +0 -12
  270. package/dist/types-ts4.5/emotion/components/internal/use-scroll-lock.d.ts +0 -9
@@ -0,0 +1,115 @@
1
+ /* containers.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import "./containers.compiled.css";
4
+ import * as React from 'react';
5
+ import { ax, ix } from "@compiled/react/runtime";
6
+ import { cx } from '@compiled/react';
7
+ import { fg } from '@atlaskit/platform-feature-flags';
8
+ import { getStyleProps } from '../../utils';
9
+
10
+ // ==============================
11
+ // Root Container
12
+ // ==============================
13
+
14
+ export const containerCSS = () => ({});
15
+ const containerStyles = {
16
+ default: "_11c82smr _kqswh2mm _lcxv1rj4",
17
+ rtl: "_1eim1xrj",
18
+ disabled: "_80om13gf",
19
+ ff_safari_input_fix: "_11c81ixg _1tn22smr"
20
+ };
21
+
22
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
23
+ export const SelectContainer = props => {
24
+ const {
25
+ children,
26
+ innerProps,
27
+ isDisabled,
28
+ isRtl,
29
+ xcss
30
+ } = props;
31
+ const {
32
+ className,
33
+ css
34
+ } = getStyleProps(props, 'container', {
35
+ '--is-disabled': isDisabled,
36
+ '--is-rtl': isRtl
37
+ });
38
+ return /*#__PURE__*/React.createElement("div", _extends({
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
40
+ className: ax([containerStyles.default, isRtl && containerStyles.rtl, isDisabled && containerStyles.disabled, fg('platform_design_system_team_safari_input_fix') && containerStyles.ff_safari_input_fix, cx(className, xcss)])
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
42
+ ,
43
+ style: css
44
+ }, innerProps), children);
45
+ };
46
+
47
+ // ==============================
48
+ // Value Container
49
+ // ==============================
50
+
51
+ export const valueContainerCSS = () => ({});
52
+ const valueContainerStyles = {
53
+ default: "_16jlkb7n _1o9zkb7n _i0dlf1ug _1reo15vq _18m915vq _4cvr1h6o _1e0c11p5 _1n261g80 _8am5i4x0 _kqswh2mm _ca0qv77o _u5f312x7 _n3tdv77o _19bv12x7",
54
+ flex: "_1e0c1txw",
55
+ compact: "_ca0qidpf _u5f312x7 _n3tdidpf _19bv12x7"
56
+ };
57
+
58
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
59
+ export const ValueContainer = props => {
60
+ const {
61
+ children,
62
+ innerProps,
63
+ isMulti,
64
+ hasValue,
65
+ isCompact,
66
+ xcss,
67
+ selectProps: {
68
+ controlShouldRenderValue
69
+ }
70
+ } = props;
71
+ const {
72
+ css,
73
+ className
74
+ } = getStyleProps(props, 'valueContainer', {
75
+ 'value-container': true,
76
+ 'value-container--is-multi': isMulti,
77
+ 'value-container--has-value': hasValue
78
+ });
79
+ return /*#__PURE__*/React.createElement("div", _extends({
80
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
81
+ className: ax([valueContainerStyles.default, isMulti && hasValue && controlShouldRenderValue && valueContainerStyles.flex, isCompact && valueContainerStyles.compact, cx(className || 'value-container', xcss)])
82
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
83
+ ,
84
+ style: css
85
+ }, innerProps), children);
86
+ };
87
+
88
+ // ==============================
89
+ // Indicator Container
90
+ // ==============================
91
+
92
+ export const indicatorsContainerCSS = () => ({});
93
+ const indicatorContainerStyles = null;
94
+
95
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
96
+ export const IndicatorsContainer = props => {
97
+ const {
98
+ children,
99
+ innerProps,
100
+ xcss
101
+ } = props;
102
+ const {
103
+ css,
104
+ className
105
+ } = getStyleProps(props, 'indicatorsContainer', {
106
+ indicators: true
107
+ });
108
+ return /*#__PURE__*/React.createElement("div", _extends({
109
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
110
+ style: css
111
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
112
+ ,
113
+ className: ax(["_1e0c1txw _4cvr1h6o _1o9zidpf _1wpz1fhb _y4ti1b66", cx(className, xcss)])
114
+ }, innerProps), children);
115
+ };
@@ -0,0 +1,51 @@
1
+
2
+ ._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}
3
+ ._v564r5cv{transition:background-color .2s ease-in-out,border-color .2s ease-in-out}
4
+ ._189ee4h9{border-width:var(--ds-border-width,1px)}
5
+ ._1dqonqa1{border-style:solid}
6
+ ._1h6d1bqt{border-color:var(--ds-border-danger,#e2483d)}
7
+ ._1h6d1elr{border-color:var(--ds-border-input,#8590a2)}
8
+ ._1h6d1j28{border-color:transparent}
9
+ ._1h6d1p6i{border-color:var(--ds-border-focused,#388bff)}
10
+ ._1h6dsyzs{border-color:var(--ds-background-disabled,#091e4208)}._123byq51:hover::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.2)}
11
+ ._12ji1r31{outline-color:currentColor}
12
+ ._12y3idpf{outline-width:0}
13
+ ._15peftgi::-webkit-scrollbar{height:8px}
14
+ ._16qsizbr{box-shadow:inset 0 0 0 var(--ds-border-width,1px) var(--ds-border-danger,#e2483d)}
15
+ ._16qsq049{box-shadow:inset 0 0 0 var(--ds-border-width,1px) var(--ds-border-focused,#388bff)}
16
+ ._19bvidpf{padding-left:0}
17
+ ._1bah1yb4{justify-content:space-between}
18
+ ._1e0c1txw{display:flex}
19
+ ._1ke8ftgi::-webkit-scrollbar{width:8px}
20
+ ._1n261g80{flex-wrap:wrap}
21
+ ._1qu2glyw{outline-style:none}
22
+ ._1tke1ylp{min-height:40px}
23
+ ._1tkezwfg{min-height:2pc}
24
+ ._4cvr1h6o{align-items:center}
25
+ ._80om73ad{cursor:default}
26
+ ._bfhk1j28{background-color:transparent}
27
+ ._bfhk1j9a{background-color:var(--ds-background-input,#fff)}
28
+ ._bfhkr01l{background-color:var(--ds-background-input-pressed,#fff)}
29
+ ._bfhksyzs{background-color:var(--ds-background-disabled,#091e4208)}
30
+ ._bfhkvuon{background-color:var(--ds-surface,#fff)}
31
+ ._ca0qidpf{padding-top:0}
32
+ ._jaboglyw::-webkit-scrollbar-corner{display:none}
33
+ ._jqf6y3o9{label:control}
34
+ ._kqswh2mm{position:relative}
35
+ ._lcxvglyw{pointer-events:none}
36
+ ._n3tdidpf{padding-bottom:0}
37
+ ._u5f3idpf{padding-right:0}
38
+ ._1u6l1bml:focus-within{box-shadow:inset 0 0 0 var(--ds-border-width,1px) var(--ds-border-input,#8590a2)}
39
+ ._1u6l3sij:focus-within{box-shadow:inset 0 0 0 var(--ds-border-width,1px) transparent}
40
+ ._1u6lizbr:focus-within{box-shadow:inset 0 0 0 var(--ds-border-width,1px) var(--ds-border-danger,#e2483d)}
41
+ ._1u6llkwx:focus-within{box-shadow:inset 0 0 0 var(--ds-border-width,1px) var(--ds-background-disabled,#091e4208)}
42
+ ._1u6lq049:focus-within{box-shadow:inset 0 0 0 var(--ds-border-width,1px) var(--ds-border-focused,#388bff)}
43
+ ._4cvx1bqt:hover{border-color:var(--ds-border-danger,#e2483d)}
44
+ ._4cvx1elr:hover{border-color:var(--ds-border-input,#8590a2)}
45
+ ._4cvx1j28:hover{border-color:transparent}
46
+ ._4cvx1p6i:hover{border-color:var(--ds-border-focused,#388bff)}
47
+ ._1ogl1caj::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4)}
48
+ ._d0altlke:hover{cursor:pointer}
49
+ ._irr31d5g:hover{background-color:var(--ds-background-input-hovered,#f7f8f9)}
50
+ ._irr31j28:hover{background-color:transparent}
51
+ ._irr3r01l:hover{background-color:var(--ds-background-input-pressed,#fff)}
@@ -0,0 +1,58 @@
1
+ /* control.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import "./control.compiled.css";
4
+ import * as React from 'react';
5
+ import { ax, ix } from "@compiled/react/runtime";
6
+ /* eslint-disable @atlaskit/ui-styling-standard/no-unsafe-selectors */
7
+
8
+ import { cx } from '@compiled/react';
9
+ import { getStyleProps } from '../../utils';
10
+ const styles = {
11
+ default: "_12ji1r31 _1qu2glyw _12y3idpf _2rkosqtm _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _v564r5cv _1h6d1elr _1dqonqa1 _189ee4h9 _jqf6y3o9 _4cvr1h6o _80om73ad _1e0c1txw _1n261g80 _1bah1yb4 _kqswh2mm _bfhk1j9a _1tke1ylp _15peftgi _1ke8ftgi _jaboglyw _1u6l1bml _4cvx1elr _123byq51 _d0altlke _irr31d5g _1ogl1caj",
12
+ compact: "_1tkezwfg",
13
+ invalid: "_1h6d1bqt _16qsizbr _1u6lizbr _4cvx1bqt",
14
+ focusedInvalid: "_16qsq049",
15
+ disabled: "_1h6dsyzs _lcxvglyw _bfhksyzs _1u6llkwx",
16
+ focused: "_1h6d1p6i _bfhkr01l _1u6lq049 _4cvx1p6i _irr3r01l",
17
+ subtle: "_1h6d1j28 _bfhk1j28 _1u6l3sij",
18
+ subtleFocused: "_bfhkvuon",
19
+ none: "_1h6d1j28 _bfhk1j28 _1u6l3sij _4cvx1j28 _irr31j28"
20
+ };
21
+ export const css = () => ({});
22
+ const Control = props => {
23
+ const {
24
+ children,
25
+ appearance,
26
+ isCompact,
27
+ isDisabled,
28
+ isFocused,
29
+ isInvalid,
30
+ innerRef,
31
+ innerProps,
32
+ menuIsOpen,
33
+ xcss
34
+ } = props;
35
+ const {
36
+ css,
37
+ className
38
+ } = getStyleProps(props, 'control', {
39
+ control: true,
40
+ 'control--is-disabled': isDisabled,
41
+ 'control--is-focused': isFocused,
42
+ 'control--menu-is-open': menuIsOpen
43
+ });
44
+ return /*#__PURE__*/React.createElement("div", _extends({
45
+ ref: innerRef
46
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
47
+ ,
48
+ className: ax([styles.default, isDisabled && styles.disabled, isInvalid && styles.invalid, isCompact && styles.compact, appearance === 'subtle' && styles.subtle, appearance === 'subtle' && isFocused && styles.subtleFocused, isFocused && styles.focused, appearance === 'none' && styles.none, cx(className, xcss)])
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
50
+ ,
51
+ style: css
52
+ }, innerProps, {
53
+ "aria-disabled": isDisabled || undefined
54
+ }), children);
55
+ };
56
+
57
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
58
+ export default Control;
@@ -0,0 +1,12 @@
1
+ ._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
+ ._1e0c1ule{display:block}
3
+ ._1p1dglyw{text-transform:none}
4
+ ._6rthpd1z{margin-block-end:.25em}
5
+ ._80om73ad{cursor:default}
6
+ ._bozgutpp{padding-inline-start:var(--ds-space-150,9pt)}
7
+ ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
8
+ ._jqf6dpkn{label:group}
9
+ ._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
10
+ ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
11
+ ._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
12
+ ._y4tiutpp{padding-inline-end:var(--ds-space-150,9pt)}
@@ -0,0 +1,72 @@
1
+ /* group.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import "./group.compiled.css";
4
+ import * as React from 'react';
5
+ import { ax, ix } from "@compiled/react/runtime";
6
+ import { cx } from '@compiled/react';
7
+ import { cleanCommonProps, getStyleProps } from '../../utils';
8
+ const styles = {
9
+ root: "_n3tdu2gc _ca0qu2gc"
10
+ };
11
+ export const groupCSS = () => ({});
12
+ const Group = props => {
13
+ const {
14
+ children,
15
+ cx: builtinCX,
16
+ getStyles,
17
+ getClassNames,
18
+ Heading,
19
+ headingProps,
20
+ innerProps,
21
+ label,
22
+ selectProps,
23
+ xcss
24
+ } = props;
25
+ const {
26
+ css,
27
+ className
28
+ } = getStyleProps(props, 'group', {
29
+ group: true
30
+ });
31
+ return /*#__PURE__*/React.createElement("div", _extends({
32
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
33
+ style: css
34
+ }, innerProps, {
35
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
36
+ className: ax([styles.root, cx(className, xcss, innerProps === null || innerProps === void 0 ? void 0 : innerProps.className)])
37
+ }), /*#__PURE__*/React.createElement(Heading, _extends({}, headingProps, {
38
+ selectProps: selectProps,
39
+ getStyles: getStyles,
40
+ getClassNames: getClassNames,
41
+ cx: builtinCX
42
+ }), label), /*#__PURE__*/React.createElement("div", null, children));
43
+ };
44
+ const headingStyles = null;
45
+ export const groupHeadingCSS = () => ({});
46
+
47
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
48
+ export const GroupHeading = props => {
49
+ const {
50
+ xcss
51
+ } = props;
52
+ const {
53
+ data,
54
+ ...innerProps
55
+ } = cleanCommonProps(props);
56
+ const {
57
+ css,
58
+ className
59
+ } = getStyleProps(props, 'groupHeading', {
60
+ 'group-heading': true
61
+ });
62
+ return /*#__PURE__*/React.createElement("div", _extends({
63
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
64
+ className: ax(["_11c81o8v _1e0c1ule _syaz1gjq _80om73ad _k48pmoej _jqf6dpkn _6rthpd1z _y4tiutpp _bozgutpp _1p1dglyw", cx(className, xcss)])
65
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
66
+ ,
67
+ style: css
68
+ }, innerProps));
69
+ };
70
+
71
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
72
+ export default Group;
@@ -0,0 +1,24 @@
1
+
2
+ ._kkk2n7od{all:unset}
3
+ ._v564vrg3{transition:color .15s}._12ji1r31{outline-color:currentColor}
4
+ ._12y31o36{outline-width:medium}
5
+ ._19bv12x7{padding-left:var(--ds-space-075,6px)}
6
+ ._19bvu2gc{padding-left:var(--ds-space-100,8px)}
7
+ ._19bvv77o{padding-left:var(--ds-space-025,2px)}
8
+ ._1bah1h6o{justify-content:center}
9
+ ._1e0c1txw{display:flex}
10
+ ._1qu219ly{outline-style:revert}
11
+ ._4cvr1h6o{align-items:center}
12
+ ._ca0q12x7{padding-top:var(--ds-space-075,6px)}
13
+ ._ca0qidpf{padding-top:0}
14
+ ._ca0qv77o{padding-top:var(--ds-space-025,2px)}
15
+ ._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
16
+ ._n3tdidpf{padding-bottom:0}
17
+ ._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
18
+ ._syaz131l{color:var(--ds-text-subtlest,#626f86)}
19
+ ._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
20
+ ._syaz1lh4{color:var(--ds-text-disabled,#091e424f)}
21
+ ._u5f312x7{padding-right:var(--ds-space-075,6px)}
22
+ ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
23
+ ._u5f3v77o{padding-right:var(--ds-space-025,2px)}
24
+ ._30l31gjq:hover{color:var(--ds-text-subtle,#44546f)}
@@ -0,0 +1,144 @@
1
+ /* indicators.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import "./indicators.compiled.css";
4
+ import * as React from 'react';
5
+ import { ax, ix } from "@compiled/react/runtime";
6
+ import { cx } from '@compiled/react';
7
+ import DownIcon from '@atlaskit/icon/utility/migration/chevron-down';
8
+ import CrossIcon from '@atlaskit/icon/utility/migration/cross-circle--select-clear';
9
+ import { Inline, Pressable } from '@atlaskit/primitives/compiled';
10
+ import Spinner from '@atlaskit/spinner';
11
+ import { getStyleProps } from '../../utils';
12
+
13
+ // ==============================
14
+ // Dropdown & Clear Icons
15
+ // ==============================
16
+
17
+ const iconContainerStyles = {
18
+ root: "_kkk2n7od _12ji1r31 _1qu219ly _12y31o36 _1e0c1txw _4cvr1h6o _1bah1h6o _ca0qv77o _u5f3v77o _n3tdv77o _19bvv77o"
19
+ };
20
+ const dropdownWrapperStyles = {
21
+ root: "_ca0q12x7 _u5f312x7 _n3td12x7 _19bv12x7"
22
+ };
23
+
24
+ // ==============================
25
+ // Dropdown & Clear Buttons
26
+ // ==============================
27
+
28
+ const dropdownStyles = {
29
+ default: "_v564vrg3 _1e0c1txw _syaz1gjq _ca0q12x7 _u5f3v77o _n3td12x7 _19bvv77o _30l31gjq",
30
+ compact: "_ca0qidpf _n3tdidpf",
31
+ disabled: "_syaz1lh4"
32
+ };
33
+ export const dropdownIndicatorCSS = () => ({});
34
+
35
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
36
+ export const DropdownIndicator = props => {
37
+ const {
38
+ innerProps,
39
+ children,
40
+ isDisabled,
41
+ isCompact,
42
+ xcss
43
+ } = props;
44
+ const {
45
+ css,
46
+ className
47
+ } = getStyleProps(props, 'dropdownIndicator', {
48
+ indicator: true,
49
+ 'dropdown-indicator': true
50
+ });
51
+ return /*#__PURE__*/React.createElement("div", _extends({
52
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
53
+ style: css
54
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
55
+ ,
56
+ className: ax([dropdownStyles.default, isDisabled && dropdownStyles.disabled, isCompact && dropdownStyles.compact, cx(className, xcss)])
57
+ }, innerProps), children ? children : /*#__PURE__*/React.createElement(Inline, {
58
+ as: "span",
59
+ xcss: dropdownWrapperStyles.root
60
+ }, /*#__PURE__*/React.createElement(DownIcon, {
61
+ color: "currentColor",
62
+ label: "open",
63
+ LEGACY_margin: "var(--ds-space-negative-075, -0.375rem)"
64
+ })));
65
+ };
66
+ export const clearIndicatorCSS = () => ({});
67
+ const clearIndicatorStyles = {
68
+ default: "_v564vrg3 _1e0c1txw _syaz131l _ca0q12x7 _u5f3v77o _n3td12x7 _19bvv77o _30l31gjq",
69
+ compact: "_ca0qidpf _n3tdidpf"
70
+ };
71
+
72
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
73
+ export const ClearIndicator = props => {
74
+ const {
75
+ innerProps,
76
+ clearControlLabel = 'clear',
77
+ isCompact,
78
+ xcss
79
+ } = props;
80
+ const {
81
+ css,
82
+ className
83
+ } = getStyleProps(props, 'clearIndicator', {
84
+ indicator: true,
85
+ 'clear-indicator': true
86
+ });
87
+ return /*#__PURE__*/React.createElement("div", _extends({
88
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
89
+ style: css
90
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
91
+ ,
92
+ className: ax([clearIndicatorStyles.default, isCompact && clearIndicatorStyles.compact, cx(className, xcss)])
93
+ }, innerProps), /*#__PURE__*/React.createElement(Pressable, {
94
+ xcss: iconContainerStyles.root,
95
+ tabIndex: -1,
96
+ "aria-label": clearControlLabel
97
+ }, /*#__PURE__*/React.createElement(CrossIcon, {
98
+ label: "",
99
+ color: "currentColor",
100
+ LEGACY_size: "small",
101
+ LEGACY_margin: "var(--ds-space-negative-025, -0.125rem)"
102
+ })));
103
+ };
104
+
105
+ // ==============================
106
+ // Loading
107
+ // ==============================
108
+
109
+ export const loadingIndicatorCSS = () => ({});
110
+ const loadingIndicatorStyles = {
111
+ default: "_ca0q12x7 _u5f3u2gc _n3td12x7 _19bvu2gc",
112
+ compact: "_ca0qidpf _n3tdidpf"
113
+ };
114
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
115
+ export const LoadingIndicator = ({
116
+ innerProps,
117
+ isRtl,
118
+ size = 4,
119
+ isCompact,
120
+ xcss,
121
+ ...restProps
122
+ }) => {
123
+ const {
124
+ css,
125
+ className
126
+ } = getStyleProps({
127
+ ...restProps,
128
+ innerProps,
129
+ isRtl,
130
+ size
131
+ }, 'loadingIndicator', {
132
+ indicator: true,
133
+ 'loading-indicator': true
134
+ });
135
+ return /*#__PURE__*/React.createElement("div", _extends({
136
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
137
+ style: css
138
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
139
+ ,
140
+ className: ax([loadingIndicatorStyles.default, isCompact && loadingIndicatorStyles.compact, cx(className, xcss)])
141
+ }, innerProps), /*#__PURE__*/React.createElement(Spinner, {
142
+ size: "small"
143
+ }));
144
+ };
@@ -0,0 +1,49 @@
1
+ ._11c81kw7{font:inherit}
2
+ ._11q7idpf{background:0}
3
+ ._19itidpf{border:0}
4
+ ._1h9u1kw7:after{font:inherit}
5
+ ._ckog1yjy:after{grid-area:1/2}
6
+ ._eq43idpf:after{border:0}
7
+ ._nd5l1sux{grid-area:1/1/2/3}
8
+ ._nd5l1yjy{grid-area:1/2}
9
+ ._195gv77o{margin-inline:var(--ds-space-025,2px)}
10
+ ._1mouv77o{margin-block:var(--ds-space-025,2px)}
11
+ ._1rjcv77o{padding-block:var(--ds-space-025,2px)}
12
+ ._12ji1r31{outline-color:currentColor}
13
+ ._12y3idpf{outline-width:0}
14
+ ._16jlkb7n{flex-grow:1}
15
+ ._18u0idpf{margin-left:0}
16
+ ._19bvidpf{padding-left:0}
17
+ ._19pkidpf{margin-top:0}
18
+ ._1av2idpf:after{margin-right:0}
19
+ ._1bsb1osq{width:100%}
20
+ ._1doyidpf:after{margin-bottom:0}
21
+ ._1e0c1n7u{display:inline-grid}
22
+ ._1k96idpf:after{padding-left:0}
23
+ ._1nn4glyw:after{outline-style:none}
24
+ ._1o9zkb7n{flex-shrink:1}
25
+ ._1qjlqvpr:after{white-space:pre}
26
+ ._1qu2glyw{outline-style:none}
27
+ ._1recidpf:after{padding-right:0}
28
+ ._1rzeidpf:after{outline-width:0}
29
+ ._1ul9yh40{min-width:2px}
30
+ ._1x651r31:after{outline-color:currentColor}
31
+ ._1yd8yh40:after{min-width:2px}
32
+ ._2hwxidpf{margin-right:0}
33
+ ._3um015vq{visibility:hidden}
34
+ ._70xridpf:after{padding-bottom:0}
35
+ ._aetr11ps:after{content:attr(data-value) " "}
36
+ ._ca0qidpf{padding-top:0}
37
+ ._i0dl1wug{flex-basis:auto}
38
+ ._j8d6idpf:after{margin-top:0}
39
+ ._n3tdidpf{padding-bottom:0}
40
+ ._otyridpf{margin-bottom:0}
41
+ ._pfztidpf:after{margin-left:0}
42
+ ._syaz1fxt{color:var(--ds-text,#172b4d)}
43
+ ._syaz1kw7{color:inherit}
44
+ ._tzy4idpf{opacity:0}
45
+ ._tzy4kb7n{opacity:1}
46
+ ._u5f3idpf{padding-right:0}
47
+ ._uoe3idpf:after{padding-top:0}
48
+ ._uy7x15vq:after{visibility:hidden}
49
+ ._yv0e12qd{grid-template-columns:0 min-content}
@@ -0,0 +1,59 @@
1
+ /* input.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import "./input.compiled.css";
4
+ import * as React from 'react';
5
+ import { ax, ix } from "@compiled/react/runtime";
6
+ import { cx } from '@compiled/react';
7
+ import { cleanCommonProps, getStyleProps } from '../../utils';
8
+ export const inputCSS = () => ({});
9
+ const inputStyles = {
10
+ root: "_16jlkb7n _1o9zkb7n _i0dl1wug _nd5l1sux _1mouv77o _195gv77o _1rjcv77o _1e0c1n7u _yv0e12qd _syaz1fxt _j8d6idpf _1av2idpf _1doyidpf _pfztidpf _uoe3idpf _1recidpf _70xridpf _1k96idpf _eq43idpf _1h9u1kw7 _ckog1yjy _1x651r31 _1nn4glyw _1rzeidpf _1yd8yh40 _aetr11ps _uy7x15vq _1qjlqvpr",
11
+ disabled: "_3um015vq"
12
+ };
13
+ const nativeInnputStyles = null;
14
+ const hidden = null;
15
+ const Input = props => {
16
+ const {
17
+ cx: builtinCX,
18
+ value,
19
+ xcss
20
+ } = props;
21
+ const {
22
+ innerRef,
23
+ isDisabled,
24
+ isHidden,
25
+ inputClassName,
26
+ testId,
27
+ ...innerProps
28
+ } = cleanCommonProps(props);
29
+ const dataId = testId ? `${testId}-select--input` : null;
30
+ const {
31
+ css,
32
+ className
33
+ } = getStyleProps(props, 'input', {
34
+ 'input-container': true
35
+ });
36
+ return /*#__PURE__*/React.createElement("div", {
37
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
38
+ style: css
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
40
+ ,
41
+ className: ax([inputStyles.root, isDisabled && inputStyles.disabled, cx(className, xcss)]),
42
+ "data-value": value || '',
43
+ "data-testid": dataId && `${dataId}-container`
44
+ }, /*#__PURE__*/React.createElement("input", _extends({
45
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
46
+ className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _11q7idpf _19itidpf _11c81kw7 _nd5l1yjy _12ji1r31 _1qu2glyw _12y3idpf _1bsb1osq _1ul9yh40 _syaz1kw7 _tzy4kb7n", isHidden && "_tzy4idpf", builtinCX({
47
+ input: true
48
+ }, inputClassName)]),
49
+ ref: innerRef
50
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
51
+ ,
52
+
53
+ disabled: isDisabled,
54
+ "data-testid": dataId
55
+ }, innerProps)));
56
+ };
57
+
58
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
59
+ export default Input;
@@ -0,0 +1,15 @@
1
+
2
+ ._19itidpf{border:0}._18m915vq{overflow-y:hidden}
3
+ ._19bvidpf{padding-left:0}
4
+ ._1bsbt94y{width:1px}
5
+ ._1pbydx66{z-index:9999}
6
+ ._1reo15vq{overflow-x:hidden}
7
+ ._4t3it94y{height:1px}
8
+ ._ca0qidpf{padding-top:0}
9
+ ._jqf6ydhy{label:a11yText}
10
+ ._kqswstnw{position:absolute}
11
+ ._n3tdidpf{padding-bottom:0}
12
+ ._o5721q9c{white-space:nowrap}
13
+ ._ogto7mnp{clip:rect(1px,1px,1px,1px)}
14
+ ._u5f3idpf{padding-right:0}
15
+ ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
@@ -0,0 +1,11 @@
1
+ /* a11y-text.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import "./a11y-text.compiled.css";
4
+ import * as React from 'react';
5
+ import { ax, ix } from "@compiled/react/runtime";
6
+ // Assistive text to describe visual elements. Hidden for sighted users.
7
+ const styles = null;
8
+ const A11yText = props => /*#__PURE__*/React.createElement("span", _extends({}, props, {
9
+ className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _1pbydx66 _ogto7mnp _jqf6ydhy _uiztglyw _o5721q9c"])
10
+ }));
11
+ export default A11yText;
@@ -0,0 +1,17 @@
1
+ ._11q7idpf{background:0}
2
+ ._19itidpf{border:0}
3
+ ._nd5l1sux{grid-area:1/1/2/3}
4
+ ._12ji1r31{outline-color:currentColor}
5
+ ._12y3idpf{outline-width:0}
6
+ ._19bvidpf{padding-left:0}
7
+ ._1bsbt94y{width:1px}
8
+ ._1e02p1rm{inset-inline-start:-75pt}
9
+ ._1n5d1j28{caret-color:transparent}
10
+ ._1qu2glyw{outline-style:none}
11
+ ._ca0qidpf{padding-top:0}
12
+ ._kqswh2mm{position:relative}
13
+ ._n3tdidpf{padding-bottom:0}
14
+ ._syaz1j28{color:transparent}
15
+ ._t9ec1kuz{transform:scale(.01)}
16
+ ._tzy4idpf{opacity:0}
17
+ ._u5f3idpf{padding-right:0}
@@ -0,0 +1,19 @@
1
+ /* dummy-input.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import "./dummy-input.compiled.css";
4
+ import * as React from 'react';
5
+ import { ax, ix } from "@compiled/react/runtime";
6
+ import { removeProps } from '../../../utils';
7
+ const dummyInputStyles = null;
8
+ export default function DummyInput({
9
+ innerRef,
10
+ ...props
11
+ }) {
12
+ // Remove animation props not meant for HTML elements
13
+ const filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
14
+ return /*#__PURE__*/React.createElement("input", _extends({
15
+ ref: innerRef
16
+ }, filteredProps, {
17
+ className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _11q7idpf _19itidpf _nd5l1sux _12ji1r31 _1qu2glyw _12y3idpf _1bsbt94y _kqswh2mm _1n5d1j28 _syaz1j28 _1e02p1rm _tzy4idpf _t9ec1kuz"])
18
+ }));
19
+ }
@@ -0,0 +1,8 @@
1
+ ._1bsb1osq{width:100%}
2
+ ._1e02idpf{inset-inline-start:0}
3
+ ._jqf61a21{label:requiredInput}
4
+ ._kqswstnw{position:absolute}
5
+ ._lcxvglyw{pointer-events:none}
6
+ ._rjxpidpf{inset-inline-end:0}
7
+ ._tzy4idpf{opacity:0}
8
+ ._u7coidpf{inset-block-end:0}