@primer/view-components 0.0.121-rc.25c1b41a → 0.0.121-rc.2f7a2daa

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.
@@ -8,8 +8,8 @@ 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 './beta/relative_time';
11
12
  import './alpha/tab_container';
12
- import './time_ago_component';
13
13
  import '../../../lib/primer/forms/primer_multi_input';
14
14
  import '../../../lib/primer/forms/primer_text_field';
15
15
  import '../../../lib/primer/forms/toggle_switch_input';
@@ -8,8 +8,8 @@ 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 './beta/relative_time';
11
12
  import './alpha/tab_container';
12
- import './time_ago_component';
13
13
  import '../../../lib/primer/forms/primer_multi_input';
14
14
  import '../../../lib/primer/forms/primer_text_field';
15
15
  import '../../../lib/primer/forms/toggle_switch_input';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.0.121-rc.25c1b41a",
3
+ "version": "0.0.121-rc.2f7a2daa",
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",
@@ -2381,32 +2381,6 @@
2381
2381
  }
2382
2382
  ]
2383
2383
  },
2384
- {
2385
- "component": "TimeAgo",
2386
- "status": "deprecated",
2387
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/time_ago_component.rb",
2388
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/time_ago/default/",
2389
- "parameters": [
2390
- {
2391
- "name": "time",
2392
- "type": "Time",
2393
- "default": "N/A",
2394
- "description": "The time to be formatted"
2395
- },
2396
- {
2397
- "name": "micro",
2398
- "type": "Boolean",
2399
- "default": "`false`",
2400
- "description": "If true then the text will be formatted in \"micro\" mode, using as few characters as possible"
2401
- },
2402
- {
2403
- "name": "system_arguments",
2404
- "type": "Hash",
2405
- "default": "N/A",
2406
- "description": "[System arguments](/system-arguments)"
2407
- }
2408
- ]
2409
- },
2410
2384
  {
2411
2385
  "component": "Tooltip",
2412
2386
  "status": "deprecated",
@@ -79,7 +79,6 @@
79
79
  "Primer::IconButton": "",
80
80
  "Primer::LayoutComponent": "",
81
81
  "Primer::Navigation::TabComponent": "",
82
- "Primer::TimeAgoComponent": "",
83
82
  "Primer::Tooltip": "",
84
83
  "Primer::Truncate": ""
85
84
  }
@@ -1073,8 +1073,6 @@
1073
1073
  ],
1074
1074
  "DEFAULT_ARIA_CURRENT_FOR_ANCHOR": "page"
1075
1075
  },
1076
- "Primer::TimeAgoComponent": {
1077
- },
1078
1076
  "Primer::Tooltip": {
1079
1077
  "ALIGN_DEFAULT": "default",
1080
1078
  "ALIGN_MAPPING": {