@treelab/kanban
Advanced tools
Comparing version 2.0.0-alpha.20 to 2.0.0-alpha.21
/// <reference types="react" /> | ||
import React from "react"; | ||
import { ReactElement } from "react"; | ||
import { FrameContextProps } from "react-frame-component"; | ||
import { DraggableStateSnapshot } from "treelab-dnd"; | ||
@@ -56,3 +57,6 @@ import { DefaultTheme } from "styled-components"; | ||
} | ||
declare const KanbanContainer: React.FC<IKanbanProps>; | ||
export { KanbanContainer as default }; | ||
interface IKanbanContainerProps extends IKanbanProps { | ||
ref?: (ref: FrameContextProps) => void; | ||
} | ||
declare const KanbanContainer: React.FC<IKanbanContainerProps>; | ||
export { KanbanContainer as default, IKanbanContainerProps }; |
@@ -72,3 +72,3 @@ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react"),require("react-frame-component"),require("styled-components"),require("treelab-dnd"),require("react-dom"),require("react-virtualized"),require("immer")):"function"==typeof define&&define.amd?define(["react","react-frame-component","styled-components","treelab-dnd","react-dom","react-virtualized","immer"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["dist/index"]=t(e.React,e.Frame,e.styled,e.treelabDnd,e.ReactDOM,e.reactVirtualized,e.produce)}(this,(function(e,t,r,n,d,a,l){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(e),u=i(t),s=i(r),f=i(d),c=i(l);var p=o.default.createContext({});const g=s.default.div` | ||
height: ${({height:e})=>e?`${e}px`:"100%"}; | ||
`;return e=>{var{width:n,height:d,listWidth:a=300}=e,l= | ||
`;return e=>{var{width:n,height:d,listWidth:a=300,ref:l}=e,i= | ||
/*! ***************************************************************************** | ||
@@ -88,2 +88,2 @@ Copyright (c) Microsoft Corporation. | ||
***************************************************************************** */ | ||
function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var d=0;for(n=Object.getOwnPropertySymbols(e);d<n.length;d++)t.indexOf(n[d])<0&&Object.prototype.propertyIsEnumerable.call(e,n[d])&&(r[n[d]]=e[n[d]])}return r}(e,["width","height","listWidth"]);return o.default.createElement($,{width:n,height:d},o.default.createElement(t.FrameContextConsumer,null,(e=>o.default.createElement(r.StyleSheetManager,{target:e.document.head},o.default.createElement(j,Object.assign({},l,{height:d-20,width:(a+16)*l.lanes.length,listWidth:a,iframeWindow:e.window,iframeDocument:e.document}))))))}})); | ||
function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var d=0;for(n=Object.getOwnPropertySymbols(e);d<n.length;d++)t.indexOf(n[d])<0&&Object.prototype.propertyIsEnumerable.call(e,n[d])&&(r[n[d]]=e[n[d]])}return r}(e,["width","height","listWidth","ref"]);return o.default.createElement($,{width:n,height:d},o.default.createElement(t.FrameContextConsumer,null,(e=>(null==l||l(e),o.default.createElement(r.StyleSheetManager,{target:e.document.head},o.default.createElement(j,Object.assign({},i,{height:d-20,width:(a+16)*i.lanes.length,listWidth:a,iframeWindow:e.window,iframeDocument:e.document})))))))}})); |
{ | ||
"name": "@treelab/kanban", | ||
"version": "2.0.0-alpha.20", | ||
"version": "2.0.0-alpha.21", | ||
"description": "kanban", | ||
@@ -5,0 +5,0 @@ "author": "treelab", |
11879
163