@teamturing/react-kit 2.3.0 → 2.4.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.
|
@@ -2,5 +2,15 @@ import { ISection } from '../types';
|
|
|
2
2
|
type Props = {
|
|
3
3
|
section: ISection;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
6
|
-
|
|
5
|
+
declare const _default: (({ section: { views, responsiveLayout } }: Props) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
|
+
TextView: ({ view: { text, textProps } }: {
|
|
7
|
+
view: import("../types").TextView;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
ImageView: ({ view: { ...props } }: {
|
|
10
|
+
view: import("../types").ImageView;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
ChipGroupViewType: ({ view: { size, gapX, gapY, chips } }: {
|
|
13
|
+
view: import("../types").ChipGroupView;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import { ChipProps, StackProps } from '../..';
|
|
2
|
-
/**
|
|
3
|
-
* Default Types
|
|
4
|
-
*/
|
|
5
|
-
type TextProps = any;
|
|
6
|
-
type SpaceProps = any;
|
|
1
|
+
import { ChipProps, StackProps, TextProps, SpaceProps } from '../..';
|
|
7
2
|
/**
|
|
8
3
|
* View Related Model
|
|
9
4
|
*/
|
|
@@ -62,4 +57,3 @@ export interface ISection {
|
|
|
62
57
|
views: IViewContainer[];
|
|
63
58
|
responsiveLayout: IResponsiveLayoutContainer;
|
|
64
59
|
}
|
|
65
|
-
export {};
|
package/dist/index.js
CHANGED
|
@@ -3616,7 +3616,7 @@ const Unit = ({
|
|
|
3616
3616
|
children: children
|
|
3617
3617
|
});
|
|
3618
3618
|
};
|
|
3619
|
-
var index = Object.assign(Grid, {
|
|
3619
|
+
var index$1 = Object.assign(Grid, {
|
|
3620
3620
|
Unit
|
|
3621
3621
|
});
|
|
3622
3622
|
|
|
@@ -4190,6 +4190,11 @@ const getViewComponent = viewContainer => {
|
|
|
4190
4190
|
const ViewComponent = renderableViewComponent[viewContainer.viewComponentType];
|
|
4191
4191
|
return ViewComponent;
|
|
4192
4192
|
};
|
|
4193
|
+
var index = Object.assign(EnigmaUI, {
|
|
4194
|
+
TextView,
|
|
4195
|
+
ImageView,
|
|
4196
|
+
ChipGroupViewType: ChipGroupView
|
|
4197
|
+
});
|
|
4193
4198
|
|
|
4194
4199
|
/**
|
|
4195
4200
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -4695,9 +4700,9 @@ const useToggleHandler = ({
|
|
|
4695
4700
|
|
|
4696
4701
|
exports.Button = Button;
|
|
4697
4702
|
exports.Chip = Chip;
|
|
4698
|
-
exports.EnigmaUI =
|
|
4703
|
+
exports.EnigmaUI = index;
|
|
4699
4704
|
exports.GradientText = GradientText;
|
|
4700
|
-
exports.Grid = index;
|
|
4705
|
+
exports.Grid = index$1;
|
|
4701
4706
|
exports.IconButton = IconButton;
|
|
4702
4707
|
exports.IconToggleButton = IconToggleButton;
|
|
4703
4708
|
exports.Image = Image;
|
|
@@ -47,5 +47,10 @@ const getViewComponent = viewContainer => {
|
|
|
47
47
|
const ViewComponent = renderableViewComponent[viewContainer.viewComponentType];
|
|
48
48
|
return ViewComponent;
|
|
49
49
|
};
|
|
50
|
+
var index = Object.assign(EnigmaUI, {
|
|
51
|
+
TextView,
|
|
52
|
+
ImageView,
|
|
53
|
+
ChipGroupViewType: ChipGroupView
|
|
54
|
+
});
|
|
50
55
|
|
|
51
|
-
export {
|
|
56
|
+
export { index as default };
|
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
import '../../../core/Button/index.js';
|
|
2
1
|
import Chip from '../../../core/Chip/index.js';
|
|
3
|
-
import '../../../core/GradientText/index.js';
|
|
4
|
-
import '../../../core/Grid/index.js';
|
|
5
|
-
import '../../../core/IconButton/index.js';
|
|
6
|
-
import '../../../core/IconToggleButton/index.js';
|
|
7
|
-
import '../../../core/Image/index.js';
|
|
8
2
|
import ItemList from '../../../core/ItemList/index.js';
|
|
9
|
-
import '../../../core/Space/index.js';
|
|
10
|
-
import '../../../core/Spinner/index.js';
|
|
11
3
|
import Stack from '../../../core/Stack/index.js';
|
|
12
|
-
import '../../../core/View/index.js';
|
|
13
4
|
import { j as jsxRuntimeExports } from '../../../node_modules/react/jsx-runtime.js';
|
|
14
|
-
import '../../../core/Text/index.js';
|
|
15
|
-
import 'styled-components';
|
|
16
|
-
import '../../../packages/token-studio/esm/token/typography/index.js';
|
|
17
|
-
import '../../../core/_UnstyledButton.js';
|
|
18
|
-
import 'react';
|
|
19
|
-
import '../../../node_modules/lodash.debounce/index.js';
|
|
20
|
-
import '../../../utils/styled-system/index.js';
|
|
21
5
|
|
|
22
6
|
const ChipGroupView = ({
|
|
23
7
|
view: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/react-kit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "React components, hooks for create teamturing web application",
|
|
5
5
|
"author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
|
|
6
6
|
"homepage": "https://github.com/weareteamturing/bombe#readme",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"lodash.throttle": "^4.1.1",
|
|
56
56
|
"styled-system": "^5.1.5"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "29f020d2e31ae2e87daf6bcf59312e3e44e5ec5a"
|
|
59
59
|
}
|