@primer/components 0.0.0-2021113144816 → 0.0.0-2021113204024

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 (277) hide show
  1. package/CHANGELOG.md +986 -0
  2. package/dist/browser.esm.js +2227 -2
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +2227 -2
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/ActionList/Header.js +1 -1
  7. package/lib/ActionList/Item.js +10 -10
  8. package/lib/ActionList/List.js +1 -1
  9. package/lib/ActionList2/Divider.d.ts +2 -3
  10. package/lib/ActionList2/Divider.js +5 -10
  11. package/lib/ActionList2/Item.js +6 -22
  12. package/lib/ActionList2/List.js +2 -12
  13. package/lib/ActionList2/Selection.js +0 -11
  14. package/lib/ActionList2/index.d.ts +2 -1
  15. package/lib/Autocomplete/Autocomplete.d.ts +1 -2
  16. package/lib/Autocomplete/AutocompleteInput.d.ts +1 -2
  17. package/lib/Autocomplete/AutocompleteMenu.js +6 -13
  18. package/lib/Avatar.d.ts +2 -1
  19. package/lib/Avatar.js +1 -1
  20. package/lib/BaseStyles.js +20 -2
  21. package/lib/BorderBox.js +1 -1
  22. package/lib/Box.js +1 -1
  23. package/lib/BranchName.d.ts +2 -1
  24. package/lib/BranchName.js +1 -1
  25. package/lib/Breadcrumbs.js +3 -3
  26. package/lib/Button/Button.d.ts +2 -2
  27. package/lib/Button/Button.js +1 -1
  28. package/lib/Button/ButtonClose.d.ts +2 -2
  29. package/lib/Button/ButtonDanger.d.ts +2 -2
  30. package/lib/Button/ButtonGroup.js +1 -1
  31. package/lib/Button/ButtonInvisible.d.ts +2 -2
  32. package/lib/Button/ButtonOutline.d.ts +2 -2
  33. package/lib/Button/ButtonPrimary.d.ts +2 -2
  34. package/lib/Checkbox.d.ts +1 -1
  35. package/lib/Checkbox.js +1 -1
  36. package/lib/CheckboxInputField.d.ts +11 -0
  37. package/lib/CheckboxInputField.js +73 -0
  38. package/lib/ChoiceFieldset/ChoiceFieldCaption.d.ts +3 -0
  39. package/lib/ChoiceFieldset/ChoiceFieldCaption.js +35 -0
  40. package/lib/ChoiceFieldset/ChoiceFieldLabel.d.ts +3 -0
  41. package/lib/ChoiceFieldset/ChoiceFieldLabel.js +35 -0
  42. package/lib/ChoiceFieldset/ChoiceFieldset.d.ts +65 -0
  43. package/lib/ChoiceFieldset/ChoiceFieldset.js +95 -0
  44. package/lib/ChoiceFieldset/ChoiceFieldsetDescription.d.ts +3 -0
  45. package/lib/ChoiceFieldset/ChoiceFieldsetDescription.js +29 -0
  46. package/lib/ChoiceFieldset/ChoiceFieldsetLegend.d.ts +9 -0
  47. package/lib/ChoiceFieldset/ChoiceFieldsetLegend.js +44 -0
  48. package/lib/ChoiceFieldset/ChoiceFieldsetList.d.ts +9 -0
  49. package/lib/ChoiceFieldset/ChoiceFieldsetList.js +80 -0
  50. package/lib/ChoiceFieldset/ChoiceFieldsetListContext.d.ts +19 -0
  51. package/lib/ChoiceFieldset/ChoiceFieldsetListContext.js +15 -0
  52. package/lib/ChoiceFieldset/ChoiceFieldsetListItem.d.ts +25 -0
  53. package/lib/ChoiceFieldset/ChoiceFieldsetListItem.js +75 -0
  54. package/lib/ChoiceFieldset/ChoiceFieldsetValidation.d.ts +6 -0
  55. package/lib/ChoiceFieldset/ChoiceFieldsetValidation.js +17 -0
  56. package/lib/ChoiceFieldset/index.d.ts +3 -0
  57. package/lib/ChoiceFieldset/index.js +23 -0
  58. package/lib/CircleOcticon.d.ts +35 -35
  59. package/lib/Details.d.ts +2 -1
  60. package/lib/Details.js +4 -2
  61. package/lib/Dialog.d.ts +37 -37
  62. package/lib/Dropdown.d.ts +72 -8
  63. package/lib/DropdownMenu/DropdownButton.d.ts +3 -6
  64. package/lib/FilterList.d.ts +1 -1
  65. package/lib/FilteredActionList/FilteredActionList.js +1 -1
  66. package/lib/Flex.js +1 -1
  67. package/lib/Heading.d.ts +2 -1
  68. package/lib/Heading.js +6 -1
  69. package/lib/LabelGroup.js +1 -1
  70. package/lib/Overlay.js +1 -1
  71. package/lib/Pagination/Pagination.js +2 -2
  72. package/lib/Position.d.ts +4 -4
  73. package/lib/Position.js +1 -1
  74. package/lib/ProgressBar.d.ts +11 -16
  75. package/lib/ProgressBar.js +10 -6
  76. package/lib/RadioInputField.d.ts +9 -0
  77. package/lib/RadioInputField.js +82 -0
  78. package/lib/SelectMenu/SelectMenu.d.ts +10 -11
  79. package/lib/SelectMenu/SelectMenu.js +1 -1
  80. package/lib/SelectMenu/SelectMenuFilter.js +1 -1
  81. package/lib/SelectMenu/SelectMenuFooter.js +1 -1
  82. package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
  83. package/lib/SelectMenu/SelectMenuItem.js +1 -1
  84. package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
  85. package/lib/SelectMenu/SelectMenuTab.js +1 -1
  86. package/lib/SelectMenu/SelectMenuTabPanel.js +1 -1
  87. package/lib/SelectMenu/SelectMenuTabs.js +1 -1
  88. package/lib/Spinner.d.ts +2 -1
  89. package/lib/Spinner.js +3 -1
  90. package/lib/StateLabel.js +1 -1
  91. package/lib/StyledOcticon.js +1 -1
  92. package/lib/SubNav.js +3 -3
  93. package/lib/TextInputField.d.ts +581 -0
  94. package/lib/TextInputField.js +66 -0
  95. package/lib/TextInputWithTokens.d.ts +1 -2
  96. package/lib/ThemeProvider.d.ts +0 -1
  97. package/lib/ThemeProvider.js +4 -17
  98. package/lib/Timeline.js +4 -4
  99. package/lib/Token/AvatarToken.d.ts +1 -1
  100. package/lib/Token/AvatarToken.js +1 -1
  101. package/lib/Token/IssueLabelToken.d.ts +1 -1
  102. package/lib/Token/Token.d.ts +1 -1
  103. package/lib/Token/TokenBase.js +1 -1
  104. package/lib/Tooltip.js +1 -1
  105. package/lib/UnderlineNav.js +2 -2
  106. package/lib/_InputCaption.d.ts +13 -0
  107. package/lib/_InputCaption.js +27 -0
  108. package/lib/_InputField/InputField.d.ts +39 -0
  109. package/lib/_InputField/InputField.js +90 -0
  110. package/lib/_InputField/InputFieldCaption.d.ts +3 -0
  111. package/lib/_InputField/InputFieldCaption.js +30 -0
  112. package/lib/_InputField/InputFieldLabel.d.ts +9 -0
  113. package/lib/_InputField/InputFieldLabel.js +34 -0
  114. package/lib/_InputField/InputFieldValidation.d.ts +6 -0
  115. package/lib/{ActionList2/MenuContext.js → _InputField/InputFieldValidation.js} +6 -4
  116. package/lib/_InputField/ToggleInputField.d.ts +13 -0
  117. package/lib/_InputField/ToggleInputField.js +71 -0
  118. package/lib/_InputField/ToggleInputLeadingVisual.d.ts +3 -0
  119. package/lib/_InputField/ToggleInputLeadingVisual.js +22 -0
  120. package/lib/_InputField/ValidationAnimationContainer.d.ts +6 -0
  121. package/lib/_InputField/ValidationAnimationContainer.js +48 -0
  122. package/lib/_InputField/index.d.ts +1 -0
  123. package/lib/_InputField/index.js +15 -0
  124. package/lib/_InputField/slots.d.ts +13 -0
  125. package/lib/_InputField/slots.js +17 -0
  126. package/lib/_InputLabel.d.ts +8 -0
  127. package/lib/_InputLabel.js +44 -0
  128. package/lib/_InputValidation.d.ts +8 -0
  129. package/lib/_InputValidation.js +56 -0
  130. package/lib/_VisuallyHidden.d.ts +6 -0
  131. package/lib/_VisuallyHidden.js +39 -0
  132. package/lib/drafts.d.ts +0 -1
  133. package/lib/drafts.js +0 -13
  134. package/lib/index.d.ts +4 -0
  135. package/lib/index.js +38 -0
  136. package/lib/utils/types/FormValidationStatus.d.ts +1 -0
  137. package/lib/utils/types/FormValidationStatus.js +1 -0
  138. package/lib-esm/ActionList/Header.js +1 -1
  139. package/lib-esm/ActionList/Item.js +10 -10
  140. package/lib-esm/ActionList/List.js +1 -1
  141. package/lib-esm/ActionList2/Divider.d.ts +2 -3
  142. package/lib-esm/ActionList2/Divider.js +5 -8
  143. package/lib-esm/ActionList2/Item.js +6 -20
  144. package/lib-esm/ActionList2/List.js +2 -10
  145. package/lib-esm/ActionList2/Selection.js +0 -9
  146. package/lib-esm/ActionList2/index.d.ts +2 -1
  147. package/lib-esm/Autocomplete/Autocomplete.d.ts +1 -2
  148. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +1 -2
  149. package/lib-esm/Autocomplete/AutocompleteMenu.js +3 -13
  150. package/lib-esm/Avatar.d.ts +2 -1
  151. package/lib-esm/Avatar.js +2 -2
  152. package/lib-esm/BaseStyles.js +20 -2
  153. package/lib-esm/BorderBox.js +1 -1
  154. package/lib-esm/Box.js +1 -1
  155. package/lib-esm/BranchName.d.ts +2 -1
  156. package/lib-esm/BranchName.js +2 -2
  157. package/lib-esm/Breadcrumbs.js +3 -3
  158. package/lib-esm/Button/Button.d.ts +2 -2
  159. package/lib-esm/Button/Button.js +1 -1
  160. package/lib-esm/Button/ButtonClose.d.ts +2 -2
  161. package/lib-esm/Button/ButtonDanger.d.ts +2 -2
  162. package/lib-esm/Button/ButtonGroup.js +1 -1
  163. package/lib-esm/Button/ButtonInvisible.d.ts +2 -2
  164. package/lib-esm/Button/ButtonOutline.d.ts +2 -2
  165. package/lib-esm/Button/ButtonPrimary.d.ts +2 -2
  166. package/lib-esm/Checkbox.d.ts +1 -1
  167. package/lib-esm/Checkbox.js +1 -1
  168. package/lib-esm/CheckboxInputField.d.ts +11 -0
  169. package/lib-esm/CheckboxInputField.js +56 -0
  170. package/lib-esm/ChoiceFieldset/ChoiceFieldCaption.d.ts +3 -0
  171. package/lib-esm/ChoiceFieldset/ChoiceFieldCaption.js +20 -0
  172. package/lib-esm/ChoiceFieldset/ChoiceFieldLabel.d.ts +3 -0
  173. package/lib-esm/ChoiceFieldset/ChoiceFieldLabel.js +20 -0
  174. package/lib-esm/ChoiceFieldset/ChoiceFieldset.d.ts +65 -0
  175. package/lib-esm/ChoiceFieldset/ChoiceFieldset.js +72 -0
  176. package/lib-esm/ChoiceFieldset/ChoiceFieldsetDescription.d.ts +3 -0
  177. package/lib-esm/ChoiceFieldset/ChoiceFieldsetDescription.js +17 -0
  178. package/lib-esm/ChoiceFieldset/ChoiceFieldsetLegend.d.ts +9 -0
  179. package/lib-esm/ChoiceFieldset/ChoiceFieldsetLegend.js +31 -0
  180. package/lib-esm/ChoiceFieldset/ChoiceFieldsetList.d.ts +9 -0
  181. package/lib-esm/ChoiceFieldset/ChoiceFieldsetList.js +63 -0
  182. package/lib-esm/ChoiceFieldset/ChoiceFieldsetListContext.d.ts +19 -0
  183. package/lib-esm/ChoiceFieldset/ChoiceFieldsetListContext.js +5 -0
  184. package/lib-esm/ChoiceFieldset/ChoiceFieldsetListItem.d.ts +25 -0
  185. package/lib-esm/ChoiceFieldset/ChoiceFieldsetListItem.js +51 -0
  186. package/lib-esm/ChoiceFieldset/ChoiceFieldsetValidation.d.ts +6 -0
  187. package/lib-esm/ChoiceFieldset/ChoiceFieldsetValidation.js +7 -0
  188. package/lib-esm/ChoiceFieldset/index.d.ts +3 -0
  189. package/lib-esm/ChoiceFieldset/index.js +2 -0
  190. package/lib-esm/CircleOcticon.d.ts +35 -35
  191. package/lib-esm/Details.d.ts +2 -1
  192. package/lib-esm/Details.js +3 -2
  193. package/lib-esm/Dialog.d.ts +37 -37
  194. package/lib-esm/Dropdown.d.ts +72 -8
  195. package/lib-esm/DropdownMenu/DropdownButton.d.ts +3 -6
  196. package/lib-esm/FilterList.d.ts +1 -1
  197. package/lib-esm/FilteredActionList/FilteredActionList.js +1 -1
  198. package/lib-esm/Flex.js +1 -1
  199. package/lib-esm/Heading.d.ts +2 -1
  200. package/lib-esm/Heading.js +6 -2
  201. package/lib-esm/LabelGroup.js +1 -1
  202. package/lib-esm/Overlay.js +1 -1
  203. package/lib-esm/Pagination/Pagination.js +2 -2
  204. package/lib-esm/Position.d.ts +4 -4
  205. package/lib-esm/Position.js +1 -1
  206. package/lib-esm/ProgressBar.d.ts +11 -16
  207. package/lib-esm/ProgressBar.js +11 -7
  208. package/lib-esm/RadioInputField.d.ts +9 -0
  209. package/lib-esm/RadioInputField.js +65 -0
  210. package/lib-esm/SelectMenu/SelectMenu.d.ts +10 -11
  211. package/lib-esm/SelectMenu/SelectMenu.js +1 -1
  212. package/lib-esm/SelectMenu/SelectMenuFilter.js +1 -1
  213. package/lib-esm/SelectMenu/SelectMenuFooter.js +1 -1
  214. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
  215. package/lib-esm/SelectMenu/SelectMenuItem.js +1 -1
  216. package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
  217. package/lib-esm/SelectMenu/SelectMenuTab.js +1 -1
  218. package/lib-esm/SelectMenu/SelectMenuTabPanel.js +1 -1
  219. package/lib-esm/SelectMenu/SelectMenuTabs.js +1 -1
  220. package/lib-esm/Spinner.d.ts +2 -1
  221. package/lib-esm/Spinner.js +2 -1
  222. package/lib-esm/StateLabel.js +1 -1
  223. package/lib-esm/StyledOcticon.js +1 -1
  224. package/lib-esm/SubNav.js +3 -3
  225. package/lib-esm/TextInputField.d.ts +581 -0
  226. package/lib-esm/TextInputField.js +50 -0
  227. package/lib-esm/TextInputWithTokens.d.ts +1 -2
  228. package/lib-esm/ThemeProvider.d.ts +0 -1
  229. package/lib-esm/ThemeProvider.js +4 -17
  230. package/lib-esm/Timeline.js +4 -4
  231. package/lib-esm/Token/AvatarToken.d.ts +1 -1
  232. package/lib-esm/Token/AvatarToken.js +1 -1
  233. package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
  234. package/lib-esm/Token/Token.d.ts +1 -1
  235. package/lib-esm/Token/TokenBase.js +1 -1
  236. package/lib-esm/Tooltip.js +1 -1
  237. package/lib-esm/UnderlineNav.js +2 -2
  238. package/lib-esm/_InputCaption.d.ts +13 -0
  239. package/lib-esm/_InputCaption.js +16 -0
  240. package/lib-esm/_InputField/InputField.d.ts +39 -0
  241. package/lib-esm/_InputField/InputField.js +70 -0
  242. package/lib-esm/_InputField/InputFieldCaption.d.ts +3 -0
  243. package/lib-esm/_InputField/InputFieldCaption.js +18 -0
  244. package/lib-esm/_InputField/InputFieldLabel.d.ts +9 -0
  245. package/lib-esm/_InputField/InputFieldLabel.js +22 -0
  246. package/lib-esm/_InputField/InputFieldValidation.d.ts +6 -0
  247. package/lib-esm/_InputField/InputFieldValidation.js +7 -0
  248. package/lib-esm/_InputField/ToggleInputField.d.ts +13 -0
  249. package/lib-esm/_InputField/ToggleInputField.js +54 -0
  250. package/lib-esm/_InputField/ToggleInputLeadingVisual.d.ts +3 -0
  251. package/lib-esm/_InputField/ToggleInputLeadingVisual.js +11 -0
  252. package/lib-esm/_InputField/ValidationAnimationContainer.d.ts +6 -0
  253. package/lib-esm/_InputField/ValidationAnimationContainer.js +33 -0
  254. package/lib-esm/_InputField/index.d.ts +1 -0
  255. package/lib-esm/_InputField/index.js +1 -0
  256. package/lib-esm/_InputField/slots.d.ts +13 -0
  257. package/lib-esm/_InputField/slots.js +5 -0
  258. package/lib-esm/_InputLabel.d.ts +8 -0
  259. package/lib-esm/_InputLabel.js +32 -0
  260. package/lib-esm/_InputValidation.d.ts +8 -0
  261. package/lib-esm/_InputValidation.js +43 -0
  262. package/lib-esm/_VisuallyHidden.d.ts +6 -0
  263. package/lib-esm/_VisuallyHidden.js +26 -0
  264. package/lib-esm/drafts.d.ts +0 -1
  265. package/lib-esm/drafts.js +1 -2
  266. package/lib-esm/index.d.ts +4 -0
  267. package/lib-esm/index.js +4 -0
  268. package/lib-esm/utils/types/FormValidationStatus.d.ts +1 -0
  269. package/lib-esm/utils/types/FormValidationStatus.js +1 -0
  270. package/package.json +9 -17
  271. package/lib/ActionList2/MenuContext.d.ts +0 -10
  272. package/lib/ActionMenu2.d.ts +0 -313
  273. package/lib/ActionMenu2.js +0 -91
  274. package/lib-esm/ActionList2/MenuContext.d.ts +0 -10
  275. package/lib-esm/ActionList2/MenuContext.js +0 -3
  276. package/lib-esm/ActionMenu2.d.ts +0 -313
  277. package/lib-esm/ActionMenu2.js +0 -67
