@hashicorp/react-basic-table
Advanced tools
Comparing version 2.0.2 to 2.0.3-alpha.0
@@ -7,9 +7,12 @@ 'use strict'; | ||
var fragment = "fragment basicTableFields on BasicTableRecord {\n headline\n rows {\n id\n timeSlot\n description\n }\n}\n"; | ||
var fragment = "fragment basicTableSectionFields on BasicTableRecord {\n headline\n rows {\n id\n timeSlot\n description\n }\n}\n"; | ||
function BasicTable(_ref) { | ||
var rows = _ref.data.rows; | ||
var headline = _ref.headline, | ||
rows = _ref.rows; | ||
return React.createElement("div", { | ||
className: "g-basic-table" | ||
}, React.createElement("ul", null, rows.map(function (row) { | ||
}, React.createElement("h4", { | ||
className: "g-type-display-4" | ||
}, headline), React.createElement("ul", null, rows.map(function (row) { | ||
return React.createElement("li", { | ||
@@ -21,3 +24,3 @@ key: "row-".concat(row.id) | ||
BasicTable.fragment = { | ||
BasicTable.fragmentSpec = { | ||
fragment: fragment | ||
@@ -24,0 +27,0 @@ }; |
{ | ||
"name": "@hashicorp/react-basic-table", | ||
"description": "simple table", | ||
"version": "2.0.2", | ||
"version": "2.0.3-alpha.0+81e5d483", | ||
"author": "Hashicorp - Jeff Escalante", | ||
@@ -17,3 +17,3 @@ "license": "MPL-2.0", | ||
}, | ||
"gitHead": "24f6d0aae825fd9a6275d53f8165ff40085409c7" | ||
"gitHead": "81e5d48333a50619d437b09f8d910cbf5f3a8f78" | ||
} |
@@ -7,4 +7,5 @@ # Basic List | ||
- `_data` (arr) - array of data from the CMS | ||
- `headline` (str) - Headline displayed before the table | ||
- `rows` (arr) - each row to be rendered in the table | ||
- `description` (str) | ||
- `time_slot` (str) | ||
- `timeSlot` (str) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
18980
54
0
11
2
1