@primer/view-components
Advanced tools
Comparing version 0.0.0-20220930150411 to 0.0.0-20220930162117
import './alpha/modal_dialog'; | ||
import './alpha/nav_list'; | ||
import './alpha/toggle_switch'; | ||
@@ -12,2 +11,1 @@ import './alpha/tool_tip'; | ||
import './time_ago_component'; | ||
import './alpha/primer_overlay_element'; |
import './alpha/modal_dialog'; | ||
import './alpha/nav_list'; | ||
import './alpha/toggle_switch'; | ||
@@ -12,2 +11,1 @@ import './alpha/tool_tip'; | ||
import './time_ago_component'; | ||
import './alpha/primer_overlay_element'; |
{ | ||
"name": "@primer/view-components", | ||
"version": "0.0.0-20220930150411", | ||
"version": "0.0.0-20220930162117", | ||
"description": "ViewComponents for the Primer Design System", | ||
@@ -31,5 +31,5 @@ "main": "app/assets/javascripts/primer_view_components.js", | ||
"clean": "git clean -fdX -- app/", | ||
"build:docs": "npm run --prefix ./docs/ build", | ||
"build:docs:preview": "cd docs && npx gatsby build", | ||
"prepare": "rm -rf docs/static && mkdir -p docs/static && npm run build:js && npm run build:css && cp app/assets/**/primer_view_components.* docs/static/", | ||
"build:docs": "cd docs && yarn gatsby build --prefix-paths", | ||
"build:docs:preview": "cd docs && yarn gatsby build", | ||
"prepare": "rm -rf docs/static && mkdir -p docs/static && yarn build:js && yarn build:css && cp app/assets/**/primer_view_components.* docs/static/", | ||
"lint": "eslint 'app/components/**/*.ts'", | ||
@@ -56,3 +56,3 @@ "lint:fix": "eslint 'app/components/**/*.ts' --fix", | ||
"@github/prettier-config": "0.0.4", | ||
"@primer/css": "20.4.6", | ||
"@primer/css": "20.4.5", | ||
"@primer/primitives": "^7.9.0", | ||
@@ -65,3 +65,3 @@ "@rollup/plugin-node-resolve": "^13.3.0", | ||
"cssnano": "^5.1.13", | ||
"eslint": "^8.23.1", | ||
"eslint": "^8.20.0", | ||
"eslint-plugin-custom-elements": "^0.0.6", | ||
@@ -68,0 +68,0 @@ "eslint-plugin-github": "^4.3.7", |
{ | ||
"Primer::Alpha::ActionList": "", | ||
"Primer::Alpha::ActionList::Divider": "", | ||
"Primer::Alpha::ActionList::Heading": "", | ||
"Primer::Alpha::ActionList::Item": "", | ||
"Primer::Alpha::AutoComplete": "", | ||
@@ -17,9 +13,2 @@ "Primer::Alpha::AutoComplete::Item": "", | ||
"Primer::Alpha::Layout::Sidebar": "", | ||
"Primer::Alpha::NavList": "", | ||
"Primer::Alpha::NavList::Item": "", | ||
"Primer::Alpha::NavList::Section": "", | ||
"Primer::Alpha::Overlay": "", | ||
"Primer::Alpha::Overlay::Body": "", | ||
"Primer::Alpha::Overlay::Footer": "", | ||
"Primer::Alpha::Overlay::Header": "", | ||
"Primer::Alpha::TabNav": "", | ||
@@ -26,0 +15,0 @@ "Primer::Alpha::TabPanels": "", |
{ | ||
"Primer::Alpha::ActionList": { | ||
"DEFAULT_ROLE": "list", | ||
"DEFAULT_SCHEME": "full", | ||
"Divider": "Primer::Alpha::ActionList::Divider", | ||
"Heading": "Primer::Alpha::ActionList::Heading", | ||
"Item": "Primer::Alpha::ActionList::Item", | ||
"SCHEME_MAPPINGS": { | ||
"full": null, | ||
"inset": "ActionListWrap--inset" | ||
}, | ||
"SCHEME_OPTIONS": [ | ||
"full", | ||
"inset" | ||
] | ||
}, | ||
"Primer::Alpha::ActionList::Divider": { | ||
"DEFAULT_SCHEME": "subtle", | ||
"SCHEME_MAPPINGS": { | ||
"subtle": null, | ||
"filled": "ActionList-sectionDivider--filled" | ||
}, | ||
"SCHEME_OPTIONS": [ | ||
"subtle", | ||
"filled" | ||
] | ||
}, | ||
"Primer::Alpha::ActionList::Heading": { | ||
"DEFAULT_SCHEME": "subtle", | ||
"SCHEME_MAPPINGS": { | ||
"subtle": null, | ||
"filled": "ActionList-sectionDivider--filled" | ||
}, | ||
"SCHEME_OPTIONS": [ | ||
"subtle", | ||
"filled" | ||
] | ||
}, | ||
"Primer::Alpha::ActionList::Item": { | ||
"DEFAULT_DESCRIPTION_SCHEME": "block", | ||
"DEFAULT_SCHEME": "default", | ||
"DEFAULT_SIZE": "medium", | ||
"DESCRIPTION_SCHEME_MAPPINGS": { | ||
"inline": "ActionListItem-descriptionWrap--inline", | ||
"block": "ActionListItem-descriptionWrap" | ||
}, | ||
"DESCRIPTION_SCHEME_OPTIONS": [ | ||
"inline", | ||
"block" | ||
], | ||
"SCHEME_MAPPINGS": { | ||
"default": null, | ||
"danger": "ActionListItem--danger" | ||
}, | ||
"SCHEME_OPTIONS": [ | ||
"default", | ||
"danger" | ||
], | ||
"SIZE_MAPPINGS": { | ||
"medium": null, | ||
"large": "ActionListContent--sizeLarge", | ||
"xlarge": "ActionListContent--sizeXLarge" | ||
}, | ||
"SIZE_OPTIONS": [ | ||
"medium", | ||
"large", | ||
"xlarge" | ||
] | ||
}, | ||
"Primer::Alpha::AutoComplete": { | ||
@@ -241,111 +173,2 @@ "Item": "Primer::Alpha::AutoComplete::Item" | ||
}, | ||
"Primer::Alpha::NavList": { | ||
"Item": "Primer::Alpha::NavList::Item", | ||
"Section": "Primer::Alpha::NavList::Section" | ||
}, | ||
"Primer::Alpha::NavList::Item": { | ||
}, | ||
"Primer::Alpha::NavList::Section": { | ||
}, | ||
"Primer::Alpha::Overlay": { | ||
"ANCHOR_ALIGN_MAPPINGS": { | ||
"start": "Overlay--anchorAlign-start", | ||
"center": "Overlay--anchorAlign-center", | ||
"end": "Overlay--anchorAlign-end" | ||
}, | ||
"ANCHOR_ALIGN_OPTIONS": [ | ||
"start", | ||
"center", | ||
"end" | ||
], | ||
"ANCHOR_SIDE_MAPPINGS": { | ||
"inside_top": "Overlay--anchorSide-insideTop", | ||
"inside_bottom": "Overlay--anchorSide-insideBottom", | ||
"inside_left": "Overlay--anchorSide-insideLeft", | ||
"inside_right": "Overlay--anchorSide-insideRight", | ||
"inside_center": "Overlay--anchorSide-insideCenter", | ||
"outside_top": "Overlay--anchorSide-outsideTop", | ||
"outside_bottom": "Overlay--anchorSide-outsideBottom", | ||
"outside_left": "Overlay--anchorSide-outsideLeft", | ||
"outside_right": "Overlay--anchorSide-outsideRight" | ||
}, | ||
"ANCHOR_SIDE_OPTIONS": [ | ||
"inside_top", | ||
"inside_bottom", | ||
"inside_left", | ||
"inside_right", | ||
"inside_center", | ||
"outside_top", | ||
"outside_bottom", | ||
"outside_left", | ||
"outside_right" | ||
], | ||
"Body": "Primer::Alpha::Overlay::Body", | ||
"DEFAULT_ANCHOR_ALIGN": "start", | ||
"DEFAULT_ANCHOR_SIDE": "outside_bottom", | ||
"DEFAULT_PLACEMENT": "anchored", | ||
"DEFAULT_POPUP": "auto", | ||
"DEFAULT_SIZE": "auto", | ||
"Footer": "Primer::Alpha::Overlay::Footer", | ||
"Header": "Primer::Alpha::Overlay::Header", | ||
"PLACEMENT_MAPPINGS": { | ||
"anchored": "Overlay--placement-anchored", | ||
"center": "Overlay--placement-center", | ||
"full": "Overlay--placement-full", | ||
"top": "Overlay--placement-top", | ||
"bottom": "Overlay--placement-bottom", | ||
"start": "Overlay--placement-start", | ||
"end": "Overlay--placement-end" | ||
}, | ||
"PLACEMENT_OPTIONS": [ | ||
null, | ||
"anchored", | ||
"center", | ||
"full", | ||
"top", | ||
"bottom", | ||
"start", | ||
"end" | ||
], | ||
"POPUP_OPTIONS": [ | ||
"auto", | ||
"hint", | ||
"manual" | ||
], | ||
"ROLE_OPTIONS": [ | ||
"dialog", | ||
"menu" | ||
], | ||
"SIZE_MAPPINGS": { | ||
"auto": "Overlay--size-auto", | ||
"small": "Overlay--size-small", | ||
"medium": "Overlay--size-medium", | ||
"medium_portrait": "Overlay--size-medium-portrait", | ||
"large": "Overlay--size-large", | ||
"xlarge": "Overlay--size-xlarge" | ||
}, | ||
"SIZE_OPTIONS": [ | ||
"auto", | ||
"small", | ||
"medium", | ||
"medium_portrait", | ||
"large", | ||
"xlarge" | ||
] | ||
}, | ||
"Primer::Alpha::Overlay::Body": { | ||
}, | ||
"Primer::Alpha::Overlay::Footer": { | ||
}, | ||
"Primer::Alpha::Overlay::Header": { | ||
"DEFAULT_SIZE": "medium", | ||
"SIZE_MAPPINGS": { | ||
"medium": null, | ||
"large": "Overlay-header--large" | ||
}, | ||
"SIZE_OPTIONS": [ | ||
"medium", | ||
"large" | ||
] | ||
}, | ||
"Primer::Alpha::TabNav": { | ||
@@ -565,2 +388,3 @@ "BODY_TAG_DEFAULT": "ul", | ||
"DEFAULT_SIZE": "medium", | ||
"LINK_SCHEME": "link", | ||
"SCHEME_MAPPINGS": { | ||
@@ -571,4 +395,5 @@ "default": "Button--secondary", | ||
"danger": "Button--danger", | ||
"outline": "btn-outline", | ||
"invisible": "Button--invisible", | ||
"link": "Button--link" | ||
"link": "btn-link" | ||
}, | ||
@@ -580,2 +405,3 @@ "SCHEME_OPTIONS": [ | ||
"danger", | ||
"outline", | ||
"invisible", | ||
@@ -582,0 +408,0 @@ "link" |
{ | ||
"Primer::Alpha::ActionList": "alpha", | ||
"Primer::Alpha::ActionList::Divider": "alpha", | ||
"Primer::Alpha::ActionList::Heading": "alpha", | ||
"Primer::Alpha::ActionList::Item": "alpha", | ||
"Primer::Alpha::AutoComplete": "deprecated", | ||
@@ -17,9 +13,2 @@ "Primer::Alpha::AutoComplete::Item": "deprecated", | ||
"Primer::Alpha::Layout::Sidebar": "alpha", | ||
"Primer::Alpha::NavList": "alpha", | ||
"Primer::Alpha::NavList::Item": "alpha", | ||
"Primer::Alpha::NavList::Section": "alpha", | ||
"Primer::Alpha::Overlay": "alpha", | ||
"Primer::Alpha::Overlay::Body": "alpha", | ||
"Primer::Alpha::Overlay::Footer": "alpha", | ||
"Primer::Alpha::Overlay::Header": "alpha", | ||
"Primer::Alpha::TabNav": "alpha", | ||
@@ -57,3 +46,3 @@ "Primer::Alpha::TabPanels": "alpha", | ||
"Primer::BoxComponent": "deprecated", | ||
"Primer::ButtonComponent": "beta", | ||
"Primer::ButtonComponent": "deprecated", | ||
"Primer::ClipboardCopy": "beta", | ||
@@ -60,0 +49,0 @@ "Primer::CloseButton": "deprecated", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
419215
35
4224