kiban-design-system 1.0.222-alpha.0 → 1.1.0

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.
Files changed (29) hide show
  1. package/dist/components/AlphaInputText/components/PrefixSuffix/PrefixSuffix.d.ts +3 -0
  2. package/dist/components/AlphaInputText/components/PrefixSuffix/PrefixSuffix.props.d.ts +4 -0
  3. package/dist/components/AlphaInputText/components/PrefixSuffix/index.d.ts +2 -0
  4. package/dist/components/AlphaInputText/components/index.d.ts +1 -0
  5. package/dist/components/FlowChart/FlowChart.d.ts +5 -0
  6. package/dist/components/FlowChart/FlowChart.props.d.ts +52 -0
  7. package/dist/components/FlowChart/index.d.ts +4 -0
  8. package/dist/components/FlowChart/utils/getNodes.d.ts +5 -0
  9. package/dist/components/FlowChart/utils/index.d.ts +2 -0
  10. package/dist/components/JsonViewer/JsonViewer.d.ts +1 -1
  11. package/dist/components/JsonViewer/JsonViewer.props.d.ts +1 -3
  12. package/dist/components/Tiles/Tiles.d.ts +4 -0
  13. package/dist/components/Tiles/Tiles.props.d.ts +8 -0
  14. package/dist/components/Tiles/Tiles.test.d.ts +1 -0
  15. package/dist/components/Tiles/index.d.ts +3 -0
  16. package/dist/components/index.d.ts +0 -1
  17. package/dist/index.css +1 -1
  18. package/dist/index.css.map +1 -1
  19. package/dist/index.js +159 -166
  20. package/dist/index.js.map +1 -1
  21. package/dist/shared/ButtonEdge.d.ts +3 -0
  22. package/dist/shared/ConnectorNode.d.ts +5 -0
  23. package/dist/shared/PlaceholderNode.d.ts +3 -0
  24. package/dist/shared/index.d.ts +5 -0
  25. package/dist/shared/useHierarchyData.d.ts +9 -0
  26. package/package.json +1 -1
  27. package/dist/components/Link/Link.d.ts +0 -5
  28. package/dist/components/Link/Link.props.d.ts +0 -7
  29. package/dist/components/Link/index.d.ts +0 -3
@@ -0,0 +1,3 @@
1
+ import type { EdgeProps } from 'reactflow';
2
+ declare const ButtonEdge: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: EdgeProps) => JSX.Element;
3
+ export default ButtonEdge;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { NodeProps } from 'reactflow';
3
+ import './FlowChart.scss';
4
+ declare const _default: import("react").MemoExoticComponent<({ data, id, selected }: NodeProps<any>) => JSX.Element>;
5
+ export default _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: import("react").MemoExoticComponent<() => JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import ButtonEdge from './ButtonEdge';
2
+ import ConnectorNode from './ConnectorNode';
3
+ import PlaceholderNode from './PlaceholderNode';
4
+ import useHierarchyData from './useHierarchyData';
5
+ export { ButtonEdge, ConnectorNode, PlaceholderNode, useHierarchyData };
@@ -0,0 +1,9 @@
1
+ import type { FlowChartDataType } from '../components';
2
+ declare const useHierarchyData: (initialData: FlowChartDataType | null) => {
3
+ data: any;
4
+ addNode: (nodes: any, parentNodeId: string, newNode: any, target?: string | null) => any;
5
+ addPlaceholderNode: (node: any) => any;
6
+ findNode: (nodeId: string, node: FlowChartDataType | null) => FlowChartDataType | undefined;
7
+ replaceNode: (nodes: any, updateNode: any, nodeId: string) => any;
8
+ };
9
+ export default useHierarchyData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kiban-design-system",
3
- "version": "1.0.222-alpha.0",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "author": "Kiban",
6
6
  "license": "",
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import type { LinkProps } from './Link.props';
3
- import './Link.styles.scss';
4
- declare const Link: ({ children, className: classNameProp, component, to, }: LinkProps) => JSX.Element;
5
- export default Link;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export interface LinkProps {
3
- to?: string;
4
- children: React.ReactNode;
5
- className?: string;
6
- component: React.ElementType;
7
- }
@@ -1,3 +0,0 @@
1
- import Link from './Link';
2
- export * from './Link.props';
3
- export { Link };