@ably/ui 8.7.0-dev.73348b7 → 8.7.0-dev.b3aa10e
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/core/CustomerLogos.jsx +5 -3
- package/package.json +1 -1
- package/src/core/CustomerLogos/component.html.erb +2 -2
- package/src/core/CustomerLogos/component.jsx +3 -2
- package/src/core/CustomerLogos/component.rb +2 -1
- package/core/.DS_Store +0 -0
- package/core/MeganavContentWhyAbly/component.js +0 -6
- package/core/MeganavContentWhyAbly.jsx +0 -6
- package/core/fonts/.DS_Store +0 -0
- package/core/images/.DS_Store +0 -0
- package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/log/.keep +0 -0
- package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/.keep +0 -0
- package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/pids/.keep +0 -0
- package/src/.DS_Store +0 -0
- package/src/core/.DS_Store +0 -0
- package/src/core/fonts/.DS_Store +0 -0
- package/src/core/images/.DS_Store +0 -0
- package/src/reset/.DS_Store +0 -0
package/core/CustomerLogos.jsx
CHANGED
|
@@ -214,11 +214,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
var CustomerLogos = function CustomerLogos(_ref) {
|
|
217
|
-
var companies = _ref.companies
|
|
217
|
+
var companies = _ref.companies,
|
|
218
|
+
additionalCss = _ref.additionalCss;
|
|
218
219
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("section", {
|
|
219
220
|
className: "w-full bg-white"
|
|
220
221
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("ul", {
|
|
221
|
-
className: "py-64 flex flex-row flex-wrap md:flex-nowrap content-between m-auto items-center"
|
|
222
|
+
className: "py-64 flex flex-row flex-wrap md:flex-nowrap content-between m-auto items-center ".concat(additionalCss)
|
|
222
223
|
}, companies.map(function (company) {
|
|
223
224
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("li", {
|
|
224
225
|
key: company.label,
|
|
@@ -235,7 +236,8 @@ CustomerLogos.propTypes = {
|
|
|
235
236
|
companies: prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_1___default().shape({
|
|
236
237
|
label: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
237
238
|
logo: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
|
238
|
-
}))
|
|
239
|
+
})),
|
|
240
|
+
additionalCss: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
|
239
241
|
};
|
|
240
242
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CustomerLogos);
|
|
241
243
|
})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ably/ui",
|
|
3
|
-
"version": "8.7.0-dev.
|
|
3
|
+
"version": "8.7.0-dev.b3aa10e",
|
|
4
4
|
"description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<section class="w-full bg-white">
|
|
2
|
-
|
|
2
|
+
<%= tag.ul class: "py-64 flex flex-row flex-wrap md:flex-nowrap content-between m-auto items-center #{@additional_css}" do %>
|
|
3
3
|
<% companies.each do |company| %>
|
|
4
4
|
<li class="flex-auto text-center sm:w-1/3 w-1/2">
|
|
5
5
|
<%= image_tag company[:logo], alt: "#{company[:label]} logo", class: 'mx-auto' %>
|
|
6
6
|
</li>
|
|
7
7
|
<% end %>
|
|
8
|
-
|
|
8
|
+
<% end %>
|
|
9
9
|
</section>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import T from "prop-types";
|
|
3
3
|
|
|
4
|
-
const CustomerLogos = ({ companies }) => {
|
|
4
|
+
const CustomerLogos = ({ companies, additionalCss }) => {
|
|
5
5
|
return (
|
|
6
6
|
<section className="w-full bg-white">
|
|
7
|
-
<ul className=
|
|
7
|
+
<ul className={`py-64 flex flex-row flex-wrap md:flex-nowrap content-between m-auto items-center ${additionalCss}`}>
|
|
8
8
|
{companies.map((company) => (
|
|
9
9
|
<li key={company.label} className="flex-auto text-center sm:w-1/3 w-1/2">
|
|
10
10
|
<img alt={company.label} src={company.logo} className="mx-auto" />
|
|
@@ -22,6 +22,7 @@ CustomerLogos.propTypes = {
|
|
|
22
22
|
logo: T.string,
|
|
23
23
|
})
|
|
24
24
|
),
|
|
25
|
+
additionalCss: T.string,
|
|
25
26
|
};
|
|
26
27
|
|
|
27
28
|
export default CustomerLogos;
|
package/core/.DS_Store
DELETED
|
Binary file
|
package/core/fonts/.DS_Store
DELETED
|
Binary file
|
package/core/images/.DS_Store
DELETED
|
Binary file
|
package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/log/.keep
DELETED
|
File without changes
|
package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/.keep
DELETED
|
File without changes
|
package/preview/vendor/bundle/ruby/3.0.0/bundler/gems/ably-ui-abffd210ec0f/preview/tmp/pids/.keep
DELETED
|
File without changes
|
package/src/.DS_Store
DELETED
|
Binary file
|
package/src/core/.DS_Store
DELETED
|
Binary file
|
package/src/core/fonts/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|
package/src/reset/.DS_Store
DELETED
|
Binary file
|