@primer/view-components 0.35.0-rc.8db9f2a2 → 0.35.0-rc.9bea5b2d

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. package/app/assets/javascripts/{app/components → components}/primer/primer.d.ts +3 -3
  2. package/app/assets/javascripts/primer_view_components.js +1 -1
  3. package/app/assets/javascripts/primer_view_components.js.map +1 -1
  4. package/app/assets/styles/primer_view_components.css +1 -1
  5. package/app/assets/styles/primer_view_components.css.map +1 -1
  6. package/app/components/primer/alpha/action_bar_element.js +0 -3
  7. package/app/components/primer/alpha/action_list.css +1 -1
  8. package/app/components/primer/alpha/auto_complete.css +1 -1
  9. package/app/components/primer/alpha/banner.css +1 -1
  10. package/app/components/primer/alpha/dropdown.css +1 -1
  11. package/app/components/primer/alpha/select_panel_element.js +7 -1
  12. package/app/components/primer/alpha/stack.css +1 -0
  13. package/app/components/primer/alpha/stack.css.json +90 -0
  14. package/app/components/primer/alpha/stack_item.css +1 -0
  15. package/app/components/primer/alpha/stack_item.css.json +12 -0
  16. package/app/components/primer/alpha/tab_nav.css +1 -1
  17. package/app/components/primer/alpha/text_field.css +1 -1
  18. package/app/components/primer/alpha/toggle_switch.css +1 -1
  19. package/app/components/primer/alpha/underline_nav.css +1 -1
  20. package/app/components/primer/beta/avatar.css +1 -1
  21. package/app/components/primer/beta/avatar_stack.css +1 -1
  22. package/app/components/primer/beta/blankslate.css +1 -1
  23. package/app/components/primer/beta/border_box.css +1 -1
  24. package/app/components/primer/beta/button.css +1 -1
  25. package/app/components/primer/beta/counter.css +1 -1
  26. package/app/components/primer/beta/popover.css +1 -1
  27. package/app/components/primer/beta/progress_bar.css +1 -1
  28. package/app/components/primer/beta/state.css +1 -1
  29. package/app/components/primer/primer.js +3 -3
  30. package/app/lib/primer/forms/primer_multi_input.d.ts +10 -0
  31. package/app/lib/primer/forms/primer_text_field.d.ts +28 -0
  32. package/app/lib/primer/forms/toggle_switch_input.d.ts +5 -0
  33. package/package.json +6 -5
  34. package/static/arguments.json +12 -0
  35. package/static/classes.json +6 -0
  36. package/static/info_arch.json +39 -1
  37. package/static/previews.json +26 -0
  38. package/app/components/primer/alpha/action_bar_element.d.ts +0 -17
  39. package/app/components/primer/alpha/action_list.d.ts +0 -16
  40. package/app/components/primer/alpha/action_menu/action_menu_element.d.ts +0 -42
  41. package/app/components/primer/alpha/dropdown/menu.d.ts +0 -1
  42. package/app/components/primer/alpha/dropdown.d.ts +0 -1
  43. package/app/components/primer/alpha/image_crop.d.ts +0 -1
  44. package/app/components/primer/alpha/modal_dialog.d.ts +0 -18
  45. package/app/components/primer/alpha/segmented_control.d.ts +0 -12
  46. package/app/components/primer/alpha/select_panel_element.d.ts +0 -63
  47. package/app/components/primer/alpha/tab_container.d.ts +0 -1
  48. package/app/components/primer/alpha/toggle_switch.d.ts +0 -34
  49. package/app/components/primer/alpha/tool_tip.d.ts +0 -27
  50. package/app/components/primer/alpha/x_banner.d.ts +0 -18
  51. package/app/components/primer/anchored_position.d.ts +0 -27
  52. package/app/components/primer/aria_live.d.ts +0 -8
  53. package/app/components/primer/beta/auto_complete/auto_complete.d.ts +0 -1
  54. package/app/components/primer/beta/clipboard_copy.d.ts +0 -1
  55. package/app/components/primer/beta/nav_list.d.ts +0 -20
  56. package/app/components/primer/beta/nav_list_group_element.d.ts +0 -19
  57. package/app/components/primer/beta/relative_time.d.ts +0 -1
  58. package/app/components/primer/dialog_helper.d.ts +0 -15
  59. package/app/components/primer/focus_group.d.ts +0 -19
  60. package/app/components/primer/primer.d.ts +0 -28
  61. package/app/components/primer/scrollable_region.d.ts +0 -13
  62. package/app/components/primer/shared_events.d.ts +0 -11
  63. /package/app/assets/javascripts/{app/components → components}/primer/alpha/action_bar_element.d.ts +0 -0
  64. /package/app/assets/javascripts/{app/components → components}/primer/alpha/action_list.d.ts +0 -0
  65. /package/app/assets/javascripts/{app/components → components}/primer/alpha/action_menu/action_menu_element.d.ts +0 -0
  66. /package/app/assets/javascripts/{app/components → components}/primer/alpha/dropdown/menu.d.ts +0 -0
  67. /package/app/assets/javascripts/{app/components → components}/primer/alpha/dropdown.d.ts +0 -0
  68. /package/app/assets/javascripts/{app/components → components}/primer/alpha/image_crop.d.ts +0 -0
  69. /package/app/assets/javascripts/{app/components → components}/primer/alpha/modal_dialog.d.ts +0 -0
  70. /package/app/assets/javascripts/{app/components → components}/primer/alpha/segmented_control.d.ts +0 -0
  71. /package/app/assets/javascripts/{app/components → components}/primer/alpha/select_panel_element.d.ts +0 -0
  72. /package/app/assets/javascripts/{app/components → components}/primer/alpha/tab_container.d.ts +0 -0
  73. /package/app/assets/javascripts/{app/components → components}/primer/alpha/toggle_switch.d.ts +0 -0
  74. /package/app/assets/javascripts/{app/components → components}/primer/alpha/tool_tip.d.ts +0 -0
  75. /package/app/assets/javascripts/{app/components → components}/primer/alpha/x_banner.d.ts +0 -0
  76. /package/app/assets/javascripts/{app/components → components}/primer/anchored_position.d.ts +0 -0
  77. /package/app/assets/javascripts/{app/components → components}/primer/aria_live.d.ts +0 -0
  78. /package/app/assets/javascripts/{app/components → components}/primer/beta/auto_complete/auto_complete.d.ts +0 -0
  79. /package/app/assets/javascripts/{app/components → components}/primer/beta/clipboard_copy.d.ts +0 -0
  80. /package/app/assets/javascripts/{app/components → components}/primer/beta/nav_list.d.ts +0 -0
  81. /package/app/assets/javascripts/{app/components → components}/primer/beta/nav_list_group_element.d.ts +0 -0
  82. /package/app/assets/javascripts/{app/components → components}/primer/beta/relative_time.d.ts +0 -0
  83. /package/app/assets/javascripts/{app/components → components}/primer/dialog_helper.d.ts +0 -0
  84. /package/app/assets/javascripts/{app/components → components}/primer/focus_group.d.ts +0 -0
  85. /package/app/assets/javascripts/{app/components → components}/primer/scrollable_region.d.ts +0 -0
  86. /package/app/assets/javascripts/{app/components → components}/primer/shared_events.d.ts +0 -0
  87. /package/{lib → app/lib}/primer/forms/primer_multi_input.js +0 -0
  88. /package/{lib → app/lib}/primer/forms/primer_text_field.js +0 -0
  89. /package/{lib → app/lib}/primer/forms/toggle_switch_input.js +0 -0
