jekyll-v4-theme-primer 0.11.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (263) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -3
  3. data/_layouts/default.html +4 -2
  4. data/_sass/@primer/css/autocomplete/suggester.scss +11 -11
  5. data/_sass/@primer/css/avatars/avatar-parent-child.scss +2 -2
  6. data/_sass/@primer/css/avatars/circle-badge.scss +3 -3
  7. data/_sass/@primer/css/base/base.scss +5 -5
  8. data/_sass/@primer/css/base/kbd.scss +5 -5
  9. data/_sass/@primer/css/base/normalize.scss +3 -2
  10. data/_sass/@primer/css/box/box-overlay.scss +3 -3
  11. data/_sass/@primer/css/branch-name/branch-name.scss +6 -6
  12. data/_sass/@primer/css/buttons/button.scss +63 -63
  13. data/_sass/@primer/css/buttons/misc.scss +26 -26
  14. data/_sass/@primer/css/color-modes/native.scss +4 -2
  15. data/_sass/@primer/css/core/index.scss +0 -1
  16. data/_sass/@primer/css/forms/form-control.scss +18 -18
  17. data/_sass/@primer/css/forms/form-group.scss +31 -30
  18. data/_sass/@primer/css/forms/form-select.scss +1 -1
  19. data/_sass/@primer/css/forms/index.scss +0 -1
  20. data/_sass/@primer/css/forms/input-group.scss +10 -0
  21. data/_sass/@primer/css/forms/radio-group.scss +6 -6
  22. data/_sass/@primer/css/header/header.scss +7 -7
  23. data/_sass/@primer/css/labels/index.scss +0 -1
  24. data/_sass/@primer/css/layout/app-frame.scss +13 -13
  25. data/_sass/@primer/css/layout/page-layout.scss +2 -6
  26. data/_sass/@primer/css/layout/stack.scss +7 -7
  27. data/_sass/@primer/css/markdown/blob-csv.scss +2 -2
  28. data/_sass/@primer/css/markdown/code.scss +3 -3
  29. data/_sass/@primer/css/markdown/footnotes.scss +3 -3
  30. data/_sass/@primer/css/markdown/headings.scss +4 -4
  31. data/_sass/@primer/css/markdown/images.scss +3 -3
  32. data/_sass/@primer/css/markdown/lists.scss +4 -4
  33. data/_sass/@primer/css/markdown/markdown-body.scss +4 -4
  34. data/_sass/@primer/css/markdown/tables.scss +4 -4
  35. data/_sass/@primer/css/marketing/buttons/button.scss +9 -10
  36. data/_sass/@primer/css/marketing/support/variables.scss +15 -0
  37. data/_sass/@primer/css/marketing/utilities/layout.scss +0 -1
  38. data/_sass/@primer/css/navigation/filter-list.scss +8 -8
  39. data/_sass/@primer/css/navigation/sidenav.scss +12 -12
  40. data/_sass/@primer/css/navigation/subnav.scss +9 -9
  41. data/_sass/@primer/css/pagination/pagination.scss +7 -7
  42. data/_sass/@primer/css/primitives/index.scss +9 -9
  43. data/_sass/@primer/css/select-menu/select-menu.scss +41 -41
  44. data/_sass/@primer/css/support/mixins/color-modes.scss +89 -1
  45. data/_sass/@primer/css/support/mixins/misc.scss +8 -8
  46. data/_sass/@primer/css/support/variables/misc.scss +2 -2
  47. data/_sass/@primer/css/support/variables/typography.scss +1 -1
  48. data/_sass/@primer/css/toasts/toasts.scss +17 -17
  49. data/_sass/@primer/css/tooltips/tooltips.scss +9 -62
  50. data/_sass/@primer/css/utilities/borders.scss +9 -9
  51. data/_sass/@primer/css/utilities/box-shadow.scss +8 -4
  52. data/_sass/@primer/css/utilities/colors.scss +59 -60
  53. data/_sass/@primer/css/utilities/details.scss +1 -1
  54. data/_sass/@primer/css/utilities/flexbox.scss +0 -1
  55. data/_sass/@primer/css/utilities/layout.scss +7 -5
  56. data/_sass/@primer/css/utilities/margin.scss +0 -2
  57. data/_sass/@primer/css/utilities/padding.scss +0 -1
  58. data/_sass/@primer/css/utilities/typography.scss +8 -8
  59. data/_sass/@primer/css/utilities/visibility-display.scss +10 -9
  60. data/_sass/@primer/primitives/dist/scss/base/size/size.scss +17 -0
  61. data/_sass/@primer/primitives/dist/scss/base/typography/typography.scss +4 -0
  62. data/_sass/@primer/primitives/dist/scss/colors/_dark.scss +29 -20
  63. data/_sass/@primer/primitives/dist/scss/colors/_dark_colorblind.scss +14 -5
  64. data/_sass/@primer/primitives/dist/scss/colors/_dark_dimmed.scss +14 -5
  65. data/_sass/@primer/primitives/dist/scss/colors/_dark_high_contrast.scss +12 -3
  66. data/_sass/@primer/primitives/dist/scss/colors/_dark_tritanopia.scss +14 -5
  67. data/_sass/@primer/primitives/dist/scss/colors/_light.scss +13 -4
  68. data/_sass/@primer/primitives/dist/scss/colors/_light_colorblind.scss +13 -4
  69. data/_sass/@primer/primitives/dist/scss/colors/_light_high_contrast.scss +13 -4
  70. data/_sass/@primer/primitives/dist/scss/colors/_light_tritanopia.scss +13 -4
  71. data/_sass/@primer/primitives/dist/scss/functional/motion/motion.scss +3 -0
  72. data/_sass/@primer/primitives/dist/scss/functional/size/border.scss +12 -0
  73. data/_sass/@primer/primitives/dist/scss/functional/size/breakpoints.scss +6 -0
  74. data/_sass/@primer/primitives/dist/scss/functional/size/size-coarse.scss +3 -0
  75. data/_sass/@primer/primitives/dist/scss/functional/size/size-fine.scss +3 -0
  76. data/_sass/@primer/primitives/dist/scss/functional/size/size.scss +72 -0
  77. data/_sass/@primer/primitives/dist/scss/functional/size/viewport.scss +6 -0
  78. data/_sass/@primer/primitives/dist/scss/functional/themes/dark-colorblind.scss +503 -0
  79. data/_sass/@primer/primitives/dist/scss/functional/themes/dark-dimmed.scss +503 -0
  80. data/_sass/@primer/primitives/dist/scss/functional/themes/dark-high-contrast.scss +503 -0
  81. data/_sass/@primer/primitives/dist/scss/functional/themes/dark-tritanopia.scss +503 -0
  82. data/_sass/@primer/primitives/dist/scss/functional/themes/dark.scss +503 -0
  83. data/_sass/@primer/primitives/dist/scss/functional/themes/light-colorblind.scss +503 -0
  84. data/_sass/@primer/primitives/dist/scss/functional/themes/light-high-contrast.scss +503 -0
  85. data/_sass/@primer/primitives/dist/scss/functional/themes/light-tritanopia.scss +503 -0
  86. data/_sass/@primer/primitives/dist/scss/functional/themes/light.scss +503 -0
  87. data/_sass/@primer/primitives/dist/scss/functional/typography/typography.scss +45 -0
  88. data/_sass/@primer/primitives/tokens-next-private/scss/base/size/size.scss +17 -21
  89. data/_sass/@primer/primitives/tokens-next-private/scss/base/typography/typography.scss +4 -8
  90. data/_sass/@primer/primitives/tokens-next-private/scss/functional/motion/motion.scss +3 -0
  91. data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/border.scss +12 -16
  92. data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/breakpoints.scss +6 -10
  93. data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/size-coarse.scss +3 -7
  94. data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/size-fine.scss +3 -7
  95. data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/size.scss +72 -51
  96. data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/viewport.scss +6 -19
  97. data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-colorblind.scss +503 -391
  98. data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-dimmed.scss +503 -391
  99. data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +503 -391
  100. data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +503 -391
  101. data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark.scss +503 -391
  102. data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light-colorblind.scss +503 -366
  103. data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light-high-contrast.scss +503 -366
  104. data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light-tritanopia.scss +503 -366
  105. data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light.scss +503 -366
  106. data/_sass/@primer/primitives/tokens-next-private/scss/functional/typography/typography.scss +45 -49
  107. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/size/size.scss +2 -2
  108. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/typography/typography.scss +2 -2
  109. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/border.scss +2 -2
  110. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +2 -2
  111. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +2 -2
  112. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +2 -2
  113. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size.scss +2 -2
  114. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/viewport.scss +2 -2
  115. data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/typography/typography.scss +2 -2
  116. data/_sass/@primer/view-components/README.md +1 -1
  117. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/action_bar_element.d.ts +17 -0
  118. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/action_menu/action_menu_element.d.ts +51 -0
  119. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/dropdown/menu.d.ts +1 -0
  120. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/dropdown.d.ts +1 -0
  121. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/image_crop.d.ts +1 -0
  122. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/modal_dialog.d.ts +18 -0
  123. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/segmented_control.d.ts +12 -0
  124. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/tab_container.d.ts +1 -0
  125. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/toggle_switch.d.ts +30 -0
  126. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/tool_tip.d.ts +27 -0
  127. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/x_banner.d.ts +13 -0
  128. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/anchored_position.d.ts +27 -0
  129. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/beta/auto_complete/auto_complete.d.ts +1 -0
  130. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/beta/clipboard_copy.d.ts +1 -0
  131. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/beta/nav_list.d.ts +17 -0
  132. data/_sass/@primer/view-components/app/{components/primer/alpha/nav_list.d.ts → assets/javascripts/app/components/primer/beta/nav_list_group_element.d.ts} +3 -9
  133. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/dialog_helper.d.ts +15 -0
  134. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/focus_group.d.ts +19 -0
  135. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/primer.d.ts +23 -0
  136. data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/scrollable_region.d.ts +13 -0
  137. data/_sass/@primer/view-components/app/assets/javascripts/lib/primer/forms/primer_multi_input.d.ts +10 -0
  138. data/_sass/@primer/view-components/app/assets/javascripts/lib/primer/forms/primer_text_field.d.ts +1 -0
  139. data/_sass/@primer/view-components/app/assets/javascripts/lib/primer/forms/toggle_switch_input.d.ts +5 -0
  140. data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js +1 -1
  141. data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js.map +1 -1
  142. data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css +1 -3
  143. data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css.map +1 -1
  144. data/_sass/@primer/view-components/app/components/primer/alpha/action_bar.css +1 -0
  145. data/_sass/@primer/view-components/app/components/primer/alpha/action_bar.css.json +14 -0
  146. data/_sass/@primer/view-components/app/components/primer/alpha/action_bar_element.d.ts +17 -0
  147. data/_sass/@primer/view-components/app/components/primer/alpha/action_bar_element.js +180 -0
  148. data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css +1 -1
  149. data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css.json +136 -1
  150. data/_sass/@primer/view-components/app/components/primer/alpha/action_menu/action_menu_element.d.ts +51 -0
  151. data/_sass/@primer/view-components/app/components/primer/alpha/action_menu/action_menu_element.js +470 -0
  152. data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css +1 -1
  153. data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css.json +23 -1
  154. data/_sass/@primer/view-components/app/components/primer/alpha/banner.css +1 -1
  155. data/_sass/@primer/view-components/app/components/primer/alpha/banner.css.json +24 -1
  156. data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css +1 -1
  157. data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css.json +33 -1
  158. data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css +1 -1
  159. data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css.json +65 -1
  160. data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css +1 -1
  161. data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css.json +40 -1
  162. data/_sass/@primer/view-components/app/components/primer/alpha/layout.css +1 -1
  163. data/_sass/@primer/view-components/app/components/primer/alpha/layout.css.json +80 -1
  164. data/_sass/@primer/view-components/app/components/primer/alpha/menu.css +1 -1
  165. data/_sass/@primer/view-components/app/components/primer/alpha/menu.css.json +28 -1
  166. data/_sass/@primer/view-components/app/components/primer/alpha/modal_dialog.js +50 -27
  167. data/_sass/@primer/view-components/app/components/primer/alpha/overlay.css +1 -0
  168. data/_sass/@primer/view-components/app/components/primer/alpha/overlay.css.json +11 -0
  169. data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css +1 -1
  170. data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css.json +29 -1
  171. data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.js +4 -4
  172. data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css +1 -1
  173. data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css.json +24 -1
  174. data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css +1 -3
  175. data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css.json +144 -1
  176. data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css +1 -1
  177. data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css.json +40 -1
  178. data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.d.ts +2 -1
  179. data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.js +54 -45
  180. data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.d.ts +4 -2
  181. data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.js +159 -72
  182. data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css +1 -1
  183. data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css.json +28 -1
  184. data/_sass/@primer/view-components/app/components/primer/alpha/x_banner.d.ts +3 -1
  185. data/_sass/@primer/view-components/app/components/primer/alpha/x_banner.js +25 -10
  186. data/_sass/@primer/view-components/app/components/primer/anchored_position.d.ts +27 -0
  187. data/_sass/@primer/view-components/app/components/primer/anchored_position.js +157 -0
  188. data/_sass/@primer/view-components/app/components/primer/beta/avatar.css +1 -1
  189. data/_sass/@primer/view-components/app/components/primer/beta/avatar.css.json +17 -1
  190. data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css +1 -1
  191. data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css.json +28 -1
  192. data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css +1 -1
  193. data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css.json +23 -1
  194. data/_sass/@primer/view-components/app/components/primer/beta/border_box.css +1 -1
  195. data/_sass/@primer/view-components/app/components/primer/beta/border_box.css.json +54 -1
  196. data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css +1 -1
  197. data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css.json +11 -1
  198. data/_sass/@primer/view-components/app/components/primer/beta/button.css +1 -1
  199. data/_sass/@primer/view-components/app/components/primer/beta/button.css.json +77 -1
  200. data/_sass/@primer/view-components/app/components/primer/beta/button_group.css +1 -0
  201. data/_sass/@primer/view-components/app/components/primer/beta/button_group.css.json +12 -0
  202. data/_sass/@primer/view-components/app/components/primer/beta/counter.css +1 -1
  203. data/_sass/@primer/view-components/app/components/primer/beta/counter.css.json +10 -1
  204. data/_sass/@primer/view-components/app/components/primer/beta/flash.css +1 -1
  205. data/_sass/@primer/view-components/app/components/primer/beta/flash.css.json +27 -1
  206. data/_sass/@primer/view-components/app/components/primer/beta/label.css +1 -1
  207. data/_sass/@primer/view-components/app/components/primer/beta/label.css.json +25 -1
  208. data/_sass/@primer/view-components/app/components/primer/beta/link.css +1 -1
  209. data/_sass/@primer/view-components/app/components/primer/beta/link.css.json +20 -1
  210. data/_sass/@primer/view-components/app/components/primer/beta/nav_list.d.ts +17 -0
  211. data/_sass/@primer/view-components/app/components/primer/beta/nav_list.js +170 -0
  212. data/_sass/@primer/view-components/app/components/primer/beta/nav_list_group_element.d.ts +19 -0
  213. data/_sass/@primer/view-components/app/components/primer/{alpha/nav_list.js → beta/nav_list_group_element.js} +30 -53
  214. data/_sass/@primer/view-components/app/components/primer/beta/popover.css +1 -1
  215. data/_sass/@primer/view-components/app/components/primer/beta/popover.css.json +39 -1
  216. data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css +1 -1
  217. data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css.json +10 -1
  218. data/_sass/@primer/view-components/app/components/primer/beta/state.css +1 -1
  219. data/_sass/@primer/view-components/app/components/primer/beta/state.css.json +13 -1
  220. data/_sass/@primer/view-components/app/components/primer/beta/subhead.css +1 -1
  221. data/_sass/@primer/view-components/app/components/primer/beta/subhead.css.json +14 -1
  222. data/_sass/@primer/view-components/app/components/primer/beta/timeline_item.css +1 -1
  223. data/_sass/@primer/view-components/app/components/primer/beta/timeline_item.css.json +16 -1
  224. data/_sass/@primer/view-components/app/components/primer/beta/truncate.css +1 -1
  225. data/_sass/@primer/view-components/app/components/primer/beta/truncate.css.json +12 -1
  226. data/_sass/@primer/view-components/app/components/primer/dialog_helper.d.ts +15 -0
  227. data/_sass/@primer/view-components/app/components/primer/dialog_helper.js +117 -0
  228. data/_sass/@primer/view-components/app/components/primer/focus_group.d.ts +19 -0
  229. data/_sass/@primer/view-components/app/components/primer/focus_group.js +163 -0
  230. data/_sass/@primer/view-components/app/components/primer/primer.d.ts +10 -3
  231. data/_sass/@primer/view-components/app/components/primer/primer.js +10 -3
  232. data/_sass/@primer/view-components/app/components/primer/scrollable_region.d.ts +13 -0
  233. data/_sass/@primer/view-components/app/components/primer/scrollable_region.js +52 -0
  234. data/_sass/@primer/view-components/app/components/primer/truncate.css.json +13 -1
  235. data/_sass/@primer/view-components/lib/primer/forms/primer_multi_input.js +2 -3
  236. data/_sass/@primer/view-components/lib/primer/forms/primer_text_field.js +55 -11
  237. data/_sass/@primer/view-components/lib/primer/forms/toggle_switch_input.js +7 -2
  238. data/_sass/@primer/view-components/package.json +34 -33
  239. data/_sass/@primer/view-components/static/arguments.json +2786 -454
  240. data/_sass/@primer/view-components/static/audited_at.json +39 -24
  241. data/_sass/@primer/view-components/static/classes.json +612 -0
  242. data/_sass/@primer/view-components/static/constants.json +318 -77
  243. data/_sass/@primer/view-components/static/info_arch.json +15698 -0
  244. data/_sass/@primer/view-components/static/previews.json +6814 -0
  245. data/_sass/@primer/view-components/static/statuses.json +41 -26
  246. data/_sass/{jekyll-theme-primer.scss → jekyll-v4-theme-primer.scss} +14 -3
  247. data/_sass/primer.scss +1 -1
  248. data/assets/css/style.scss +1 -1
  249. data/assets/js/github-clipboard-copy-element.js +154 -0
  250. data/assets/js/primer-clipboard-copy.js +106 -0
  251. metadata +77 -18
  252. data/_sass/@primer/css/actionlist/action-list-item-divider.scss +0 -48
  253. data/_sass/@primer/css/actionlist/action-list-item.scss +0 -593
  254. data/_sass/@primer/css/actionlist/action-list-tree.scss +0 -118
  255. data/_sass/@primer/css/actionlist/action-list-variables.scss +0 -8
  256. data/_sass/@primer/css/actionlist/action-list.scss +0 -67
  257. data/_sass/@primer/css/actionlist/index.scss +0 -6
  258. data/_sass/@primer/css/forms/form-validation.scss +0 -265
  259. data/_sass/@primer/css/labels/diffstat.scss +0 -37
  260. data/_sass/@primer/view-components/app/components/primer/time_ago_component.js +0 -1
  261. /data/_sass/@primer/view-components/app/{components/primer/local_time.d.ts → assets/javascripts/app/components/primer/beta/relative_time.d.ts} +0 -0
  262. /data/_sass/@primer/view-components/app/components/primer/{local_time.js → beta/relative_time.d.ts} +0 -0
  263. /data/_sass/@primer/view-components/app/components/primer/{time_ago_component.d.ts → beta/relative_time.js} +0 -0