@@ -39,7 +39,6 @@ declare const TextInputWithTokens: React.ForwardRefExoticComponent<Pick<{
39
39
  } & Pick<Omit<Pick<{
40
40
  [x: string]: any;
41
41
  [x: number]: any;
42
- [x: symbol]: any;
43
42
  } & {
44
43
  theme?: any;
45
44
  } & {
@@ -52,7 +51,6 @@ declare const TextInputWithTokens: React.ForwardRefExoticComponent<Pick<{
52
51
  }> | undefined;
53
52
  } & Pick<{
54
53
  color?: string | undefined;
55
- property?: string | undefined;
56
54
  maxWidth?: import("styled-system").ResponsiveValue<import("csstype").Property.MaxWidth<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
57
55
  minWidth?: import("styled-system").ResponsiveValue<import("csstype").Property.MinWidth<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
58
56
  translate?: "yes" | "no" | undefined;
@@ -88,6 +86,7 @@ declare const TextInputWithTokens: React.ForwardRefExoticComponent<Pick<{
88
86
  datatype?: string | undefined;
89
87
  inlist?: any;
90
88
  prefix?: string | undefined;
89
+ property?: string | undefined;
91
90
  resource?: string | undefined;
92
91
  typeof?: string | undefined;
93
92
  vocab?: string | undefined;
@@ -16,7 +16,6 @@ export declare function useTheme(): {
16
16
  colorScheme?: string | undefined;
17
17
  colorMode?: ColorModeWithAuto | undefined;
18
18
  resolvedColorMode?: ColorMode | undefined;
19
- resolvedColorScheme?: string | undefined;
20
19
  dayScheme?: string | undefined;
21
20
  nightScheme?: string | undefined;
22
21
  setColorMode: React.Dispatch<React.SetStateAction<ColorModeWithAuto>>;
@@ -32,10 +32,7 @@ export const ThemeProvider = ({
32
32
  const systemColorMode = useSystemColorMode();
33
33
  const resolvedColorMode = resolveColorMode(colorMode, systemColorMode);
34
34
  const colorScheme = chooseColorScheme(resolvedColorMode, dayScheme, nightScheme);
35
- const {
36
- resolvedTheme,
37
- resolvedColorScheme
38
- } = React.useMemo(() => applyColorScheme(theme, colorScheme), [theme, colorScheme]); // Update state if props change
35
+ const resolvedTheme = React.useMemo(() => applyColorScheme(theme, colorScheme), [theme, colorScheme]); // Update state if props change
39
36
 
40
37
  React.useEffect(() => {
41
38
  var _ref5, _props$colorMode2;
@@ -58,7 +55,6 @@ export const ThemeProvider = ({
58
55
  colorScheme,
59
56
  colorMode,
60
57
  resolvedColorMode,
61
- resolvedColorScheme,
62
58
  dayScheme,
63
59
  nightScheme,
64
60
  setColorMode,
@@ -148,10 +144,7 @@ function chooseColorScheme(colorMode, dayScheme, nightScheme) {
148
144
 
149
145
  function applyColorScheme(theme, colorScheme) {
150
146
  if (!theme.colorSchemes) {
151
- return {
152
- resolvedTheme: theme,
153
- resolvedColorScheme: undefined
154
- };
147
+ return theme;
155
148
  }
156
149
 
157
150
  if (!theme.colorSchemes[colorScheme]) {
@@ -159,16 +152,10 @@ function applyColorScheme(theme, colorScheme) {
159
152
  console.error(`\`${colorScheme}\` scheme not defined in \`theme.colorSchemes\``); // Apply the first defined color scheme
160
153
 
161
154
  const defaultColorScheme = Object.keys(theme.colorSchemes)[0];
162
- return {
163
- resolvedTheme: deepmerge(theme, theme.colorSchemes[defaultColorScheme]),
164
- resolvedColorScheme: defaultColorScheme
165
- };
155
+ return deepmerge(theme, theme.colorSchemes[defaultColorScheme]);
166
156
  }
167
157
 
168
- return {
169
- resolvedTheme: deepmerge(theme, theme.colorSchemes[colorScheme]),
170
- resolvedColorScheme: colorScheme
171
- };
158
+ return deepmerge(theme, theme.colorSchemes[colorScheme]);
172
159
  }
173
160
 
174
161
  export default ThemeProvider;
@@ -6,13 +6,13 @@ import { get } from './constants';
6
6
  import sx from './sx';
7
7
  const Timeline = styled.div.withConfig({
8
8
  displayName: "Timeline",
9
- componentId: "sc-c4dq2e-0"
9
+ componentId: "c4dq2e-0"
10
10
  })(["display:flex;flex-direction:column;", " ", ";"], props => props.clipSidebar && css([".Timeline-Item:first-child{padding-top:0;}.Timeline-Item:last-child{padding-bottom:0;}"]), sx);
11
11
  const TimelineItem = styled.div.attrs(props => ({
12
12
  className: classnames('Timeline-Item', props.className)
13
13
  })).withConfig({
14
14
  displayName: "Timeline__TimelineItem",
15
- componentId: "sc-c4dq2e-1"
15
+ componentId: "c4dq2e-1"
16
16
  })(["display:flex;position:relative;padding:", " 0;margin-left:", ";&::before{position:absolute;top:0;bottom:0;left:0;display:block;width:2px;content:'';background-color:", ";}", " ", ";"], get('space.3'), get('space.3'), get('colors.border.muted'), props => props.condensed && css(["padding-top:", ";padding-bottom:0;&:last-child{padding-bottom:", ";}.TimelineItem-Badge{height:16px;margin-top:", ";margin-bottom:", ";color:", ";background-color:", ";border:0;}"], get('space.1'), get('space.3'), get('space.2'), get('space.2'), get('colors.fg.muted'), get('colors.canvas.default')), sx);
17
17
 
18
18
  const TimelineBadge = props => {
@@ -43,11 +43,11 @@ const TimelineBadge = props => {
43
43
  TimelineBadge.displayName = "TimelineBadge";
44
44
  const TimelineBody = styled.div.withConfig({
45
45
  displayName: "Timeline__TimelineBody",
46
- componentId: "sc-c4dq2e-2"
46
+ componentId: "c4dq2e-2"
47
47
  })(["min-width:0;max-width:100%;margin-top:", ";color:", ";flex:auto;font-size:", ";", ";"], get('space.1'), get('colors.fg.muted'), get('fontSizes.1'), sx);
48
48
  const TimelineBreak = styled.div.withConfig({
49
49
  displayName: "Timeline__TimelineBreak",
50
- componentId: "sc-c4dq2e-3"
50
+ componentId: "c4dq2e-3"
51
51
  })(["position:relative z-index:1;height:24px;margin:0;margin-bottom:-", ";margin-left:0;background-color:", ";border:0;border-top:", " solid ", ";", ";"], get('space.3'), get('colors.canvas.default'), get('space.1'), get('colors.border.default'), sx);
52
52
  TimelineItem.displayName = 'Timeline.Item';
53
53
  TimelineBadge.displayName = 'Timeline.Badge';
@@ -3,5 +3,5 @@ import { TokenBaseProps } from './TokenBase';
3
3
  export interface AvatarTokenProps extends TokenBaseProps {
4
4
  avatarSrc: string;
5
5
  }
6
- declare const AvatarToken: React.ForwardRefExoticComponent<Pick<AvatarTokenProps, "default" | "muted" | "sizes" | "color" | "property" | "content" | "height" | "translate" | "width" | "hidden" | "children" | "value" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "text" | "start" | "size" | "wrap" | "open" | "list" | "multiple" | "role" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "disabled" | "as" | "step" | "selected" | "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "max" | "method" | "min" | "crossOrigin" | "classID" | "useMap" | "wmode" | "integrity" | "charSet" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "playsInline" | "preload" | "src" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "async" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "onRemove" | "isSelected" | "avatarSrc"> & React.RefAttributes<HTMLElement>>;
6
+ declare const AvatarToken: React.ForwardRefExoticComponent<Pick<AvatarTokenProps, "default" | "muted" | "sizes" | "color" | "content" | "height" | "translate" | "width" | "hidden" | "children" | "value" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "text" | "start" | "size" | "wrap" | "open" | "list" | "multiple" | "role" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "as" | "step" | "disabled" | "selected" | "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "max" | "method" | "min" | "crossOrigin" | "classID" | "useMap" | "wmode" | "integrity" | "charSet" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "playsInline" | "preload" | "src" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "async" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "onRemove" | "isSelected" | "avatarSrc"> & React.RefAttributes<HTMLElement>>;
7
7
  export default AvatarToken;
@@ -8,7 +8,7 @@ import Token from './Token';
8
8
  import { Avatar } from '..';
9
9
  const AvatarContainer = styled.span.withConfig({
10
10
  displayName: "AvatarToken__AvatarContainer",
11
- componentId: "sc-ubyudc-0"
11
+ componentId: "ubyudc-0"
12
12
  })(["--spacing:calc(", " * 2);display:block;height:", ";width:", ";"], get('space.1'), props => `calc(${tokenSizes[props.avatarSize]} - var(--spacing))`, props => `calc(${tokenSizes[props.avatarSize]} - var(--spacing))`);
13
13
  const AvatarToken = /*#__PURE__*/forwardRef(({
14
14
  avatarSrc,
@@ -10,5 +10,5 @@ export interface IssueLabelTokenProps extends TokenBaseProps {
10
10
  */
11
11
  hideRemoveButton?: boolean;
12
12
  }
13
- declare const IssueLabelToken: React.ForwardRefExoticComponent<Pick<IssueLabelTokenProps, "default" | "muted" | "sizes" | "color" | "property" | "content" | "height" | "translate" | "width" | "hidden" | "children" | "value" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "text" | "start" | "size" | "wrap" | "open" | "list" | "multiple" | "role" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "disabled" | "as" | "step" | "selected" | "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "max" | "method" | "min" | "crossOrigin" | "classID" | "useMap" | "wmode" | "integrity" | "charSet" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "playsInline" | "preload" | "src" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "async" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "onRemove" | "isSelected" | "hideRemoveButton" | "fillColor"> & React.RefAttributes<HTMLElement>>;
13
+ declare const IssueLabelToken: React.ForwardRefExoticComponent<Pick<IssueLabelTokenProps, "default" | "muted" | "sizes" | "color" | "content" | "height" | "translate" | "width" | "hidden" | "children" | "value" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "text" | "start" | "size" | "wrap" | "open" | "list" | "multiple" | "role" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "as" | "step" | "disabled" | "selected" | "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "max" | "method" | "min" | "crossOrigin" | "classID" | "useMap" | "wmode" | "integrity" | "charSet" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "playsInline" | "preload" | "src" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "async" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "onRemove" | "isSelected" | "hideRemoveButton" | "fillColor"> & React.RefAttributes<HTMLElement>>;
14
14
  export default IssueLabelToken;
@@ -11,5 +11,5 @@ export interface TokenProps extends TokenBaseProps {
11
11
  */
12
12
  hideRemoveButton?: boolean;
13
13
  }
14
- declare const Token: React.ForwardRefExoticComponent<Pick<TokenProps & SxProp, "default" | "muted" | "sizes" | "color" | "property" | "content" | "height" | "translate" | "width" | "hidden" | "children" | "value" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "text" | "start" | "size" | "wrap" | "open" | "list" | "multiple" | "role" | "sx" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "disabled" | "as" | "step" | "selected" | "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "max" | "method" | "min" | "crossOrigin" | "classID" | "useMap" | "wmode" | "integrity" | "charSet" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "playsInline" | "preload" | "src" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "async" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "leadingVisual" | "onRemove" | "isSelected" | "hideRemoveButton"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
14
+ declare const Token: React.ForwardRefExoticComponent<Pick<TokenProps & SxProp, "default" | "muted" | "sizes" | "color" | "content" | "height" | "translate" | "width" | "hidden" | "children" | "value" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "text" | "start" | "size" | "wrap" | "open" | "list" | "multiple" | "role" | "sx" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "as" | "step" | "disabled" | "selected" | "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "max" | "method" | "min" | "crossOrigin" | "classID" | "useMap" | "wmode" | "integrity" | "charSet" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "playsInline" | "preload" | "src" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "async" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "leadingVisual" | "onRemove" | "isSelected" | "hideRemoveButton"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
15
15
  export default Token;
@@ -74,7 +74,7 @@ const TokenBase = styled.span.attrs(({
74
74
  'aria-label': onRemove ? `${text}, press backspace or delete to remove` : undefined
75
75
  })).withConfig({
76
76
  displayName: "TokenBase",
77
- componentId: "sc-opajvp-0"
77
+ componentId: "opajvp-0"
78
78
  })(["align-items:center;border-radius:999px;cursor:", ";display:inline-flex;font-weight:", ";font-family:inherit;text-decoration:none;white-space:nowrap;", " ", ""], props => isTokenInteractive(props) ? 'pointer' : 'auto', get('fontWeights.bold'), variants, sx);
79
79
  TokenBase.defaultProps = {
80
80
  as: 'span',
@@ -7,7 +7,7 @@ import { get } from './constants';
7
7
  import sx from './sx';
8
8
  const TooltipBase = styled.span.withConfig({
9
9
  displayName: "Tooltip__TooltipBase",
10
- componentId: "sc-kp39nc-0"
10
+ componentId: "kp39nc-0"
11
11
  })(["position:relative;&::before{position:absolute;z-index:1000001;display:none;width:0px;height:0px;color:", ";pointer-events:none;content:'';border:6px solid transparent;opacity:0;}&::after{position:absolute;z-index:1000000;display:none;padding:0.5em 0.75em;font:normal normal 11px/1.5 ", ";-webkit-font-smoothing:subpixel-antialiased;color:", ";text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:", ";border-radius:", ";opacity:0;}@keyframes tooltip-appear{from{opacity:0;}to{opacity:1;}}&:hover,&:active,&:focus{&::before,&::after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:0.1s;animation-fill-mode:forwards;animation-timing-function:ease-in;animation-delay:0.4s;}}&.tooltipped-no-delay:hover,&.tooltipped-no-delay:active,&.tooltipped-no-delay:focus{&::before,&::after{animation-delay:0s;}}&.tooltipped-multiline:hover,&.tooltipped-multiline:active,&.tooltipped-multiline:focus{&::after{display:table-cell;}}&.tooltipped-s,&.tooltipped-se,&.tooltipped-sw{&::after{top:100%;right:50%;margin-top:6px;}&::before{top:auto;right:50%;bottom:-7px;margin-right:-6px;border-bottom-color:", ";}}&.tooltipped-se{&::after{right:auto;left:50%;margin-left:-", ";}}&.tooltipped-sw::after{margin-right:-", ";}&.tooltipped-n,&.tooltipped-ne,&.tooltipped-nw{&::after{right:50%;bottom:100%;margin-bottom:6px;}&::before{top:-7px;right:50%;bottom:auto;margin-right:-6px;border-top-color:", ";}}&.tooltipped-ne{&::after{right:auto;left:50%;margin-left:-", ";}}&.tooltipped-nw::after{margin-right:-", ";}&.tooltipped-s::after,&.tooltipped-n::after{transform:translateX(50%);}&.tooltipped-w{&::after{right:100%;bottom:50%;margin-right:6px;transform:translateY(50%);}&::before{top:50%;bottom:50%;left:-7px;margin-top:-6px;border-left-color:", ";}}&.tooltipped-e{&::after{bottom:50%;left:100%;margin-left:6px;transform:translateY(50%);}&::before{top:50%;right:-7px;bottom:50%;margin-top:-6px;border-right-color:", ";}}&.tooltipped-multiline{&::after{width:max-content;max-width:250px;word-wrap:break-word;white-space:pre-line;border-collapse:separate;}&.tooltipped-s::after,&.tooltipped-n::after{right:auto;left:50%;transform:translateX(-50%);}&.tooltipped-w::after,&.tooltipped-e::after{right:100%;}}&.tooltipped-align-right-2::after{right:0;margin-right:0;}&.tooltipped-align-right-2::before{right:15px;}&.tooltipped-align-left-2::after{left:0;margin-left:0;}&.tooltipped-align-left-2::before{left:10px;}", ";"], get('colors.neutral.emphasisPlus'), get('fonts.normal'), get('colors.fg.onEmphasis'), get('colors.neutral.emphasisPlus'), get('radii.1'), get('colors.neutral.emphasisPlus'), get('space.3'), get('space.3'), get('colors.neutral.emphasisPlus'), get('space.3'), get('space.3'), get('colors.neutral.emphasisPlus'), get('colors.neutral.emphasisPlus'), sx);
12
12
 
13
13
  function Tooltip({
@@ -10,7 +10,7 @@ const ITEM_CLASS = 'UnderlineNav-item';
10
10
  const SELECTED_CLASS = 'selected';
11
11
  const UnderlineNavBase = styled.nav.withConfig({
12
12
  displayName: "UnderlineNav__UnderlineNavBase",
13
- componentId: "sc-zrnxqt-0"
13
+ componentId: "zrnxqt-0"
14
14
  })(["display:flex;justify-content:space-between;border-bottom:1px solid ", ";&.UnderlineNav--right{justify-content:flex-end;.UnderlineNav-item{margin-right:0;margin-left:", ";}.UnderlineNav-actions{flex:1 1 auto;}}&.UnderlineNav--full{display:block;}.UnderlineNav-body{display:flex;margin-bottom:-1px;}.UnderlineNav-actions{align-self:center;}", ";"], get('colors.border.muted'), get('space.3'), sx);
15
15
 
16
16
  function UnderlineNav({
@@ -41,7 +41,7 @@ const UnderlineNavLink = styled.a.attrs(props => ({
41
41
  className: classnames(ITEM_CLASS, props.selected && SELECTED_CLASS, props.className)
42
42
  })).withConfig({
43
43
  displayName: "UnderlineNav__UnderlineNavLink",
44
- componentId: "sc-zrnxqt-1"
44
+ componentId: "zrnxqt-1"
45
45
  })(["padding:", " ", ";margin-right:", ";font-size:", ";line-height:", ";color:", ";text-align:center;border-bottom:2px solid transparent;text-decoration:none;&:hover,&:focus{color:", ";text-decoration:none;border-bottom-color:", ";transition:0.2s ease;.UnderlineNav-octicon{color:", ";}}&.selected{color:", ";border-bottom-color:", ";.UnderlineNav-octicon{color:", ";}}", ";"], get('space.3'), get('space.2'), get('space.3'), get('fontSizes.1'), get('lineHeights.default'), get('colors.fg.default'), get('colors.fg.default'), get('colors.neutral.muted'), get('colors.fg.muted'), get('colors.fg.default'), get('colors.primer.border.active'), get('colors.fg.default'), sx);
46
46
  UnderlineNavLink.displayName = 'UnderlineNav.Link';
47
47
  export default Object.assign(UnderlineNav, {
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ /**
4
+ * The unique identifier used to associate the caption with an input
5
+ */
6
+ id: string;
7
+ /**
8
+ * Whether the input associated with this caption is disabled
9
+ */
10
+ disabled?: boolean;
11
+ }
12
+ declare const InputCaption: React.FC<Props>;
13
+ export default InputCaption;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { Text } from '.';
3
+
4
+ const InputCaption = ({
5
+ children,
6
+ disabled,
7
+ id
8
+ }) => /*#__PURE__*/React.createElement(Text, {
9
+ color: disabled ? 'fg.subtle' : 'fg.muted',
10
+ display: "block",
11
+ fontSize: 0,
12
+ id: id
13
+ }, children);
14
+
15
+ InputCaption.displayName = "InputCaption";
16
+ export default InputCaption;
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { ComponentProps } from '../utils/types';
3
+ import { FormValidationStatus } from '../utils/types/FormValidationStatus';
4
+ export interface Props<T = Record<string, FormValidationStatus>> {
5
+ children?: React.ReactNode;
6
+ /**
7
+ * Whether the field is ready for user input
8
+ */
9
+ disabled?: boolean;
10
+ /**
11
+ * The unique identifier for this field. Used to associate the label, validation text, and caption text
12
+ */
13
+ id?: string;
14
+ /**
15
+ * Whether this field must have a value for the user to complete their task
16
+ */
17
+ required?: boolean;
18
+ /**
19
+ * A map of validation statuses and their associated validation keys. When one of the validation keys is passed to the `validationResult` prop,
20
+ * the associated validation message will be rendered in the correct style
21
+ */
22
+ validationMap?: T;
23
+ /**
24
+ * The key of the validation message to show
25
+ */
26
+ validationResult?: keyof T;
27
+ }
28
+ export interface InputFieldContext extends Pick<Props<Record<string, FormValidationStatus>>, 'disabled' | 'id' | 'required'> {
29
+ captionId: string;
30
+ validationMessageId: string;
31
+ }
32
+ declare const InputField: <T extends Record<string, FormValidationStatus>>({ children, disabled, id: idProp, required, validationMap, validationResult }: Props<T>) => JSX.Element;
33
+ export declare type InputFieldComponentProps = ComponentProps<typeof InputField>;
34
+ declare const _default: (<T extends Record<string, FormValidationStatus>>({ children, disabled, id: idProp, required, validationMap, validationResult }: Props<T>) => JSX.Element) & {
35
+ Caption: React.FC<{}>;
36
+ Label: React.FC<import("./InputFieldLabel").Props>;
37
+ Validation: React.FC<import("./InputFieldValidation").InputFieldValidationProps>;
38
+ };
39
+ export default _default;
@@ -0,0 +1,70 @@
1
+ import React from 'react';
2
+ import { Box } from '..';
3
+ import InputValidation from '../_InputValidation';
4
+ import { uniqueId } from '../utils/uniqueId';
5
+ import InputFieldCaption from './InputFieldCaption';
6
+ import InputFieldLabel from './InputFieldLabel';
7
+ import InputFieldValidation from './InputFieldValidation';
8
+ import { Slots } from './slots';
9
+ import ValidationAnimationContainer from './ValidationAnimationContainer';
10
+
11
+ const InputField = ({
12
+ children,
13
+ disabled,
14
+ id: idProp,
15
+ required,
16
+ validationMap,
17
+ validationResult
18
+ }) => {
19
+ var _React$Children$map, _React$Children$map2;
20
+
21
+ const id = idProp || uniqueId();
22
+ const validationChildren = (_React$Children$map = React.Children.map(children, child => /*#__PURE__*/React.isValidElement(child) && child.type === InputFieldValidation ? child : null)) === null || _React$Children$map === void 0 ? void 0 : _React$Children$map.filter(Boolean);
23
+ const captionChildren = (_React$Children$map2 = React.Children.map(children, child => /*#__PURE__*/React.isValidElement(child) && child.type === InputFieldCaption ? child : null)) === null || _React$Children$map2 === void 0 ? void 0 : _React$Children$map2.filter(Boolean);
24
+ const validationChildToRender = validationChildren === null || validationChildren === void 0 ? void 0 : validationChildren.find(child => child.props.validationKey === validationResult);
25
+ const validationMessageId = validationChildToRender ? `${id}-validationMsg` : undefined;
26
+ const captionId = captionChildren !== null && captionChildren !== void 0 && captionChildren.length ? `${id}-caption` : undefined;
27
+ return /*#__PURE__*/React.createElement(Slots, {
28
+ context: {
29
+ captionId,
30
+ disabled,
31
+ id,
32
+ required,
33
+ validationMessageId
34
+ }
35
+ }, slots => {
36
+ const isLabelHidden = /*#__PURE__*/React.isValidElement(slots.Label) && slots.Label.props.visuallyHidden;
37
+
38
+ if (slots.Input && !slots.Label) {
39
+ // eslint-disable-next-line no-console
40
+ console.error(`The input field with the id ${id} MUST have a Label child (e.g.: <TextInputField.Label>).\n\nIf you want to hide the label, pass the 'visuallyHidden' prop to the Label component.`);
41
+ }
42
+
43
+ return /*#__PURE__*/React.createElement(Box, {
44
+ display: "flex",
45
+ flexDirection: "column",
46
+ width: "100%",
47
+ sx: isLabelHidden ? {
48
+ '> *:not(label) + *': {
49
+ marginTop: 2
50
+ }
51
+ } : {
52
+ '> * + *': {
53
+ marginTop: 2
54
+ }
55
+ }
56
+ }, React.Children.toArray(children).filter(child => /*#__PURE__*/React.isValidElement(child) && child.type !== InputFieldValidation), slots.Label, slots.Input, validationChildToRender && validationMap && validationResult && validationMessageId && /*#__PURE__*/React.createElement(ValidationAnimationContainer, {
57
+ show: true
58
+ }, /*#__PURE__*/React.createElement(InputValidation, {
59
+ validationStatus: validationMap[validationResult],
60
+ id: validationMessageId
61
+ }, validationChildToRender)), slots.Caption);
62
+ });
63
+ };
64
+
65
+ InputField.displayName = "InputField";
66
+ export default Object.assign(InputField, {
67
+ Caption: InputFieldCaption,
68
+ Label: InputFieldLabel,
69
+ Validation: InputFieldValidation
70
+ });
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const InputFieldCaption: React.FC;
3
+ export default InputFieldCaption;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import InputCaption from '../_InputCaption';
3
+ import { Slot } from './slots';
4
+
5
+ const InputFieldCaption = ({
6
+ children
7
+ }) => /*#__PURE__*/React.createElement(Slot, {
8
+ name: "Caption"
9
+ }, ({
10
+ captionId,
11
+ disabled
12
+ }) => /*#__PURE__*/React.createElement(InputCaption, {
13
+ id: captionId,
14
+ disabled: disabled
15
+ }, children));
16
+
17
+ InputFieldCaption.displayName = "InputFieldCaption";
18
+ export default InputFieldCaption;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface Props {
3
+ /**
4
+ * Whether the label should be visually hidden
5
+ */
6
+ visuallyHidden?: boolean;
7
+ }
8
+ declare const InputFieldLabel: React.FC<Props>;
9
+ export default InputFieldLabel;
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import InputLabel from '../_InputLabel';
3
+ import { Slot } from './slots';
4
+
5
+ const InputFieldLabel = ({
6
+ children,
7
+ visuallyHidden
8
+ }) => /*#__PURE__*/React.createElement(Slot, {
9
+ name: "Label"
10
+ }, ({
11
+ disabled,
12
+ id,
13
+ required
14
+ }) => /*#__PURE__*/React.createElement(InputLabel, {
15
+ htmlFor: id,
16
+ visuallyHidden: visuallyHidden,
17
+ required: required,
18
+ disabled: disabled
19
+ }, children));
20
+
21
+ InputFieldLabel.displayName = "InputFieldLabel";
22
+ export default InputFieldLabel;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface InputFieldValidationProps {
3
+ validationKey: string;
4
+ }
5
+ declare const InputFieldValidation: React.FC<InputFieldValidationProps>;
6
+ export default InputFieldValidation;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ const InputFieldValidation = ({
4
+ children
5
+ }) => /*#__PURE__*/React.createElement(React.Fragment, null, children);
6
+
7
+ export default InputFieldValidation;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { Props as InputFieldProps } from './InputField';
3
+ import { FormValidationStatus } from '../utils/types/FormValidationStatus';
4
+ export interface ToggleInputFieldProps extends Pick<InputFieldProps, 'disabled' | 'id'> {
5
+ /**
6
+ * Styles the field to visually communicate the result of form validation
7
+ */
8
+ validationStatus?: FormValidationStatus;
9
+ }
10
+ declare const _default: React.FC<ToggleInputFieldProps> & {
11
+ LeadingVisual: React.FC<{}>;
12
+ };
13
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import React from 'react';
2
+ import { Box } from '..';
3
+ import { get } from '../constants';
4
+ import { uniqueId } from '../utils/uniqueId';
5
+ import { Slots } from './slots';
6
+ import ToggleInputLeadingVisual from './ToggleInputLeadingVisual';
7
+
8
+ const ToggleInputField = ({
9
+ children,
10
+ disabled,
11
+ id,
12
+ validationStatus
13
+ }) => {
14
+ const fieldId = id || uniqueId();
15
+ return /*#__PURE__*/React.createElement(Slots, {
16
+ context: {
17
+ captionId: `${id}-caption`,
18
+ disabled,
19
+ id: fieldId,
20
+ validationStatus
21
+ }
22
+ }, slots => {
23
+ return /*#__PURE__*/React.createElement(Box, {
24
+ display: "flex",
25
+ alignItems: slots.LeadingVisual ? 'center' : undefined
26
+ }, children, /*#__PURE__*/React.createElement(Box, {
27
+ sx: {
28
+ '> input': {
29
+ marginLeft: 0,
30
+ marginRight: 0
31
+ }
32
+ }
33
+ }, slots.Input), slots.LeadingVisual && /*#__PURE__*/React.createElement(Box, {
34
+ color: disabled ? 'fg.muted' : 'fg.default',
35
+ sx: {
36
+ '> *': {
37
+ minWidth: slots.Caption ? get('fontSizes.4') : get('fontSizes.2'),
38
+ minHeight: slots.Caption ? get('fontSizes.4') : get('fontSizes.2'),
39
+ fill: 'currentColor'
40
+ }
41
+ },
42
+ ml: 2
43
+ }, slots.LeadingVisual), /*#__PURE__*/React.isValidElement(slots.Label) && !slots.Label.props.visuallyHidden || slots.Caption ? /*#__PURE__*/React.createElement(Box, {
44
+ display: "flex",
45
+ flexDirection: "column",
46
+ ml: 2
47
+ }, slots.Label, slots.Caption) : /*#__PURE__*/React.createElement(React.Fragment, null, slots.Label, slots.Caption));
48
+ });
49
+ };
50
+
51
+ ToggleInputField.displayName = "ToggleInputField";
52
+ export default Object.assign(ToggleInputField, {
53
+ LeadingVisual: ToggleInputLeadingVisual
54
+ });
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const ToggleInputLeadingVisual: React.FC;
3
+ export default ToggleInputLeadingVisual;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { Slot } from './slots';
3
+
4
+ const ToggleInputLeadingVisual = ({
5
+ children
6
+ }) => /*#__PURE__*/React.createElement(Slot, {
7
+ name: "LeadingVisual"
8
+ }, children);
9
+
10
+ ToggleInputLeadingVisual.displayName = "ToggleInputLeadingVisual";
11
+ export default ToggleInputLeadingVisual;