@primer/view-components 0.0.120 → 0.0.121-rc.1b2c14db
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/components/primer/primer.d.ts +0 -1
- package/app/components/primer/primer.js +0 -1
- package/package.json +1 -1
- package/static/arguments.json +0 -74
- package/static/audited_at.json +2 -20
- package/static/constants.json +0 -49
- package/static/statuses.json +0 -18
- package/app/components/primer/local_time.d.ts +0 -1
- package/app/components/primer/local_time.js +0 -1
|
@@ -8,7 +8,6 @@ import './alpha/tool_tip';
|
|
|
8
8
|
import './alpha/x_banner';
|
|
9
9
|
import './beta/auto_complete/auto_complete';
|
|
10
10
|
import './beta/clipboard_copy';
|
|
11
|
-
import './local_time';
|
|
12
11
|
import './alpha/tab_container';
|
|
13
12
|
import './time_ago_component';
|
|
14
13
|
import '../../../lib/primer/forms/primer_multi_input';
|
|
@@ -8,7 +8,6 @@ import './alpha/tool_tip';
|
|
|
8
8
|
import './alpha/x_banner';
|
|
9
9
|
import './beta/auto_complete/auto_complete';
|
|
10
10
|
import './beta/clipboard_copy';
|
|
11
|
-
import './local_time';
|
|
12
11
|
import './alpha/tab_container';
|
|
13
12
|
import './time_ago_component';
|
|
14
13
|
import '../../../lib/primer/forms/primer_multi_input';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/view-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.121-rc.1b2c14db",
|
|
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",
|
package/static/arguments.json
CHANGED
|
@@ -2325,80 +2325,6 @@
|
|
|
2325
2325
|
}
|
|
2326
2326
|
]
|
|
2327
2327
|
},
|
|
2328
|
-
{
|
|
2329
|
-
"component": "LocalTime",
|
|
2330
|
-
"status": "deprecated",
|
|
2331
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/local_time.rb",
|
|
2332
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/local_time/default/",
|
|
2333
|
-
"parameters": [
|
|
2334
|
-
{
|
|
2335
|
-
"name": "datetime",
|
|
2336
|
-
"type": "DateTime",
|
|
2337
|
-
"default": "N/A",
|
|
2338
|
-
"description": "The date to parse"
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
"name": "initial_text",
|
|
2342
|
-
"type": "String",
|
|
2343
|
-
"default": "`nil`",
|
|
2344
|
-
"description": "Text to render before component is initialized"
|
|
2345
|
-
},
|
|
2346
|
-
{
|
|
2347
|
-
"name": "weekday",
|
|
2348
|
-
"type": "Symbol",
|
|
2349
|
-
"default": "`:short`",
|
|
2350
|
-
"description": "One of `:long` or `:short`."
|
|
2351
|
-
},
|
|
2352
|
-
{
|
|
2353
|
-
"name": "year",
|
|
2354
|
-
"type": "Symbol",
|
|
2355
|
-
"default": "`:numeric`",
|
|
2356
|
-
"description": "One of `:2-digit` or `:numeric`."
|
|
2357
|
-
},
|
|
2358
|
-
{
|
|
2359
|
-
"name": "month",
|
|
2360
|
-
"type": "Symbol",
|
|
2361
|
-
"default": "`:short`",
|
|
2362
|
-
"description": "One of `:long` or `:short`."
|
|
2363
|
-
},
|
|
2364
|
-
{
|
|
2365
|
-
"name": "day",
|
|
2366
|
-
"type": "Symbol",
|
|
2367
|
-
"default": "`:numeric`",
|
|
2368
|
-
"description": "One of `:2-digit` or `:numeric`."
|
|
2369
|
-
},
|
|
2370
|
-
{
|
|
2371
|
-
"name": "hour",
|
|
2372
|
-
"type": "Symbol",
|
|
2373
|
-
"default": "`:numeric`",
|
|
2374
|
-
"description": "One of `:2-digit` or `:numeric`."
|
|
2375
|
-
},
|
|
2376
|
-
{
|
|
2377
|
-
"name": "minute",
|
|
2378
|
-
"type": "Symbol",
|
|
2379
|
-
"default": "`:numeric`",
|
|
2380
|
-
"description": "One of `:2-digit` or `:numeric`."
|
|
2381
|
-
},
|
|
2382
|
-
{
|
|
2383
|
-
"name": "second",
|
|
2384
|
-
"type": "Symbol",
|
|
2385
|
-
"default": "`:numeric`",
|
|
2386
|
-
"description": "One of `:2-digit` or `:numeric`."
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
"name": "time_zone_name",
|
|
2390
|
-
"type": "Symbol",
|
|
2391
|
-
"default": "`:short`",
|
|
2392
|
-
"description": "One of `:long` or `:short`."
|
|
2393
|
-
},
|
|
2394
|
-
{
|
|
2395
|
-
"name": "system_arguments",
|
|
2396
|
-
"type": "Hash",
|
|
2397
|
-
"default": "N/A",
|
|
2398
|
-
"description": "[System arguments](/system-arguments)"
|
|
2399
|
-
}
|
|
2400
|
-
]
|
|
2401
|
-
},
|
|
2402
2328
|
{
|
|
2403
2329
|
"component": "Navigation::Tab",
|
|
2404
2330
|
"status": "alpha",
|
package/static/audited_at.json
CHANGED
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"Primer::Alpha::NavList::Item": "",
|
|
27
27
|
"Primer::Alpha::NavList::Section": "",
|
|
28
28
|
"Primer::Alpha::OcticonSymbols": "",
|
|
29
|
-
"Primer::Alpha::SegmentedControl": "",
|
|
30
|
-
"Primer::Alpha::SegmentedControl::Item": "",
|
|
29
|
+
"Primer::Alpha::SegmentedControl": "2023-02-01",
|
|
30
|
+
"Primer::Alpha::SegmentedControl::Item": "2023-02-01",
|
|
31
31
|
"Primer::Alpha::TabContainer": "",
|
|
32
32
|
"Primer::Alpha::TabNav": "",
|
|
33
33
|
"Primer::Alpha::TabPanels": "",
|
|
@@ -76,28 +76,10 @@
|
|
|
76
76
|
"Primer::ButtonComponent": "",
|
|
77
77
|
"Primer::ConditionalWrapper": "",
|
|
78
78
|
"Primer::Content": "",
|
|
79
|
-
"Primer::Dropdown": "",
|
|
80
|
-
"Primer::Dropdown::Menu": "",
|
|
81
|
-
"Primer::Dropdown::Menu::Item": "",
|
|
82
|
-
"Primer::HellipButton": "",
|
|
83
79
|
"Primer::IconButton": "",
|
|
84
|
-
"Primer::LabelComponent": "",
|
|
85
80
|
"Primer::LayoutComponent": "",
|
|
86
|
-
"Primer::LinkComponent": "",
|
|
87
|
-
"Primer::LocalTime": "",
|
|
88
|
-
"Primer::Markdown": "",
|
|
89
|
-
"Primer::MenuComponent": "",
|
|
90
81
|
"Primer::Navigation::TabComponent": "",
|
|
91
|
-
"Primer::OcticonComponent": "",
|
|
92
|
-
"Primer::OcticonSymbolsComponent": "",
|
|
93
|
-
"Primer::PopoverComponent": "",
|
|
94
|
-
"Primer::SpinnerComponent": "",
|
|
95
|
-
"Primer::StateComponent": "",
|
|
96
|
-
"Primer::SubheadComponent": "",
|
|
97
|
-
"Primer::TabContainerComponent": "",
|
|
98
82
|
"Primer::TimeAgoComponent": "",
|
|
99
|
-
"Primer::TimelineItemComponent": "",
|
|
100
|
-
"Primer::TimelineItemComponent::BadgeComponent": "",
|
|
101
83
|
"Primer::Tooltip": "",
|
|
102
84
|
"Primer::Truncate": ""
|
|
103
85
|
}
|
package/static/constants.json
CHANGED
|
@@ -1033,16 +1033,6 @@
|
|
|
1033
1033
|
},
|
|
1034
1034
|
"Primer::Content": {
|
|
1035
1035
|
},
|
|
1036
|
-
"Primer::Dropdown": {
|
|
1037
|
-
"Menu": "Primer::Dropdown::Menu"
|
|
1038
|
-
},
|
|
1039
|
-
"Primer::Dropdown::Menu": {
|
|
1040
|
-
"Item": "Primer::Dropdown::Menu::Item"
|
|
1041
|
-
},
|
|
1042
|
-
"Primer::Dropdown::Menu::Item": {
|
|
1043
|
-
},
|
|
1044
|
-
"Primer::HellipButton": {
|
|
1045
|
-
},
|
|
1046
1036
|
"Primer::IconButton": {
|
|
1047
1037
|
"DEFAULT_SCHEME": "default",
|
|
1048
1038
|
"SCHEME_MAPPINGS": {
|
|
@@ -1054,8 +1044,6 @@
|
|
|
1054
1044
|
"danger"
|
|
1055
1045
|
]
|
|
1056
1046
|
},
|
|
1057
|
-
"Primer::LabelComponent": {
|
|
1058
|
-
},
|
|
1059
1047
|
"Primer::LayoutComponent": {
|
|
1060
1048
|
"ALLOWED_SIDEBAR_COLS": [
|
|
1061
1049
|
1,
|
|
@@ -1078,24 +1066,6 @@
|
|
|
1078
1066
|
"DEFAULT_SIDEBAR_COL": 3,
|
|
1079
1067
|
"MAX_COL": 12
|
|
1080
1068
|
},
|
|
1081
|
-
"Primer::LinkComponent": {
|
|
1082
|
-
},
|
|
1083
|
-
"Primer::LocalTime": {
|
|
1084
|
-
"DEFAULT_DIGIT_TYPE": "numeric",
|
|
1085
|
-
"DEFAULT_TEXT_TYPE": "short",
|
|
1086
|
-
"DIGIT_TYPE_OPTIONS": [
|
|
1087
|
-
"numeric",
|
|
1088
|
-
"2-digit"
|
|
1089
|
-
],
|
|
1090
|
-
"TEXT_TYPE_OPTIONS": [
|
|
1091
|
-
"short",
|
|
1092
|
-
"long"
|
|
1093
|
-
]
|
|
1094
|
-
},
|
|
1095
|
-
"Primer::Markdown": {
|
|
1096
|
-
},
|
|
1097
|
-
"Primer::MenuComponent": {
|
|
1098
|
-
},
|
|
1099
1069
|
"Primer::Navigation::TabComponent": {
|
|
1100
1070
|
"ARIA_CURRENT_OPTIONS_FOR_ANCHOR": [
|
|
1101
1071
|
true,
|
|
@@ -1103,27 +1073,8 @@
|
|
|
1103
1073
|
],
|
|
1104
1074
|
"DEFAULT_ARIA_CURRENT_FOR_ANCHOR": "page"
|
|
1105
1075
|
},
|
|
1106
|
-
"Primer::OcticonComponent": {
|
|
1107
|
-
},
|
|
1108
|
-
"Primer::OcticonSymbolsComponent": {
|
|
1109
|
-
},
|
|
1110
|
-
"Primer::PopoverComponent": {
|
|
1111
|
-
},
|
|
1112
|
-
"Primer::SpinnerComponent": {
|
|
1113
|
-
},
|
|
1114
|
-
"Primer::StateComponent": {
|
|
1115
|
-
},
|
|
1116
|
-
"Primer::SubheadComponent": {
|
|
1117
|
-
},
|
|
1118
|
-
"Primer::TabContainerComponent": {
|
|
1119
|
-
},
|
|
1120
1076
|
"Primer::TimeAgoComponent": {
|
|
1121
1077
|
},
|
|
1122
|
-
"Primer::TimelineItemComponent": {
|
|
1123
|
-
"BadgeComponent": "Primer::TimelineItemComponent::BadgeComponent"
|
|
1124
|
-
},
|
|
1125
|
-
"Primer::TimelineItemComponent::BadgeComponent": {
|
|
1126
|
-
},
|
|
1127
1078
|
"Primer::Tooltip": {
|
|
1128
1079
|
"ALIGN_DEFAULT": "default",
|
|
1129
1080
|
"ALIGN_MAPPING": {
|
package/static/statuses.json
CHANGED
|
@@ -76,28 +76,10 @@
|
|
|
76
76
|
"Primer::ButtonComponent": "deprecated",
|
|
77
77
|
"Primer::ConditionalWrapper": "alpha",
|
|
78
78
|
"Primer::Content": "stable",
|
|
79
|
-
"Primer::Dropdown": "deprecated",
|
|
80
|
-
"Primer::Dropdown::Menu": "deprecated",
|
|
81
|
-
"Primer::Dropdown::Menu::Item": "deprecated",
|
|
82
|
-
"Primer::HellipButton": "deprecated",
|
|
83
79
|
"Primer::IconButton": "deprecated",
|
|
84
|
-
"Primer::LabelComponent": "deprecated",
|
|
85
80
|
"Primer::LayoutComponent": "alpha",
|
|
86
|
-
"Primer::LinkComponent": "deprecated",
|
|
87
|
-
"Primer::LocalTime": "deprecated",
|
|
88
|
-
"Primer::Markdown": "deprecated",
|
|
89
|
-
"Primer::MenuComponent": "deprecated",
|
|
90
81
|
"Primer::Navigation::TabComponent": "alpha",
|
|
91
|
-
"Primer::OcticonComponent": "deprecated",
|
|
92
|
-
"Primer::OcticonSymbolsComponent": "deprecated",
|
|
93
|
-
"Primer::PopoverComponent": "deprecated",
|
|
94
|
-
"Primer::SpinnerComponent": "deprecated",
|
|
95
|
-
"Primer::StateComponent": "deprecated",
|
|
96
|
-
"Primer::SubheadComponent": "deprecated",
|
|
97
|
-
"Primer::TabContainerComponent": "deprecated",
|
|
98
82
|
"Primer::TimeAgoComponent": "deprecated",
|
|
99
|
-
"Primer::TimelineItemComponent": "deprecated",
|
|
100
|
-
"Primer::TimelineItemComponent::BadgeComponent": "deprecated",
|
|
101
83
|
"Primer::Tooltip": "deprecated",
|
|
102
84
|
"Primer::Truncate": "beta"
|
|
103
85
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@github/relative-time-element';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@github/relative-time-element';
|