@@ -1,10 +1,33 @@
1
1
  {
2
+ "Primer::Alpha::ActionBar": {
3
+ "DEFAULT_SIZE": "medium",
4
+ "Divider": "Primer::Alpha::ActionBar::Divider",
5
+ "Item": "Primer::Alpha::ActionBar::Item",
6
+ "SIZE_MAPPINGS": {
7
+ "medium": null,
8
+ "small": "ActionBar--small",
9
+ "large": "ActionBar--large"
10
+ },
11
+ "SIZE_OPTIONS": [
12
+ "medium",
13
+ "small",
14
+ "large"
15
+ ]
16
+ },
17
+ "Primer::Alpha::ActionBar::Divider": {
18
+ },
19
+ "Primer::Alpha::ActionBar::Item": {
20
+ },
2
21
  "Primer::Alpha::ActionList": {
22
+ "DEFAULT_MENU_ITEM_ROLE": "menuitem",
3
23
  "DEFAULT_ROLE": "list",
4
24
  "DEFAULT_SCHEME": "full",
25
+ "DEFAULT_SELECT_VARIANT": "none",
5
26
  "Divider": "Primer::Alpha::ActionList::Divider",
27
+ "FormWrapper": "Primer::Alpha::ActionList::FormWrapper",
6
28
  "Heading": "Primer::Alpha::ActionList::Heading",
7
29
  "Item": "Primer::Alpha::ActionList::Item",
30
+ "MENU_ROLE": "menu",
8
31
  "SCHEME_MAPPINGS": {
9
32
  "full": null,
10
33
  "inset": "ActionListWrap--inset"
@@ -12,7 +35,18 @@
12
35
  "SCHEME_OPTIONS": [
13
36
  "full",
14
37
  "inset"
15
- ]
38
+ ],
39
+ "SELECT_VARIANT_OPTIONS": [
40
+ "single",
41
+ "multiple",
42
+ "multiple_checkbox",
43
+ "none"
44
+ ],
45
+ "SELECT_VARIANT_ROLE_MAP": {
46
+ "single": "menuitemradio",
47
+ "multiple": "menuitemcheckbox",
48
+ "multiple_checkbox": "menuitemcheckbox"
49
+ }
16
50
  },
17
51
  "Primer::Alpha::ActionList::Divider": {
18
52
  "DEFAULT_SCHEME": "subtle",
@@ -25,8 +59,29 @@
25
59
  "filled"
26
60
  ]
27
61
  },
