@primer/view-components 0.0.121-rc.6dd72e9e → 0.0.121-rc.71b26d74
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 -3
- package/static/constants.json +0 -12
- package/static/statuses.json +0 -1
- 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.121-rc.
|
|
3
|
+
"version": "0.0.121-rc.71b26d74",
|
|
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": "",
|
|
@@ -78,7 +78,6 @@
|
|
|
78
78
|
"Primer::Content": "",
|
|
79
79
|
"Primer::IconButton": "",
|
|
80
80
|
"Primer::LayoutComponent": "",
|
|
81
|
-
"Primer::LocalTime": "",
|
|
82
81
|
"Primer::Navigation::TabComponent": "",
|
|
83
82
|
"Primer::TimeAgoComponent": "",
|
|
84
83
|
"Primer::Tooltip": "",
|
package/static/constants.json
CHANGED
|
@@ -1066,18 +1066,6 @@
|
|
|
1066
1066
|
"DEFAULT_SIDEBAR_COL": 3,
|
|
1067
1067
|
"MAX_COL": 12
|
|
1068
1068
|
},
|
|
1069
|
-
"Primer::LocalTime": {
|
|
1070
|
-
"DEFAULT_DIGIT_TYPE": "numeric",
|
|
1071
|
-
"DEFAULT_TEXT_TYPE": "short",
|
|
1072
|
-
"DIGIT_TYPE_OPTIONS": [
|
|
1073
|
-
"numeric",
|
|
1074
|
-
"2-digit"
|
|
1075
|
-
],
|
|
1076
|
-
"TEXT_TYPE_OPTIONS": [
|
|
1077
|
-
"short",
|
|
1078
|
-
"long"
|
|
1079
|
-
]
|
|
1080
|
-
},
|
|
1081
1069
|
"Primer::Navigation::TabComponent": {
|
|
1082
1070
|
"ARIA_CURRENT_OPTIONS_FOR_ANCHOR": [
|
|
1083
1071
|
true,
|
package/static/statuses.json
CHANGED
|
@@ -78,7 +78,6 @@
|
|
|
78
78
|
"Primer::Content": "stable",
|
|
79
79
|
"Primer::IconButton": "deprecated",
|
|
80
80
|
"Primer::LayoutComponent": "alpha",
|
|
81
|
-
"Primer::LocalTime": "deprecated",
|
|
82
81
|
"Primer::Navigation::TabComponent": "alpha",
|
|
83
82
|
"Primer::TimeAgoComponent": "deprecated",
|
|
84
83
|
"Primer::Tooltip": "deprecated",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@github/relative-time-element';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@github/relative-time-element';
|