@atlaskit/react-select 2.2.1 → 2.4.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 (253) hide show
  1. package/CHANGELOG.md +29 -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 +24 -399
  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/internal/scroll-manager.js +2 -0
  54. package/dist/cjs/emotion/components/live-region.js +1 -1
  55. package/dist/cjs/emotion/components/menu.js +1 -1
  56. package/dist/cjs/emotion/components/multi-value.js +1 -1
  57. package/dist/cjs/emotion/components/option.js +2 -0
  58. package/dist/cjs/emotion/components/placeholder.js +2 -0
  59. package/dist/cjs/emotion/components/single-value.js +2 -0
  60. package/dist/cjs/utils.js +2 -1
  61. package/dist/es2019/compiled/components/containers.compiled.css +26 -0
  62. package/dist/es2019/compiled/components/containers.js +115 -0
  63. package/dist/es2019/compiled/components/control.compiled.css +51 -0
  64. package/dist/es2019/compiled/components/control.js +58 -0
  65. package/dist/es2019/compiled/components/group.compiled.css +12 -0
  66. package/dist/es2019/compiled/components/group.js +72 -0
  67. package/dist/es2019/compiled/components/indicators.compiled.css +24 -0
  68. package/dist/es2019/compiled/components/indicators.js +144 -0
  69. package/dist/es2019/compiled/components/input.compiled.css +49 -0
  70. package/dist/es2019/compiled/components/input.js +59 -0
  71. package/dist/es2019/compiled/components/internal/a11y-text.compiled.css +15 -0
  72. package/dist/es2019/compiled/components/internal/a11y-text.js +11 -0
  73. package/dist/es2019/compiled/components/internal/dummy-input.compiled.css +17 -0
  74. package/dist/es2019/compiled/components/internal/dummy-input.js +19 -0
  75. package/dist/es2019/compiled/components/internal/required-input.compiled.css +8 -0
  76. package/dist/es2019/compiled/components/internal/required-input.js +23 -0
  77. package/dist/es2019/compiled/components/live-region.js +171 -0
  78. package/dist/es2019/compiled/components/menu.compiled.css +19 -0
  79. package/dist/es2019/compiled/components/menu.js +478 -0
  80. package/dist/es2019/compiled/components/multi-value.compiled.css +56 -0
  81. package/dist/es2019/compiled/components/multi-value.js +190 -0
  82. package/dist/es2019/compiled/components/option.compiled.css +22 -0
  83. package/dist/es2019/compiled/components/option.js +48 -0
  84. package/dist/es2019/compiled/components/placeholder.compiled.css +7 -0
  85. package/dist/es2019/compiled/components/placeholder.js +36 -0
  86. package/dist/es2019/compiled/components/single-value.compiled.css +13 -0
  87. package/dist/es2019/compiled/components/single-value.js +37 -0
  88. package/dist/es2019/components/containers.js +10 -87
  89. package/dist/es2019/components/control.js +8 -103
  90. package/dist/es2019/components/group.js +9 -54
  91. package/dist/es2019/components/indicators.js +11 -113
  92. package/dist/es2019/components/input.js +7 -83
  93. package/dist/es2019/components/internal/a11y-text.js +6 -26
  94. package/dist/es2019/components/internal/dummy-input.js +7 -36
  95. package/dist/es2019/components/internal/notify-open-layer-observer.js +1 -0
  96. package/dist/es2019/components/internal/required-input.js +6 -32
  97. package/dist/es2019/components/internal/scroll-manager.js +16 -16
  98. package/dist/es2019/components/live-region.js +5 -168
  99. package/dist/es2019/components/menu.js +14 -412
  100. package/dist/es2019/components/multi-value.js +12 -216
  101. package/dist/es2019/components/option.js +7 -75
  102. package/dist/es2019/components/placeholder.js +7 -25
  103. package/dist/es2019/components/single-value.js +7 -31
  104. package/dist/es2019/emotion/components/containers.js +1 -0
  105. package/dist/es2019/emotion/components/control.js +1 -0
  106. package/dist/es2019/emotion/components/group.js +1 -0
  107. package/dist/es2019/emotion/components/indicators.js +1 -0
  108. package/dist/es2019/emotion/components/input.js +1 -0
  109. package/dist/es2019/emotion/components/internal/a11y-text.js +1 -0
  110. package/dist/es2019/emotion/components/internal/dummy-input.js +1 -0
  111. package/dist/es2019/emotion/components/internal/required-input.js +1 -0
  112. package/dist/es2019/emotion/components/internal/scroll-manager.js +2 -0
  113. package/dist/es2019/emotion/components/live-region.js +2 -0
  114. package/dist/es2019/emotion/components/menu.js +2 -0
  115. package/dist/es2019/emotion/components/multi-value.js +1 -0
  116. package/dist/es2019/emotion/components/option.js +1 -0
  117. package/dist/es2019/emotion/components/placeholder.js +1 -0
  118. package/dist/es2019/emotion/components/single-value.js +1 -0
  119. package/dist/es2019/utils.js +1 -0
  120. package/dist/esm/compiled/components/containers.compiled.css +26 -0
  121. package/dist/esm/compiled/components/containers.js +110 -0
  122. package/dist/esm/compiled/components/control.compiled.css +51 -0
  123. package/dist/esm/compiled/components/control.js +57 -0
  124. package/dist/esm/compiled/components/group.compiled.css +12 -0
  125. package/dist/esm/compiled/components/group.js +71 -0
  126. package/dist/esm/compiled/components/indicators.compiled.css +24 -0
  127. package/dist/esm/compiled/components/indicators.js +148 -0
  128. package/dist/esm/compiled/components/input.compiled.css +49 -0
  129. package/dist/esm/compiled/components/input.js +59 -0
  130. package/dist/esm/compiled/components/internal/a11y-text.compiled.css +15 -0
  131. package/dist/esm/compiled/components/internal/a11y-text.js +13 -0
  132. package/dist/esm/compiled/components/internal/dummy-input.compiled.css +17 -0
  133. package/dist/esm/compiled/components/internal/dummy-input.js +20 -0
  134. package/dist/esm/compiled/components/internal/required-input.compiled.css +8 -0
  135. package/dist/esm/compiled/components/internal/required-input.js +24 -0
  136. package/dist/esm/compiled/components/live-region.js +168 -0
  137. package/dist/esm/compiled/components/menu.compiled.css +19 -0
  138. package/dist/esm/compiled/components/menu.js +485 -0
  139. package/dist/esm/compiled/components/multi-value.compiled.css +56 -0
  140. package/dist/esm/compiled/components/multi-value.js +187 -0
  141. package/dist/esm/compiled/components/option.compiled.css +22 -0
  142. package/dist/esm/compiled/components/option.js +47 -0
  143. package/dist/esm/compiled/components/placeholder.compiled.css +7 -0
  144. package/dist/esm/compiled/components/placeholder.js +35 -0
  145. package/dist/esm/compiled/components/single-value.compiled.css +13 -0
  146. package/dist/esm/compiled/components/single-value.js +36 -0
  147. package/dist/esm/components/containers.js +12 -73
  148. package/dist/esm/components/control.js +8 -97
  149. package/dist/esm/components/group.js +11 -54
  150. package/dist/esm/components/indicators.js +15 -109
  151. package/dist/esm/components/input.js +8 -83
  152. package/dist/esm/components/internal/a11y-text.js +6 -26
  153. package/dist/esm/components/internal/dummy-input.js +7 -37
  154. package/dist/esm/components/internal/notify-open-layer-observer.js +1 -0
  155. package/dist/esm/components/internal/required-input.js +7 -32
  156. package/dist/esm/components/internal/scroll-manager.js +16 -16
  157. package/dist/esm/components/live-region.js +5 -163
  158. package/dist/esm/components/menu.js +21 -401
  159. package/dist/esm/components/multi-value.js +17 -199
  160. package/dist/esm/components/option.js +8 -69
  161. package/dist/esm/components/placeholder.js +8 -21
  162. package/dist/esm/components/single-value.js +8 -27
  163. package/dist/esm/emotion/components/containers.js +1 -0
  164. package/dist/esm/emotion/components/control.js +1 -0
  165. package/dist/esm/emotion/components/group.js +1 -0
  166. package/dist/esm/emotion/components/indicators.js +1 -0
  167. package/dist/esm/emotion/components/input.js +1 -0
  168. package/dist/esm/emotion/components/internal/a11y-text.js +1 -0
  169. package/dist/esm/emotion/components/internal/dummy-input.js +1 -0
  170. package/dist/esm/emotion/components/internal/required-input.js +1 -0
  171. package/dist/esm/emotion/components/internal/scroll-manager.js +2 -0
  172. package/dist/esm/emotion/components/live-region.js +2 -0
  173. package/dist/esm/emotion/components/menu.js +2 -0
  174. package/dist/esm/emotion/components/multi-value.js +1 -0
  175. package/dist/esm/emotion/components/option.js +1 -0
  176. package/dist/esm/emotion/components/placeholder.js +1 -0
  177. package/dist/esm/emotion/components/single-value.js +1 -0
  178. package/dist/esm/utils.js +2 -1
  179. package/dist/types/compiled/components/containers.d.ts +53 -0
  180. package/dist/types/compiled/components/control.d.ts +41 -0
  181. package/dist/types/compiled/components/group.d.ts +54 -0
  182. package/dist/types/compiled/components/indicators.d.ts +72 -0
  183. package/dist/types/compiled/components/input.d.ts +36 -0
  184. package/dist/types/compiled/components/internal/a11y-text.d.ts +3 -0
  185. package/dist/types/compiled/components/internal/dummy-input.d.ts +8 -0
  186. package/dist/types/compiled/components/internal/required-input.d.ts +10 -0
  187. package/dist/types/compiled/components/live-region.d.ts +19 -0
  188. package/dist/types/compiled/components/menu.d.ts +115 -0
  189. package/dist/types/compiled/components/multi-value.d.ts +57 -0
  190. package/dist/types/compiled/components/option.d.ts +48 -0
  191. package/dist/types/compiled/components/placeholder.d.ts +21 -0
  192. package/dist/types/compiled/components/single-value.d.ts +27 -0
  193. package/dist/types/components/containers.d.ts +6 -11
  194. package/dist/types/components/control.d.ts +4 -9
  195. package/dist/types/components/group.d.ts +8 -10
  196. package/dist/types/components/index.d.ts +21 -21
  197. package/dist/types/components/indicators.d.ts +7 -12
  198. package/dist/types/components/input.d.ts +3 -8
  199. package/dist/types/components/internal/a11y-text.d.ts +2 -7
  200. package/dist/types/components/internal/dummy-input.d.ts +3 -8
  201. package/dist/types/components/internal/required-input.d.ts +0 -4
  202. package/dist/types/components/internal/scroll-manager.d.ts +2 -7
  203. package/dist/types/components/live-region.d.ts +2 -8
  204. package/dist/types/components/menu.d.ts +10 -15
  205. package/dist/types/components/multi-value.d.ts +19 -13
  206. package/dist/types/components/option.d.ts +3 -8
  207. package/dist/types/components/placeholder.d.ts +3 -8
  208. package/dist/types/components/single-value.d.ts +3 -8
  209. package/dist/types/select.d.ts +21 -21
  210. package/dist/types/types.d.ts +3 -0
  211. package/dist/types-ts4.5/compiled/components/containers.d.ts +53 -0
  212. package/dist/types-ts4.5/compiled/components/control.d.ts +41 -0
  213. package/dist/types-ts4.5/compiled/components/group.d.ts +54 -0
  214. package/dist/types-ts4.5/compiled/components/indicators.d.ts +72 -0
  215. package/dist/types-ts4.5/compiled/components/input.d.ts +36 -0
  216. package/dist/types-ts4.5/compiled/components/internal/a11y-text.d.ts +3 -0
  217. package/dist/types-ts4.5/compiled/components/internal/dummy-input.d.ts +8 -0
  218. package/dist/types-ts4.5/compiled/components/internal/required-input.d.ts +10 -0
  219. package/dist/types-ts4.5/compiled/components/live-region.d.ts +19 -0
  220. package/dist/types-ts4.5/compiled/components/menu.d.ts +115 -0
  221. package/dist/types-ts4.5/compiled/components/multi-value.d.ts +57 -0
  222. package/dist/types-ts4.5/compiled/components/option.d.ts +48 -0
  223. package/dist/types-ts4.5/compiled/components/placeholder.d.ts +21 -0
  224. package/dist/types-ts4.5/compiled/components/single-value.d.ts +27 -0
  225. package/dist/types-ts4.5/components/containers.d.ts +6 -11
  226. package/dist/types-ts4.5/components/control.d.ts +4 -9
  227. package/dist/types-ts4.5/components/group.d.ts +8 -10
  228. package/dist/types-ts4.5/components/index.d.ts +21 -21
  229. package/dist/types-ts4.5/components/indicators.d.ts +7 -12
  230. package/dist/types-ts4.5/components/input.d.ts +3 -8
  231. package/dist/types-ts4.5/components/internal/a11y-text.d.ts +2 -7
  232. package/dist/types-ts4.5/components/internal/dummy-input.d.ts +3 -8
  233. package/dist/types-ts4.5/components/internal/required-input.d.ts +0 -4
  234. package/dist/types-ts4.5/components/internal/scroll-manager.d.ts +2 -7
  235. package/dist/types-ts4.5/components/live-region.d.ts +2 -8
  236. package/dist/types-ts4.5/components/menu.d.ts +10 -15
  237. package/dist/types-ts4.5/components/multi-value.d.ts +19 -13
  238. package/dist/types-ts4.5/components/option.d.ts +3 -8
  239. package/dist/types-ts4.5/components/placeholder.d.ts +3 -8
  240. package/dist/types-ts4.5/components/single-value.d.ts +3 -8
  241. package/dist/types-ts4.5/select.d.ts +21 -21
  242. package/dist/types-ts4.5/types.d.ts +3 -0
  243. package/package.json +11 -3
  244. package/dist/cjs/emotion/components/index.js +0 -52
  245. package/dist/cjs/emotion/components/internal/notify-open-layer-observer.js +0 -21
  246. package/dist/es2019/emotion/components/index.js +0 -41
  247. package/dist/es2019/emotion/components/internal/notify-open-layer-observer.js +0 -16
  248. package/dist/esm/emotion/components/index.js +0 -43
  249. package/dist/esm/emotion/components/internal/notify-open-layer-observer.js +0 -15
  250. package/dist/types/emotion/components/index.d.ts +0 -67
  251. package/dist/types/emotion/components/internal/notify-open-layer-observer.d.ts +0 -11
  252. package/dist/types-ts4.5/emotion/components/index.d.ts +0 -67
  253. package/dist/types-ts4.5/emotion/components/internal/notify-open-layer-observer.d.ts +0 -11