62
+ "Primer::Alpha::ActionList::FormWrapper": {
63
+ "DEFAULT_HTTP_METHOD": "get",
64
+ "HTTP_METHOD_OPTIONS": [
65
+ "get",
66
+ "post",
67
+ "patch",
68
+ "put",
69
+ "delete",
70
+ "head"
71
+ ]
72
+ },
28
73
  "Primer::Alpha::ActionList::Heading": {
29
74
  "DEFAULT_SCHEME": "subtle",
75
+ "HEADING_LEVELS": [
76
+ 1,
77
+ 2,
78
+ 3,
79
+ 4,
80
+ 5,
81
+ 6
82
+ ],
83
+ "HEADING_MAX": 6,
84
+ "HEADING_MIN": 1,
30
85
  "SCHEME_MAPPINGS": {
31
86
  "subtle": null,
32
87
  "filled": "ActionList-sectionDivider--filled"
@@ -67,12 +122,41 @@
67
122
  "xlarge"
68
123
  ]
69
124
  },
125
+ "Primer::Alpha::ActionMenu": {
126
+ "DEFAULT_PRELOAD": false,
127
+ "DEFAULT_SELECT_VARIANT": "none",
128
+ "Group": "Primer::Alpha::ActionMenu::Group",
129
+ "Heading": "Primer::Alpha::ActionMenu::Heading",
130
+ "List": "Primer::Alpha::ActionMenu::List",
131
+ "ListWrapper": "Primer::Alpha::ActionMenu::ListWrapper",
132
+ "SELECT_VARIANT_OPTIONS": [
133
+ "single",
134
+ "multiple",
135
+ "none"
136
+ ]
137
+ },
138
+ "Primer::Alpha::ActionMenu::Group": {
139
+ },
140
+ "Primer::Alpha::ActionMenu::Heading": {
141
+ },
142
+ "Primer::Alpha::ActionMenu::List": {
143
+ "DEFAULT_ITEM_TAG": "button",
144
+ "ITEM_TAG_OPTIONS": [
145
+ "a",
146
+ "clipboard-copy",
147
+ "button"
148
+ ]
149
+ },
150
+ "Primer::Alpha::ActionMenu::ListWrapper": {
151
+ },
70
152
  "Primer::Alpha::AutoComplete": {
71
153
  "Item": "Primer::Alpha::AutoComplete::Item"
72
154
  },
