@teamturing/react-kit 2.3.1 → 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 EnigmaUI: ({ section: { views, responsiveLayout } }: Props) => import("react/jsx-runtime").JSX.Element;
6
- export default EnigmaUI;
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;
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 = 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 { EnigmaUI as default };
56
+ export { index as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.3.1",
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": "6c7aea0a477e3b90efb31fe26d24731ac07241be"
58
+ "gitHead": "29f020d2e31ae2e87daf6bcf59312e3e44e5ec5a"
59
59
  }