@primer/css 18.1.0 → 18.2.0-rc.aef9b229
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/CHANGELOG.md +10 -0
- package/actionlist/action-list-item-divider.scss +42 -0
- package/actionlist/action-list-item.scss +444 -0
- package/actionlist/action-list-variables.scss +8 -0
- package/actionlist/action-list.scss +33 -0
- package/actionlist/index.scss +5 -0
- package/core/index.scss +1 -0
- package/dist/actionlist.css +2 -0
- package/dist/actionlist.css.map +1 -0
- package/dist/actionlist.js +1 -0
- package/dist/color-modes.css +1 -1
- package/dist/color-modes.css.map +1 -1
- package/dist/core.css +1 -1
- package/dist/core.css.map +1 -1
- package/dist/meta.json +75 -64
- package/dist/primer.css +2 -2
- package/dist/primer.css.map +1 -1
- package/dist/stats/actionlist.json +1 -0
- package/dist/stats/color-modes.json +1 -1
- package/dist/stats/core.json +1 -1
- package/dist/stats/primer.json +1 -1
- package/package.json +10 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"size":9889,"gzipSize":1849,"humanizedSize":"10KB","humanizedGzipSize":"2KB","rules":{"total":75,"size":{"graph":[1,7,1,1,4,1,1,2,1,1,2,2,1,1,1,1,8,2,1,1,2,1,3,1,1,3,1,3,4,1,3,2,2,2,2,2,1,1,1,1,1,1,1,2,1,13,1,4,1,1,1,1,1,1,1,1,1,3,1,1,2,1,4,5,4,1,1,1,1,1,6,6,4,2,1],"max":13,"average":2.066666666666667},"selectorByRuleSizes":[{"selector":".ActionList-content","declarations":13},{"selector":".ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)::after","declarations":8},{"selector":".ActionList--divided .ActionList-item-label::before","declarations":7},{"selector":".ActionList-sectionDivider:empty","declarations":6},{"selector":".ActionList-sectionDivider:not(:empty)","declarations":6},{"selector":".ActionList-item-visual,.ActionList-item-action","declarations":5},{"selector":".ActionList-sectionDivider--filled","declarations":4},{"selector":".ActionList-item-label","declarations":4},{"selector":".ActionList-item-description","declarations":4},{"selector":".ActionList-content:focus-visible","declarations":4},{"selector":".ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark","declarations":4},{"selector":".ActionList-item","declarations":4},{"selector":".ActionList-item-descriptionWrap","declarations":3},{"selector":".ActionList-item[aria-checked=false] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect","declarations":3},{"selector":".ActionList-item[aria-checked=false] .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectCheckmark","declarations":3},{"selector":".ActionList-item[aria-checked=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect","declarations":3},{"selector":".ActionList-item[aria-checked=true] .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectCheckmark","declarations":3},{"selector":".ActionList-sectionDivider--filled:empty","declarations":2},{"selector":".ActionList-item-descriptionWrap--inline","declarations":2},{"selector":".ActionList-item[aria-disabled=true]:hover","declarations":2},{"selector":"to","declarations":2},{"selector":"from","declarations":2},{"selector":"to","declarations":2},{"selector":"from","declarations":2},{"selector":".ActionList-item[aria-checked=false] .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectIconRect","declarations":2},{"selector":".ActionList-item[aria-expanded=false] .ActionList-item-collapseIcon","declarations":2},{"selector":".ActionList-item[aria-expanded=true] .ActionList-item-collapseIcon","declarations":2},{"selector":"100%","declarations":2},{"selector":"50%","declarations":2},{"selector":".ActionList-item:not(.ActionList-item--hasSubItem):hover","declarations":2},{"selector":".ActionList-sectionDivider--filled:first-child","declarations":1},{"selector":".ActionList-content--visual24+.ActionList--subGroup .ActionList-item--subItem","declarations":1},{"selector":".ActionList-content--visual20+.ActionList--subGroup .ActionList-item--subItem","declarations":1},{"selector":".ActionList-content--visual16+.ActionList--subGroup .ActionList-item--subItem","declarations":1},{"selector":".ActionList--subGroup .ActionList-item--subItem","declarations":1},{"selector":".ActionList-item--subItem>.ActionList-content","declarations":1},{"selector":".ActionList-item-descriptionWrap--inline .ActionList-item-description","declarations":1},{"selector":".ActionList-item-descriptionWrap .ActionList-item-label","declarations":1},{"selector":".ActionList-item-descriptionWrap .ActionList-item-description","declarations":1},{"selector":".ActionList-item-action--trailing","declarations":1},{"selector":".ActionList-item-visual--trailing","declarations":1},{"selector":".ActionList-item-label","declarations":1},{"selector":".ActionList-item-visual--leading","declarations":1},{"selector":".ActionList-item-action--leading","declarations":1},{"selector":".ActionList-content.ActionList-content--blockDescription .ActionList-item-visual","declarations":1},{"selector":".ActionList-content","declarations":1},{"selector":".ActionList-content.ActionList-content--sizeLarge","declarations":1},{"selector":".ActionList-content.ActionList-content--sizeMedium","declarations":1},{"selector":".ActionList-content>:not(:last-child)","declarations":1},{"selector":".ActionList-item .ActionList","declarations":1},{"selector":".ActionList-item[aria-disabled=true] .ActionList-item-visual","declarations":1},{"selector":".ActionList-item[aria-disabled=true] .ActionList-item-label,.ActionList-item[aria-disabled=true] .ActionList-item-description","declarations":1},{"selector":".ActionList-item.ActionList-item--danger:active","declarations":1},{"selector":".ActionList-item.ActionList-item--danger:hover .ActionList-item-label","declarations":1},{"selector":".ActionList-item.ActionList-item--danger:hover","declarations":1},{"selector":".ActionList-item.ActionList-item--danger .ActionList-item-visual","declarations":1},{"selector":".ActionList-item.ActionList-item--danger .ActionList-item-label","declarations":1},{"selector":".ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark","declarations":1},{"selector":".ActionList-item[aria-checked=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectCheckmark","declarations":1},{"selector":".ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark","declarations":1},{"selector":".ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark","declarations":1},{"selector":".ActionList-item[aria-expanded=false] .ActionList--subGroup","declarations":1},{"selector":".ActionList-item[aria-expanded=true].ActionList-item--hasSubItem>.ActionList-content>.ActionList-item-label","declarations":1},{"selector":".ActionList-item[aria-expanded=true] .ActionList--subGroup","declarations":1},{"selector":".ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)::before,.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)+.ActionList-item::before","declarations":1},{"selector":".ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)","declarations":1},{"selector":".ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover","declarations":1},{"selector":".ActionList-item:not(.ActionList-item--hasSubItem):hover .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):hover+.ActionList-item .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):active .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):active+.ActionList-item .ActionList-item-label::before","declarations":1},{"selector":".ActionList-item:not(.ActionList-item--hasSubItem):active","declarations":1},{"selector":".ActionList-item:not(.ActionList-item--hasSubItem):active","declarations":1},{"selector":".ActionList-item:hover .ActionList-content,.ActionList-item:active .ActionList-content","declarations":1},{"selector":".ActionList-item:hover,.ActionList-item:active","declarations":1},{"selector":".ActionList-item:first-of-type .ActionList-item-label::before,.ActionList-sectionDivider+.ActionList-item .ActionList-item-label::before","declarations":1},{"selector":".ActionList--divided .ActionList-item--navActive .ActionList-item-label::before,.ActionList--divided .ActionList-item--navActive+.ActionList-item .ActionList-item-label::before","declarations":1},{"selector":".ActionList","declarations":1}]},"selectors":{"total":89,"type":0,"class":89,"id":0,"pseudoClass":27,"pseudoElement":12,"values":[".ActionList",".ActionList--divided .ActionList-item-label::before",".ActionList--divided .ActionList-item--navActive .ActionList-item-label::before",".ActionList--divided .ActionList-item--navActive+.ActionList-item .ActionList-item-label::before",".ActionList-item:first-of-type .ActionList-item-label::before",".ActionList-sectionDivider+.ActionList-item .ActionList-item-label::before",".ActionList-item",".ActionList-item:hover",".ActionList-item:active",".ActionList-item:hover .ActionList-content",".ActionList-item:active .ActionList-content",".ActionList-item:not(.ActionList-item--hasSubItem):hover",".ActionList-item:not(.ActionList-item--hasSubItem):active",".ActionList-item:not(.ActionList-item--hasSubItem):active",".ActionList-item:not(.ActionList-item--hasSubItem):hover .ActionList-item-label::before",".ActionList-item:not(.ActionList-item--hasSubItem):hover+.ActionList-item .ActionList-item-label::before",".ActionList-item:not(.ActionList-item--hasSubItem):active .ActionList-item-label::before",".ActionList-item:not(.ActionList-item--hasSubItem):active+.ActionList-item .ActionList-item-label::before",".ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover",".ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)",".ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)::before",".ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)+.ActionList-item::before",".ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)::after",".ActionList-item[aria-expanded=true] .ActionList-item-collapseIcon",".ActionList-item[aria-expanded=true] .ActionList--subGroup",".ActionList-item[aria-expanded=true].ActionList-item--hasSubItem>.ActionList-content>.ActionList-item-label",".ActionList-item[aria-expanded=false] .ActionList-item-collapseIcon",".ActionList-item[aria-expanded=false] .ActionList--subGroup",".ActionList-item[aria-checked=true] .ActionList-item-multiSelectCheckmark",".ActionList-item[aria-selected=true] .ActionList-item-multiSelectCheckmark",".ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark",".ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark",".ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark",".ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark",".ActionList-item[aria-checked=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect",".ActionList-item[aria-selected=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect",".ActionList-item[aria-checked=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectCheckmark",".ActionList-item[aria-selected=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectCheckmark",".ActionList-item[aria-checked=false] .ActionList-item-multiSelectCheckmark",".ActionList-item[aria-selected=false] .ActionList-item-multiSelectCheckmark",".ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark",".ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark",".ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark",".ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark",".ActionList-item[aria-checked=false] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect",".ActionList-item[aria-selected=false] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect",".ActionList-item[aria-checked=false] .ActionList-item-multiSelectIconRect",".ActionList-item[aria-selected=false] .ActionList-item-multiSelectIconRect",".ActionList-item.ActionList-item--danger .ActionList-item-label",".ActionList-item.ActionList-item--danger .ActionList-item-visual",".ActionList-item.ActionList-item--danger:hover",".ActionList-item.ActionList-item--danger:hover .ActionList-item-label",".ActionList-item.ActionList-item--danger:active",".ActionList-item[aria-disabled=true] .ActionList-item-label",".ActionList-item[aria-disabled=true] .ActionList-item-description",".ActionList-item[aria-disabled=true] .ActionList-item-visual",".ActionList-item[aria-disabled=true]:hover",".ActionList-item .ActionList",".ActionList-content",".ActionList-content>:not(:last-child)",".ActionList-content:focus-visible",".ActionList-content.ActionList-content--sizeMedium",".ActionList-content.ActionList-content--sizeLarge",".ActionList-content",".ActionList-content.ActionList-content--blockDescription .ActionList-item-visual",".ActionList-item-action--leading",".ActionList-item-visual--leading",".ActionList-item-label",".ActionList-item-visual--trailing",".ActionList-item-action--trailing",".ActionList-item-descriptionWrap",".ActionList-item-descriptionWrap .ActionList-item-description",".ActionList-item-descriptionWrap .ActionList-item-label",".ActionList-item-descriptionWrap--inline",".ActionList-item-descriptionWrap--inline .ActionList-item-description",".ActionList-item-description",".ActionList-item-visual",".ActionList-item-action",".ActionList-item-label",".ActionList-item--subItem>.ActionList-content",".ActionList--subGroup .ActionList-item--subItem",".ActionList-content--visual16+.ActionList--subGroup .ActionList-item--subItem",".ActionList-content--visual20+.ActionList--subGroup .ActionList-item--subItem",".ActionList-content--visual24+.ActionList--subGroup .ActionList-item--subItem",".ActionList-sectionDivider:not(:empty)",".ActionList-sectionDivider:empty",".ActionList-sectionDivider--filled",".ActionList-sectionDivider--filled:empty",".ActionList-sectionDivider--filled:first-child"],"specificity":{"max":51,"average":26.651685393258425}},"declarations":{"total":155,"unique":109,"uniqueToTotalRatio":0.7032258064516129,"properties":{"padding":["8px","unset","6px 8px","10px 8px","14px 8px","14px 8px","6px 8px","0"],"position":["absolute","relative","absolute","relative","relative","relative"],"top":["-6px","calc(50% - 12px)"],"display":["block","block","none","grid","flex","flex","flex"],"width":["100%","4px"],"height":["1px","24px","1px","8px"],"content":["\"\"","\"\""],"background":["var(--color-action-list-item-inline-divider)","var(--color-action-list-item-default-active-bg)","var(--color-action-list-item-default-selected-bg)","var(--color-accent-fg)","var(--color-action-list-item-danger-hover-bg)","var(--color-action-list-item-danger-active-bg)","var(--color-action-list-item-inline-divider)","var(--color-canvas-subtle)"],"visibility":["hidden","hidden","hidden","hidden","visible","visible","hidden","hidden"],"list-style":["none","none"],"background-color":["transparent","var(--color-action-list-item-default-hover-bg)","var(--color-action-list-item-default-hover-bg)","transparent"],"border-radius":["6px","6px","6px"],"cursor":["pointer","pointer","not-allowed"],"text-decoration":["none"],"animation":["ActionList-item-active-bg 4s forwards cubic-bezier(0.33, 1, 0.68, 1)","checkmarkIn 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards","checkmarkOut 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards"],"box-shadow":["inset 0 0 0 rgba(0,0,0,.04)","inset 0 3px 9px rgba(0,0,0,.04)","0 0 0 2px var(--color-accent-fg)"],"transform":["scale(1)","scale(0.97)","scaleY(-1)","scaleY(1)"],"left":["-8px"],"transition":["transform 120ms linear","transform 120ms linear","visibility 0 linear 0,opacity 50ms","visibility 0 linear 50ms,opacity 50ms","visibility 0s linear 200ms","background 33.333ms linear"],"font-weight":["600","400","600","400","400","600"],"opacity":["1","0"],"fill":["var(--color-accent-fg)","var(--color-fg-on-emphasis)","var(--color-canvas-default)","var(--color-canvas-default)","var(--color-primer-fg-disabled)","var(--color-fg-muted)"],"stroke":["var(--color-accent-fg)","var(--color-border-default)"],"stroke-width":["1px","1px"],"-webkit-clip-path":["inset(16px 0 0 0)","inset(16px 0 0 0)","inset(0 0 0 0)","inset(0 0 0 0)","inset(16px 0 0 0)"],"clip-path":["inset(16px 0 0 0)","inset(16px 0 0 0)","inset(0 0 0 0)","inset(0 0 0 0)","inset(16px 0 0 0)"],"border":["1px solid var(--color-border-default)","0"],"color":["var(--color-danger-fg)","var(--color-danger-fg)","var(--color-action-list-item-danger-hover-text)","var(--color-primer-fg-disabled)","var(--color-fg-default)","var(--color-fg-muted)","var(--color-fg-muted)","var(--color-fg-default)","var(--color-fg-muted)"],"-webkit-user-select":["none"],"user-select":["none"],"grid-template-rows":["min-content"],"grid-template-areas":["\"leadingAction leadingVisual label trailingVisual trailingAction\""],"grid-template-columns":["min-content min-content minmax(min-content, auto) min-content min-content"],"align-items":["center","baseline","center"],"margin-right":["8px"],"z-index":["1"],"outline":["none"],"place-self":["start"],"grid-area":["leadingAction","leadingVisual","label","trailingVisual","trailingAction","label"],"flex-direction":["column","row","column"],"margin-top":["4px","0"],"margin-left":["8px"],"font-size":["12px","12px","12px"],"line-height":["1.5","20px"],"min-height":["20px"],"padding-left":["16px","24px","28px","32px"],"margin":["7px -8px 8px","8px -8px"],"border-top":["1px solid var(--color-action-list-item-inline-divider)"],"border-bottom":["1px solid var(--color-action-list-item-inline-divider)"],"box-sizing":["border-box"]}},"mediaQueries":{"total":6,"unique":3,"values":["screen and (prefers-reduced-motion: no-preference)","screen and (prefers-reduced-motion: no-preference)","screen and (prefers-reduced-motion: no-preference)","(hover: hover)and (pointer: fine)","(hover: hover)and (pointer: fine)","(pointer: coarse)"],"contents":[{"value":"screen and (prefers-reduced-motion: no-preference)","rules":{"total":1,"size":{"graph":[1],"max":1,"average":1},"selectorByRuleSizes":[{"selector":".ActionList-item:not(.ActionList-item--hasSubItem):active","declarations":1}]},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":1,"pseudoElement":0,"values":[".ActionList-item:not(.ActionList-item--hasSubItem):active"],"specificity":{"max":30,"average":30}},"declarations":{"total":1,"unique":1,"uniqueToTotalRatio":1,"properties":{"animation":["ActionList-item-active-bg 4s forwards cubic-bezier(0.33, 1, 0.68, 1)"]}}},{"value":"screen and (prefers-reduced-motion: no-preference)","rules":{"total":1,"size":{"graph":[1],"max":1,"average":1},"selectorByRuleSizes":[{"selector":".ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark","declarations":1}]},"selectors":{"total":2,"type":0,"class":2,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark",".ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark"],"specificity":{"max":30,"average":30}},"declarations":{"total":1,"unique":1,"uniqueToTotalRatio":1,"properties":{"animation":["checkmarkIn 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards"]}}},{"value":"screen and (prefers-reduced-motion: no-preference)","rules":{"total":1,"size":{"graph":[1],"max":1,"average":1},"selectorByRuleSizes":[{"selector":".ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark","declarations":1}]},"selectors":{"total":2,"type":0,"class":2,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark",".ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark"],"specificity":{"max":30,"average":30}},"declarations":{"total":1,"unique":1,"uniqueToTotalRatio":1,"properties":{"animation":["checkmarkOut 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards"]}}},{"value":"(hover: hover)and (pointer: fine)","rules":{"total":2,"size":{"graph":[1,1],"max":1,"average":1},"selectorByRuleSizes":[{"selector":",.ActionList-item.ActionList-item--danger:hover .ActionList-item-label","declarations":1},{"selector":".ActionList-item.ActionList-item--danger:hover","declarations":1}]},"selectors":{"total":2,"type":0,"class":2,"id":0,"pseudoClass":2,"pseudoElement":0,"values":[".ActionList-item.ActionList-item--danger:hover",".ActionList-item.ActionList-item--danger:hover .ActionList-item-label"],"specificity":{"max":40,"average":35}},"declarations":{"total":2,"unique":2,"uniqueToTotalRatio":1,"properties":{"background":["var(--color-action-list-item-danger-hover-bg)"],"color":["var(--color-action-list-item-danger-hover-text)"]}}},{"value":"(hover: hover)and (pointer: fine)","rules":{"total":1,"size":{"graph":[2],"max":2,"average":2},"selectorByRuleSizes":[{"selector":".ActionList-item[aria-disabled=true]:hover","declarations":2}]},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":1,"pseudoElement":0,"values":[".ActionList-item[aria-disabled=true]:hover"],"specificity":{"max":30,"average":30}},"declarations":{"total":2,"unique":2,"uniqueToTotalRatio":1,"properties":{"cursor":["not-allowed"],"background-color":["transparent"]}}},{"value":"(pointer: coarse)","rules":{"total":1,"size":{"graph":[1],"max":1,"average":1},"selectorByRuleSizes":[{"selector":".ActionList-content","declarations":1}]},"selectors":{"total":1,"type":0,"class":1,"id":0,"pseudoClass":0,"pseudoElement":0,"values":[".ActionList-content"],"specificity":{"max":10,"average":10}},"declarations":{"total":1,"unique":1,"uniqueToTotalRatio":1,"properties":{"padding":["14px 8px"]}}}]}}
|