73
155
  "Primer::Alpha::AutoComplete::Item": {
74
156
  },
75
157
  "Primer::Alpha::Banner": {
158
+ "DEFAULT_DISMISS_LABEL": "Dismiss",
159
+ "DEFAULT_DISMISS_SCHEME": "none",
76
160
  "DEFAULT_ICONS": {
77
161
  "default": "bell",
78
162
  "warning": "alert",
@@ -80,6 +164,12 @@
80
164
  "success": "check-circle"
81
165
  },
82
166
  "DEFAULT_SCHEME": "default",
167
+ "DEFAULT_TAG": "div",
168
+ "DISMISS_SCHEMES": [
169
+ "none",
170
+ "remove",
171
+ "hide"
172
+ ],
83
173
  "LEGACY_SCHEME_MAPPINGS": {
84
174
  "default": "",
85
175
  "warning": "flash-warn",
@@ -91,7 +181,11 @@
91
181
  "warning": "Banner--warning",
92
182
  "danger": "Banner--error",
93
183
  "success": "Banner--success"
94
- }
184
+ },
185
+ "TAG_OPTIONS": [
186
+ "div",
187
+ "section"
188
+ ]
95
189
  },
96
190
  "Primer::Alpha::ButtonMarketing": {
97
191
  "DEFAULT_SCHEME": "default",
@@ -127,6 +221,10 @@
127
221
  "large"
128
222
  ]
