@openproject/primer-view-components 0.96.0-rc.e4eed9a37 → 0.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/assets/javascripts/primer_view_components.js +5 -5
- package/app/assets/javascripts/primer_view_components.js.map +1 -1
- package/app/assets/styles/primer_view_components.css +1 -1
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/alpha/action_bar.css +1 -1
- package/app/components/primer/alpha/action_list.css +1 -1
- package/app/components/primer/alpha/action_list.css.json +11 -11
- package/app/components/primer/alpha/action_menu/action_menu_element.d.ts +6 -0
- package/app/components/primer/alpha/action_menu/action_menu_element.js +354 -66
- package/app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.d.ts +3 -0
- package/app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.js +33 -8
- package/app/components/primer/alpha/auto_complete.css +1 -1
- package/app/components/primer/alpha/banner.css +1 -1
- package/app/components/primer/alpha/button_marketing.css +1 -1
- package/app/components/primer/alpha/dialog.css +1 -1
- package/app/components/primer/alpha/dropdown.css +1 -1
- package/app/components/primer/alpha/dropdown.css.json +1 -1
- package/app/components/primer/alpha/layout.css +1 -1
- package/app/components/primer/alpha/layout.css.json +3 -3
- package/app/components/primer/alpha/menu.css +1 -1
- package/app/components/primer/alpha/menu.css.json +3 -3
- package/app/components/primer/alpha/overlay.css +1 -1
- package/app/components/primer/alpha/segmented_control.css +1 -1
- package/app/components/primer/alpha/segmented_control.css.json +1 -1
- package/app/components/primer/alpha/select_panel.css +1 -1
- package/app/components/primer/alpha/skeleton_box.css +1 -1
- package/app/components/primer/alpha/stack.css +1 -1
- package/app/components/primer/alpha/stack_item.css +1 -1
- package/app/components/primer/alpha/tab_nav.css +1 -1
- package/app/components/primer/alpha/text_field.css +1 -1
- package/app/components/primer/alpha/toggle_switch.css +1 -1
- package/app/components/primer/alpha/tree_view.css +1 -1
- package/app/components/primer/alpha/tree_view.css.json +3 -3
- package/app/components/primer/alpha/underline_nav.css +1 -1
- package/app/components/primer/beta/border_box.css +1 -1
- package/app/components/primer/beta/border_box.css.json +5 -5
- package/app/components/primer/beta/button.css +1 -1
- package/app/components/primer/beta/counter.css +1 -1
- package/app/components/primer/beta/flash.css +1 -1
- package/app/components/primer/beta/link.css +1 -1
- package/app/components/primer/beta/link.css.json +1 -1
- package/app/components/primer/beta/popover.css +1 -1
- package/app/components/primer/beta/progress_bar.css +1 -1
- package/app/components/primer/beta/state.css +1 -1
- package/app/components/primer/beta/state.css.json +2 -2
- package/app/components/primer/beta/timeline_item.css +1 -1
- package/app/components/primer/open_project/border_grid.css +1 -1
- package/app/components/primer/open_project/color_field.css +1 -1
- package/app/components/primer/open_project/inline_message.css +1 -1
- package/app/components/primer/open_project/input_group.css +1 -1
- package/app/components/primer/open_project/page_header.css +1 -1
- package/app/components/primer/open_project/page_header.css.json +2 -2
- package/app/components/primer/open_project/pagination.css +1 -1
- package/app/components/primer/open_project/pagination.css.json +1 -1
- package/app/components/primer/open_project/sub_header.css +1 -1
- package/app/components/primer/truncate.css +1 -1
- package/app/components/primer/truncate.css.json +3 -4
- package/package.json +4 -3
- package/static/arguments.json +13 -1
- package/static/constants.json +8 -0
- package/static/info_arch.json +40 -2
- package/static/previews.json +26 -0
- package/app/components/primer/alpha/text_field.css.json +0 -134
- package/app/components/primer/alpha/toggle_switch.css.json +0 -40
- package/app/components/primer/alpha/underline_nav.css.json +0 -26
- package/app/components/primer/beta/button.css.json +0 -101
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
".Box--spacious .Box-title",
|
|
13
13
|
".Box--spacious .Box-body",
|
|
14
14
|
".Box--spacious .Box-footer",
|
|
15
|
-
".btn-octicon:is(.Box--spacious .Box-btn-octicon)",
|
|
16
15
|
".Box--spacious .Box-row",
|
|
16
|
+
".btn-octicon:is(.Box--spacious .Box-btn-octicon)",
|
|
17
17
|
".Box-header",
|
|
18
18
|
".Box-title",
|
|
19
19
|
".Box-body",
|
|
@@ -25,29 +25,29 @@
|
|
|
25
25
|
".Box-row.unread",
|
|
26
26
|
".Box-row.navigation-focus .Box-row--drag-button",
|
|
27
27
|
".Box-row.navigation-focus.is-dragging .Box-row--drag-button",
|
|
28
|
+
".Box-row--focus-gray.navigation-focus",
|
|
28
29
|
".Box-row.navigation-focus.sortable-chosen",
|
|
29
30
|
".Box-row.navigation-focus.sortable-ghost",
|
|
31
|
+
".Box-row--drag-button",
|
|
30
32
|
".Box-row.navigation-focus.sortable-ghost .Box-row--drag-hide",
|
|
31
|
-
".Box-row--focus-gray.navigation-focus",
|
|
32
33
|
".Box-row--focus-blue.navigation-focus",
|
|
33
34
|
".Box-row--hover-gray:hover",
|
|
35
|
+
".Box--blue .Box-header",
|
|
36
|
+
".Box-header--blue",
|
|
34
37
|
".Box-row--hover-blue:hover",
|
|
35
38
|
".Box-row-link",
|
|
36
39
|
".Box-row-link:hover",
|
|
37
|
-
".Box-row--drag-button",
|
|
38
40
|
".Box-footer",
|
|
39
41
|
".Box-list--roundedTop>.Box-row:first-of-type",
|
|
40
42
|
".Box-list--roundedBottom>.Box-row:last-of-type",
|
|
41
43
|
".Box--scrollable",
|
|
42
44
|
".Box--blue",
|
|
43
|
-
".Box--blue .Box-header",
|
|
44
45
|
".Box--blue .Box-body",
|
|
45
46
|
".Box--blue .Box-footer",
|
|
46
47
|
".Box--blue .Box-row",
|
|
47
48
|
".Box--danger",
|
|
48
49
|
":is(.Box--danger .Box-body):last-of-type",
|
|
49
50
|
":is(.Box--danger .Box-row):first-of-type",
|
|
50
|
-
".Box-header--blue",
|
|
51
51
|
".Box-row--yellow",
|
|
52
52
|
".Box-row--blue",
|
|
53
53
|
".Box-row--gray",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--duration-fast:80ms;--easing-easeInOut:cubic-bezier(0.65,0,0.35,1)}.Button{position:relative;display:inline-flex;min-width:max-content;height:var(--control-medium-size);padding:0 var(--control-medium-paddingInline-normal);font-size:var(--text-body-size-medium);font-weight:var(--base-text-weight-medium);color:var(--button-default-fgColor-rest);text-align:center;cursor:pointer;flex-direction:row;-webkit-user-select:none;user-select:none;background-color:initial;border:var(--borderWidth-thin) solid;border-color:#0000;border-radius:var(--borderRadius-medium);transition:var(--duration-fast) var(--easing-easeInOut);transition-property:color,fill,background-color,border-color;justify-content:space-between;align-items:center;gap:var(--base-size-4)}@media (pointer:coarse){:is(.Button:before){position:absolute;top:50%;left:50%;width:100%;height:100%;min-height:48px;content:"";transform:translateX(-50%) translateY(-50%);min-width:48px}}.Button:hover{transition-duration:var(--duration-fast)}.Button:active{transition:none}.Button:disabled,.Button[aria-disabled=true]{cursor:not-allowed;box-shadow:none}.Button:has([data-kbd-chord]):not(.Button--link){padding-inline-end:var(--base-size-6)}.Button.Button--iconOnly{color:var(--fgColor-muted)}:is(a.Button,summary.Button):hover{-webkit-text-decoration:none;text-decoration:none}.Button-content{flex:1 0 auto;display:grid;grid-template-areas:"leadingVisual text trailingVisual";grid-template-columns:min-content minmax(0,auto) min-content;align-items:center;place-content:center}.Button-content>:not(:last-child){margin-right:var(--control-medium-gap)}.Button-content--alignStart{justify-content:start}.Button-visual{display:flex;pointer-events:none}.Button-visual .Counter{color:inherit;background-color:var(--buttonCounter-default-bgColor-rest)}.Button-label{line-height:var(--text-body-lineHeight-medium);white-space:nowrap;grid-area:text}.Button-leadingVisual{grid-area:leadingVisual}.Button-leadingVisual svg{fill:currentcolor}.Button-trailingVisual{grid-area:trailingVisual}.Button-trailingAction{margin-right:calc(var(--base-size-4)*-1)}.Button--small{min-width:var(--control-small-size);height:var(--control-small-size);padding:0 var(--control-small-paddingInline-condensed);font-size:var(--text-body-size-small);gap:var(--control-small-gap)}.Button--small .Button-label{line-height:var(--text-body-lineHeight-small)}:is(.Button--small .Button-content)>:not(:last-child){margin-right:var(--control-small-gap)}.Button--large{height:var(--control-large-size);padding:0 var(--control-large-paddingInline-spacious);gap:var(--control-large-gap)}.Button--large .Button-label{line-height:var(--text-body-lineHeight-large)}:is(.Button--large .Button-content)>:not(:last-child){margin-right:var(--control-large-gap)}.Button--large:has([data-kbd-chord]):not(.Button--link){padding-inline-end:var(--base-size-8)}.Button--fullWidth{width:100%}.Button--labelWrap{min-width:fit-content;height:unset;min-height:var(--control-medium-size)}.Button--labelWrap .Button-content{flex:1 1 auto;align-self:stretch;padding-block:calc(var(--control-medium-paddingBlock) - var(--base-size-2))}.Button--labelWrap .Button-label{white-space:unset}.Button--labelWrap.Button--small{height:unset;min-height:var(--control-small-size)}.Button--labelWrap.Button--small .Button-content{padding-block:calc(var(--control-small-paddingBlock) - var(--base-size-2))}.Button--labelWrap.Button--large{height:unset;min-height:var(--control-large-size);padding-inline:var(--control-large-paddingInline-spacious)}.Button--labelWrap.Button--large .Button-content{padding-block:calc(var(--control-large-paddingBlock) - var(--base-size-2))}.Button--primary{color:var(--button-primary-fgColor-rest);fill:var(--button-primary-iconColor-rest);background-color:var(--button-primary-bgColor-rest);border-color:var(--button-primary-borderColor-rest);box-shadow:var(--shadow-resting-small,var(--color-btn-primary-shadow))}.Button--primary.Button--iconOnly{color:var(--button-primary-iconColor-rest)}.Button--primary:hover:not(:disabled,.Button--inactive){background-color:var(--button-primary-bgColor-hover);border-color:var(--button-primary-borderColor-hover)}.Button--primary:focus{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:inset 0 0 0 3px var(--fgColor-onEmphasis)}.Button--primary:focus:not(:focus-visible){outline:1px solid #0000;box-shadow:none}.Button--primary:focus-visible{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:inset 0 0 0 3px var(--fgColor-onEmphasis)}.Button--primary:active:not(:disabled),.Button--primary[aria-pressed=true]{background-color:var(--button-primary-bgColor-active);box-shadow:var(--button-primary-shadow-selected)}.Button--primary:disabled,.Button--primary[aria-disabled=true]{color:var(--button-primary-fgColor-disabled);fill:var(--button-primary-fgColor-disabled);background-color:var(--button-primary-bgColor-disabled);border-color:var(--button-primary-borderColor-disabled)}:is(.Button--primary:disabled,.Button--primary[aria-disabled=true]) [data-kbd-chord]{color:var(--buttonKeybindingHint-primary-fgColor-disabled);background:var(--buttonKeybindingHint-primary-bgColor-disabled);border-color:var(--buttonKeybindingHint-primary-borderColor-disabled)}.Button--primary .Counter{color:inherit;background-color:var(--buttonCounter-primary-bgColor-rest)}.Button--primary [data-kbd-chord]{color:var(--buttonKeybindingHint-primary-fgColor-rest);background:var(--buttonKeybindingHint-primary-bgColor-rest);border-color:var(--buttonKeybindingHint-primary-borderColor-rest)}.Button--secondary{color:var(--button-default-fgColor-rest);fill:var(--fgColor-muted);background-color:var(--button-default-bgColor-rest);border-color:var(--button-default-borderColor-rest);box-shadow:var(--button-default-shadow-resting),var(--button-default-shadow-inset)}.Button--secondary:hover:not(:disabled,.Button--inactive){background-color:var(--button-default-bgColor-hover);border-color:var(--button-default-borderColor-hover)}.Button--secondary:active:not(:disabled){background-color:var(--button-default-bgColor-active);border-color:var(--button-default-borderColor-active)}.Button--secondary[aria-pressed=true]{background-color:var(--button-default-bgColor-selected);box-shadow:var(--shadow-inset)}.Button--secondary:disabled,.Button--secondary[aria-disabled=true]{color:var(--control-fgColor-disabled);fill:var(--control-fgColor-disabled);background-color:var(--button-default-bgColor-disabled);border-color:var(--button-default-borderColor-disabled)}:is(.Button--secondary:disabled,.Button--secondary[aria-disabled=true]) [data-kbd-chord]{color:var(--buttonKeybindingHint-default-fgColor-disabled);background:var(--buttonKeybindingHint-default-bgColor-disabled);border-color:var(--buttonKeybindingHint-default-borderColor-disabled)}.Button--secondary [data-kbd-chord]{color:var(--buttonKeybindingHint-default-fgColor-rest);background:var(--buttonKeybindingHint-default-bgColor-rest);border-color:var(--buttonKeybindingHint-default-borderColor-rest)}.Button--invisible{color:var(--button-invisible-fgColor-rest)}.Button--invisible.Button--iconOnly{color:var(--button-invisible-iconColor-rest,var(--color-fg-muted))}.Button--invisible:hover:not(:disabled,.Button--inactive){background-color:var(--control-transparent-bgColor-hover,var(--color-action-list-item-default-hover-bg))}.Button--invisible:active:not(:disabled),.Button--invisible[aria-pressed=true]{background-color:var(--button-invisible-bgColor-active)}.Button--invisible:disabled,.Button--invisible[aria-disabled=true]{color:var(--button-invisible-fgColor-disabled);fill:var(--button-invisible-fgColor-disabled);background-color:var(--button-invisible-bgColor-disabled);border-color:var(--button-invisible-borderColor-disabled)}:is(.Button--invisible:disabled,.Button--invisible[aria-disabled=true]) [data-kbd-chord]{color:var(--buttonKeybindingHint-invisible-fgColor-disabled);background:var(--buttonKeybindingHint-invisible-bgColor-disabled);border-color:var(--buttonKeybindingHint-invisible-borderColor-disabled)}.Button--invisible.Button--invisible-noVisuals .Button-label{color:var(--button-invisible-fgColor-rest)}.Button--invisible .Button-visual{color:var(--button-invisible-iconColor-rest,var(--color-fg-muted))}:is(.Button--invisible .Button-visual) .Counter{color:var(--fgColor-default)}.Button--invisible [data-kbd-chord]{color:var(--buttonKeybindingHint-invisible-fgColor-rest);background:var(--buttonKeybindingHint-invisible-bgColor-rest);border-color:var(--buttonKeybindingHint-invisible-borderColor-rest)}.Button--invisible:hover:not(:disabled,[aria-disabled=true],.Button--inactive) [data-kbd-chord]{background:var(--buttonKeybindingHint-invisible-bgColor-hover);transition:80ms ease-out}.Button--invisible:active:not(:disabled,[aria-disabled=true]) [data-kbd-chord]{background:var(--buttonKeybindingHint-invisible-bgColor-active);transition:80ms ease-out}.Button--link{display:inline-block;min-width:fit-content;height:unset;padding:0;font-size:inherit;color:var(--fgColor-link);fill:var(--fgColor-link);border:none}.Button--link:hover:not(:disabled,.Button--inactive){-webkit-text-decoration:underline;text-decoration:underline}.Button--link:focus,.Button--link:focus-visible{outline-offset:2px}.Button--link:disabled,.Button--link[aria-disabled=true]{color:var(--control-fgColor-disabled);fill:var(--control-fgColor-disabled);background-color:initial;border-color:#0000}.Button--link .Button-label{white-space:unset}.Button--danger{color:var(--button-danger-fgColor-rest);fill:var(--button-danger-iconColor-rest);background-color:var(--button-danger-bgColor-rest);border-color:var(--button-danger-borderColor-rest);box-shadow:var(--button-default-shadow-resting),var(--button-default-shadow-inset)}.Button--danger.Button--iconOnly{color:var(--button-danger-iconColor-rest)}.Button--danger:hover:not(:disabled,.Button--inactive){color:var(--button-danger-fgColor-hover);fill:var(--button-danger-fgColor-hover);background-color:var(--button-danger-bgColor-hover);border-color:var(--button-danger-borderColor-hover);box-shadow:var(--shadow-resting-small)}.Button--danger:hover:not(:disabled,.Button--inactive) .Counter{color:var(--buttonCounter-danger-fgColor-hover);background-color:var(--buttonCounter-danger-bgColor-hover)}.Button--danger:active:not(:disabled),.Button--danger[aria-pressed=true]{color:var(--button-danger-fgColor-active);fill:var(--button-danger-fgColor-active);background-color:var(--button-danger-bgColor-active);border-color:var(--button-danger-borderColor-active);box-shadow:var(--button-danger-shadow-selected)}.Button--danger:disabled,.Button--danger[aria-disabled=true]{color:var(--button-danger-fgColor-disabled);fill:var(--button-danger-fgColor-disabled);background-color:var(--button-danger-bgColor-disabled);border-color:var(--button-default-borderColor-disabled)}:is(.Button--danger:disabled,.Button--danger[aria-disabled=true]) .Counter{color:var(--buttonCounter-danger-fgColor-disabled);background-color:var(--buttonCounter-danger-bgColor-disabled)}:is(.Button--danger:disabled,.Button--danger[aria-disabled=true]) [data-kbd-chord]{color:var(--buttonKeybindingHint-danger-fgColor-disabled);background:var(--buttonKeybindingHint-danger-bgColor-disabled);border-color:var(--buttonKeybindingHint-danger-borderColor-disabled)}.Button--danger .Counter{color:var(--buttonCounter-danger-fgColor-rest);background-color:var(--buttonCounter-danger-bgColor-rest)}.Button--danger [data-kbd-chord]{color:var(--buttonKeybindingHint-danger-fgColor-rest);background:var(--buttonKeybindingHint-danger-bgColor-rest);border-color:var(--buttonKeybindingHint-danger-borderColor-rest)}.Button--danger:hover:not(:disabled,[aria-disabled=true],.Button--inactive) [data-kbd-chord]{color:var(--buttonKeybindingHint-danger-fgColor-hover);background:var(--buttonKeybindingHint-danger-bgColor-hover);border-color:var(--buttonKeybindingHint-danger-borderColor-hover);transition:80ms ease-out}.Button--danger:active:not(:disabled,[aria-disabled=true]) [data-kbd-chord]{color:var(--buttonKeybindingHint-danger-fgColor-active);background:var(--buttonKeybindingHint-danger-bgColor-active);border-color:var(--buttonKeybindingHint-danger-borderColor-active);transition:80ms ease-out}.Button--iconOnly{display:inline-grid;width:var(--control-medium-size);padding:unset;place-content:center}.Button--iconOnly.Button--small{width:var(--control-small-size)}.Button--iconOnly.Button--large{width:var(--control-large-size)}.Button--inactive:not([aria-disabled=true],:disabled){color:var(--button-inactive-fgColor);cursor:default;background-color:var(--button-inactive-bgColor);border:0}.Button--inactive:not([aria-disabled=true],:disabled) [data-kbd-chord]{color:var(--buttonKeybindingHint-inactive-fgColor);background:var(--buttonKeybindingHint-inactive-bgColor);border-color:var(--buttonKeybindingHint-inactive-borderColor)}
|
|
1
|
+
:root{--duration-fast:80ms;--easing-easeInOut:cubic-bezier(0.65, 0, 0.35, 1)}.Button{position:relative;display:inline-flex;min-width:max-content;height:var(--control-medium-size);padding:0 var(--control-medium-paddingInline-normal);font-size:var(--text-body-size-medium);font-weight:var(--base-text-weight-medium);color:var(--button-default-fgColor-rest);text-align:center;cursor:pointer;flex-direction:row;-webkit-user-select:none;user-select:none;background-color:initial;border:var(--borderWidth-thin) solid;border-color:#0000;border-radius:var(--borderRadius-medium);transition:var(--duration-fast) var(--easing-easeInOut);transition-property:color,fill,background-color,border-color;justify-content:space-between;align-items:center;gap:var(--base-size-4)}@media(pointer:coarse){:is(){position:absolute;top:50%;left:50%;width:100%;height:100%;min-height:48px;content:"";transform:translateX(-50%) translateY(-50%);min-width:48px}}.Button:hover{transition-duration:var(--duration-fast)}.Button:active{transition:none}.Button:disabled,.Button[aria-disabled=true]{cursor:not-allowed;box-shadow:none}.Button:has([data-kbd-chord]):not(.Button--link){padding-inline-end:var(--base-size-6)}.Button.Button--iconOnly{color:var(--fgColor-muted)}:is(a.Button,summary.Button):hover{-webkit-text-decoration:none;text-decoration:none}.Button-content{flex:1 0 auto;display:grid;grid-template-areas:"leadingVisual text trailingVisual";grid-template-columns:min-content minmax(0,auto) min-content;align-items:center;place-content:center}.Button-content>:not(:last-child){margin-right:var(--control-medium-gap)}.Button-content--alignStart{justify-content:start}.Button-visual{display:flex;pointer-events:none}.Button-visual .Counter{color:inherit;background-color:var(--buttonCounter-default-bgColor-rest)}.Button-label{line-height:var(--text-body-lineHeight-medium);white-space:nowrap;grid-area:text}.Button-leadingVisual{grid-area:leadingVisual}.Button-leadingVisual svg{fill:currentcolor}.Button-trailingVisual{grid-area:trailingVisual}.Button-trailingAction{margin-right:calc(var(--base-size-4) * -1)}.Button--small{min-width:var(--control-small-size);height:var(--control-small-size);padding:0 var(--control-small-paddingInline-condensed);font-size:var(--text-body-size-small);gap:var(--control-small-gap)}.Button--small .Button-label{line-height:var(--text-body-lineHeight-small)}:is(.Button--small .Button-content)>:not(:last-child){margin-right:var(--control-small-gap)}.Button--large{height:var(--control-large-size);padding:0 var(--control-large-paddingInline-spacious);gap:var(--control-large-gap)}.Button--large .Button-label{line-height:var(--text-body-lineHeight-large)}:is(.Button--large .Button-content)>:not(:last-child){margin-right:var(--control-large-gap)}.Button--large:has([data-kbd-chord]):not(.Button--link){padding-inline-end:var(--base-size-8)}.Button--fullWidth{width:100%}.Button--labelWrap{min-width:fit-content;height:unset;min-height:var(--control-medium-size)}.Button--labelWrap .Button-content{flex:1 1 auto;align-self:stretch;padding-block:calc(var(--control-medium-paddingBlock) - var(--base-size-2))}.Button--labelWrap .Button-label,.Button--link .Button-label{white-space:unset}.Button--labelWrap.Button--small{height:unset;min-height:var(--control-small-size)}.Button--labelWrap.Button--small .Button-content{padding-block:calc(var(--control-small-paddingBlock) - var(--base-size-2))}.Button--labelWrap.Button--large{height:unset;min-height:var(--control-large-size);padding-inline:var(--control-large-paddingInline-spacious)}.Button--labelWrap.Button--large .Button-content{padding-block:calc(var(--control-large-paddingBlock) - var(--base-size-2))}.Button--primary{color:var(--button-primary-fgColor-rest);fill:var(--button-primary-iconColor-rest);background-color:var(--button-primary-bgColor-rest);border-color:var(--button-primary-borderColor-rest);box-shadow:var(--shadow-resting-small,var(--color-btn-primary-shadow))}.Button--primary.Button--iconOnly{color:var(--button-primary-iconColor-rest)}.Button--primary:hover:not(:disabled,.Button--inactive){background-color:var(--button-primary-bgColor-hover);border-color:var(--button-primary-borderColor-hover)}.Button--primary:focus{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:inset 0 0 0 3px var(--fgColor-onEmphasis)}.Button--primary:focus:not(:focus-visible){outline:1px solid #0000;box-shadow:none}.Button--primary:focus-visible{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:inset 0 0 0 3px var(--fgColor-onEmphasis)}.Button--primary:active:not(:disabled),.Button--primary[aria-pressed=true]{background-color:var(--button-primary-bgColor-active);box-shadow:var(--button-primary-shadow-selected)}.Button--primary:disabled,.Button--primary[aria-disabled=true]{color:var(--button-primary-fgColor-disabled);fill:var(--button-primary-fgColor-disabled);background-color:var(--button-primary-bgColor-disabled);border-color:var(--button-primary-borderColor-disabled)}:is(.Button--primary:disabled,.Button--primary[aria-disabled=true]) [data-kbd-chord]{color:var(--buttonKeybindingHint-primary-fgColor-disabled);background:var(--buttonKeybindingHint-primary-bgColor-disabled);border-color:var(--buttonKeybindingHint-primary-borderColor-disabled)}.Button--primary .Counter{color:inherit;background-color:var(--buttonCounter-primary-bgColor-rest)}.Button--primary [data-kbd-chord]{color:var(--buttonKeybindingHint-primary-fgColor-rest);background:var(--buttonKeybindingHint-primary-bgColor-rest);border-color:var(--buttonKeybindingHint-primary-borderColor-rest)}.Button--secondary{color:var(--button-default-fgColor-rest);fill:var(--fgColor-muted);background-color:var(--button-default-bgColor-rest);border-color:var(--button-default-borderColor-rest);box-shadow:var(--button-default-shadow-resting),var(--button-default-shadow-inset)}.Button--secondary:hover:not(:disabled,.Button--inactive){background-color:var(--button-default-bgColor-hover);border-color:var(--button-default-borderColor-hover)}.Button--secondary:active:not(:disabled){background-color:var(--button-default-bgColor-active);border-color:var(--button-default-borderColor-active)}.Button--secondary[aria-pressed=true]{background-color:var(--button-default-bgColor-selected);box-shadow:var(--shadow-inset)}.Button--secondary:disabled,.Button--secondary[aria-disabled=true]{color:var(--control-fgColor-disabled);fill:var(--control-fgColor-disabled);background-color:var(--button-default-bgColor-disabled);border-color:var(--button-default-borderColor-disabled)}:is(.Button--secondary:disabled,.Button--secondary[aria-disabled=true]) [data-kbd-chord]{color:var(--buttonKeybindingHint-default-fgColor-disabled);background:var(--buttonKeybindingHint-default-bgColor-disabled);border-color:var(--buttonKeybindingHint-default-borderColor-disabled)}.Button--secondary [data-kbd-chord]{color:var(--buttonKeybindingHint-default-fgColor-rest);background:var(--buttonKeybindingHint-default-bgColor-rest);border-color:var(--buttonKeybindingHint-default-borderColor-rest)}.Button--invisible{color:var(--button-invisible-fgColor-rest)}.Button--invisible.Button--iconOnly{color:var(--button-invisible-iconColor-rest,var(--color-fg-muted))}.Button--invisible:hover:not(:disabled,.Button--inactive){background-color:var(--control-transparent-bgColor-hover,var(--color-action-list-item-default-hover-bg))}.Button--invisible:active:not(:disabled),.Button--invisible[aria-pressed=true]{background-color:var(--button-invisible-bgColor-active)}.Button--invisible:disabled,.Button--invisible[aria-disabled=true]{color:var(--button-invisible-fgColor-disabled);fill:var(--button-invisible-fgColor-disabled);background-color:var(--button-invisible-bgColor-disabled);border-color:var(--button-invisible-borderColor-disabled)}:is(.Button--invisible:disabled,.Button--invisible[aria-disabled=true]) [data-kbd-chord]{color:var(--buttonKeybindingHint-invisible-fgColor-disabled);background:var(--buttonKeybindingHint-invisible-bgColor-disabled);border-color:var(--buttonKeybindingHint-invisible-borderColor-disabled)}.Button--invisible.Button--invisible-noVisuals .Button-label{color:var(--button-invisible-fgColor-rest)}.Button--invisible .Button-visual{color:var(--button-invisible-iconColor-rest,var(--color-fg-muted))}:is(.Button--invisible .Button-visual) .Counter{color:var(--fgColor-default)}.Button--invisible [data-kbd-chord]{color:var(--buttonKeybindingHint-invisible-fgColor-rest);background:var(--buttonKeybindingHint-invisible-bgColor-rest);border-color:var(--buttonKeybindingHint-invisible-borderColor-rest)}.Button--invisible:hover:not(:disabled,[aria-disabled=true],.Button--inactive) [data-kbd-chord]{background:var(--buttonKeybindingHint-invisible-bgColor-hover);transition:80ms ease-out}.Button--invisible:active:not(:disabled,[aria-disabled=true]) [data-kbd-chord]{background:var(--buttonKeybindingHint-invisible-bgColor-active);transition:80ms ease-out}.Button--link{display:inline-block;min-width:fit-content;height:unset;padding:0;font-size:inherit;color:var(--fgColor-link);fill:var(--fgColor-link);border:none}.Button--link:hover:not(:disabled,.Button--inactive){-webkit-text-decoration:underline;text-decoration:underline}.Button--link:focus,.Button--link:focus-visible{outline-offset:2px}.Button--link:disabled,.Button--link[aria-disabled=true]{color:var(--control-fgColor-disabled);fill:var(--control-fgColor-disabled);background-color:initial;border-color:#0000}.Button--danger{color:var(--button-danger-fgColor-rest);fill:var(--button-danger-iconColor-rest);background-color:var(--button-danger-bgColor-rest);border-color:var(--button-danger-borderColor-rest);box-shadow:var(--button-default-shadow-resting),var(--button-default-shadow-inset)}.Button--danger.Button--iconOnly{color:var(--button-danger-iconColor-rest)}.Button--danger:hover:not(:disabled,.Button--inactive){color:var(--button-danger-fgColor-hover);fill:var(--button-danger-fgColor-hover);background-color:var(--button-danger-bgColor-hover);border-color:var(--button-danger-borderColor-hover);box-shadow:var(--shadow-resting-small)}.Button--danger:hover:not(:disabled,.Button--inactive) .Counter{color:var(--buttonCounter-danger-fgColor-hover);background-color:var(--buttonCounter-danger-bgColor-hover)}.Button--danger:active:not(:disabled),.Button--danger[aria-pressed=true]{color:var(--button-danger-fgColor-active);fill:var(--button-danger-fgColor-active);background-color:var(--button-danger-bgColor-active);border-color:var(--button-danger-borderColor-active);box-shadow:var(--button-danger-shadow-selected)}.Button--danger:disabled,.Button--danger[aria-disabled=true]{color:var(--button-danger-fgColor-disabled);fill:var(--button-danger-fgColor-disabled);background-color:var(--button-danger-bgColor-disabled);border-color:var(--button-default-borderColor-disabled)}:is(.Button--danger:disabled,.Button--danger[aria-disabled=true]) .Counter{color:var(--buttonCounter-danger-fgColor-disabled);background-color:var(--buttonCounter-danger-bgColor-disabled)}:is(.Button--danger:disabled,.Button--danger[aria-disabled=true]) [data-kbd-chord]{color:var(--buttonKeybindingHint-danger-fgColor-disabled);background:var(--buttonKeybindingHint-danger-bgColor-disabled);border-color:var(--buttonKeybindingHint-danger-borderColor-disabled)}.Button--danger .Counter{color:var(--buttonCounter-danger-fgColor-rest);background-color:var(--buttonCounter-danger-bgColor-rest)}.Button--danger [data-kbd-chord]{color:var(--buttonKeybindingHint-danger-fgColor-rest);background:var(--buttonKeybindingHint-danger-bgColor-rest);border-color:var(--buttonKeybindingHint-danger-borderColor-rest)}.Button--danger:hover:not(:disabled,[aria-disabled=true],.Button--inactive) [data-kbd-chord]{color:var(--buttonKeybindingHint-danger-fgColor-hover);background:var(--buttonKeybindingHint-danger-bgColor-hover);border-color:var(--buttonKeybindingHint-danger-borderColor-hover);transition:80ms ease-out}.Button--danger:active:not(:disabled,[aria-disabled=true]) [data-kbd-chord]{color:var(--buttonKeybindingHint-danger-fgColor-active);background:var(--buttonKeybindingHint-danger-bgColor-active);border-color:var(--buttonKeybindingHint-danger-borderColor-active);transition:80ms ease-out}.Button--iconOnly{display:inline-grid;width:var(--control-medium-size);padding:unset;place-content:center}.Button--iconOnly.Button--small{width:var(--control-small-size)}.Button--iconOnly.Button--large{width:var(--control-large-size)}.Button--inactive:not([aria-disabled=true],:disabled){color:var(--button-inactive-fgColor);cursor:default;background-color:var(--button-inactive-bgColor);border:0}.Button--inactive:not([aria-disabled=true],:disabled) [data-kbd-chord]{color:var(--buttonKeybindingHint-inactive-fgColor);background:var(--buttonKeybindingHint-inactive-bgColor);border-color:var(--buttonKeybindingHint-inactive-borderColor)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.Counter{display:inline-block;min-width:var(--base-size-20);padding:0 var(--base-size-6);font-size:var(--text-body-size-small);font-weight:var(--base-text-weight-medium);line-height:calc(var(--base-size-20) - var(--borderWidth-thin)*2);color:var(--fgColor-default);text-align:center;background-color:var(--bgColor-neutral-muted,var(--color-neutral-muted));border:var(--borderWidth-thin) solid var(--counter-borderColor);border-radius:2em}.Counter:empty{display:none}.Counter .octicon{vertical-align:text-top;opacity:.8}.Counter--primary{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-neutral-emphasis)}.Counter--secondary{color:var(--fgColor-muted);background-color:var(--bgColor-neutral-muted)}
|
|
1
|
+
.Counter{display:inline-block;min-width:var(--base-size-20);padding:0 var(--base-size-6);font-size:var(--text-body-size-small);font-weight:var(--base-text-weight-medium);line-height:calc(var(--base-size-20) - var(--borderWidth-thin) * 2);color:var(--fgColor-default);text-align:center;background-color:var(--bgColor-neutral-muted,var(--color-neutral-muted));border:var(--borderWidth-thin) solid var(--counter-borderColor);border-radius:2em}.Counter:empty{display:none}.Counter .octicon{vertical-align:text-top;opacity:.8}.Counter--primary{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-neutral-emphasis)}.Counter--secondary{color:var(--fgColor-muted);background-color:var(--bgColor-neutral-muted)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.flash:not(.Banner){position:relative;padding:var(--base-size-20) var(--control-medium-paddingInline-spacious);color:var(--fgColor-default);background-image:linear-gradient(var(--bgColor-accent-muted),var(--bgColor-accent-muted));border-color:var(--borderColor-accent-muted);border-style:solid;border-width:var(--borderWidth-thin);border-radius:var(--borderRadius-medium)}.flash:not(.Banner) .octicon{margin-right:var(--base-size-12);color:var(--fgColor-accent)}.flash:not(.Banner) p:last-child{margin-bottom:0}.flash-messages{margin-bottom:var(--stack-gap-spacious)}.flash-close:not(.Banner-close){float:right;margin-top:calc(var(--base-size-4)
|
|
1
|
+
.flash:not(.Banner){position:relative;padding:var(--base-size-20) var(--control-medium-paddingInline-spacious);color:var(--fgColor-default);background-image:linear-gradient(var(--bgColor-accent-muted),var(--bgColor-accent-muted));border-color:var(--borderColor-accent-muted);border-style:solid;border-width:var(--borderWidth-thin);border-radius:var(--borderRadius-medium)}.flash:not(.Banner) .octicon{margin-right:var(--base-size-12);color:var(--fgColor-accent)}.flash:not(.Banner) p:last-child{margin-bottom:0}.flash-messages{margin-bottom:var(--stack-gap-spacious)}.flash-close:not(.Banner-close){float:right;margin-top:calc(var(--base-size-4) * -1);text-align:center;cursor:pointer;background:none;border:0;appearance:none}.flash-close:not(.Banner-close):hover{opacity:.7}.flash-close:not(.Banner-close):active{opacity:.5}.flash-close:not(.Banner-close) .octicon{margin-right:0}.flash-action:not(.Banner-actions){float:right;margin-top:-3px;margin-left:var(--stack-gap-spacious);background-clip:padding-box}.flash-action.btn:not(.Banner-actions) .octicon{margin-right:var(--control-small-gap);color:var(--fgColor-muted)}.flash-action.btn-primary:not(.Banner-actions){background-clip:initial}.flash-action.btn-primary:not(.Banner-actions) .octicon{color:inherit}.flash-warn:not(.Banner){color:var(--fgColor-default);background-image:linear-gradient(var(--bgColor-attention-muted),var(--bgColor-attention-muted));border-color:var(--borderColor-attention-muted)}.flash-warn:not(.Banner) .octicon{color:var(--fgColor-attention)}.flash-error:not(.Banner){color:var(--fgColor-default);background-image:linear-gradient(var(--bgColor-danger-muted),var(--bgColor-danger-muted));border-color:var(--borderColor-danger-muted)}.flash-error:not(.Banner) .octicon{color:var(--fgColor-danger)}.flash-success:not(.Banner){color:var(--fgColor-default);background-image:linear-gradient(var(--bgColor-success-muted),var(--bgColor-success-muted));border-color:var(--borderColor-success-muted)}.flash-success:not(.Banner) .octicon{color:var(--fgColor-success)}.flash-full:not(.Banner){margin-top:calc(var(--borderWidth-thin) * -1);border-width:var(--borderWidth-thin) 0;border-radius:0}.flash-banner{position:fixed;top:0;z-index:90;width:100%;border-top:0;border-right:0;border-left:0;border-radius:0}.flash-banner,.flash-full{background-color:var(--bgColor-default)}.warning{padding:.5em;margin-bottom:.8em;font-weight:var(--base-text-weight-semibold);background-color:var(--bgColor-attention-muted)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.Link{color:var(--fgColor-accent);-webkit-text-decoration:none;text-decoration:none}.Link:hover{cursor:pointer}.Link:focus,.Link:hover{-webkit-text-decoration:underline;text-decoration:underline}.Link:focus,.Link:focus-visible{outline-offset:0}.Link--
|
|
1
|
+
.Link{color:var(--fgColor-accent);-webkit-text-decoration:none;text-decoration:none}.Link:hover{cursor:pointer}.Link--underline,.Link:focus,.Link:hover{-webkit-text-decoration:underline;text-decoration:underline}.Link:focus,.Link:focus-visible{outline-offset:0}.Link--primary{color:var(--fgColor-default)!important}.Link--primary:hover{color:var(--fgColor-accent)!important}.Link--secondary{color:var(--fgColor-muted)!important}.Link--secondary:hover{color:var(--fgColor-accent)!important}.Link--muted{color:var(--fgColor-muted)!important}.Link--muted:hover{color:var(--fgColor-accent)!important;-webkit-text-decoration:none;text-decoration:none}.Link--onHover:hover{color:var(--fgColor-accent)!important;-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer}:is(.Link--secondary,.Link--primary,.Link--muted):hover [class*=color-fg]{color:inherit!important}.Link-content{display:inline-flex;align-items:center;line-height:normal;gap:var(--base-size-4);text-decoration:inherit}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.Popover{position:absolute;z-index:100}.Popover-message{position:relative;width:232px;margin-right:auto;margin-left:auto;background-color:var(--overlay-bgColor);border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium);box-shadow:var(--shadow-floating-legacy,var(--color-shadow-large))!important}.Popover-message:after,.Popover-message:before{position:absolute;left:50%;display:inline-block;content:""}.Popover-message:before{top:-16px;margin-left:-9px;border:8px solid #0000;border-bottom:
|
|
1
|
+
.Popover{position:absolute;z-index:100}.Popover-message{position:relative;width:232px;margin-right:auto;margin-left:auto;background-color:var(--overlay-bgColor);border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium);box-shadow:var(--shadow-floating-legacy,var(--color-shadow-large))!important}.Popover-message:after,.Popover-message:before{position:absolute;left:50%;display:inline-block;content:""}.Popover-message:before{top:-16px;margin-left:-9px;border:8px solid #0000;border-bottom-color:var(--borderColor-default)}.Popover-message:after{top:-14px;margin-left:-8px;border:7px solid #0000;border-bottom-color:var(--overlay-bgColor)}.Popover-message--no-caret:after,.Popover-message--no-caret:before{display:none}.Popover-message--bottom-left:after,.Popover-message--bottom-left:before,.Popover-message--bottom-right:after,.Popover-message--bottom-right:before,.Popover-message--bottom:after,.Popover-message--bottom:before{top:auto;border-bottom-color:#0000}.Popover-message--bottom-left:before,.Popover-message--bottom-right:before,.Popover-message--bottom:before{bottom:-16px;border-top-color:var(--borderColor-default)}.Popover-message--bottom-left:after,.Popover-message--bottom-right:after,.Popover-message--bottom:after{bottom:-14px;border-top-color:var(--overlay-bgColor)}.Popover-message--bottom-right,.Popover-message--top-right{right:-9px;margin-right:0}.Popover-message--bottom-right:after,.Popover-message--bottom-right:before,.Popover-message--top-right:after,.Popover-message--top-right:before{left:auto;margin-left:0}.Popover-message--bottom-right:before,.Popover-message--top-right:before{right:var(--base-size-20)}.Popover-message--bottom-right:after,.Popover-message--top-right:after{right:var(--base-size-20);margin-right:1px}.Popover-message--bottom-left,.Popover-message--top-left{left:-9px;margin-left:0}.Popover-message--bottom-left:after,.Popover-message--bottom-left:before,.Popover-message--top-left:after,.Popover-message--top-left:before{left:var(--base-size-24);margin-left:0}.Popover-message--bottom-left:after,.Popover-message--top-left:after{left:var(--base-size-24);margin-left:1px}.Popover-message--left-bottom:after,.Popover-message--left-bottom:before,.Popover-message--left-top:after,.Popover-message--left-top:before,.Popover-message--left:after,.Popover-message--left:before,.Popover-message--right-bottom:after,.Popover-message--right-bottom:before,.Popover-message--right-top:after,.Popover-message--right-top:before,.Popover-message--right:after,.Popover-message--right:before{top:50%;left:auto;margin-left:0;border-bottom-color:#0000}.Popover-message--left-bottom:before,.Popover-message--left-top:before,.Popover-message--left:before,.Popover-message--right-bottom:before,.Popover-message--right-top:before,.Popover-message--right:before{margin-top:-9px}.Popover-message--left-bottom:after,.Popover-message--left-top:after,.Popover-message--left:after,.Popover-message--right-bottom:after,.Popover-message--right-top:after,.Popover-message--right:after{margin-top:-8px}.Popover-message--right-bottom:before,.Popover-message--right-top:before,.Popover-message--right:before{right:-16px;border-left-color:var(--borderColor-default)}.Popover-message--right-bottom:after,.Popover-message--right-top:after,.Popover-message--right:after{right:-14px;border-left-color:var(--overlay-bgColor)}.Popover-message--left-bottom:before,.Popover-message--left-top:before,.Popover-message--left:before{left:-16px;border-right-color:var(--borderColor-default)}.Popover-message--left-bottom:after,.Popover-message--left-top:after,.Popover-message--left:after{left:-14px;margin-bottom:1px;border-right-color:var(--overlay-bgColor)}.Popover-message--left-top:after,.Popover-message--left-top:before,.Popover-message--right-top:after,.Popover-message--right-top:before{top:var(--base-size-24)}.Popover-message--left-bottom:after,.Popover-message--left-bottom:before,.Popover-message--right-bottom:after,.Popover-message--right-bottom:before{top:auto}.Popover-message--left-bottom:before,.Popover-message--right-bottom:before{bottom:var(--base-size-16)}.Popover-message--left-bottom:after,.Popover-message--right-bottom:after{bottom:var(--base-size-16);margin-bottom:1px}@media(min-width:544px){.Popover-message--large{min-width:320px}}@media(max-width:767.98px){.Popover{position:fixed;inset:auto 0 0!important}.Popover-message{inset:auto;width:auto!important;margin:var(--stack-gap-condensed)}.Popover-message>.btn-octicon{padding:var(--control-medium-paddingInline-normal)!important}.Popover-message:after,.Popover-message:before{display:none}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.Progress{display:flex;height:8px;overflow:hidden;background-color:var(--progressBar-track-bgColor);border-radius:var(--borderRadius-medium);outline:solid 1px var(--progressBar-track-borderColor);outline-offset:-1px}.Progress--large{height:10px}.Progress--small{height:5px}.Progress-item{outline:2px solid #0000;background:LinkText}.Progress-item+.Progress-item{margin-left:var(--base-size-2)}@media
|
|
1
|
+
.Progress{display:flex;height:8px;overflow:hidden;background-color:var(--progressBar-track-bgColor);border-radius:var(--borderRadius-medium);outline:solid 1px var(--progressBar-track-borderColor);outline-offset:-1px}.Progress--large{height:10px}.Progress--small{height:5px}.Progress-item{outline:2px solid #0000;background:LinkText}.Progress-item+.Progress-item{margin-left:var(--base-size-2)}@media(forced-colors:active){:root{--progressBar-track-bgColor:CanvasText}.Progress,.Progress-item{forced-color-adjust:none}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.State,.state{display:inline-block;padding:var(--base-size-4) var(--control-medium-paddingInline-normal);font-size:var(--text-body-size-medium);font-weight:var(--base-text-weight-medium);line-height:var(--base-size-20);text-align:center;white-space:nowrap;border-radius:2em}.State,.State--draft,.state{
|
|
1
|
+
.State,.state{display:inline-block;padding:var(--base-size-4) var(--control-medium-paddingInline-normal);font-size:var(--text-body-size-medium);font-weight:var(--base-text-weight-medium);line-height:var(--base-size-20);text-align:center;white-space:nowrap;border-radius:2em}.State,.State--draft,.state{background-color:var(--bgColor-draft-emphasis,var(--bgColor-neutral-emphasis));border:var(--borderWidth-thin) solid #0000;box-shadow:var(--boxShadow-thin) var(--borderColor-draft-emphasis,var(--borderColor-neutral-emphasis))}.State,.State--closed,.State--draft,.State--merged,.State--open,.state{color:var(--fgColor-onEmphasis)}.State--open{background-color:var(--bgColor-open-emphasis,var(--color-open-emphasis));box-shadow:var(--boxShadow-thin) var(--borderColor-open-emphasis)}.State--merged{background-color:var(--bgColor-done-emphasis,var(--color-done-emphasis));box-shadow:var(--boxShadow-thin) var(--borderColor-done-emphasis)}.State--closed{background-color:var(--bgColor-closed-emphasis,var(--color-closed-emphasis));box-shadow:var(--boxShadow-thin) var(--borderColor-closed-emphasis)}.State--small{padding:0 10px;font-size:var(--text-body-size-small);line-height:var(--base-size-24)}.State--small .octicon{width:1em}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.TimelineItem{position:relative;display:flex;padding:var(--stack-padding-normal) 0;margin-left:var(--stack-gap-normal)}.TimelineItem:before{position:absolute;top:0;bottom:0;left:0;display:block;width:var(--borderWidth-thick);content:"";background-color:var(--borderColor-muted)}.TimelineItem:target .TimelineItem-badge{border-color:var(--borderColor-accent-emphasis);box-shadow:0 0 .2em var(--borderColor-accent-muted)}.TimelineItem-badge{position:relative;z-index:1;display:flex;width:var(--control-medium-size);height:var(--control-medium-size);margin-right:var(--controlStack-medium-gap-condensed);margin-left:calc(var(--control-medium-size)
|
|
1
|
+
.TimelineItem{position:relative;display:flex;padding:var(--stack-padding-normal) 0;margin-left:var(--stack-gap-normal)}.TimelineItem:before{position:absolute;top:0;bottom:0;left:0;display:block;width:var(--borderWidth-thick);content:"";background-color:var(--borderColor-muted)}.TimelineItem:target .TimelineItem-badge{border-color:var(--borderColor-accent-emphasis);box-shadow:0 0 .2em var(--borderColor-accent-muted)}.TimelineItem-badge{position:relative;z-index:1;display:flex;width:var(--control-medium-size);height:var(--control-medium-size);margin-right:var(--controlStack-medium-gap-condensed);margin-left:calc(1px + var(--control-medium-size) / -2);color:var(--fgColor-muted);align-items:center;background-color:var(--timelineBadge-bgColor);border:var(--borderWidth-thick) solid var(--bgColor-default);border-radius:50%;justify-content:center;flex-shrink:0}.TimelineItem-badge--success{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-success-emphasis);border:var(--borderWidth-thin) solid #0000}.TimelineItem-body{min-width:0;max-width:100%;margin-top:calc(1px + var(--base-size-4));color:var(--fgColor-muted);flex:auto}.TimelineItem-avatar{position:absolute;left:-72px;z-index:1}.TimelineItem-break{position:relative;z-index:1;height:var(--stack-gap-spacious);margin:0;margin-bottom:calc(var(--stack-gap-normal) * -1);margin-left:-56px;background-color:var(--bgColor-default);border:0;border-top:var(--borderWidth-thicker) solid var(--borderColor-default)}.TimelineItem--condensed{padding-top:var(--base-size-4);padding-bottom:0}.TimelineItem--condensed:last-child{padding-bottom:var(--stack-gap-normal)}.TimelineItem--condensed .TimelineItem-badge{height:var(--base-size-16);margin-top:var(--base-size-8);margin-bottom:var(--base-size-8);color:var(--fgColor-muted);background-color:var(--bgColor-default);border:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.BorderGrid{display:table;width:100%;margin-top:calc(var(--base-size-16)
|
|
1
|
+
.BorderGrid{display:table;width:100%;margin-top:calc(-1 * var(--base-size-16));margin-bottom:calc(-1 * var(--base-size-16));table-layout:fixed;border-collapse:collapse;border-style:hidden}.BorderGrid .BorderGrid-cell{padding-top:var(--base-size-16);padding-bottom:var(--base-size-16)}.BorderGrid--spacious{margin-top:calc(-1 * var(--base-size-24));margin-bottom:calc(-1 * var(--base-size-24))}.BorderGrid--spacious .BorderGrid-cell{padding-top:var(--base-size-24);padding-bottom:var(--base-size-24)}.BorderGrid-row{display:table-row}.BorderGrid-cell{display:table-cell;border:var(--borderWidth-thin) solid var(--borderColor-muted)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ColorField{display:block}.ColorField .ColorField-wrap .FormControl-input{padding-inline-start:calc(var(--base-size-4) + var(--base-size-24) + var(--base-size-8))}.ColorField .ColorField-swatch{position:absolute;inset-block:0;inset-inline-start:var(--base-size-4);display:flex;align-items:center}.ColorField .ColorField-picker{width:var(--base-size-24);height:var(--base-size-24);padding:0;cursor:pointer;background-color:var(--bgColor-muted);border:0;border-radius:var(--borderRadius-small);outline:var(--borderWidth-thin) solid var(--borderColor-translucent);outline-offset:calc(var(--borderWidth-thin)
|
|
1
|
+
.ColorField{display:block}.ColorField .ColorField-wrap .FormControl-input{padding-inline-start:calc(var(--base-size-4) + var(--base-size-24) + var(--base-size-8))}.ColorField .ColorField-swatch{position:absolute;inset-block:0;inset-inline-start:var(--base-size-4);display:flex;align-items:center}.ColorField .ColorField-picker{width:var(--base-size-24);height:var(--base-size-24);padding:0;cursor:pointer;background-color:var(--bgColor-muted);border:0;border-radius:var(--borderRadius-small);outline:var(--borderWidth-thin) solid var(--borderColor-translucent);outline-offset:calc(var(--borderWidth-thin) * -1);appearance:none;forced-color-adjust:none}:is(.ColorField .ColorField-picker):disabled{cursor:default}:is(.ColorField .ColorField-picker):focus-visible{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:none}:is(.ColorField .ColorField-picker)::-webkit-color-swatch-wrapper{padding:0}:is(.ColorField .ColorField-picker)::-webkit-color-swatch{border:0;border-radius:var(--borderRadius-small)}:is(.ColorField .ColorField-picker)::-moz-color-swatch{border:0;border-radius:var(--borderRadius-small)}.ColorField[data-blank] .ColorField-picker{outline-style:dashed}.ColorField[data-empty] .ColorField-picker::-webkit-color-swatch{opacity:0}.ColorField[data-empty] .ColorField-picker::-moz-color-swatch{opacity:0}.ColorField:not(:defined) .ColorField-picker:disabled{opacity:1}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.InlineMessage{display:grid;font-size:var(--inline-message-fontSize);line-height:var(--inline-message-lineHeight);color:var(--inline-message-fgColor);column-gap:.5rem;grid-template-columns:auto 1fr;align-items:start}.InlineMessage[data-size=small]{--inline-message-fontSize:var(--text-body-size-small);--inline-message-lineHeight:var(--text-body-lineHeight-small,1.6666)}.InlineMessage[data-size=medium]{--inline-message-fontSize:var(--text-body-size-medium);--inline-message-lineHeight:var(--text-body-lineHeight-medium,1.4285)}.InlineMessage[data-variant=warning]{--inline-message-fgColor:var(--fgColor-attention)}.InlineMessage[data-variant=critical]{--inline-message-fgColor:var(--fgColor-danger)}.InlineMessage[data-variant=success]{--inline-message-fgColor:var(--fgColor-success)}.InlineMessage[data-variant=unavailable]{--inline-message-fgColor:var(--fgColor-muted)}.InlineMessageIcon{min-height:calc(var(--inline-message-lineHeight)*var(--inline-message-fontSize))}
|
|
1
|
+
.InlineMessage{display:grid;font-size:var(--inline-message-fontSize);line-height:var(--inline-message-lineHeight);color:var(--inline-message-fgColor);column-gap:.5rem;grid-template-columns:auto 1fr;align-items:start}.InlineMessage[data-size=small]{--inline-message-fontSize:var(--text-body-size-small);--inline-message-lineHeight:var(--text-body-lineHeight-small, 1.6666)}.InlineMessage[data-size=medium]{--inline-message-fontSize:var(--text-body-size-medium);--inline-message-lineHeight:var(--text-body-lineHeight-medium, 1.4285)}.InlineMessage[data-variant=warning]{--inline-message-fgColor:var(--fgColor-attention)}.InlineMessage[data-variant=critical]{--inline-message-fgColor:var(--fgColor-danger)}.InlineMessage[data-variant=success]{--inline-message-fgColor:var(--fgColor-success)}.InlineMessage[data-variant=unavailable]{--inline-message-fgColor:var(--fgColor-muted)}.InlineMessageIcon{min-height:calc(var(--inline-message-lineHeight) * var(--inline-message-fontSize))}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.InputGroup.InputGroup-input-width--auto{width:auto}.InputGroup.InputGroup-input-width--xsmall{max-width:min(144px,100vw - 2rem)}.InputGroup.InputGroup-input-width--small{max-width:min(256px,100vw - 2rem)}.InputGroup.InputGroup-input-width--medium{max-width:min(320px,100vw - 2rem)}.InputGroup.InputGroup-input-width--large{max-width:min(480px,100vw - 2rem)}.InputGroup.InputGroup-input-width--xlarge{max-width:min(680px,100vw - 2rem)}.InputGroup.InputGroup-input-width--xxlarge{max-width:min(960px,100vw - 2rem)}
|
|
1
|
+
.InputGroup.InputGroup-input-width--auto{width:auto}.InputGroup.InputGroup-input-width--xsmall{max-width:calc(min(144px,100vw - 2rem))}.InputGroup.InputGroup-input-width--small{max-width:calc(min(256px,100vw - 2rem))}.InputGroup.InputGroup-input-width--medium{max-width:calc(min(320px,100vw - 2rem))}.InputGroup.InputGroup-input-width--large{max-width:calc(min(480px,100vw - 2rem))}.InputGroup.InputGroup-input-width--xlarge{max-width:calc(min(680px,100vw - 2rem))}.InputGroup.InputGroup-input-width--xxlarge{max-width:calc(min(960px,100vw - 2rem))}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.PageHeader{display:flex;padding-bottom:var(--base-size-8);margin-bottom:var(--base-size-16);border-bottom:var(--borderWidth-thin) solid var(--borderColor-muted);flex-flow:column}.PageHeader--withTabNav{border-bottom:none;padding-bottom:0;margin-bottom:0}.PageHeader-contextBar{height:var(--control-small-size)}.PageHeader-contextBar,.PageHeader-titleBar{display:flex;flex-flow:row;justify-content:flex-end;align-items:center;margin-bottom:var(--base-size-8)}.PageHeader-title{font-size:var(--text-title-size-medium);flex:1 1 auto}.PageHeader-title--large{font-size:var(--text-title-size-large)}.PageHeader-description{font-size:var(--text-body-size-medium);color:var(--fgColor-muted);flex:1 auto}.PageHeader-description--underlined-links a{-webkit-text-decoration:underline;text-decoration:underline}.PageHeader-tabNavBar{overflow:auto}.PageHeader-tabNavBar .PageHeader-tabNav{min-width:max-content}.PageHeader--withTabNav .PageHeader-description{margin-bottom:var(--base-size-16)}.PageHeader-actions{justify-content:flex-end;display:flex;align-items:center}.PageHeader-breadcrumbs{display:block;width:100%}.PageHeader-leadingAction{margin-top:var(--base-size-2);margin-right:var(--base-size-4)}.PageHeader-parentLink{flex:1 1 auto}@media screen and (min-width:543.98px){.PageHeader--noBreadcrumb .PageHeader-contextBar{display:none}}.PageHeader--noBreadcrumb .PageHeader-titleBar{line-height:var(--control-small-size)}
|
|
1
|
+
.PageHeader{display:flex;padding-bottom:var(--base-size-8);margin-bottom:var(--base-size-16);border-bottom:var(--borderWidth-thin) solid var(--borderColor-muted);flex-flow:column}.PageHeader--withTabNav{border-bottom:none;padding-bottom:0;margin-bottom:0}.PageHeader--noBreadcrumb .PageHeader-actions,.PageHeader-contextBar{height:var(--control-small-size)}.PageHeader-contextBar,.PageHeader-titleBar{display:flex;flex-flow:row;justify-content:flex-end;align-items:center;margin-bottom:var(--base-size-8)}.PageHeader-title{font-size:var(--text-title-size-medium);flex:1 1 auto}.PageHeader-title--large{font-size:var(--text-title-size-large)}.PageHeader-description{font-size:var(--text-body-size-medium);color:var(--fgColor-muted);flex:1 auto}.PageHeader-description--underlined-links a{-webkit-text-decoration:underline;text-decoration:underline}.PageHeader-tabNavBar{overflow:auto}.PageHeader-tabNavBar .PageHeader-tabNav{min-width:max-content}.PageHeader--withTabNav .PageHeader-description{margin-bottom:var(--base-size-16)}.PageHeader-actions{justify-content:flex-end;display:flex;align-items:center}.PageHeader-breadcrumbs{display:block;width:100%}.PageHeader-leadingAction{margin-top:var(--base-size-2);margin-right:var(--base-size-4)}.PageHeader-parentLink{flex:1 1 auto}@media screen and (min-width:543.98px){.PageHeader--noBreadcrumb .PageHeader-contextBar{display:none}}.PageHeader--noBreadcrumb .PageHeader-titleBar{line-height:var(--control-small-size)}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"selectors": [
|
|
4
4
|
".PageHeader",
|
|
5
5
|
".PageHeader--withTabNav",
|
|
6
|
+
".PageHeader--noBreadcrumb .PageHeader-actions",
|
|
6
7
|
".PageHeader-contextBar",
|
|
7
8
|
".PageHeader-titleBar",
|
|
8
9
|
".PageHeader-title",
|
|
@@ -17,7 +18,6 @@
|
|
|
17
18
|
".PageHeader-leadingAction",
|
|
18
19
|
".PageHeader-parentLink",
|
|
19
20
|
".PageHeader--noBreadcrumb .PageHeader-contextBar",
|
|
20
|
-
".PageHeader--noBreadcrumb .PageHeader-titleBar"
|
|
21
|
-
".PageHeader--noBreadcrumb .PageHeader-actions"
|
|
21
|
+
".PageHeader--noBreadcrumb .PageHeader-titleBar"
|
|
22
22
|
]
|
|
23
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.Page{min-width:var(--base-size-32);height:var(--base-size-32);padding:var(--base-size-8) var(--base-size-6);margin-right:var(--base-size-4);color:var(--fgColor-default);white-space:nowrap;vertical-align:middle;cursor:pointer;border-radius:var(--borderRadius-medium);transition:background-color .2s cubic-bezier(.3,0,.5,1);display:inline-flex;align-items:center;justify-content:center}.Page[rel=next]>svg,.Page[rel=prev]>svg{height:var(--base-size-16);width:var(--base-size-16)}.Page[rel=prev]>svg{margin-inline-end:var(--base-size-4)}.Page[rel=next]>svg{margin-inline-start:var(--base-size-4)}.Page:last-child{margin-right:0}.Page:focus,.Page:hover{-webkit-text-decoration:none;text-decoration:none;background-color:var(--control-transparent-bgColor-hover);outline:0;transition-duration:.1s}.Page:focus-visible{outline:2px solid var(--bgColor-accent-emphasis)}.Page:active{border-color:var(--borderColor-muted)}.Page[rel=next],.Page[rel=prev]{color:var(--fgColor-accent)}.Page[aria-current],.Page[aria-current]:hover{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-accent-emphasis);border-color:#0000}.Page[aria-current]:focus-visible{
|
|
1
|
+
.Page{min-width:var(--base-size-32);height:var(--base-size-32);padding:var(--base-size-8) var(--base-size-6);margin-right:var(--base-size-4);color:var(--fgColor-default);white-space:nowrap;vertical-align:middle;cursor:pointer;border-radius:var(--borderRadius-medium);transition:background-color .2s cubic-bezier(.3,0,.5,1);display:inline-flex;align-items:center;justify-content:center}.Page[rel=next]>svg,.Page[rel=prev]>svg{height:var(--base-size-16);width:var(--base-size-16)}.Page[rel=prev]>svg{margin-inline-end:var(--base-size-4)}.Page[rel=next]>svg{margin-inline-start:var(--base-size-4)}.Page:last-child{margin-right:0}.Page:focus,.Page:hover{-webkit-text-decoration:none;text-decoration:none;background-color:var(--control-transparent-bgColor-hover);outline:0;transition-duration:.1s}.Page:focus-visible,.Page[aria-current]:focus-visible{outline:2px solid var(--bgColor-accent-emphasis)}.Page:active{border-color:var(--borderColor-muted)}.Page[rel=next],.Page[rel=prev]{color:var(--fgColor-accent)}.Page[aria-current],.Page[aria-current]:hover{color:var(--fgColor-onEmphasis);background-color:var(--bgColor-accent-emphasis);border-color:#0000}.Page[aria-current]:focus-visible{box-shadow:inset 0 0 0 var(--base-size-2) var(--fgColor-onEmphasis)}.Page[aria-hidden],.Page[aria-hidden]:hover,.Page[role=presentation],.Page[role=presentation]:hover{color:var(--fgColor-disabled);cursor:default;background-color:initial}.PaginationContainer{margin:var(--base-size-16) 0;text-align:center}@media(max-width:543.98px){.Page:not([rel=prev]):not([rel=next]){display:none}}
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
".Page:focus",
|
|
9
9
|
".Page:hover",
|
|
10
10
|
".Page:focus-visible",
|
|
11
|
+
".Page[aria-current]:focus-visible",
|
|
11
12
|
".Page:active",
|
|
12
13
|
".Page[rel=next]",
|
|
13
14
|
".Page[rel=prev]",
|
|
14
15
|
".Page[aria-current]",
|
|
15
16
|
".Page[aria-current]:hover",
|
|
16
|
-
".Page[aria-current]:focus-visible",
|
|
17
17
|
".Page[aria-hidden]",
|
|
18
18
|
".Page[aria-hidden]:hover",
|
|
19
19
|
".Page[role=presentation]",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.SubHeader{display:grid;grid-template-areas:"left middle right" "bottom bottom bottom";grid-template-columns:auto 1fr auto;align-items:baseline;margin-bottom:var(--base-size-16)}.SubHeader-rightPane{grid-area:right;display:flex;align-items:center;column-gap:12px}.SubHeader-middlePane{grid-area:middle;text-align:center;white-space:nowrap}.SubHeader-bottomPane{grid-area:bottom}.SubHeader-leftPane{grid-area:left;display:flex;align-items:center;flex-wrap:wrap;row-gap:var(--base-size-16);width:100%}:is(.SubHeader-leftPane [class*=FormControl-input-width--]):not(.FormControl-input-width--auto){width:100vw}.SubHeader-filterContainer{display:flex;flex-basis:max-content;width:100%;gap:8px}.SubHeader-filterInput_hiddenClearButton+.FormControl-input-trailingAction{display:none}@media
|
|
1
|
+
.SubHeader{display:grid;grid-template-areas:"left middle right" "bottom bottom bottom";grid-template-columns:auto 1fr auto;align-items:baseline;margin-bottom:var(--base-size-16)}.SubHeader-rightPane{grid-area:right;display:flex;align-items:center;column-gap:12px}.SubHeader-middlePane{grid-area:middle;text-align:center;white-space:nowrap}.SubHeader-bottomPane{grid-area:bottom}.SubHeader-leftPane{grid-area:left;display:flex;align-items:center;flex-wrap:wrap;row-gap:var(--base-size-16);width:100%}:is(.SubHeader-leftPane [class*=FormControl-input-width--]):not(.FormControl-input-width--auto){width:100vw}.SubHeader-filterContainer{display:flex;flex-basis:max-content;width:100%;gap:8px}.SubHeader-filterInput_hiddenClearButton+.FormControl-input-trailingAction{display:none}@media(max-width:767.98px){.SubHeader{grid-template-areas:"left right" "middle middle" "bottom bottom";grid-template-columns:1fr auto}.SubHeader--expandedSearch{grid-template-areas:"left left" "middle middle" "bottom bottom"}.SubHeader--expandedSearch .SubHeader-hiddenOnExpand{display:none!important}.SubHeader--emptyLeftPane{grid-template-areas:"middle middle right" "bottom bottom bottom";grid-template-columns:auto 1fr auto}.SubHeader--emptyLeftPane .SubHeader-middlePane{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.SubHeader-middlePane{text-align:left}.SubHeader-middlePane:has(>*){margin-top:var(--base-size-16)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.css-truncate .css-truncate-overflow,.css-truncate
|
|
1
|
+
.css-truncate :is(.css-truncate-overflow,.css-truncate-target),.css-truncate.css-truncate-overflow,.css-truncate.css-truncate-target{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.css-truncate .css-truncate-target,.css-truncate.css-truncate-target{display:inline-block;max-width:125px;vertical-align:top}.css-truncate.expandable.css-truncate-target:hover,.css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target,:is(.css-truncate.expandable.zeroclipboard-is-hover,.css-truncate.expandable:hover) .css-truncate-target{max-width:1e4px!important}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "truncate",
|
|
3
3
|
"selectors": [
|
|
4
|
-
".css-truncate .css-truncate-overflow",
|
|
5
|
-
".css-truncate .css-truncate-target",
|
|
4
|
+
".css-truncate :is(.css-truncate-overflow,.css-truncate-target)",
|
|
6
5
|
".css-truncate.css-truncate-overflow",
|
|
7
6
|
".css-truncate.css-truncate-target",
|
|
7
|
+
".css-truncate .css-truncate-target",
|
|
8
8
|
".css-truncate.expandable.css-truncate-target:hover",
|
|
9
|
-
".css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target",
|
|
10
9
|
".css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target",
|
|
11
|
-
".css-truncate.expandable:hover .css-truncate-target"
|
|
10
|
+
":is(.css-truncate.expandable.zeroclipboard-is-hover,.css-truncate.expandable:hover) .css-truncate-target"
|
|
12
11
|
]
|
|
13
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openproject/primer-view-components",
|
|
3
|
-
"version": "0.96.0
|
|
3
|
+
"version": "0.96.0",
|
|
4
4
|
"description": "ViewComponents of the Primer Design System for OpenProject",
|
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
|
6
6
|
"module": "app/components/primer/primer.js",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@github/details-menu-element": "^1.0.12",
|
|
71
71
|
"@github/image-crop-element": "^5.0.0",
|
|
72
72
|
"@github/include-fragment-element": "^6.3.0",
|
|
73
|
-
"@github/relative-time-element": "^5.
|
|
73
|
+
"@github/relative-time-element": "^5.3.1",
|
|
74
74
|
"@github/remote-input-element": "^0.4.0",
|
|
75
75
|
"@github/tab-container-element": "^3.1.2",
|
|
76
76
|
"@oddbird/popover-polyfill": "^0.5.2",
|
|
@@ -96,7 +96,8 @@
|
|
|
96
96
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
97
97
|
"axe-core": "^4.7.1",
|
|
98
98
|
"chokidar-cli": "^3.0.0",
|
|
99
|
-
"
|
|
99
|
+
"css-what": "^7.0.0",
|
|
100
|
+
"cssnano": "^9.0.1",
|
|
100
101
|
"eslint": "^10.8.0",
|
|
101
102
|
"eslint-plugin-github": "^6.1.2",
|
|
102
103
|
"glob": "^11.0.2",
|
package/static/arguments.json
CHANGED
|
@@ -518,6 +518,12 @@
|
|
|
518
518
|
"default": "`{}`",
|
|
519
519
|
"description": "Arguments to pass to the underlying [ActionMenu::List](/components/alpha/actionmenulist)"
|
|
520
520
|
},
|
|
521
|
+
{
|
|
522
|
+
"name": "body_arguments",
|
|
523
|
+
"type": "Hash",
|
|
524
|
+
"default": "`{}`",
|
|
525
|
+
"description": "Arguments to pass to the underlying overlay's `body` slot."
|
|
526
|
+
},
|
|
521
527
|
{
|
|
522
528
|
"name": "system_arguments",
|
|
523
529
|
"type": "Hash",
|
|
@@ -5153,7 +5159,7 @@
|
|
|
5153
5159
|
"name": "minute",
|
|
5154
5160
|
"type": "Symbol",
|
|
5155
5161
|
"default": "`MINUTE_DEFAULT`",
|
|
5156
|
-
"description": "What format
|
|
5162
|
+
"description": "What format minutes should take. One of `nil`, `:numeric`, or `:two_digit`."
|
|
5157
5163
|
},
|
|
5158
5164
|
{
|
|
5159
5165
|
"name": "hour",
|
|
@@ -5161,6 +5167,12 @@
|
|
|
5161
5167
|
"default": "`HOUR_DEFAULT`",
|
|
5162
5168
|
"description": "What format hours should take. One of `nil`, `:numeric`, or `:two_digit`."
|
|
5163
5169
|
},
|
|
5170
|
+
{
|
|
5171
|
+
"name": "hour_cycle",
|
|
5172
|
+
"type": "Symbol",
|
|
5173
|
+
"default": "`HOUR_CYCLE_DEFAULT`",
|
|
5174
|
+
"description": "What hour cycle should be used. One of `nil`, `:h11`, `:h12`, `:h23`, or `:h24`."
|
|
5175
|
+
},
|
|
5164
5176
|
{
|
|
5165
5177
|
"name": "weekday",
|
|
5166
5178
|
"type": "Symbol",
|
package/static/constants.json
CHANGED
|
@@ -1433,6 +1433,14 @@
|
|
|
1433
1433
|
"narrow"
|
|
1434
1434
|
],
|
|
1435
1435
|
"GeneratedSlotMethods": "Primer::Beta::RelativeTime::GeneratedSlotMethods",
|
|
1436
|
+
"HOUR_CYCLE_DEFAULT": null,
|
|
1437
|
+
"HOUR_CYCLE_OPTIONS": [
|
|
1438
|
+
null,
|
|
1439
|
+
"h11",
|
|
1440
|
+
"h12",
|
|
1441
|
+
"h23",
|
|
1442
|
+
"h24"
|
|
1443
|
+
],
|
|
1436
1444
|
"HOUR_DEFAULT": null,
|
|
1437
1445
|
"HOUR_MAPPINGS": {
|
|
1438
1446
|
"": null,
|
package/static/info_arch.json
CHANGED
|
@@ -1173,7 +1173,7 @@
|
|
|
1173
1173
|
},
|
|
1174
1174
|
{
|
|
1175
1175
|
"fully_qualified_name": "Primer::Alpha::ActionMenu",
|
|
1176
|
-
"description": "ActionMenu is used for actions, navigation, to display secondary options, or single/multi select lists. They appear when\nusers interact with buttons, actions, or other controls.\n\nThe only allowed elements for the `Item` components are: `:a`, `:button`, and `:clipboard-copy`. The default is `:button`.\n\n### Select variants\n\nWhile `ActionMenu`s default to a list of buttons that can link to other pages, copy text to the clipboard, etc, they also support\n`single` and `multiple` select variants. The single select variant allows a single item to be \"selected\" (i.e. marked \"active\")\nwhen clicked, which will cause a check mark to appear to the left of the item text. When the `multiple` select variant is chosen,\nmultiple items may be selected and check marks will appear next to each selected item.\n\nUse the `select_variant:` option to control which variant the `ActionMenu` uses. For more information, see the documentation on\nsupported arguments below.\n\n### Dynamic labels\n\nWhen using the `single` select variant, an optional label indicating the selected item can be displayed inside the menu button.\nDynamic labels can also be prefixed with custom text.\n\nPass `dynamic_label: true` to enable dynamic label behavior, and pass `dynamic_label_prefix: \"<string>\"` to set a custom prefix.\nFor more information, see the documentation on supported arguments below.\n\n### `ActionMenu`s as form inputs\n\nWhen using either the `single` or `multiple` select variants, `ActionMenu`s can be used as form inputs. They behave very\nsimilarly to how HTML `<select>` boxes behave, and play nicely with Rails' built-in form mechanisms. Pass arguments via the\n`form_arguments:` argument, including the Rails form builder object and the name of the field:\n\n```erb\n<% form_with(url: update_merge_strategy_path) do |f| %>\n <%= render(Primer::Alpha::ActionMenu.new(form_arguments: { builder: f, name: \"merge_strategy\" })) do |menu| %>\n <% menu.with_item(label: \"Fast forward\", data: { value: \"fast_forward\" }) %>\n <% menu.with_item(label: \"Recursive\", data: { value: \"recursive\" }) %>\n <% menu.with_item(label: \"Ours\", data: { value: \"ours\" }) %>\n <% menu.with_item(label: \"Theirs\", data: { value: \"theirs\" }) %>\n <% end %>\n<% end %>\n```\n\nThe value of the `data: { value: ... }` argument is sent to the server on submit, keyed using the name provided above\n(eg. `\"merge_strategy\"`). If no value is provided for an item, the value of that item is the item's label. Here's the\ncorresponding `MergeStrategyController` that might be written to handle the form above:\n\n```ruby\nclass MergeStrategyController < ApplicationController\n def update\n puts \"You chose #{merge_strategy_params[:merge_strategy]}\"\n end\n\n private\n\n def merge_strategy_params\n params.permit(:merge_strategy)\n end\nend\n```\n\n### `ActionMenu` items that submit forms\n\nWhereas `ActionMenu` items normally permit navigation via `<a>` tags which make HTTP `get` requests, `ActionMenu` items\nalso permit navigation via `POST` requests. To enable this behavior, include the `href:` argument as normal, but also pass\nthe `form_arguments:` argument to the appropriate item:\n\n```erb\n<%= render(Primer::Alpha::ActionMenu.new) do |menu| %>\n <% menu.with_item(\n label: \"Repository\",\n href: update_repo_grouping_path,\n form_arguments: {\n method: :post,\n name: \"group_by\",\n value: \"repository\"\n }\n ) %>\n<% end %>\n```\n\nMake sure to specify `method: :post`, as the default is `:get`. When clicked, the list item will submit a POST request to\nthe URL passed in the `href:` argument, including a parameter named `\"group_by\"` with a value of `\"repository\"`. If no value\nis given, the name, eg. `\"group_by\"`, will be used as the value.\n\nIt is possible to include multiple fields on submit. Instead of passing the `name:` and `value:` arguments, pass an array via\nthe `inputs:` argument:\n\n```erb\n<%= render(Primer::Alpha::ActionMenu.new) do |menu| %>\n <% menu.with_show_button { \"Group By\" } %>\n <% menu.with_item(\n label: \"Repository\",\n href: update_repo_grouping_path,\n form_arguments: {\n method: :post,\n inputs: [{\n name: \"group_by\",\n value: \"repository\"\n }, {\n name: \"some_other_field\",\n value: \"some value\",\n }],\n }\n ) %>\n<% end %>\n```\n\n### Form arguments\n\nThe following table summarizes the arguments allowed in the `form_arguments:` hash mentioned above.\n\n|Name |Type |Default|Description|\n|:----------------|:-------------|:------|:----------|\n|`method` |`Symbol` |`:get` |The HTTP request method to use to submit the form. One of `:get`, `:post`, `:patch`, `:put`, `:delete`, or `:head`|\n|`name` |`String` |`nil` |The name of the field that will be sent to the server on submit.|\n|`value` |`String` |`nil` |The value of the field that will be sent to the server on submit.|\n|`input_arguments`|`Hash` |`{}` |Additional key/value pairs to emit as HTML attributes on the `<input type=\"hidden\">` element.|\n|`inputs` |`Array<Hash>` |`[]` |An array of hashes representing HTML `<input type=\"hidden\">` elements. Must contain at least `name:` and `value:` keys. If additional key/value pairs are provided, they are emitted as HTML attributes on the `<input>` element. This argument supercedes the `name:`, `value:`, and `:input_arguments` arguments listed above.|\n\nThe elements of the `inputs:` array will be emitted as HTML `<input type=\"hidden\">` elements.\n\n### JavaScript API\n\n`ActionMenu`s render an `<action-menu>` custom element that exposes behavior to the client.\n\n#### Query methods\n\n* `getItemById(itemId: string): Element`: Returns the item's HTML `<li>` element. The return value can be passed as the `item` argument to the other methods listed below.\n* `isItemChecked(item: Element): boolean`: Returns `true` if the item is checked, `false` otherwise.\n* `isItemHidden(item: Element): boolean`: Returns `true` if the item is hidden, `false` otherwise.\n* `isItemDisabled(item: Element): boolean`: Returns `true` if the item is disabled, `false` otherwise.\n\nNOTE: Item IDs are special values provided by the user that are attached to `ActionMenu` items as the `data-item-id`\nHTML attribute. Item IDs can be provided by passing an `item_id:` attribute when adding items to the list, eg:\n\n```erb\n<%= render(Primer::Alpha::ActionMenu.new) do |menu| %>\n <% menu.with_item(item_id: \"my-id\") %>\n<% end %>\n```\n\n#### State methods\n\n* `showItem(item: Element)`: Shows the item, i.e. makes it visible.\n* `hideItem(item: Element)`: Hides the item, i.e. makes it invisible.\n* `enableItem(item: Element)`: Enables the item, i.e. makes it clickable by the mouse and keyboard.\n* `disableItem(item: Element)`: Disables the item, i.e. makes it unclickable by the mouse and keyboard.\n* `checkItem(item: Element)`: Checks the item. Only has an effect in single- and multi-select modes.\n* `uncheckItem(item: Element)`: Unchecks the item. Only has an effect in multi-select mode, since items cannot be unchecked in single-select mode.\n\n#### Events\n\nThe `<action-menu>` element fires an `itemActivated` event whenever an item is activated (eg. clicked) via the mouse or keyboard.\n\n```typescript\ndocument.querySelector(\"action-menu\").addEventListener(\"itemActivated\", (event: CustomEvent<ItemActivatedEvent>) => {\n event.detail.item // Element: the <li> item that was activated\n event.detail.checked // boolean: whether or not the result of the activation checked the item\n})\n```",
|
|
1176
|
+
"description": "ActionMenu is used for actions, navigation, to display secondary options, or single/multi select lists. They appear when\nusers interact with buttons, actions, or other controls.\n\nThe only allowed elements for the `Item` components are: `:a`, `:button`, and `:clipboard-copy`. The default is `:button`.\n\n### Select variants\n\nWhile `ActionMenu`s default to a list of buttons that can link to other pages, copy text to the clipboard, etc, they also support\n`single` and `multiple` select variants. The single select variant allows a single item to be \"selected\" (i.e. marked \"active\")\nwhen clicked, which will cause a check mark to appear to the left of the item text. When the `multiple` select variant is chosen,\nmultiple items may be selected and check marks will appear next to each selected item.\n\nUse the `select_variant:` option to control which variant the `ActionMenu` uses. For more information, see the documentation on\nsupported arguments below.\n\n### Dynamic labels\n\nWhen using the `single` select variant, an optional label indicating the selected item can be displayed inside the menu button.\nDynamic labels can also be prefixed with custom text.\n\nPass `dynamic_label: true` to enable dynamic label behavior, and pass `dynamic_label_prefix: \"<string>\"` to set a custom prefix.\nFor more information, see the documentation on supported arguments below.\n\n### `ActionMenu`s as form inputs\n\nWhen using either the `single` or `multiple` select variants, `ActionMenu`s can be used as form inputs. They behave very\nsimilarly to how HTML `<select>` boxes behave, and play nicely with Rails' built-in form mechanisms. Pass arguments via the\n`form_arguments:` argument, including the Rails form builder object and the name of the field:\n\n```erb\n<% form_with(url: update_merge_strategy_path) do |f| %>\n <%= render(Primer::Alpha::ActionMenu.new(form_arguments: { builder: f, name: \"merge_strategy\" })) do |menu| %>\n <% menu.with_item(label: \"Fast forward\", data: { value: \"fast_forward\" }) %>\n <% menu.with_item(label: \"Recursive\", data: { value: \"recursive\" }) %>\n <% menu.with_item(label: \"Ours\", data: { value: \"ours\" }) %>\n <% menu.with_item(label: \"Theirs\", data: { value: \"theirs\" }) %>\n <% end %>\n<% end %>\n```\n\nThe value of the `data: { value: ... }` argument is sent to the server on submit, keyed using the name provided above\n(eg. `\"merge_strategy\"`). If no value is provided for an item, the value of that item is the item's label. Here's the\ncorresponding `MergeStrategyController` that might be written to handle the form above:\n\n```ruby\nclass MergeStrategyController < ApplicationController\n def update\n puts \"You chose #{merge_strategy_params[:merge_strategy]}\"\n end\n\n private\n\n def merge_strategy_params\n params.permit(:merge_strategy)\n end\nend\n```\n\n### `ActionMenu` items that submit forms\n\nWhereas `ActionMenu` items normally permit navigation via `<a>` tags which make HTTP `get` requests, `ActionMenu` items\nalso permit navigation via `POST` requests. To enable this behavior, include the `href:` argument as normal, but also pass\nthe `form_arguments:` argument to the appropriate item:\n\n```erb\n<%= render(Primer::Alpha::ActionMenu.new) do |menu| %>\n <% menu.with_item(\n label: \"Repository\",\n href: update_repo_grouping_path,\n form_arguments: {\n method: :post,\n name: \"group_by\",\n value: \"repository\"\n }\n ) %>\n<% end %>\n```\n\nMake sure to specify `method: :post`, as the default is `:get`. When clicked, the list item will submit a POST request to\nthe URL passed in the `href:` argument, including a parameter named `\"group_by\"` with a value of `\"repository\"`. If no value\nis given, the name, eg. `\"group_by\"`, will be used as the value.\n\nIt is possible to include multiple fields on submit. Instead of passing the `name:` and `value:` arguments, pass an array via\nthe `inputs:` argument:\n\n```erb\n<%= render(Primer::Alpha::ActionMenu.new) do |menu| %>\n <% menu.with_show_button { \"Group By\" } %>\n <% menu.with_item(\n label: \"Repository\",\n href: update_repo_grouping_path,\n form_arguments: {\n method: :post,\n inputs: [{\n name: \"group_by\",\n value: \"repository\"\n }, {\n name: \"some_other_field\",\n value: \"some value\",\n }],\n }\n ) %>\n<% end %>\n```\n\n### Form arguments\n\nThe following table summarizes the arguments allowed in the `form_arguments:` hash mentioned above.\n\n|Name |Type |Default|Description|\n|:----------------|:-------------|:------|:----------|\n|`method` |`Symbol` |`:get` |The HTTP request method to use to submit the form. One of `:get`, `:post`, `:patch`, `:put`, `:delete`, or `:head`|\n|`name` |`String` |`nil` |The name of the field that will be sent to the server on submit.|\n|`value` |`String` |`nil` |The value of the field that will be sent to the server on submit.|\n|`input_arguments`|`Hash` |`{}` |Additional key/value pairs to emit as HTML attributes on the `<input type=\"hidden\">` element.|\n|`inputs` |`Array<Hash>` |`[]` |An array of hashes representing HTML `<input type=\"hidden\">` elements. Must contain at least `name:` and `value:` keys. If additional key/value pairs are provided, they are emitted as HTML attributes on the `<input>` element. This argument supercedes the `name:`, `value:`, and `:input_arguments` arguments listed above.|\n\nThe elements of the `inputs:` array will be emitted as HTML `<input type=\"hidden\">` elements.\n\n### JavaScript API\n\n`ActionMenu`s render an `<action-menu>` custom element that exposes behavior to the client.\n\n#### Query methods\n\n* `getItemById(itemId: string): Element`: Returns the item's HTML `<li>` element. The return value can be passed as the `item` argument to the other methods listed below.\n* `isItemChecked(item: Element): boolean`: Returns `true` if the item is checked, `false` otherwise.\n* `isItemHidden(item: Element): boolean`: Returns `true` if the item is hidden, `false` otherwise.\n* `isItemDisabled(item: Element): boolean`: Returns `true` if the item is disabled, `false` otherwise.\n\nNOTE: Item IDs are special values provided by the user that are attached to `ActionMenu` items as the `data-item-id`\nHTML attribute. Item IDs can be provided by passing an `item_id:` attribute when adding items to the list, eg:\n\n```erb\n<%= render(Primer::Alpha::ActionMenu.new) do |menu| %>\n <% menu.with_item(item_id: \"my-id\") %>\n<% end %>\n```\n\n#### State methods\n\n* `showItem(item: Element)`: Shows the item, i.e. makes it visible.\n* `hideItem(item: Element)`: Hides the item, i.e. makes it invisible.\n* `enableItem(item: Element)`: Enables the item, i.e. makes it clickable by the mouse and keyboard.\n* `disableItem(item: Element)`: Disables the item, i.e. makes it unclickable by the mouse and keyboard.\n* `checkItem(item: Element)`: Checks the item. Only has an effect in single- and multi-select modes.\n* `uncheckItem(item: Element)`: Unchecks the item. Only has an effect in multi-select mode, since items cannot be unchecked in single-select mode.\n\n#### Events\n\nThe `<action-menu>` element fires an `itemActivated` event whenever an item is activated (eg. clicked) via the mouse or keyboard.\n\n```typescript\ndocument.querySelector(\"action-menu\").addEventListener(\"itemActivated\", (event: CustomEvent<ItemActivatedEvent>) => {\n event.detail.item // Element: the <li> item that was activated\n event.detail.checked // boolean: whether or not the result of the activation checked the item\n})\n```\n\n#### Refreshing deferred content\n\nA primary menu rendered with `src:` renders its loader as a `<template>` and leaves the menu body empty. The first load starts\nwhen the menu first opens, or immediately when rendered with `preload: true`. Deferred sub-menus render their loader in place\nand are not refreshed.\n\nThe `src` attribute on the `<action-menu>` element is the state: setting it to a different URL reloads the items, eg:\n\n```typescript\ndocument.querySelector(\"action-menu\").setAttribute(\"src\", \"/items?filter=open\")\n```\n\nAn open menu reloads its items in place. A closed lazy menu applies the change when it next opens and keeps its previous\nitems, dynamic label and form inputs until then; a preloaded menu reloads at once. Setting `src` to the URL already loaded\ndoes nothing unless the last load failed or returned no menu items, in which case an open or preloaded menu loads again, so\n`src` can be set on every open. A blank `src` is ignored.\n\nIf the response contains no menu items, it is discarded and the menu body stays empty: an open menu closes and focus returns\nto its button, and the menu is fetched again on its next open. Any other markup in such a response is not shown. To keep the\nmenu open, render a disabled item such as \"No actions available\".\n\nA failed load retries the next time the menu opens. To reload at the current `src`, call `refresh()`:\n\n```typescript\ndocument.querySelector(\"action-menu\").refresh()\n```\n\nAn open or preloaded menu reloads at once; a closed lazy one reloads when it next opens. The server response replaces any\nclient-side selection. While a load is pending, and after it fails, the menu keeps submitting its previous form inputs until a\nresponse replaces them.\n\nAn `<include-fragment>` that other code places directly into the menu body (for example a Turbo morph) is picked up and its\n`src` is copied to the `<action-menu>` element. An open or preloaded menu fetches it at once; in a closed lazy menu a lazy\nfragment loads when the menu opens, and an eager one as soon as it is inserted; a fragment that had no `src` yet when it was\ninserted is replaced with a load at the host `src`. If several are inserted together, the last one in the body wins. A menu\nthat is open when the fragment is inserted stays open while it loads, provided the fragment contains a focusable menu item, as\nthe rendered loader does. When a consumer sets a different `src` and other code inserts a fragment in the same synchronous\nblock (before the menu's mutation observer runs), the fragment wins on a closed lazy menu; on an open or preloaded menu the\nlater of the two wins. A response must not itself start with an `<include-fragment>`, which would be picked up the same way.\n\nThe `data-ready` attribute means no load is pending, not that the current `src` has been applied: a closed lazy menu keeps it\nwhen `src` changes, and drops it only when the new load starts.\n\nA loader whose `include-fragment-replace` event a consumer cancelled stays in the body and is fetched again on every open.\n\nA cloned `<action-menu>` that connects to the document loads like any other: a clone of a preloaded menu fetches at once, a\nlazy one when it opens. Consumers that clone a menu for display only (eg. a drag preview) should remove its `src` and any\n`<include-fragment>` inside it before connecting it, since a loader that was pending when the menu was cloned fetches on its\nown.\n\nOnly menus rendered with `src:` can refresh. A menu restored from a Turbo snapshot loads its items again when it next opens\n(at once when preloaded). A menu whose body other code emptied or replaced, for example a Turbo morph that re-rendered the\nserver's empty body, loads again at once when open or preloaded, otherwise when it next opens.",
|
|
1177
1177
|
"accessibility_docs": "The action for the menu item needs to be on the element with `role=\"menuitem\"`. Semantics are removed for everything\nnested inside of it. When a menu item is selected, the menu will close immediately.\n\nAdditional information around the keyboard functionality and implementation can be found on the\n[WAI-ARIA Authoring Practices](https://www.w3.org/TR/wai-aria-practices-1.2/#menu).",
|
|
1178
1178
|
"is_form_component": false,
|
|
1179
1179
|
"is_published": true,
|
|
@@ -1438,6 +1438,32 @@
|
|
|
1438
1438
|
]
|
|
1439
1439
|
}
|
|
1440
1440
|
},
|
|
1441
|
+
{
|
|
1442
|
+
"preview_path": "primer/alpha/action_menu/deferred_refresh",
|
|
1443
|
+
"name": "deferred_refresh",
|
|
1444
|
+
"snapshot": "false",
|
|
1445
|
+
"skip_rules": {
|
|
1446
|
+
"wont_fix": [
|
|
1447
|
+
"region"
|
|
1448
|
+
],
|
|
1449
|
+
"will_fix": [
|
|
1450
|
+
"color-contrast"
|
|
1451
|
+
]
|
|
1452
|
+
}
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"preview_path": "primer/alpha/action_menu/deferred_refresh_form",
|
|
1456
|
+
"name": "deferred_refresh_form",
|
|
1457
|
+
"snapshot": "false",
|
|
1458
|
+
"skip_rules": {
|
|
1459
|
+
"wont_fix": [
|
|
1460
|
+
"region"
|
|
1461
|
+
],
|
|
1462
|
+
"will_fix": [
|
|
1463
|
+
"color-contrast"
|
|
1464
|
+
]
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1441
1467
|
{
|
|
1442
1468
|
"preview_path": "primer/alpha/action_menu/with_deferred_content_near_bottom_of_viewport",
|
|
1443
1469
|
"name": "with_deferred_content_near_bottom_of_viewport",
|
|
@@ -1754,6 +1780,12 @@
|
|
|
1754
1780
|
"default": "`{}`",
|
|
1755
1781
|
"description": "Arguments to pass to the underlying {{#link_to_component}}Primer::Alpha::ActionMenu::List{{/link_to_component}}"
|
|
1756
1782
|
},
|
|
1783
|
+
{
|
|
1784
|
+
"name": "body_arguments",
|
|
1785
|
+
"type": "Hash",
|
|
1786
|
+
"default": "`{}`",
|
|
1787
|
+
"description": "Arguments to pass to the underlying overlay's `body` slot."
|
|
1788
|
+
},
|
|
1757
1789
|
{
|
|
1758
1790
|
"name": "system_arguments",
|
|
1759
1791
|
"type": "Hash",
|
|
@@ -17398,7 +17430,7 @@
|
|
|
17398
17430
|
"name": "minute",
|
|
17399
17431
|
"type": "Symbol",
|
|
17400
17432
|
"default": "`MINUTE_DEFAULT`",
|
|
17401
|
-
"description": "What format
|
|
17433
|
+
"description": "What format minutes should take. One of `nil`, `:numeric`, or `:two_digit`."
|
|
17402
17434
|
},
|
|
17403
17435
|
{
|
|
17404
17436
|
"name": "hour",
|
|
@@ -17406,6 +17438,12 @@
|
|
|
17406
17438
|
"default": "`HOUR_DEFAULT`",
|
|
17407
17439
|
"description": "What format hours should take. One of `nil`, `:numeric`, or `:two_digit`."
|
|
17408
17440
|
},
|
|
17441
|
+
{
|
|
17442
|
+
"name": "hour_cycle",
|
|
17443
|
+
"type": "Symbol",
|
|
17444
|
+
"default": "`HOUR_CYCLE_DEFAULT`",
|
|
17445
|
+
"description": "What hour cycle should be used. One of `nil`, `:h11`, `:h12`, `:h23`, or `:h24`."
|
|
17446
|
+
},
|
|
17409
17447
|
{
|
|
17410
17448
|
"name": "weekday",
|
|
17411
17449
|
"type": "Symbol",
|
package/static/previews.json
CHANGED
|
@@ -632,6 +632,32 @@
|
|
|
632
632
|
]
|
|
633
633
|
}
|
|
634
634
|
},
|
|
635
|
+
{
|
|
636
|
+
"preview_path": "primer/alpha/action_menu/deferred_refresh",
|
|
637
|
+
"name": "deferred_refresh",
|
|
638
|
+
"snapshot": "false",
|
|
639
|
+
"skip_rules": {
|
|
640
|
+
"wont_fix": [
|
|
641
|
+
"region"
|
|
642
|
+
],
|
|
643
|
+
"will_fix": [
|
|
644
|
+
"color-contrast"
|
|
645
|
+
]
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"preview_path": "primer/alpha/action_menu/deferred_refresh_form",
|
|
650
|
+
"name": "deferred_refresh_form",
|
|
651
|
+
"snapshot": "false",
|
|
652
|
+
"skip_rules": {
|
|
653
|
+
"wont_fix": [
|
|
654
|
+
"region"
|
|
655
|
+
],
|
|
656
|
+
"will_fix": [
|
|
657
|
+
"color-contrast"
|
|
658
|
+
]
|
|
659
|
+
}
|
|
660
|
+
},
|
|
635
661
|
{
|
|
636
662
|
"preview_path": "primer/alpha/action_menu/with_deferred_content_near_bottom_of_viewport",
|
|
637
663
|
"name": "with_deferred_content_near_bottom_of_viewport",
|