@@ -0,0 +1,110 @@
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 var containerCSS = function containerCSS() {
15
+ return {};
16
+ };
17
+ var containerStyles = {
18
+ default: "_11c82smr _kqswh2mm _lcxv1rj4",
19
+ rtl: "_1eim1xrj",
20
+ disabled: "_80om13gf",
21
+ ff_safari_input_fix: "_11c81ixg _1tn22smr"
22
+ };
23
+
24
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
25
+ export var SelectContainer = function SelectContainer(props) {
26
+ var children = props.children,
27
+ innerProps = props.innerProps,
28
+ isDisabled = props.isDisabled,
29
+ isRtl = props.isRtl,
30
+ xcss = props.xcss;
31
+ var _getStyleProps = getStyleProps(props, 'container', {
32
+ '--is-disabled': isDisabled,
33
+ '--is-rtl': isRtl
34
+ }),
35
+ className = _getStyleProps.className,
36
+ css = _getStyleProps.css;
37
+ return /*#__PURE__*/React.createElement("div", _extends({
38
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
39
+ 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)])
40
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
41
+ ,
42
+ style: css
43
+ }, innerProps), children);
44
+ };
45
+
46
+ // ==============================
47
+ // Value Container
48
+ // ==============================
49
+
50
+ export var valueContainerCSS = function valueContainerCSS() {
51
+ return {};
52
+ };
53
+ var valueContainerStyles = {
54
+ default: "_16jlkb7n _1o9zkb7n _i0dlf1ug _1reo15vq _18m915vq _4cvr1h6o _1e0c11p5 _1n261g80 _8am5i4x0 _kqswh2mm _ca0qv77o _u5f312x7 _n3tdv77o _19bv12x7",
55
+ flex: "_1e0c1txw",
56
+ compact: "_ca0qidpf _u5f312x7 _n3tdidpf _19bv12x7"
57
+ };
58
+
59
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
60
+ export var ValueContainer = function ValueContainer(props) {
61
+ var children = props.children,
62
+ innerProps = props.innerProps,
63
+ isMulti = props.isMulti,
64
+ hasValue = props.hasValue,
65
+ isCompact = props.isCompact,
66
+ xcss = props.xcss,
67
+ controlShouldRenderValue = props.selectProps.controlShouldRenderValue;
68
+ var _getStyleProps2 = getStyleProps(props, 'valueContainer', {
69
+ 'value-container': true,
70
+ 'value-container--is-multi': isMulti,
71
+ 'value-container--has-value': hasValue
72
+ }),
73
+ css = _getStyleProps2.css,
74
+ className = _getStyleProps2.className;
75
+ return /*#__PURE__*/React.createElement("div", _extends({
76
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
77
+ className: ax([valueContainerStyles.default, isMulti && hasValue && controlShouldRenderValue && valueContainerStyles.flex, isCompact && valueContainerStyles.compact, cx(className || 'value-container', xcss)])
78
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
79
+ ,
80
+ style: css
81
+ }, innerProps), children);
82
+ };
83
+
84
+ // ==============================
85
+ // Indicator Container
86
+ // ==============================
87
+
88
+ export var indicatorsContainerCSS = function indicatorsContainerCSS() {
89
+ return {};
90
+ };
91
+ var indicatorContainerStyles = null;
92
+
93
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
94
+ export var IndicatorsContainer = function IndicatorsContainer(props) {
95
+ var children = props.children,
96
+ innerProps = props.innerProps,
97
+ xcss = props.xcss;
98
+ var _getStyleProps3 = getStyleProps(props, 'indicatorsContainer', {
99
+ indicators: true
100
+ }),
101
+ css = _getStyleProps3.css,
102
+ className = _getStyleProps3.className;
103
+ return /*#__PURE__*/React.createElement("div", _extends({
104
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
105
+ style: css
106
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
107
+ ,
108
+ className: ax(["_1e0c1txw _4cvr1h6o _1o9zidpf _1wpz1fhb _y4ti1b66", cx(className, xcss)])
109
+ }, innerProps), children);
110
+ };
@@ -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,57 @@
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
+ var 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 var css = function css() {
22
+ return {};
23
+ };
24
+ var Control = function Control(props) {
25
+ var children = props.children,
26
+ appearance = props.appearance,
27
+ isCompact = props.isCompact,
28
+ isDisabled = props.isDisabled,
29
+ isFocused = props.isFocused,
30
+ isInvalid = props.isInvalid,
31
+ innerRef = props.innerRef,
32
+ innerProps = props.innerProps,
33
+ menuIsOpen = props.menuIsOpen,
34
+ xcss = props.xcss;
35
+ var _getStyleProps = getStyleProps(props, 'control', {
36
+ control: true,
37
+ 'control--is-disabled': isDisabled,
38
+ 'control--is-focused': isFocused,
39
+ 'control--menu-is-open': menuIsOpen
40
+ }),
41
+ css = _getStyleProps.css,
42
+ className = _getStyleProps.className;
43
+ return /*#__PURE__*/React.createElement("div", _extends({
44
+ ref: innerRef
45
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
46
+ ,
47
+ 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)])
48
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
49
+ ,
50
+ style: css
51
+ }, innerProps, {
52
+ "aria-disabled": isDisabled || undefined
53
+ }), children);
54
+ };
55
+
56
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
57
+ 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,71 @@
1
+ /* group.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ import _extends from "@babel/runtime/helpers/extends";
4
+ var _excluded = ["data"];
5
+ import "./group.compiled.css";
6
+ import * as React from 'react';
7
+ import { ax, ix } from "@compiled/react/runtime";
8
+ import { cx } from '@compiled/react';
9
+ import { cleanCommonProps, getStyleProps } from '../../utils';
10
+ var styles = {
11
+ root: "_n3tdu2gc _ca0qu2gc"
12
+ };
13
+ export var groupCSS = function groupCSS() {
14
+ return {};
15
+ };
16
+ var Group = function Group(props) {
17
+ var children = props.children,
18
+ builtinCX = props.cx,
19
+ getStyles = props.getStyles,
20
+ getClassNames = props.getClassNames,
21
+ Heading = props.Heading,
22
+ headingProps = props.headingProps,
23
+ innerProps = props.innerProps,
24
+ label = props.label,
25
+ selectProps = props.selectProps,
26
+ xcss = props.xcss;
27
+ var _getStyleProps = getStyleProps(props, 'group', {
28
+ group: true
29
+ }),
30
+ css = _getStyleProps.css,
31
+ className = _getStyleProps.className;
32
+ return /*#__PURE__*/React.createElement("div", _extends({
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
34
+ style: css
35
+ }, innerProps, {
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
37
+ className: ax([styles.root, cx(className, xcss, innerProps === null || innerProps === void 0 ? void 0 : innerProps.className)])
38
+ }), /*#__PURE__*/React.createElement(Heading, _extends({}, headingProps, {
39
+ selectProps: selectProps,
40
+ getStyles: getStyles,
41
+ getClassNames: getClassNames,
42
+ cx: builtinCX
43
+ }), label), /*#__PURE__*/React.createElement("div", null, children));
44
+ };
45
+ var headingStyles = null;
46
+ export var groupHeadingCSS = function groupHeadingCSS() {
47
+ return {};
48
+ };
49
+
50
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
51
+ export var GroupHeading = function GroupHeading(props) {
52
+ var xcss = props.xcss;
53
+ var _cleanCommonProps = cleanCommonProps(props),
54
+ data = _cleanCommonProps.data,
55
+ innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded);
56
+ var _getStyleProps2 = getStyleProps(props, 'groupHeading', {
57
+ 'group-heading': true
58
+ }),
59
+ css = _getStyleProps2.css,
60
+ className = _getStyleProps2.className;
61
+ return /*#__PURE__*/React.createElement("div", _extends({
62
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
63
+ className: ax(["_11c81o8v _1e0c1ule _syaz1gjq _80om73ad _k48pmoej _jqf6dpkn _6rthpd1z _y4tiutpp _bozgutpp _1p1dglyw", cx(className, xcss)])
64
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
65
+ ,
66
+ style: css
67
+ }, innerProps));
68
+ };
69
+
70
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
71
+ 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,148 @@
1
+ /* indicators.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ import _extends from "@babel/runtime/helpers/extends";
5
+ var _excluded = ["innerProps", "isRtl", "size", "isCompact", "xcss"];
6
+ import "./indicators.compiled.css";
7
+ import * as React from 'react';
8
+ import { ax, ix } from "@compiled/react/runtime";
9
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11
+ import { cx } from '@compiled/react';
12
+ import DownIcon from '@atlaskit/icon/utility/migration/chevron-down';
13
+ import CrossIcon from '@atlaskit/icon/utility/migration/cross-circle--select-clear';
14
+ import { Inline, Pressable } from '@atlaskit/primitives/compiled';
15
+ import Spinner from '@atlaskit/spinner';
16
+ import { getStyleProps } from '../../utils';
17
+
18
+ // ==============================
19
+ // Dropdown & Clear Icons
20
+ // ==============================
21
+
22
+ var iconContainerStyles = {
23
+ root: "_kkk2n7od _12ji1r31 _1qu219ly _12y31o36 _1e0c1txw _4cvr1h6o _1bah1h6o _ca0qv77o _u5f3v77o _n3tdv77o _19bvv77o"
24
+ };
25
+ var dropdownWrapperStyles = {
26
+ root: "_ca0q12x7 _u5f312x7 _n3td12x7 _19bv12x7"
27
+ };
28
+
29
+ // ==============================
30
+ // Dropdown & Clear Buttons
31
+ // ==============================
32
+
33
+ var dropdownStyles = {
34
+ default: "_v564vrg3 _1e0c1txw _syaz1gjq _ca0q12x7 _u5f3v77o _n3td12x7 _19bvv77o _30l31gjq",
35
+ compact: "_ca0qidpf _n3tdidpf",
36
+ disabled: "_syaz1lh4"
37
+ };
38
+ export var dropdownIndicatorCSS = function dropdownIndicatorCSS() {
39
+ return {};
40
+ };
41
+
42
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
43
+ export var DropdownIndicator = function DropdownIndicator(props) {
44
+ var innerProps = props.innerProps,
45
+ children = props.children,
46
+ isDisabled = props.isDisabled,
47
+ isCompact = props.isCompact,
48
+ xcss = props.xcss;
49
+ var _getStyleProps = getStyleProps(props, 'dropdownIndicator', {
50
+ indicator: true,
51
+ 'dropdown-indicator': true
52
+ }),
53
+ css = _getStyleProps.css,
54
+ className = _getStyleProps.className;
55
+ return /*#__PURE__*/React.createElement("div", _extends({
56
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
57
+ style: css
58
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
59
+ ,
60
+ className: ax([dropdownStyles.default, isDisabled && dropdownStyles.disabled, isCompact && dropdownStyles.compact, cx(className, xcss)])
61
+ }, innerProps), children ? children : /*#__PURE__*/React.createElement(Inline, {
62
+ as: "span",
63
+ xcss: dropdownWrapperStyles.root
64
+ }, /*#__PURE__*/React.createElement(DownIcon, {
65
+ color: "currentColor",
66
+ label: "open",
67
+ LEGACY_margin: "var(--ds-space-negative-075, -0.375rem)"
68
+ })));
69
+ };
70
+ export var clearIndicatorCSS = function clearIndicatorCSS() {
71
+ return {};
72
+ };
73
+ var clearIndicatorStyles = {
74
+ default: "_v564vrg3 _1e0c1txw _syaz131l _ca0q12x7 _u5f3v77o _n3td12x7 _19bvv77o _30l31gjq",
75
+ compact: "_ca0qidpf _n3tdidpf"
76
+ };
77
+
78
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
79
+ export var ClearIndicator = function ClearIndicator(props) {
80
+ var innerProps = props.innerProps,
81
+ _props$clearControlLa = props.clearControlLabel,
82
+ clearControlLabel = _props$clearControlLa === void 0 ? 'clear' : _props$clearControlLa,
83
+ isCompact = props.isCompact,
84
+ xcss = props.xcss;
85
+ var _getStyleProps2 = getStyleProps(props, 'clearIndicator', {
86
+ indicator: true,
87
+ 'clear-indicator': true
88
+ }),
89
+ css = _getStyleProps2.css,
90
+ className = _getStyleProps2.className;
91
+ return /*#__PURE__*/React.createElement("div", _extends({
92
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
93
+ style: css
94
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
95
+ ,
96
+ className: ax([clearIndicatorStyles.default, isCompact && clearIndicatorStyles.compact, cx(className, xcss)])
97
+ }, innerProps), /*#__PURE__*/React.createElement(Pressable, {
98
+ xcss: iconContainerStyles.root,
99
+ tabIndex: -1,
100
+ "aria-label": clearControlLabel
101
+ }, /*#__PURE__*/React.createElement(CrossIcon, {
102
+ label: "",
103
+ color: "currentColor",
104
+ LEGACY_size: "small",
105
+ LEGACY_margin: "var(--ds-space-negative-025, -0.125rem)"
106
+ })));
107
+ };
108
+
109
+ // ==============================
110
+ // Loading
111
+ // ==============================
112
+
113
+ export var loadingIndicatorCSS = function loadingIndicatorCSS() {
114
+ return {};
115
+ };
116
+ var loadingIndicatorStyles = {
117
+ default: "_ca0q12x7 _u5f3u2gc _n3td12x7 _19bvu2gc",
118
+ compact: "_ca0qidpf _n3tdidpf"
119
+ };
120
+ // eslint-disable-next-line @repo/internal/react/require-jsdoc
121
+ export var LoadingIndicator = function LoadingIndicator(_ref) {
122
+ var innerProps = _ref.innerProps,
123
+ isRtl = _ref.isRtl,
124
+ _ref$size = _ref.size,
125
+ size = _ref$size === void 0 ? 4 : _ref$size,
126
+ isCompact = _ref.isCompact,
127
+ xcss = _ref.xcss,
128
+ restProps = _objectWithoutProperties(_ref, _excluded);
129
+ var _getStyleProps3 = getStyleProps(_objectSpread(_objectSpread({}, restProps), {}, {
130
+ innerProps: innerProps,
131
+ isRtl: isRtl,
132
+ size: size
133
+ }), 'loadingIndicator', {
134
+ indicator: true,
135
+ 'loading-indicator': true
136
+ }),
137
+ css = _getStyleProps3.css,
138
+ className = _getStyleProps3.className;
139
+ return /*#__PURE__*/React.createElement("div", _extends({
140
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
141
+ style: css
142
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/ui-styling-standard/local-cx-xcss, @compiled/local-cx-xcss
143
+ ,
144
+ className: ax([loadingIndicatorStyles.default, isCompact && loadingIndicatorStyles.compact, cx(className, xcss)])
145
+ }, innerProps), /*#__PURE__*/React.createElement(Spinner, {
146
+ size: "small"
147
+ }));
148
+ };
@@ -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 _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ var _excluded = ["innerRef", "isDisabled", "isHidden", "inputClassName", "testId"];
5
+ import "./input.compiled.css";
6
+ import * as React from 'react';
7
+ import { ax, ix } from "@compiled/react/runtime";
8
+ import { cx } from '@compiled/react';
9
+ import { cleanCommonProps, getStyleProps } from '../../utils';
10
+ export var inputCSS = function inputCSS() {
11
+ return {};
12
+ };
13
+ var inputStyles = {
14
+ 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",
15
+ disabled: "_3um015vq"
16
+ };
17
+ var nativeInnputStyles = null;
18
+ var hidden = null;
19
+ var Input = function Input(props) {
20
+ var builtinCX = props.cx,
21
+ value = props.value,
22
+ xcss = props.xcss;
23
+ var _cleanCommonProps = cleanCommonProps(props),
24
+ innerRef = _cleanCommonProps.innerRef,
25
+ isDisabled = _cleanCommonProps.isDisabled,
26
+ isHidden = _cleanCommonProps.isHidden,
27
+ inputClassName = _cleanCommonProps.inputClassName,
28
+ testId = _cleanCommonProps.testId,
29
+ innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded);
30
+ var dataId = testId ? "".concat(testId, "-select--input") : null;
31
+ var _getStyleProps = getStyleProps(props, 'input', {
32
+ 'input-container': true
33
+ }),
34
+ css = _getStyleProps.css,
35
+ className = _getStyleProps.className;
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 && "".concat(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,13 @@
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
+ var styles = null;
8
+ var A11yText = function A11yText(props) {
9
+ return /*#__PURE__*/React.createElement("span", _extends({}, props, {
10
+ className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19itidpf _1reo15vq _18m915vq _1bsbt94y _4t3it94y _kqswstnw _1pbydx66 _ogto7mnp _jqf6ydhy _uiztglyw _o5721q9c"])
11
+ }));
12
+ };
13
+ 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,20 @@
1
+ /* dummy-input.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ var _excluded = ["innerRef"];
5
+ import "./dummy-input.compiled.css";
6
+ import * as React from 'react';
7
+ import { ax, ix } from "@compiled/react/runtime";
8
+ import { removeProps } from '../../../utils';
9
+ var dummyInputStyles = null;
10
+ export default function DummyInput(_ref) {
11
+ var innerRef = _ref.innerRef,
12
+ props = _objectWithoutProperties(_ref, _excluded);
13
+ // Remove animation props not meant for HTML elements
14
+ var filteredProps = removeProps(props, 'onExited', 'in', 'enter', 'exit', 'appear');
15
+ return /*#__PURE__*/React.createElement("input", _extends({
16
+ ref: innerRef
17
+ }, filteredProps, {
18
+ className: ax(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _11q7idpf _19itidpf _nd5l1sux _12ji1r31 _1qu2glyw _12y3idpf _1bsbt94y _kqswh2mm _1n5d1j28 _syaz1j28 _1e02p1rm _tzy4idpf _t9ec1kuz"])
19
+ }));
20
+ }
@@ -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}