129
223
  },
224
+ "Primer::Alpha::CheckBox": {
225
+ },
226
+ "Primer::Alpha::CheckBoxGroup": {
227
+ },
130
228
  "Primer::Alpha::Dialog": {
131
229
  "Body": "Primer::Alpha::Dialog::Body",
132
230
  "DEFAULT_POSITION": "center",
@@ -135,16 +233,16 @@
135
233
  "Footer": "Primer::Alpha::Dialog::Footer",
136
234
  "Header": "Primer::Alpha::Dialog::Header",
137
235
  "POSITION_MAPPINGS": {
138
- "center": "Overlay-backdrop--center",
139
- "left": "Overlay-backdrop--side Overlay-backdrop--placement-left",
140
- "right": "Overlay-backdrop--side Overlay-backdrop--placement-right"
236
+ "center": "",
237
+ "left": "Overlay--placement-left",
238
+ "right": "Overlay--placement-right"
141
239
  },
142
240
  "POSITION_NARROW_MAPPINGS": {
143
241
  "inherit": "",
144
- "bottom": "Overlay-backdrop--side-whenNarrow Overlay-backdrop--placement-bottom-whenNarrow",
145
- "fullscreen": "Overlay-backdrop--full-whenNarrow",
146
- "left": "Overlay-backdrop--side-whenNarrow Overlay-backdrop--placement-left-whenNarrow",
147
- "right": "Overlay-backdrop--side-whenNarrow Overlay-backdrop--placement-right-whenNarrow"
242
+ "bottom": "Overlay--placement-bottom-whenNarrow",
243
+ "fullscreen": "Overlay--full-whenNarrow",
244
+ "left": "Overlay--placement-left-whenNarrow",
245
+ "right": "Overlay--placement-right-whenNarrow"
148
246
  },
149
247
  "POSITION_NARROW_OPTIONS": [
150
248
  "inherit",
@@ -180,6 +278,15 @@
180
278
  "Primer::Alpha::Dialog::Footer": {
181
279
  },
182
280
  "Primer::Alpha::Dialog::Header": {
281
+ "DEFAULT_VARIANT": "medium",
282
+ "VARIANT_MAPPINGS": {
283
+ "medium": "",
284
+ "large": "Overlay-header--large"
285
+ },
286
+ "VARIANT_OPTIONS": [
287
+ "medium",
288
+ "large"
289
+ ]
183
290
  },
184
291
  "Primer::Alpha::Dropdown": {
185
292
  "Menu": "Primer::Alpha::Dropdown::Menu"
@@ -218,6 +325,10 @@
218
325
  "summary"
219
326
  ]
220
327
  },
328
+ "Primer::Alpha::FormButton": {
329
+ },
330
+ "Primer::Alpha::FormControl": {
331
+ },
221
332
  "Primer::Alpha::HellipButton": {
222
333
  },
223
334
  "Primer::Alpha::HiddenTextExpander": {
@@ -315,23 +426,158 @@
315
426
  "h6"
316
427
  ]
317
428
  },