@@ -1,19 +0,0 @@
1
- import '@oddbird/popover-polyfill';
2
- export default class FocusGroupElement extends HTMLElement {
3
- #private;
4
- get nowrap(): boolean;
5
- set nowrap(value: boolean);
6
- get direction(): 'horizontal' | 'vertical' | 'both';
7
- set direction(value: 'horizontal' | 'vertical' | 'both');
8
- get retain(): boolean;
9
- set retain(value: boolean);
10
- get mnemonics(): boolean;
11
- connectedCallback(): void;
12
- disconnectedCallback(): void;
13
- handleEvent(event: Event): void;
14
- }
15
- declare global {
16
- interface Window {
17
- FocusGroupElement: typeof FocusGroupElement;
18
- }
19
- }
@@ -1,28 +0,0 @@
1
- import '@github/include-fragment-element';
2
- import '@github/remote-input-element';
3
- import './alpha/action_list';
4
- import './alpha/action_bar_element';
5
- import './alpha/dropdown';
6
- import './anchored_position';
7
- import './dialog_helper';
8
- import './focus_group';
9
- import './scrollable_region';
10
- import './aria_live';
11
- import './shared_events';
12
- import './alpha/image_crop';
13
- import './alpha/modal_dialog';
14
- import './beta/nav_list';
15
- import './beta/nav_list_group_element';
16
- import './alpha/segmented_control';
17
- import './alpha/toggle_switch';
18
- import './alpha/tool_tip';
19
- import './alpha/x_banner';
20
- import './beta/auto_complete/auto_complete';
21
- import './beta/clipboard_copy';
22
- import './beta/relative_time';
23
- import './alpha/tab_container';
24
- import '../../../lib/primer/forms/primer_multi_input';
25
- import '../../../lib/primer/forms/primer_text_field';
26
- import '../../../lib/primer/forms/toggle_switch_input';
27
- import './alpha/action_menu/action_menu_element';
28
- import './alpha/select_panel_element';
@@ -1,13 +0,0 @@
1
- export declare class ScrollableRegionElement extends HTMLElement {
2
- hasOverflow: boolean;
3
- labelledBy: string;
4
- observer: ResizeObserver;
5
- connectedCallback(): void;
6
- disconnectedCallback(): void;
7
- attributeChangedCallback(name: string): void;
8
- }
9
- declare global {
10
- interface Window {
11
- ScrollableRegionElement: typeof ScrollableRegionElement;
12
- }
13
- }
@@ -1,11 +0,0 @@
1
- export type ItemActivatedEvent = {
2
- item: Element;
3
- checked: boolean;
4
- value: string | null;
5
- };
6
- declare global {
7
- interface HTMLElementEventMap {
8
- itemActivated: CustomEvent<ItemActivatedEvent>;
9
- beforeItemActivated: CustomEvent<ItemActivatedEvent>;
10
- }
11
- }