@capillarytech/blaze-ui 5.13.1 → 5.13.2

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/.DS_Store ADDED
Binary file
@@ -0,0 +1,7 @@
1
+ # CapListLayout
2
+
3
+ A layout component that combines CapActionBar and CapTable for creating list views with action bars and data tables.
4
+
5
+ ### Breaking Changes
6
+
7
+ None - This component is a simple wrapper that doesn't use Antd components directly.
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { CapListLayoutProps } from './types';
3
+ declare const CapListLayout: React.FC<CapListLayoutProps>;
4
+ export default CapListLayout;
5
+ export type { CapListLayoutProps } from './types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/CapListLayout/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAO/C,CAAC;AAEF,eAAe,aAAa,CAAC;AAC7B,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
@@ -23440,32 +23440,30 @@ var exports = __webpack_exports__;
23440
23440
 
23441
23441
  exports.__esModule = true;
23442
23442
  exports["default"] = void 0;
23443
- var _propTypes = _interopRequireDefault(__webpack_require__(43363));
23443
+ var _classnames = _interopRequireDefault(__webpack_require__(46942));
23444
23444
  var _react = _interopRequireDefault(__webpack_require__(9206));
23445
23445
  var _CapActionBar = _interopRequireDefault(__webpack_require__(9464));
23446
23446
  var _CapTable = _interopRequireDefault(__webpack_require__(43337));
23447
- __webpack_require__(40027);
23447
+ var _styles = _interopRequireDefault(__webpack_require__(40027));
23448
23448
  var _jsxRuntime = __webpack_require__(74848);
23449
23449
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
23450
23450
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } /**
23451
23451
  * CapListLayout
23452
- */ // import CapRow from "../CapRow";
23453
- class CapListLayout extends _react.default.Component {
23454
- render() {
23455
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
23456
- className: this.props.className ? "cap-list-view-layout-v2 " + this.props.className : 'cap-list-view-layout-v2',
23457
- children: [this.props.capActionBar && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapActionBar.default, _extends({}, this.props.capActionBar)), this.props.capTable && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapTable.default, _extends({
23458
- className: "cap-table-v2"
23459
- }, this.props.capTable))]
23460
- });
23461
- }
23462
- }
23463
- exports["default"] = CapListLayout;
23464
- CapListLayout.propTypes = {
23465
- className: _propTypes.default.string,
23466
- capActionBar: _propTypes.default.object,
23467
- capTable: _propTypes.default.object
23452
+ */
23453
+ const CapListLayout = _ref => {
23454
+ let {
23455
+ className,
23456
+ capActionBar,
23457
+ capTable
23458
+ } = _ref;
23459
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
23460
+ className: (0, _classnames.default)(_styles.default['cap-list-view-layout-v2'], className),
23461
+ children: [capActionBar && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapActionBar.default, _extends({}, capActionBar)), capTable && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapTable.default, _extends({
23462
+ className: "cap-table-v2"
23463
+ }, capTable))]
23464
+ });
23468
23465
  };
23466
+ var _default = exports["default"] = CapListLayout;
23469
23467
  })();
23470
23468
 
23471
23469
  module.exports = __webpack_exports__;