429
+ "Primer::Alpha::MultiInput": {
430
+ },
318
431
  "Primer::Alpha::NavList": {
319
- "Item": "Primer::Alpha::NavList::Item",
320
- "Section": "Primer::Alpha::NavList::Section"
432
+ "Divider": "Primer::Alpha::NavList::Divider",
433
+ "Group": "Primer::Alpha::NavList::Group",
434
+ "Heading": "Primer::Alpha::NavList::Heading",
435
+ "Item": "Primer::Alpha::NavList::Item"
436
+ },
437
+ "Primer::Alpha::NavList::Divider": {
438
+ },
439
+ "Primer::Alpha::NavList::Group": {
440
+ },
441
+ "Primer::Alpha::NavList::Heading": {
321
442
  },
322
443
  "Primer::Alpha::NavList::Item": {
323
444
  },
324
- "Primer::Alpha::NavList::Section": {
445
+ "Primer::Alpha::Navigation::Tab": {
446
+ "ARIA_CURRENT_OPTIONS_FOR_ANCHOR": [
447
+ true,
448
+ "page"
449
+ ],
450
+ "DEFAULT_ARIA_CURRENT_FOR_ANCHOR": "page"
325
451
  },
326
452
  "Primer::Alpha::OcticonSymbols": {
327
453
  },
454
+ "Primer::Alpha::Overlay": {
455
+ "ALIGN_CONTENT_MAPPINGS": {
456
+ "start": "Overlay-footer--alignStart",
457
+ "center": "Overlay-footer--alignCenter",
458
+ "end": "Overlay-footer--alignEnd"
459
+ },
460
+ "ALIGN_CONTENT_OPTIONS": [
461
+ "start",
462
+ "center",
463
+ "end"
464
+ ],
465
+ "ANCHOR_ALIGN_OPTIONS": [
466
+ "start",
467
+ "center",
468
+ "end"
469
+ ],
470
+ "ANCHOR_OFFSET_OPTIONS": [
471
+ "normal",
472
+ "spacious"
473
+ ],
474
+ "ANCHOR_SIDE_MAPPINGS": {
475
+ "inside_top": "inside-top",
476
+ "inside_bottom": "inside-bottom",
477
+ "inside_left": "inside-left",
478
+ "inside_right": "inside-right",
479
+ "inside_center": "inside-center",
480
+ "outside_top": "outside-top",
481
+ "outside_bottom": "outside-bottom",
482
+ "outside_left": "outside-left",
483
+ "outside_right": "outside-right"
484
+ },
485
+ "ANCHOR_SIDE_OPTIONS": [
486
+ "inside_top",
487
+ "inside_bottom",
488
+ "inside_left",
489
+ "inside_right",
490
+ "inside_center",
491
+ "outside_top",
492
+ "outside_bottom",
493
+ "outside_left",
494
+ "outside_right"
495
+ ],
496
+ "Body": "Primer::Alpha::Overlay::Body",
497
+ "DEFAULT_ALIGN_CONTENT": "end",
498
+ "DEFAULT_ANCHOR_ALIGN": "start",
499
+ "DEFAULT_ANCHOR_OFFSET": "normal",
500
+ "DEFAULT_ANCHOR_SIDE": "outside_bottom",
501
+ "DEFAULT_PADDING": "normal",
502
+ "DEFAULT_POPOVER": "auto",
503
+ "DEFAULT_SIZE": "auto",
504
+ "Footer": "Primer::Alpha::Overlay::Footer",
505
+ "Header": "Primer::Alpha::Overlay::Header",
506
+ "PADDING_MAPPINGS": {
507
+ "normal": null,
508
+ "condensed": "Overlay-body--paddingCondensed",
509
+ "none": "Overlay-body--paddingNone"
510
+ },
511
+ "PADDING_OPTIONS": [
512
+ "normal",
513
+ "condensed",
514
+ "none"
515
+ ],
516
+ "POPOVER_OPTIONS": [
517
+ "auto",
518
+ "manual"
519
+ ],
520
+ "ROLE_OPTIONS": [
521
+ "dialog",
522
+ "menu",
523
+ null
524
+ ],
525
+ "SIZE_MAPPINGS": {
526
+ "auto": "Overlay--size-auto",
527
+ "small": "Overlay--size-small",
528
+ "medium": "Overlay--size-medium",
529
+ "medium_portrait": "Overlay--size-medium-portrait",
530
+ "large": "Overlay--size-large",
531
+ "xlarge": "Overlay--size-xlarge"
532
+ },
533
+ "SIZE_OPTIONS": [
534
+ "auto",
535
+ "small",
536
+ "medium",
537
+ "medium_portrait",
538
+ "large",
539
+ "xlarge"
540
+ ]
541
+ },
542
+ "Primer::Alpha::Overlay::Body": {
543
+ },
544
+ "Primer::Alpha::Overlay::Footer": {
545
+ },
546
+ "Primer::Alpha::Overlay::Header": {
547
+ "DEFAULT_SIZE": "medium",
548
+ "SIZE_MAPPINGS": {
549
+ "medium": null,
550
+ "large": "Overlay-header--large"
551
+ },
552
+ "SIZE_OPTIONS": [
553
+ "medium",
554
+ "large"
555
+ ]
556
+ },
557
+ "Primer::Alpha::RadioButton": {
558
+ },
559
+ "Primer::Alpha::RadioButtonGroup": {
560
+ },
328
561
  "Primer::Alpha::SegmentedControl": {
562
+ "DEFAULT_SIZE": "medium",
329
563
  "FULL_WIDTH_DEFAULT": false,
330
564
  "HIDE_LABELS_DEFAULT": false,
331
- "Item": "Primer::Alpha::SegmentedControl::Item"
565
+ "Item": "Primer::Alpha::SegmentedControl::Item",
566
+ "SIZE_MAPPINGS": {
567
+ "small": "SegmentedControl--small",
568
+ "medium": "SegmentedControl--medium"
569
+ },
570
+ "SIZE_OPTIONS": [
571
+ "small",
572
+ "medium"
573
+ ]
332
574
  },
333
575
  "Primer::Alpha::SegmentedControl::Item": {
334
576
  },
577
+ "Primer::Alpha::Select": {
578
+ },
579
+ "Primer::Alpha::SubmitButton": {
580
+ },
335
581
  "Primer::Alpha::TabContainer": {
336
582
  },
337
583
  "Primer::Alpha::TabNav": {
@@ -350,6 +596,8 @@
350
596
  "div"
351
597
  ]
352
598
  },
