@primer/view-components 0.0.121-rc.e9c4970c → 0.0.121
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/{time_ago_component.d.ts → beta/relative_time.d.ts} +0 -0
- package/app/components/primer/{time_ago_component.js → beta/relative_time.js} +0 -0
- package/app/components/primer/primer.d.ts +1 -1
- package/app/components/primer/primer.js +1 -1
- package/package.json +1 -1
- package/static/arguments.json +6 -26
- package/static/audited_at.json +0 -1
- package/static/constants.json +0 -2
- package/static/previews.json +1634 -0
- package/static/statuses.json +0 -1
|
File without changes
|
|
File without changes
|
|
@@ -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
|
|
3
|
+
"version": "0.0.121",
|
|
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
|
@@ -859,6 +859,12 @@
|
|
|
859
859
|
"default": "N/A",
|
|
860
860
|
"description": "System arugments passed to the Rails builder's `#label` method. These arguments will appear as HTML attributes on the `<label>` tag."
|
|
861
861
|
},
|
|
862
|
+
{
|
|
863
|
+
"name": "auto_check_src",
|
|
864
|
+
"type": "String",
|
|
865
|
+
"default": "N/A",
|
|
866
|
+
"description": "When provided, makes a request to the given URL whenever the contents of the text field changes. If the server responds with a non-2xx status code, the response body is used as the validation message."
|
|
867
|
+
},
|
|
862
868
|
{
|
|
863
869
|
"name": "system_arguments",
|
|
864
870
|
"type": "Hash",
|
|
@@ -2375,32 +2381,6 @@
|
|
|
2375
2381
|
}
|
|
2376
2382
|
]
|
|
2377
2383
|
},
|
|
2378
|
-
{
|
|
2379
|
-
"component": "TimeAgo",
|
|
2380
|
-
"status": "deprecated",
|
|
2381
|
-
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/time_ago_component.rb",
|
|
2382
|
-
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/time_ago/default/",
|
|
2383
|
-
"parameters": [
|
|
2384
|
-
{
|
|
2385
|
-
"name": "time",
|
|
2386
|
-
"type": "Time",
|
|
2387
|
-
"default": "N/A",
|
|
2388
|
-
"description": "The time to be formatted"
|
|
2389
|
-
},
|
|
2390
|
-
{
|
|
2391
|
-
"name": "micro",
|
|
2392
|
-
"type": "Boolean",
|
|
2393
|
-
"default": "`false`",
|
|
2394
|
-
"description": "If true then the text will be formatted in \"micro\" mode, using as few characters as possible"
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
"name": "system_arguments",
|
|
2398
|
-
"type": "Hash",
|
|
2399
|
-
"default": "N/A",
|
|
2400
|
-
"description": "[System arguments](/system-arguments)"
|
|
2401
|
-
}
|
|
2402
|
-
]
|
|
2403
|
-
},
|
|
2404
2384
|
{
|
|
2405
2385
|
"component": "Tooltip",
|
|
2406
2386
|
"status": "deprecated",
|
package/static/audited_at.json
CHANGED