@primer/view-components 0.0.121-rc.2a46679b → 0.0.121-rc.6dd72e9e

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.
@@ -0,0 +1 @@
1
+ import '@github/relative-time-element';
@@ -0,0 +1 @@
1
+ import '@github/relative-time-element';
@@ -8,6 +8,7 @@ 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';
11
12
  import './alpha/tab_container';
12
13
  import './time_ago_component';
13
14
  import '../../../lib/primer/forms/primer_multi_input';
@@ -8,6 +8,7 @@ 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';
11
12
  import './alpha/tab_container';
12
13
  import './time_ago_component';
13
14
  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.2a46679b",
3
+ "version": "0.0.121-rc.6dd72e9e",
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",
@@ -2325,6 +2325,80 @@
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
+ },
2328
2402
  {
2329
2403
  "component": "Navigation::Tab",
2330
2404
  "status": "alpha",
@@ -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": "2023-02-01",
30
- "Primer::Alpha::SegmentedControl::Item": "2023-02-01",
29
+ "Primer::Alpha::SegmentedControl": "",
30
+ "Primer::Alpha::SegmentedControl::Item": "",
31
31
  "Primer::Alpha::TabContainer": "",
32
32
  "Primer::Alpha::TabNav": "",
33
33
  "Primer::Alpha::TabPanels": "",
@@ -78,6 +78,7 @@
78
78
  "Primer::Content": "",
79
79
  "Primer::IconButton": "",
80
80
  "Primer::LayoutComponent": "",
81
+ "Primer::LocalTime": "",
81
82
  "Primer::Navigation::TabComponent": "",
82
83
  "Primer::TimeAgoComponent": "",
83
84
  "Primer::Tooltip": "",
@@ -1066,6 +1066,18 @@
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
+ },
1069
1081
  "Primer::Navigation::TabComponent": {
1070
1082
  "ARIA_CURRENT_OPTIONS_FOR_ANCHOR": [
1071
1083
  true,
@@ -78,6 +78,7 @@
78
78
  "Primer::Content": "stable",
79
79
  "Primer::IconButton": "deprecated",
80
80
  "Primer::LayoutComponent": "alpha",
81
+ "Primer::LocalTime": "deprecated",
81
82
  "Primer::Navigation::TabComponent": "alpha",
82
83
  "Primer::TimeAgoComponent": "deprecated",
83
84
  "Primer::Tooltip": "deprecated",