599
+ "Primer::Alpha::TextArea": {
600
+ },
353
601
  "Primer::Alpha::TextField": {
354
602
  },
355
603
  "Primer::Alpha::ToggleSwitch": {
@@ -420,6 +668,7 @@
420
668
  },
421
669
  "Primer::Beta::AutoComplete": {
422
670
  "DEFAULT_SIZE": "medium",
671
+ "DEFAULT_WIDTH": "auto",
423
672
  "Item": "Primer::Beta::AutoComplete::Item",
424
673
  "SIZE_MAPPINGS": {
425
674
  "small": "FormControl-small",
@@ -430,10 +679,31 @@
430
679
  "small",
431
680
  "medium",
432
681
  "large"
682
+ ],
683
+ "WIDTH_MAPPINGS": {
684
+ "auto": "Overlay--width-auto",
685
+ "small": "Overlay--width-small",
686
+ "medium": "Overlay--width-medium",
687
+ "large": "Overlay--width-large",
688
+ "xlarge": "Overlay--width-xlarge",
689
+ "xxlarge": "Overlay--width-xxlarge"
690
+ },
691
+ "WIDTH_OPTIONS": [
692
+ "auto",
693
+ "small",
694
+ "medium",
695
+ "large",
696
+ "xlarge",
697
+ "xxlarge"
433
698
  ]
434
699
  },
435
700
  "Primer::Beta::AutoComplete::Item": {
436
- "ALLOWED_DESCRIPTION_VARIANTS": [
701
+ "DEFAULT_DESCRIPTION_VARIANT": "block",
702
+ "DESCRIPTION_VARIANT_MAPPINGS": {
703
+ "inline": "ActionListItem-descriptionWrap--inline",
704
+ "block": "ActionListItem-descriptionWrap"
705
+ },
706
+ "DESCRIPTION_VARIANT_OPTIONS": [
437
707
  "inline",
438
708
  "block"
439
709
  ]
@@ -452,6 +722,7 @@
452
722
  32,
453
723
  40,
454
724
  48,
725
+ 64,
455
726
  80
456
727
  ],
457
728
  "SMALL_THRESHOLD": 24
@@ -479,7 +750,8 @@
479
750
  "TAG_OPTIONS": [
480
751
  "button",
481
752
  "a",
482
- "summary"
753
+ "summary",
754
+ "clipboard-copy"
483
755
  ],
484
756
  "TYPE_OPTIONS": [
485
757
  "button",
@@ -576,9 +848,16 @@
576
848
  ]
577
849
  },
578
850
  "Primer::Beta::ButtonGroup": {
851
+ "MenuButton": "Primer::Beta::ButtonGroup::MenuButton"
852
+ },
853
+ "Primer::Beta::ButtonGroup::MenuButton": {
579
854
  },
580
855
  "Primer::Beta::ClipboardCopy": {
581
856
  },
