@openproject/primer-view-components 0.23.0 → 0.24.0-rc.03c3410d
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/app/components/primer/alpha/action_list.d.ts +16 -0
- package/app/assets/javascripts/app/components/primer/beta/nav_list.d.ts +3 -0
- package/app/assets/javascripts/app/components/primer/primer.d.ts +1 -0
- package/app/assets/javascripts/primer_view_components.js +1 -1
- 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_list.css +1 -1
- package/app/components/primer/alpha/action_list.css.json +2 -0
- package/app/components/primer/alpha/action_list.d.ts +16 -0
- package/app/components/primer/alpha/action_list.js +69 -0
- package/app/components/primer/alpha/banner.css +1 -1
- package/app/components/primer/alpha/dialog.css +1 -1
- package/app/components/primer/alpha/dialog.css.json +2 -0
- package/app/components/primer/alpha/dropdown.css +1 -1
- package/app/components/primer/alpha/text_field.css +1 -1
- package/app/components/primer/alpha/text_field.css.json +2 -0
- package/app/components/primer/beta/breadcrumbs.css +1 -1
- package/app/components/primer/beta/button.css +1 -1
- package/app/components/primer/beta/button.css.json +1 -0
- package/app/components/primer/beta/flash.css +1 -1
- package/app/components/primer/beta/nav_list.d.ts +3 -0
- package/app/components/primer/beta/nav_list.js +25 -2
- package/app/components/primer/beta/nav_list_group_element.js +4 -1
- package/app/components/primer/beta/popover.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 -4
- package/app/components/primer/primer.d.ts +1 -0
- package/app/components/primer/primer.js +1 -0
- package/lib/primer/forms/primer_text_field.js +2 -2
- package/package.json +6 -6
- package/static/arguments.json +7 -7
- package/static/classes.json +2 -5
- package/static/constants.json +22 -13
- package/static/info_arch.json +158 -21
- package/static/previews.json +147 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
.Popover{position:absolute;z-index:100}.Popover-message{background-color:var(--overlay-bgColor,var(--color-canvas-overlay));border:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--borderColor-default,var(--color-border-default));border-radius:var(--borderRadius-medium,.375rem);margin-left:auto;margin-right:auto;position:relative;width:232px}.Popover-message:after,.Popover-message:before{content:"";display:inline-block;left:50%;position:absolute}.Popover-message:before{border:8px solid #0000;border-bottom:8px solid var(--borderColor-default,var(--color-border-default));margin-left:-9px;top:-16px}.Popover-message:after{border:7px solid #0000;border-bottom:7px solid var(--overlay-bgColor,var(--color-canvas-overlay));margin-left:-8px;top:-14px}.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{border-bottom-color:#0000;top:auto}.Popover-message--bottom-left:before,.Popover-message--bottom-right:before,.Popover-message--bottom:before{border-top-color:var(--borderColor-default,var(--color-border-default));bottom:-16px}.Popover-message--bottom-left:after,.Popover-message--bottom-right:after,.Popover-message--bottom:after{border-top-color:var(--overlay-bgColor,var(--color-canvas-overlay));bottom:-14px}.Popover-message--bottom-right,.Popover-message--top-right{margin-right:0;right:-9px}.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:20px}.Popover-message--bottom-right:after,.Popover-message--top-right:after{right:21px}.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:24px;margin-left:0}.Popover-message--bottom-left:after,.Popover-message--top-left:after{left:25px}.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{border-bottom-color:#0000;left:auto;margin-left:0;top:50%}.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{border-left-color:var(--borderColor-default,var(--color-border-default));right:-16px}.Popover-message--right-bottom:after,.Popover-message--right-top:after,.Popover-message--right:after{border-left-color:var(--overlay-bgColor,var(--color-canvas-overlay));right:-14px}.Popover-message--left-bottom:before,.Popover-message--left-top:before,.Popover-message--left:before{border-right-color:var(--borderColor-default,var(--color-border-default));left:-16px}.Popover-message--left-bottom:after,.Popover-message--left-top:after,.Popover-message--left:after{border-right-color:var(--overlay-bgColor,var(--color-canvas-overlay));left:-14px}.Popover-message--left-top:after,.Popover-message--left-top:before,.Popover-message--right-top:after,.Popover-message--right-top:before{top:24px}.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:16px}.Popover-message--left-bottom:after,.Popover-message--right-bottom:after{bottom:17px}@media (min-width:544px){.Popover-message--large{min-width:320px}}@media (max-width:767.98px){.Popover{bottom:0!important;left:0!important;position:fixed;right:0!important;top:auto!important}.Popover-message{bottom:auto;left:auto;margin:var(--stack-gap-condensed,.5rem);right:auto;top:auto;width:auto!important}.Popover-message>.btn-octicon{padding:var(--control-medium-paddingInline-normal,.75rem)!important}.Popover-message:after,.Popover-message:before{display:none}}
|
|
1
|
+
.Popover{position:absolute;z-index:100}.Popover-message{background-color:var(--overlay-bgColor,var(--color-canvas-overlay));border:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--borderColor-default,var(--color-border-default));border-radius:var(--borderRadius-medium,.375rem);box-shadow:var(--shadow-floating-legacy,var(--color-shadow-large))!important;margin-left:auto;margin-right:auto;position:relative;width:232px}.Popover-message:after,.Popover-message:before{content:"";display:inline-block;left:50%;position:absolute}.Popover-message:before{border:8px solid #0000;border-bottom:8px solid var(--borderColor-default,var(--color-border-default));margin-left:-9px;top:-16px}.Popover-message:after{border:7px solid #0000;border-bottom:7px solid var(--overlay-bgColor,var(--color-canvas-overlay));margin-left:-8px;top:-14px}.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{border-bottom-color:#0000;top:auto}.Popover-message--bottom-left:before,.Popover-message--bottom-right:before,.Popover-message--bottom:before{border-top-color:var(--borderColor-default,var(--color-border-default));bottom:-16px}.Popover-message--bottom-left:after,.Popover-message--bottom-right:after,.Popover-message--bottom:after{border-top-color:var(--overlay-bgColor,var(--color-canvas-overlay));bottom:-14px}.Popover-message--bottom-right,.Popover-message--top-right{margin-right:0;right:-9px}.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:20px}.Popover-message--bottom-right:after,.Popover-message--top-right:after{right:21px}.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:24px;margin-left:0}.Popover-message--bottom-left:after,.Popover-message--top-left:after{left:25px}.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{border-bottom-color:#0000;left:auto;margin-left:0;top:50%}.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{border-left-color:var(--borderColor-default,var(--color-border-default));right:-16px}.Popover-message--right-bottom:after,.Popover-message--right-top:after,.Popover-message--right:after{border-left-color:var(--overlay-bgColor,var(--color-canvas-overlay));right:-14px}.Popover-message--left-bottom:before,.Popover-message--left-top:before,.Popover-message--left:before{border-right-color:var(--borderColor-default,var(--color-border-default));left:-16px}.Popover-message--left-bottom:after,.Popover-message--left-top:after,.Popover-message--left:after{border-right-color:var(--overlay-bgColor,var(--color-canvas-overlay));left:-14px}.Popover-message--left-top:after,.Popover-message--left-top:before,.Popover-message--right-top:after,.Popover-message--right-top:before{top:24px}.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:16px}.Popover-message--left-bottom:after,.Popover-message--right-bottom:after{bottom:17px}@media (min-width:544px){.Popover-message--large{min-width:320px}}@media (max-width:767.98px){.Popover{bottom:0!important;left:0!important;position:fixed;right:0!important;top:auto!important}.Popover-message{bottom:auto;left:auto;margin:var(--stack-gap-condensed,.5rem);right:auto;top:auto;width:auto!important}.Popover-message>.btn-octicon{padding:var(--control-medium-paddingInline-normal,.75rem)!important}.Popover-message:after,.Popover-message:before{display:none}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.PageHeader{border-bottom:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--borderColor-muted,var(--color-border-muted));display:flex;flex-flow:column;margin-bottom:var(--stack-gap-normal,1rem);padding-bottom:var(--stack-padding-condensed,.5rem)}
|
|
1
|
+
.PageHeader{border-bottom:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--borderColor-muted,var(--color-border-muted));display:flex;flex-flow:column;margin-bottom:var(--stack-gap-normal,1rem);padding-bottom:var(--stack-padding-condensed,.5rem)}.PageHeader-contextBar,.PageHeader-titleBar{align-items:center;display:flex;flex-flow:row;justify-content:flex-end}.PageHeader-titleBar{margin-bottom:var(--space-xsmall,.25rem)}.PageHeader-title{flex:1 1 auto;font-size:var(--text-title-size-medium,1.25rem);font-weight:var(--base-text-weight-normal,400)}.PageHeader-title--large{font-size:var(--text-title-size-large,2rem)}.PageHeader-description{color:var(--fgColor-muted,var(--color-fg-muted));flex:1 100%;font-size:var(--text-body-size-medium,.875rem)}.PageHeader-actions{align-items:center;display:flex;justify-content:flex-end}.PageHeader-breadcrumbs{display:block;margin-bottom:var(--base-size-8,.5rem);padding-bottom:var(--base-size-4,.25rem);width:100%}.PageHeader-leadingAction{margin-right:var(--base-size-4,.25rem);margin-top:2px}.PageHeader-parentLink{flex:1 1 auto}
|
|
@@ -8,10 +8,8 @@
|
|
|
8
8
|
".PageHeader-title--large",
|
|
9
9
|
".PageHeader-description",
|
|
10
10
|
".PageHeader-actions",
|
|
11
|
-
".PageHeader-actions+.PageHeader-description",
|
|
12
11
|
".PageHeader-breadcrumbs",
|
|
13
|
-
".PageHeader-
|
|
14
|
-
".PageHeader-parentLink"
|
|
15
|
-
".PageHeader-contextBarActions"
|
|
12
|
+
".PageHeader-leadingAction",
|
|
13
|
+
".PageHeader-parentLink"
|
|
16
14
|
]
|
|
17
15
|
}
|
|
@@ -29,7 +29,7 @@ class PrimerTextFieldElement extends HTMLElement {
|
|
|
29
29
|
connectedCallback() {
|
|
30
30
|
__classPrivateFieldGet(this, _PrimerTextFieldElement_abortController, "f")?.abort();
|
|
31
31
|
const { signal } = (__classPrivateFieldSet(this, _PrimerTextFieldElement_abortController, new AbortController(), "f"));
|
|
32
|
-
this.
|
|
32
|
+
this.addEventListener('auto-check-success', async (event) => {
|
|
33
33
|
const message = await event.detail.response.text();
|
|
34
34
|
if (message && message.length > 0) {
|
|
35
35
|
this.setSuccess(message);
|
|
@@ -38,7 +38,7 @@ class PrimerTextFieldElement extends HTMLElement {
|
|
|
38
38
|
this.clearError();
|
|
39
39
|
}
|
|
40
40
|
}, { signal });
|
|
41
|
-
this.
|
|
41
|
+
this.addEventListener('auto-check-error', async (event) => {
|
|
42
42
|
const errorMessage = await event.detail.response.text();
|
|
43
43
|
this.setError(errorMessage);
|
|
44
44
|
}, { signal });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openproject/primer-view-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0-rc.03c3410d",
|
|
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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@github/auto-check-element": "^5.2.0",
|
|
46
|
-
"@github/auto-complete-element": "^3.6.
|
|
46
|
+
"@github/auto-complete-element": "^3.6.2",
|
|
47
47
|
"@github/catalyst": "^1.6.0",
|
|
48
48
|
"@github/clipboard-copy-element": "^1.3.0",
|
|
49
49
|
"@github/details-menu-element": "^1.0.12",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
"@github/markdownlint-github": "^0.6.0",
|
|
63
63
|
"@github/prettier-config": "0.0.6",
|
|
64
64
|
"@playwright/test": "^1.35.1",
|
|
65
|
-
"@primer/css": "21.
|
|
66
|
-
"@primer/primitives": "7.15.
|
|
65
|
+
"@primer/css": "21.2.0",
|
|
66
|
+
"@primer/primitives": "7.15.12",
|
|
67
67
|
"@primer/stylelint-config": "^12.7.2",
|
|
68
68
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
69
69
|
"@rollup/plugin-typescript": "^8.3.3",
|
|
70
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
71
71
|
"@typescript-eslint/parser": "^6.0.0",
|
|
72
72
|
"axe-core": "^4.7.1",
|
|
73
73
|
"chokidar-cli": "^3.0.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"postcss-cli": "^11.0.0",
|
|
84
84
|
"postcss-custom-properties-fallback": "^1.0.2",
|
|
85
85
|
"postcss-import": "^16.0.0",
|
|
86
|
-
"postcss-mixins": "^
|
|
86
|
+
"postcss-mixins": "^10.0.0",
|
|
87
87
|
"postcss-preset-env": "^9.3.0",
|
|
88
88
|
"prettier": "3.2.5",
|
|
89
89
|
"rollup": "^2.79.1",
|
package/static/arguments.json
CHANGED
|
@@ -249,9 +249,9 @@
|
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
"name": "truncate_label",
|
|
252
|
-
"type": "Boolean",
|
|
253
|
-
"default": "`
|
|
254
|
-
"description": "
|
|
252
|
+
"type": "Boolean | Symbol",
|
|
253
|
+
"default": "`:none`",
|
|
254
|
+
"description": "How the label should be truncated when the text does not fit inside the bounds of the list item. One of `false`, `:none`, `:show_tooltip`, `:truncate`, or `true`. Pass `false` or `:none` to wrap label text. Pass `true` or `:truncate` to truncate labels with ellipses. Pass `:show_tooltip` to show the entire label contents in a tooltip when the item is hovered."
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
"name": "href",
|
|
@@ -2494,7 +2494,7 @@
|
|
|
2494
2494
|
"name": "full_width",
|
|
2495
2495
|
"type": "Boolean",
|
|
2496
2496
|
"default": "N/A",
|
|
2497
|
-
"description": "When set to `true`, the field will take up all the horizontal space allowed by its container."
|
|
2497
|
+
"description": "When set to `true`, the field will take up all the horizontal space allowed by its container. Defaults to `true`."
|
|
2498
2498
|
},
|
|
2499
2499
|
{
|
|
2500
2500
|
"name": "name",
|
|
@@ -2624,7 +2624,7 @@
|
|
|
2624
2624
|
"name": "full_width",
|
|
2625
2625
|
"type": "Boolean",
|
|
2626
2626
|
"default": "N/A",
|
|
2627
|
-
"description": "When set to `true`, the field will take up all the horizontal space allowed by its container."
|
|
2627
|
+
"description": "When set to `true`, the field will take up all the horizontal space allowed by its container. Defaults to `true`."
|
|
2628
2628
|
},
|
|
2629
2629
|
{
|
|
2630
2630
|
"name": "name",
|
|
@@ -2814,13 +2814,13 @@
|
|
|
2814
2814
|
"name": "size",
|
|
2815
2815
|
"type": "Symbol",
|
|
2816
2816
|
"default": "`:medium`",
|
|
2817
|
-
"description": "What size toggle switch to render. One of `:
|
|
2817
|
+
"description": "What size toggle switch to render. One of `:medium` or `:small`."
|
|
2818
2818
|
},
|
|
2819
2819
|
{
|
|
2820
2820
|
"name": "status_label_position",
|
|
2821
2821
|
"type": "Symbol",
|
|
2822
2822
|
"default": "`:start`",
|
|
2823
|
-
"description": "Which side of the toggle switch to render the status label. One of `:
|
|
2823
|
+
"description": "Which side of the toggle switch to render the status label. One of `:end` or `:start`."
|
|
2824
2824
|
},
|
|
2825
2825
|
{
|
|
2826
2826
|
"name": "system_arguments",
|
package/static/classes.json
CHANGED
|
@@ -426,19 +426,16 @@
|
|
|
426
426
|
"PageHeader-actions": [
|
|
427
427
|
"Primer::OpenProject::PageHeader"
|
|
428
428
|
],
|
|
429
|
-
"PageHeader-backButton": [
|
|
430
|
-
"Primer::OpenProject::PageHeader"
|
|
431
|
-
],
|
|
432
429
|
"PageHeader-breadcrumbs": [
|
|
433
430
|
"Primer::OpenProject::PageHeader"
|
|
434
431
|
],
|
|
435
432
|
"PageHeader-contextBar": [
|
|
436
433
|
"Primer::OpenProject::PageHeader"
|
|
437
434
|
],
|
|
438
|
-
"PageHeader-
|
|
435
|
+
"PageHeader-description": [
|
|
439
436
|
"Primer::OpenProject::PageHeader"
|
|
440
437
|
],
|
|
441
|
-
"PageHeader-
|
|
438
|
+
"PageHeader-leadingAction": [
|
|
442
439
|
"Primer::OpenProject::PageHeader"
|
|
443
440
|
],
|
|
444
441
|
"PageHeader-parentLink": [
|
package/static/constants.json
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"DEFAULT_DESCRIPTION_SCHEME": "block",
|
|
96
96
|
"DEFAULT_SCHEME": "default",
|
|
97
97
|
"DEFAULT_SIZE": "medium",
|
|
98
|
+
"DEFAULT_TRUNCATION_BEHAVIOR": "none",
|
|
98
99
|
"DESCRIPTION_SCHEME_MAPPINGS": {
|
|
99
100
|
"inline": "ActionListItem-descriptionWrap--inline",
|
|
100
101
|
"block": "ActionListItem-descriptionWrap"
|
|
@@ -120,6 +121,20 @@
|
|
|
120
121
|
"medium",
|
|
121
122
|
"large",
|
|
122
123
|
"xlarge"
|
|
124
|
+
],
|
|
125
|
+
"TRUNCATION_BEHAVIOR_MAPPINGS": {
|
|
126
|
+
"none": null,
|
|
127
|
+
"false": null,
|
|
128
|
+
"show_tooltip": "ActionListItem-label--truncate",
|
|
129
|
+
"truncate": "ActionListItem-label--truncate",
|
|
130
|
+
"true": "ActionListItem-label--truncate"
|
|
131
|
+
},
|
|
132
|
+
"TRUNCATION_BEHAVIOR_OPTIONS": [
|
|
133
|
+
"none",
|
|
134
|
+
false,
|
|
135
|
+
"show_tooltip",
|
|
136
|
+
"truncate",
|
|
137
|
+
true
|
|
123
138
|
]
|
|
124
139
|
},
|
|
125
140
|
"Primer::Alpha::ActionMenu": {
|
|
@@ -1415,26 +1430,20 @@
|
|
|
1415
1430
|
"chevron-left",
|
|
1416
1431
|
"triangle-left"
|
|
1417
1432
|
],
|
|
1418
|
-
"BACK_BUTTON_SIZE_OPTIONS": [
|
|
1419
|
-
"small",
|
|
1420
|
-
"medium",
|
|
1421
|
-
"large"
|
|
1422
|
-
],
|
|
1423
|
-
"DEFAULT_BACK_BUTTON_DISPLAY": [
|
|
1424
|
-
"none",
|
|
1425
|
-
"flex"
|
|
1426
|
-
],
|
|
1427
1433
|
"DEFAULT_BACK_BUTTON_ICON": "arrow-left",
|
|
1428
|
-
"DEFAULT_BACK_BUTTON_SIZE": "medium",
|
|
1429
1434
|
"DEFAULT_BREADCRUMBS_DISPLAY": [
|
|
1430
1435
|
"none",
|
|
1431
1436
|
"flex"
|
|
1432
1437
|
],
|
|
1433
1438
|
"DEFAULT_CONTEXT_BAR_ACTIONS_DISPLAY": [
|
|
1434
|
-
"
|
|
1439
|
+
"flex",
|
|
1435
1440
|
"none"
|
|
1436
1441
|
],
|
|
1437
|
-
"DEFAULT_HEADER_VARIANT": "
|
|
1442
|
+
"DEFAULT_HEADER_VARIANT": "medium",
|
|
1443
|
+
"DEFAULT_LEADING_ACTION_DISPLAY": [
|
|
1444
|
+
"none",
|
|
1445
|
+
"flex"
|
|
1446
|
+
],
|
|
1438
1447
|
"DEFAULT_PARENT_LINK_DISPLAY": [
|
|
1439
1448
|
"block",
|
|
1440
1449
|
"none"
|
|
@@ -1443,7 +1452,7 @@
|
|
|
1443
1452
|
"medium",
|
|
1444
1453
|
"large"
|
|
1445
1454
|
],
|
|
1446
|
-
"HEADING_TAG_FALLBACK": "
|
|
1455
|
+
"HEADING_TAG_FALLBACK": "h1",
|
|
1447
1456
|
"HEADING_TAG_OPTIONS": [
|
|
1448
1457
|
"h1",
|
|
1449
1458
|
"h2",
|
package/static/info_arch.json
CHANGED
|
@@ -746,6 +746,58 @@
|
|
|
746
746
|
"color-contrast"
|
|
747
747
|
]
|
|
748
748
|
}
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"preview_path": "primer/alpha/action_list/long_label_with_tooltip",
|
|
752
|
+
"name": "long_label_with_tooltip",
|
|
753
|
+
"snapshot": "true",
|
|
754
|
+
"skip_rules": {
|
|
755
|
+
"wont_fix": [
|
|
756
|
+
"region"
|
|
757
|
+
],
|
|
758
|
+
"will_fix": [
|
|
759
|
+
"color-contrast"
|
|
760
|
+
]
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"preview_path": "primer/alpha/action_list/long_label_wrap",
|
|
765
|
+
"name": "long_label_wrap",
|
|
766
|
+
"snapshot": "false",
|
|
767
|
+
"skip_rules": {
|
|
768
|
+
"wont_fix": [
|
|
769
|
+
"region"
|
|
770
|
+
],
|
|
771
|
+
"will_fix": [
|
|
772
|
+
"color-contrast"
|
|
773
|
+
]
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"preview_path": "primer/alpha/action_list/long_label_truncate_no_tooltip",
|
|
778
|
+
"name": "long_label_truncate_no_tooltip",
|
|
779
|
+
"snapshot": "false",
|
|
780
|
+
"skip_rules": {
|
|
781
|
+
"wont_fix": [
|
|
782
|
+
"region"
|
|
783
|
+
],
|
|
784
|
+
"will_fix": [
|
|
785
|
+
"color-contrast"
|
|
786
|
+
]
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"preview_path": "primer/alpha/action_list/long_label_show_tooltip_with_truncate_label",
|
|
791
|
+
"name": "long_label_show_tooltip_with_truncate_label",
|
|
792
|
+
"snapshot": "false",
|
|
793
|
+
"skip_rules": {
|
|
794
|
+
"wont_fix": [
|
|
795
|
+
"region"
|
|
796
|
+
],
|
|
797
|
+
"will_fix": [
|
|
798
|
+
"color-contrast"
|
|
799
|
+
]
|
|
800
|
+
}
|
|
749
801
|
}
|
|
750
802
|
],
|
|
751
803
|
"subcomponents": [
|
|
@@ -813,9 +865,9 @@
|
|
|
813
865
|
},
|
|
814
866
|
{
|
|
815
867
|
"name": "truncate_label",
|
|
816
|
-
"type": "Boolean",
|
|
817
|
-
"default": "`
|
|
818
|
-
"description": "
|
|
868
|
+
"type": "Boolean | Symbol",
|
|
869
|
+
"default": "`:none`",
|
|
870
|
+
"description": "How the label should be truncated when the text does not fit inside the bounds of the list item. One of `false`, `:none`, `:show_tooltip`, `:truncate`, or `true`. Pass `false` or `:none` to wrap label text. Pass `true` or `:truncate` to truncate labels with ellipses. Pass `:show_tooltip` to show the entire label contents in a tooltip when the item is hovered."
|
|
819
871
|
},
|
|
820
872
|
{
|
|
821
873
|
"name": "href",
|
|
@@ -7127,6 +7179,19 @@
|
|
|
7127
7179
|
]
|
|
7128
7180
|
}
|
|
7129
7181
|
},
|
|
7182
|
+
{
|
|
7183
|
+
"preview_path": "primer/alpha/select/not_full_width",
|
|
7184
|
+
"name": "not_full_width",
|
|
7185
|
+
"snapshot": "true",
|
|
7186
|
+
"skip_rules": {
|
|
7187
|
+
"wont_fix": [
|
|
7188
|
+
"region"
|
|
7189
|
+
],
|
|
7190
|
+
"will_fix": [
|
|
7191
|
+
"color-contrast"
|
|
7192
|
+
]
|
|
7193
|
+
}
|
|
7194
|
+
},
|
|
7130
7195
|
{
|
|
7131
7196
|
"preview_path": "primer/alpha/select/disabled",
|
|
7132
7197
|
"name": "disabled",
|
|
@@ -7562,7 +7627,7 @@
|
|
|
7562
7627
|
"name": "full_width",
|
|
7563
7628
|
"type": "Boolean",
|
|
7564
7629
|
"default": "N/A",
|
|
7565
|
-
"description": "When set to `true`, the field will take up all the horizontal space allowed by its container."
|
|
7630
|
+
"description": "When set to `true`, the field will take up all the horizontal space allowed by its container. Defaults to `true`."
|
|
7566
7631
|
},
|
|
7567
7632
|
{
|
|
7568
7633
|
"name": "name",
|
|
@@ -7745,6 +7810,19 @@
|
|
|
7745
7810
|
]
|
|
7746
7811
|
}
|
|
7747
7812
|
},
|
|
7813
|
+
{
|
|
7814
|
+
"preview_path": "primer/alpha/text_area/not_full_width",
|
|
7815
|
+
"name": "not_full_width",
|
|
7816
|
+
"snapshot": "true",
|
|
7817
|
+
"skip_rules": {
|
|
7818
|
+
"wont_fix": [
|
|
7819
|
+
"region"
|
|
7820
|
+
],
|
|
7821
|
+
"will_fix": [
|
|
7822
|
+
"color-contrast"
|
|
7823
|
+
]
|
|
7824
|
+
}
|
|
7825
|
+
},
|
|
7748
7826
|
{
|
|
7749
7827
|
"preview_path": "primer/alpha/text_area/disabled",
|
|
7750
7828
|
"name": "disabled",
|
|
@@ -7813,7 +7891,7 @@
|
|
|
7813
7891
|
"name": "full_width",
|
|
7814
7892
|
"type": "Boolean",
|
|
7815
7893
|
"default": "N/A",
|
|
7816
|
-
"description": "When set to `true`, the field will take up all the horizontal space allowed by its container."
|
|
7894
|
+
"description": "When set to `true`, the field will take up all the horizontal space allowed by its container. Defaults to `true`."
|
|
7817
7895
|
},
|
|
7818
7896
|
{
|
|
7819
7897
|
"name": "name",
|
|
@@ -8090,6 +8168,19 @@
|
|
|
8090
8168
|
]
|
|
8091
8169
|
}
|
|
8092
8170
|
},
|
|
8171
|
+
{
|
|
8172
|
+
"preview_path": "primer/alpha/text_field/not_full_width",
|
|
8173
|
+
"name": "not_full_width",
|
|
8174
|
+
"snapshot": "true",
|
|
8175
|
+
"skip_rules": {
|
|
8176
|
+
"wont_fix": [
|
|
8177
|
+
"region"
|
|
8178
|
+
],
|
|
8179
|
+
"will_fix": [
|
|
8180
|
+
"color-contrast"
|
|
8181
|
+
]
|
|
8182
|
+
}
|
|
8183
|
+
},
|
|
8093
8184
|
{
|
|
8094
8185
|
"preview_path": "primer/alpha/text_field/disabled",
|
|
8095
8186
|
"name": "disabled",
|
|
@@ -8319,13 +8410,13 @@
|
|
|
8319
8410
|
"name": "size",
|
|
8320
8411
|
"type": "Symbol",
|
|
8321
8412
|
"default": "`:medium`",
|
|
8322
|
-
"description": "What size toggle switch to render. One of `:
|
|
8413
|
+
"description": "What size toggle switch to render. One of `:medium` or `:small`."
|
|
8323
8414
|
},
|
|
8324
8415
|
{
|
|
8325
8416
|
"name": "status_label_position",
|
|
8326
8417
|
"type": "Symbol",
|
|
8327
8418
|
"default": "`:start`",
|
|
8328
|
-
"description": "Which side of the toggle switch to render the status label. One of `:
|
|
8419
|
+
"description": "Which side of the toggle switch to render the status label. One of `:end` or `:start`."
|
|
8329
8420
|
},
|
|
8330
8421
|
{
|
|
8331
8422
|
"name": "system_arguments",
|
|
@@ -13115,6 +13206,58 @@
|
|
|
13115
13206
|
"color-contrast"
|
|
13116
13207
|
]
|
|
13117
13208
|
}
|
|
13209
|
+
},
|
|
13210
|
+
{
|
|
13211
|
+
"preview_path": "primer/beta/nav_list/long_label_with_tooltip",
|
|
13212
|
+
"name": "long_label_with_tooltip",
|
|
13213
|
+
"snapshot": "true",
|
|
13214
|
+
"skip_rules": {
|
|
13215
|
+
"wont_fix": [
|
|
13216
|
+
"region"
|
|
13217
|
+
],
|
|
13218
|
+
"will_fix": [
|
|
13219
|
+
"color-contrast"
|
|
13220
|
+
]
|
|
13221
|
+
}
|
|
13222
|
+
},
|
|
13223
|
+
{
|
|
13224
|
+
"preview_path": "primer/beta/nav_list/long_label_wrap",
|
|
13225
|
+
"name": "long_label_wrap",
|
|
13226
|
+
"snapshot": "false",
|
|
13227
|
+
"skip_rules": {
|
|
13228
|
+
"wont_fix": [
|
|
13229
|
+
"region"
|
|
13230
|
+
],
|
|
13231
|
+
"will_fix": [
|
|
13232
|
+
"color-contrast"
|
|
13233
|
+
]
|
|
13234
|
+
}
|
|
13235
|
+
},
|
|
13236
|
+
{
|
|
13237
|
+
"preview_path": "primer/beta/nav_list/long_label_truncate_no_tooltip",
|
|
13238
|
+
"name": "long_label_truncate_no_tooltip",
|
|
13239
|
+
"snapshot": "false",
|
|
13240
|
+
"skip_rules": {
|
|
13241
|
+
"wont_fix": [
|
|
13242
|
+
"region"
|
|
13243
|
+
],
|
|
13244
|
+
"will_fix": [
|
|
13245
|
+
"color-contrast"
|
|
13246
|
+
]
|
|
13247
|
+
}
|
|
13248
|
+
},
|
|
13249
|
+
{
|
|
13250
|
+
"preview_path": "primer/beta/nav_list/long_label_show_tooltip_no_truncate_label",
|
|
13251
|
+
"name": "long_label_show_tooltip_no_truncate_label",
|
|
13252
|
+
"snapshot": "false",
|
|
13253
|
+
"skip_rules": {
|
|
13254
|
+
"wont_fix": [
|
|
13255
|
+
"region"
|
|
13256
|
+
],
|
|
13257
|
+
"will_fix": [
|
|
13258
|
+
"color-contrast"
|
|
13259
|
+
]
|
|
13260
|
+
}
|
|
13118
13261
|
}
|
|
13119
13262
|
],
|
|
13120
13263
|
"subcomponents": [
|
|
@@ -16178,20 +16321,14 @@
|
|
|
16178
16321
|
]
|
|
16179
16322
|
},
|
|
16180
16323
|
{
|
|
16181
|
-
"name": "
|
|
16182
|
-
"description": "Optional
|
|
16324
|
+
"name": "leading_action",
|
|
16325
|
+
"description": "Optional leading action prepend the title\nBy default shown on wider screens. Can be overridden with system_argument: display",
|
|
16183
16326
|
"parameters": [
|
|
16184
|
-
{
|
|
16185
|
-
"name": "size",
|
|
16186
|
-
"type": "Symbol",
|
|
16187
|
-
"default": "N/A",
|
|
16188
|
-
"description": "One of `:large`, `:medium`, or `:small`."
|
|
16189
|
-
},
|
|
16190
16327
|
{
|
|
16191
16328
|
"name": "icon",
|
|
16192
|
-
"type": "
|
|
16329
|
+
"type": "Symbol",
|
|
16193
16330
|
"default": "N/A",
|
|
16194
|
-
"description": "
|
|
16331
|
+
"description": "The name of an {{link_to_octicons}} icon to use."
|
|
16195
16332
|
},
|
|
16196
16333
|
{
|
|
16197
16334
|
"name": "system_arguments",
|
|
@@ -16276,8 +16413,8 @@
|
|
|
16276
16413
|
}
|
|
16277
16414
|
},
|
|
16278
16415
|
{
|
|
16279
|
-
"preview_path": "primer/open_project/page_header/
|
|
16280
|
-
"name": "
|
|
16416
|
+
"preview_path": "primer/open_project/page_header/large_title",
|
|
16417
|
+
"name": "large_title",
|
|
16281
16418
|
"snapshot": "false",
|
|
16282
16419
|
"skip_rules": {
|
|
16283
16420
|
"wont_fix": [
|
|
@@ -16302,8 +16439,8 @@
|
|
|
16302
16439
|
}
|
|
16303
16440
|
},
|
|
16304
16441
|
{
|
|
16305
|
-
"preview_path": "primer/open_project/page_header/
|
|
16306
|
-
"name": "
|
|
16442
|
+
"preview_path": "primer/open_project/page_header/leading_action",
|
|
16443
|
+
"name": "leading_action",
|
|
16307
16444
|
"snapshot": "false",
|
|
16308
16445
|
"skip_rules": {
|
|
16309
16446
|
"wont_fix": [
|