@primer/view-components 0.0.108 → 0.0.110
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 +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.json +1 -1
- package/app/components/primer/{beta → alpha}/banner.css +0 -0
- package/app/components/primer/alpha/banner.css.json +1 -0
- package/app/components/primer/alpha/segmented_control.css.json +1 -1
- package/app/components/primer/alpha/toggle_switch.css +1 -0
- package/app/components/primer/alpha/toggle_switch.css.json +1 -0
- package/app/components/primer/{beta → alpha}/x_banner.d.ts +1 -3
- package/app/components/primer/{beta → alpha}/x_banner.js +2 -4
- package/app/components/primer/beta/blankslate.css +1 -0
- package/app/components/primer/beta/blankslate.css.json +1 -0
- package/app/components/primer/beta/breadcrumbs.css +1 -0
- package/app/components/primer/beta/breadcrumbs.css.json +1 -0
- package/app/components/primer/beta/button.css.json +1 -1
- package/app/components/primer/beta/counter.css +1 -0
- package/app/components/primer/beta/counter.css.json +1 -0
- package/app/components/primer/beta/label.css +1 -0
- package/app/components/primer/beta/label.css.json +1 -0
- package/app/components/primer/beta/progress_bar.css +1 -0
- package/app/components/primer/beta/progress_bar.css.json +1 -0
- package/app/components/primer/beta/truncate.css +1 -0
- package/app/components/primer/beta/truncate.css.json +1 -0
- package/app/components/primer/primer.d.ts +1 -1
- package/app/components/primer/primer.js +1 -1
- package/app/components/primer/state_component.css +1 -0
- package/app/components/primer/state_component.css.json +1 -0
- package/app/components/primer/subhead_component.css +1 -0
- package/app/components/primer/subhead_component.css.json +1 -0
- package/app/components/primer/truncate.css +1 -0
- package/app/components/primer/truncate.css.json +1 -0
- package/package.json +3 -1
- package/static/arguments.json +76 -76
- package/static/audited_at.json +2 -1
- package/static/constants.json +34 -26
- package/static/statuses.json +3 -2
- package/app/components/primer/beta/banner.css.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Progress{background-color:var(--color-neutral-muted);border-radius:6px;display:flex;height:8px;outline:1px solid #0000;overflow:hidden}.Progress--large{height:10px}.Progress--small{height:5px}.Progress-item{outline:2px solid #0000}.Progress-item+.Progress-item{margin-left:2px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"beta/progress_bar","selectors":[".Progress",".Progress--large",".Progress--small",".Progress-item",".Progress-item+.Progress-item"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Truncate{display:inline-flex;max-width:100%;min-width:0}.Truncate>.Truncate-text{max-width:-moz-fit-content;max-width:fit-content;min-width:1ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(.Truncate>.Truncate-text)+.Truncate-text{margin-left:var(--primer-control-small-gap,4px)}.Truncate>.Truncate-text.Truncate-text--primary{flex-basis:200%}.Truncate>.Truncate-text.Truncate-text--expandable:active,.Truncate>.Truncate-text.Truncate-text--expandable:focus,.Truncate>.Truncate-text.Truncate-text--expandable:hover{cursor:pointer;flex-shrink:0;max-width:100%!important}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"beta/truncate","selectors":[".Truncate",".Truncate>.Truncate-text",":is(.Truncate>.Truncate-text)+.Truncate-text",".Truncate>.Truncate-text.Truncate-text--primary",".Truncate>.Truncate-text.Truncate-text--expandable:active",".Truncate>.Truncate-text.Truncate-text--expandable:focus",".Truncate>.Truncate-text.Truncate-text--expandable:hover"]}
|
|
@@ -4,8 +4,8 @@ import './alpha/nav_list';
|
|
|
4
4
|
import './alpha/segmented_control';
|
|
5
5
|
import './alpha/toggle_switch';
|
|
6
6
|
import './alpha/tool_tip';
|
|
7
|
+
import './alpha/x_banner';
|
|
7
8
|
import './beta/auto_complete/auto_complete';
|
|
8
|
-
import './beta/x_banner';
|
|
9
9
|
import './clipboard_copy';
|
|
10
10
|
import './dropdown';
|
|
11
11
|
import './local_time';
|
|
@@ -4,8 +4,8 @@ import './alpha/nav_list';
|
|
|
4
4
|
import './alpha/segmented_control';
|
|
5
5
|
import './alpha/toggle_switch';
|
|
6
6
|
import './alpha/tool_tip';
|
|
7
|
+
import './alpha/x_banner';
|
|
7
8
|
import './beta/auto_complete/auto_complete';
|
|
8
|
-
import './beta/x_banner';
|
|
9
9
|
import './clipboard_copy';
|
|
10
10
|
import './dropdown';
|
|
11
11
|
import './local_time';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.State,.state{border-radius:2em;display:inline-block;font-size:var(--primer-text-body-size-medium,14px);font-weight:var(--base-text-weight-medium,500);line-height:var(--primer-control-medium-lineBoxHeight,20px);padding:5px var(--primer-control-medium-paddingInline-normal,12px);text-align:center;white-space:nowrap}.State,.State--draft,.state{background-color:var(--color-neutral-emphasis);border:var(--primer-borderWidth-thin,1px) solid #0000;color:var(--color-fg-on-emphasis)}.State--open{background-color:var(--color-open-emphasis)}.State--merged,.State--open{color:var(--color-fg-on-emphasis)}.State--merged{background-color:var(--color-done-emphasis)}.State--closed{background-color:var(--color-closed-emphasis);color:var(--color-fg-on-emphasis)}.State--small{font-size:var(--primer-text-body-size-small,12px);line-height:var(--base-size-24,24px);padding:0 10px}.State--small .octicon{width:1em}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"state_component","selectors":[".State",".state",".State--draft",".State--open",".State--merged",".State--closed",".State--small",".State--small .octicon"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Subhead{border-bottom:var(--primer-borderWidth-thin,1px) solid var(--color-border-muted);display:flex;flex-flow:row wrap;justify-content:flex-end;margin-bottom:var(--primer-stack-gap-normal,16px);padding-bottom:var(--primer-stack-padding-condensed,8px)}.Subhead--spacious{margin-top:var(--base-size-40,40px)}.Subhead-heading{flex:1 1 auto;font-size:24px;font-weight:var(--base-text-weight-normal,400);order:0}.Subhead-heading--danger{color:var(--color-danger-fg);font-weight:var(--base-text-weight-semibold,600)}.Subhead-description{color:var(--color-fg-muted);flex:1 100%;font-size:var(--primer-text-body-size-medium,14px);order:2}.Subhead-actions{align-self:center;justify-content:flex-end;margin:var(--base-size-4,4px) 0 var(--base-size-4,4px) var(--base-size-4,4px);order:1}.Subhead-actions+.Subhead-description{margin-top:var(--base-size-4,4px)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"subhead_component","selectors":[".Subhead",".Subhead--spacious",".Subhead-heading",".Subhead-heading--danger",".Subhead-description",".Subhead-actions",".Subhead-actions+.Subhead-description"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.css-truncate .css-truncate-overflow,.css-truncate .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,.css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target,.css-truncate.expandable:hover .css-truncate-target{max-width:10000px!important}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"truncate","selectors":[".css-truncate .css-truncate-overflow",".css-truncate .css-truncate-target",".css-truncate.css-truncate-overflow",".css-truncate.css-truncate-target",".css-truncate.expandable.css-truncate-target:hover",".css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target",".css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target",".css-truncate.expandable:hover .css-truncate-target"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/view-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.110",
|
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
|
6
6
|
"module": "app/components/primer/primer.js",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"@changesets/cli": "^2.24.1",
|
|
58
58
|
"@github/browserslist-config": "^1.0.0",
|
|
59
59
|
"@github/prettier-config": "0.0.4",
|
|
60
|
+
"@playwright/test": "^1.27.1",
|
|
60
61
|
"@primer/css": "20.4.7",
|
|
61
62
|
"@primer/primitives": "^7.9.0",
|
|
62
63
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
@@ -71,6 +72,7 @@
|
|
|
71
72
|
"eslint-plugin-prettier": "^4.2.1",
|
|
72
73
|
"markdownlint-cli": "^0.32.2",
|
|
73
74
|
"mocha": "^10.0.0",
|
|
75
|
+
"playwright": "^1.27.1",
|
|
74
76
|
"postcss": "^8.4.16",
|
|
75
77
|
"postcss-cli": "^10.0.0",
|
|
76
78
|
"postcss-import": "^14.1.0",
|
package/static/arguments.json
CHANGED
|
@@ -205,6 +205,62 @@
|
|
|
205
205
|
}
|
|
206
206
|
]
|
|
207
207
|
},
|
|
208
|
+
{
|
|
209
|
+
"component": "Banner",
|
|
210
|
+
"status": "alpha",
|
|
211
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/banner.rb",
|
|
212
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/banner/default/",
|
|
213
|
+
"parameters": [
|
|
214
|
+
{
|
|
215
|
+
"name": "full",
|
|
216
|
+
"type": "Boolean",
|
|
217
|
+
"default": "`false`",
|
|
218
|
+
"description": "Whether the component should take up the full width of the screen."
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "full_when_narrow",
|
|
222
|
+
"type": "Boolean",
|
|
223
|
+
"default": "`false`",
|
|
224
|
+
"description": "Whether the component should take up the full width of the screen when rendered inside smaller viewports."
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "dismissible",
|
|
228
|
+
"type": "Boolean",
|
|
229
|
+
"default": "`false`",
|
|
230
|
+
"description": "Whether the component can be dismissed with an \"x\" button."
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "description",
|
|
234
|
+
"type": "String",
|
|
235
|
+
"default": "`nil`",
|
|
236
|
+
"description": "Description text rendered underneath the message."
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "icon",
|
|
240
|
+
"type": "Symbol",
|
|
241
|
+
"default": "`nil`",
|
|
242
|
+
"description": "The name of an [Octicon](https://primer.style/octicons/) icon to use. If no icon is provided, a default one will be chosen based on the scheme."
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "scheme",
|
|
246
|
+
"type": "Symbol",
|
|
247
|
+
"default": "`:default`",
|
|
248
|
+
"description": "One of `:danger`, `:default`, `:success`, or `:warning`."
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "reappear",
|
|
252
|
+
"type": "Boolean",
|
|
253
|
+
"default": "`false`",
|
|
254
|
+
"description": "Whether or not the flash banner should reappear after being dismissed. Only for use in test and preview environments."
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "system_arguments",
|
|
258
|
+
"type": "Hash",
|
|
259
|
+
"default": "N/A",
|
|
260
|
+
"description": "[System arguments](/system-arguments)"
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
208
264
|
{
|
|
209
265
|
"component": "ButtonMarketing",
|
|
210
266
|
"status": "alpha",
|
|
@@ -1117,62 +1173,6 @@
|
|
|
1117
1173
|
}
|
|
1118
1174
|
]
|
|
1119
1175
|
},
|
|
1120
|
-
{
|
|
1121
|
-
"component": "Banner",
|
|
1122
|
-
"status": "beta",
|
|
1123
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/banner.rb",
|
|
1124
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/banner/default/",
|
|
1125
|
-
"parameters": [
|
|
1126
|
-
{
|
|
1127
|
-
"name": "full",
|
|
1128
|
-
"type": "Boolean",
|
|
1129
|
-
"default": "`false`",
|
|
1130
|
-
"description": "Whether the component should take up the full width of the screen."
|
|
1131
|
-
},
|
|
1132
|
-
{
|
|
1133
|
-
"name": "full_when_narrow",
|
|
1134
|
-
"type": "Boolean",
|
|
1135
|
-
"default": "`false`",
|
|
1136
|
-
"description": "Whether the component should take up the full width of the screen when rendered inside smaller viewports."
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
"name": "dismissible",
|
|
1140
|
-
"type": "Boolean",
|
|
1141
|
-
"default": "`false`",
|
|
1142
|
-
"description": "Whether the component can be dismissed with an \"x\" button."
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
"name": "description",
|
|
1146
|
-
"type": "String",
|
|
1147
|
-
"default": "`nil`",
|
|
1148
|
-
"description": "Description text rendered underneath the message."
|
|
1149
|
-
},
|
|
1150
|
-
{
|
|
1151
|
-
"name": "icon",
|
|
1152
|
-
"type": "Symbol",
|
|
1153
|
-
"default": "`nil`",
|
|
1154
|
-
"description": "The name of an [Octicon](https://primer.style/octicons/) icon to use. If no icon is provided, a default one will be chosen based on the scheme."
|
|
1155
|
-
},
|
|
1156
|
-
{
|
|
1157
|
-
"name": "scheme",
|
|
1158
|
-
"type": "Symbol",
|
|
1159
|
-
"default": "`:default`",
|
|
1160
|
-
"description": "One of `:danger`, `:default`, `:success`, or `:warning`."
|
|
1161
|
-
},
|
|
1162
|
-
{
|
|
1163
|
-
"name": "reappear",
|
|
1164
|
-
"type": "Boolean",
|
|
1165
|
-
"default": "`false`",
|
|
1166
|
-
"description": "Whether or not the flash banner should reappear after being dismissed. Only for use in test and preview environments."
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
"name": "system_arguments",
|
|
1170
|
-
"type": "Hash",
|
|
1171
|
-
"default": "N/A",
|
|
1172
|
-
"description": "[System arguments](/system-arguments)"
|
|
1173
|
-
}
|
|
1174
|
-
]
|
|
1175
|
-
},
|
|
1176
1176
|
{
|
|
1177
1177
|
"component": "BaseButton",
|
|
1178
1178
|
"status": "beta",
|
|
@@ -1683,6 +1683,26 @@
|
|
|
1683
1683
|
}
|
|
1684
1684
|
]
|
|
1685
1685
|
},
|
|
1686
|
+
{
|
|
1687
|
+
"component": "ProgressBar",
|
|
1688
|
+
"status": "beta",
|
|
1689
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/progress_bar.rb",
|
|
1690
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/progress_bar/default/",
|
|
1691
|
+
"parameters": [
|
|
1692
|
+
{
|
|
1693
|
+
"name": "size",
|
|
1694
|
+
"type": "Symbol",
|
|
1695
|
+
"default": "`:default`",
|
|
1696
|
+
"description": "One of `:default`, `:large`, or `:small`. Increases height."
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
"name": "system_arguments",
|
|
1700
|
+
"type": "Hash",
|
|
1701
|
+
"default": "N/A",
|
|
1702
|
+
"description": "[System arguments](/system-arguments)"
|
|
1703
|
+
}
|
|
1704
|
+
]
|
|
1705
|
+
},
|
|
1686
1706
|
{
|
|
1687
1707
|
"component": "Text",
|
|
1688
1708
|
"status": "beta",
|
|
@@ -2221,26 +2241,6 @@
|
|
|
2221
2241
|
}
|
|
2222
2242
|
]
|
|
2223
2243
|
},
|
|
2224
|
-
{
|
|
2225
|
-
"component": "ProgressBar",
|
|
2226
|
-
"status": "beta",
|
|
2227
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/progress_bar_component.rb",
|
|
2228
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/progress_bar/default/",
|
|
2229
|
-
"parameters": [
|
|
2230
|
-
{
|
|
2231
|
-
"name": "size",
|
|
2232
|
-
"type": "Symbol",
|
|
2233
|
-
"default": "`:default`",
|
|
2234
|
-
"description": "One of `:default`, `:large`, or `:small`. Increases height."
|
|
2235
|
-
},
|
|
2236
|
-
{
|
|
2237
|
-
"name": "system_arguments",
|
|
2238
|
-
"type": "Hash",
|
|
2239
|
-
"default": "N/A",
|
|
2240
|
-
"description": "[System arguments](/system-arguments)"
|
|
2241
|
-
}
|
|
2242
|
-
]
|
|
2243
|
-
},
|
|
2244
2244
|
{
|
|
2245
2245
|
"component": "Spinner",
|
|
2246
2246
|
"status": "beta",
|
package/static/audited_at.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"Primer::Alpha::ActionList::Item": "",
|
|
6
6
|
"Primer::Alpha::AutoComplete": "",
|
|
7
7
|
"Primer::Alpha::AutoComplete::Item": "",
|
|
8
|
+
"Primer::Alpha::Banner": "",
|
|
8
9
|
"Primer::Alpha::ButtonMarketing": "",
|
|
9
10
|
"Primer::Alpha::Dialog": "",
|
|
10
11
|
"Primer::Alpha::Dialog::Body": "",
|
|
@@ -33,7 +34,6 @@
|
|
|
33
34
|
"Primer::Beta::AutoComplete::Item": "",
|
|
34
35
|
"Primer::Beta::Avatar": "",
|
|
35
36
|
"Primer::Beta::AvatarStack": "",
|
|
36
|
-
"Primer::Beta::Banner": "",
|
|
37
37
|
"Primer::Beta::BaseButton": "",
|
|
38
38
|
"Primer::Beta::Blankslate": "",
|
|
39
39
|
"Primer::Beta::BorderBox": "",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"Primer::Beta::IconButton": "",
|
|
51
51
|
"Primer::Beta::Label": "",
|
|
52
52
|
"Primer::Beta::Link": "",
|
|
53
|
+
"Primer::Beta::ProgressBar": "",
|
|
53
54
|
"Primer::Beta::Text": "",
|
|
54
55
|
"Primer::Beta::Truncate": "",
|
|
55
56
|
"Primer::Beta::Truncate::TruncateText": "",
|
package/static/constants.json
CHANGED
|
@@ -72,6 +72,27 @@
|
|
|
72
72
|
},
|
|
73
73
|
"Primer::Alpha::AutoComplete::Item": {
|
|
74
74
|
},
|
|
75
|
+
"Primer::Alpha::Banner": {
|
|
76
|
+
"DEFAULT_ICONS": {
|
|
77
|
+
"default": "bell",
|
|
78
|
+
"warning": "alert",
|
|
79
|
+
"danger": "stop",
|
|
80
|
+
"success": "check-circle"
|
|
81
|
+
},
|
|
82
|
+
"DEFAULT_SCHEME": "default",
|
|
83
|
+
"LEGACY_SCHEME_MAPPINGS": {
|
|
84
|
+
"default": "",
|
|
85
|
+
"warning": "flash-warn",
|
|
86
|
+
"danger": "flash-error",
|
|
87
|
+
"success": "flash-success"
|
|
88
|
+
},
|
|
89
|
+
"SCHEME_MAPPINGS": {
|
|
90
|
+
"default": "",
|
|
91
|
+
"warning": "Banner--warning",
|
|
92
|
+
"danger": "Banner--error",
|
|
93
|
+
"success": "Banner--success"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
75
96
|
"Primer::Alpha::ButtonMarketing": {
|
|
76
97
|
"DEFAULT_SCHEME": "default",
|
|
77
98
|
"DEFAULT_TAG": "button",
|
|
@@ -396,21 +417,6 @@
|
|
|
396
417
|
"span"
|
|
397
418
|
]
|
|
398
419
|
},
|
|
399
|
-
"Primer::Beta::Banner": {
|
|
400
|
-
"DEFAULT_ICONS": {
|
|
401
|
-
"default": "bell",
|
|
402
|
-
"warning": "alert",
|
|
403
|
-
"danger": "stop",
|
|
404
|
-
"success": "check-circle"
|
|
405
|
-
},
|
|
406
|
-
"DEFAULT_SCHEME": "default",
|
|
407
|
-
"SCHEME_MAPPINGS": {
|
|
408
|
-
"default": "",
|
|
409
|
-
"warning": "Banner--warning",
|
|
410
|
-
"danger": "Banner--error",
|
|
411
|
-
"success": "Banner--success"
|
|
412
|
-
}
|
|
413
|
-
},
|
|
414
420
|
"Primer::Beta::BaseButton": {
|
|
415
421
|
"DEFAULT_TAG": "button",
|
|
416
422
|
"DEFAULT_TYPE": "button",
|
|
@@ -664,6 +670,19 @@
|
|
|
664
670
|
"span"
|
|
665
671
|
]
|
|
666
672
|
},
|
|
673
|
+
"Primer::Beta::ProgressBar": {
|
|
674
|
+
"SIZE_DEFAULT": "default",
|
|
675
|
+
"SIZE_MAPPINGS": {
|
|
676
|
+
"default": "",
|
|
677
|
+
"small": "Progress--small",
|
|
678
|
+
"large": "Progress--large"
|
|
679
|
+
},
|
|
680
|
+
"SIZE_OPTIONS": [
|
|
681
|
+
"default",
|
|
682
|
+
"small",
|
|
683
|
+
"large"
|
|
684
|
+
]
|
|
685
|
+
},
|
|
667
686
|
"Primer::Beta::Text": {
|
|
668
687
|
"DEFAULT_TAG": "span"
|
|
669
688
|
},
|
|
@@ -883,17 +902,6 @@
|
|
|
883
902
|
"DEFAULT_HEADING_TAG": "h4"
|
|
884
903
|
},
|
|
885
904
|
"Primer::ProgressBarComponent": {
|
|
886
|
-
"SIZE_DEFAULT": "default",
|
|
887
|
-
"SIZE_MAPPINGS": {
|
|
888
|
-
"default": "",
|
|
889
|
-
"small": "Progress--small",
|
|
890
|
-
"large": "Progress--large"
|
|
891
|
-
},
|
|
892
|
-
"SIZE_OPTIONS": [
|
|
893
|
-
"default",
|
|
894
|
-
"small",
|
|
895
|
-
"large"
|
|
896
|
-
]
|
|
897
905
|
},
|
|
898
906
|
"Primer::SpinnerComponent": {
|
|
899
907
|
"DEFAULT_SIZE": "medium",
|
package/static/statuses.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"Primer::Alpha::ActionList::Item": "alpha",
|
|
6
6
|
"Primer::Alpha::AutoComplete": "deprecated",
|
|
7
7
|
"Primer::Alpha::AutoComplete::Item": "deprecated",
|
|
8
|
+
"Primer::Alpha::Banner": "alpha",
|
|
8
9
|
"Primer::Alpha::ButtonMarketing": "alpha",
|
|
9
10
|
"Primer::Alpha::Dialog": "alpha",
|
|
10
11
|
"Primer::Alpha::Dialog::Body": "alpha",
|
|
@@ -33,7 +34,6 @@
|
|
|
33
34
|
"Primer::Beta::AutoComplete::Item": "beta",
|
|
34
35
|
"Primer::Beta::Avatar": "beta",
|
|
35
36
|
"Primer::Beta::AvatarStack": "beta",
|
|
36
|
-
"Primer::Beta::Banner": "beta",
|
|
37
37
|
"Primer::Beta::BaseButton": "beta",
|
|
38
38
|
"Primer::Beta::Blankslate": "beta",
|
|
39
39
|
"Primer::Beta::BorderBox": "beta",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"Primer::Beta::IconButton": "beta",
|
|
51
51
|
"Primer::Beta::Label": "beta",
|
|
52
52
|
"Primer::Beta::Link": "beta",
|
|
53
|
+
"Primer::Beta::ProgressBar": "beta",
|
|
53
54
|
"Primer::Beta::Text": "beta",
|
|
54
55
|
"Primer::Beta::Truncate": "beta",
|
|
55
56
|
"Primer::Beta::Truncate::TruncateText": "alpha",
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"Primer::OcticonComponent": "beta",
|
|
79
80
|
"Primer::OcticonSymbolsComponent": "alpha",
|
|
80
81
|
"Primer::PopoverComponent": "beta",
|
|
81
|
-
"Primer::ProgressBarComponent": "
|
|
82
|
+
"Primer::ProgressBarComponent": "deprecated",
|
|
82
83
|
"Primer::SpinnerComponent": "beta",
|
|
83
84
|
"Primer::StateComponent": "beta",
|
|
84
85
|
"Primer::SubheadComponent": "beta",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"primer/beta/banner","selectors":[".Banner",".Banner .Banner-actions",".Banner .Banner-visual",".Banner .Banner-visual>.octicon",".Banner .Banner-visual>*",".Banner .Banner-message",".Banner .Banner-close",".Banner .Banner-visual .octicon",".Banner.Banner--warning",".Banner.Banner--warning .Banner-visual .octicon",".Banner.Banner--error",".Banner.Banner--error .Banner-visual .octicon",".Banner.Banner--success",".Banner.Banner--success .Banner-visual .octicon",".Banner.Banner--full",".Banner.Banner--full-whenNarrow"]}
|