857
+ "Primer::Beta::ClipboardCopyBaseButton": {
858
+ },
859
+ "Primer::Beta::ClipboardCopyButton": {
860
+ },
582
861
  "Primer::Beta::CloseButton": {
583
862
  "DEFAULT_TYPE": "button",
584
863
  "TYPE_OPTIONS": [
@@ -717,16 +996,11 @@
717
996
  },
718
997
  "Primer::Beta::Link": {
719
998
  "DEFAULT_SCHEME": "default",
720
- "DEFAULT_TAG": "a",
721
999
  "SCHEME_MAPPINGS": {
722
1000
  "default": "",
723
1001
  "primary": "Link--primary",
724
1002
  "secondary": "Link--secondary"
725
- },
726
- "TAG_OPTIONS": [
727
- "a",
728
- "span"
729
- ]
1003
+ }
730
1004
  },
731
1005
  "Primer::Beta::Markdown": {
732
1006
  "DEFAULT_TAG": "div",
@@ -736,6 +1010,20 @@
736
1010
  "td"
737
1011
  ]
738
1012
  },
1013
+ "Primer::Beta::NavList": {
1014
+ "Divider": "Primer::Beta::NavList::Divider",
1015
+ "Group": "Primer::Beta::NavList::Group",
1016
+ "Heading": "Primer::Beta::NavList::Heading",
1017
+ "Item": "Primer::Beta::NavList::Item"
1018
+ },
1019
+ "Primer::Beta::NavList::Divider": {
1020
+ },
1021
+ "Primer::Beta::NavList::Group": {
1022
+ },
1023
+ "Primer::Beta::NavList::Heading": {
1024
+ },
1025
+ "Primer::Beta::NavList::Item": {
1026
+ },
739
1027
  "Primer::Beta::Octicon": {
740
1028
  "SIZE_DEFAULT": "small",
741
1029
  "SIZE_MAPPINGS": {
@@ -972,7 +1260,16 @@
972
1260
  ]
973
1261
  },
974
1262
  "Primer::Beta::Subhead": {
1263
+ "DEFAULT_HEADING_SIZE": "large",
975
1264
  "DEFAULT_HEADING_TAG": "div",
1265
+ "HEADING_SIZE_MAP": {
1266
+ "large": "Subhead-heading--large",
1267
+ "medium": "Subhead-heading--medium"
1268
+ },
1269
+ "HEADING_SIZE_OPTIONS": [
1270
+ "large",
1271
+ "medium"
1272
+ ],
976
1273
  "HEADING_TAG_OPTIONS": [
977
1274
  "div",
978
1275
  "h1",
@@ -1033,16 +1330,6 @@
1033
1330
  },
1034
1331
  "Primer::Content": {
1035
1332
  },
1036
- "Primer::Dropdown": {
1037
- "Menu": "Primer::Dropdown::Menu"
1038
- },
1039
- "Primer::Dropdown::Menu": {
1040
- "Item": "Primer::Dropdown::Menu::Item"
1041
- },
1042
- "Primer::Dropdown::Menu::Item": {
1043
- },
1044
- "Primer::HellipButton": {
1045
- },
1046
1333
  "Primer::IconButton": {
1047
1334
  "DEFAULT_SCHEME": "default",
1048
1335
  "SCHEME_MAPPINGS": {
@@ -1054,8 +1341,6 @@
1054
1341
  "danger"
1055
1342
  ]
1056
1343
  },
1057
- "Primer::LabelComponent": {
1058
- },
1059
1344
  "Primer::LayoutComponent": {
1060
1345
  "ALLOWED_SIDEBAR_COLS": [
1061
1346
  1,
@@ -1078,51 +1363,7 @@
1078
1363
  "DEFAULT_SIDEBAR_COL": 3,
1079
1364
  "MAX_COL": 12
1080
1365
  },
1081
- "Primer::LinkComponent": {
1082
- },
1083
- "Primer::LocalTime": {
1084
- "DEFAULT_DIGIT_TYPE": "numeric",
1085
- "DEFAULT_TEXT_TYPE": "short",
1086
- "DIGIT_TYPE_OPTIONS": [
1087
- "numeric",
1088
- "2-digit"
1089
- ],
1090
- "TEXT_TYPE_OPTIONS": [
1091
- "short",
1092
- "long"
1093
- ]
1094
- },
1095
- "Primer::Markdown": {
1096
- },
1097
- "Primer::MenuComponent": {
1098
- },
1099
1366
  "Primer::Navigation::TabComponent": {
1100
- "ARIA_CURRENT_OPTIONS_FOR_ANCHOR": [
1101
- true,
1102
- "page"
1103
- ],
1104
- "DEFAULT_ARIA_CURRENT_FOR_ANCHOR": "page"
1105
- },
1106
- "Primer::OcticonComponent": {
1107
- },
1108
- "Primer::OcticonSymbolsComponent": {
1109
- },
1110
- "Primer::PopoverComponent": {
1111
- },
1112
- "Primer::SpinnerComponent": {
1113
- },
1114
- "Primer::StateComponent": {
1115
- },
1116
- "Primer::SubheadComponent": {
1117
- },
1118
- "Primer::TabContainerComponent": {
1119
- },
1120
- "Primer::TimeAgoComponent": {
1121
- },
1122
- "Primer::TimelineItemComponent": {
1123
- "BadgeComponent": "Primer::TimelineItemComponent::BadgeComponent"
1124
- },
1125
- "Primer::TimelineItemComponent::BadgeComponent": {
1126
1367
  },
1127
1368
  "Primer::Tooltip": {
1128
1369
  "ALIGN_DEFAULT": "default",