@teamturing/react-kit 2.21.1 → 2.21.3
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { GridProps } from '../Grid';
|
|
3
3
|
import { SpaceProps } from '../Space';
|
|
4
|
-
type Props = {} & Pick<GridProps, 'gapX' | 'alignItems' | 'justifyContent'
|
|
5
|
-
declare const DatagridRow: ({ gapX, alignItems, justifyContent,
|
|
4
|
+
type Props = {} & Pick<GridProps, 'gapX' | 'alignItems' | 'justifyContent'> & Pick<SpaceProps, 'p' | 'px' | 'py' | 'pt' | 'pr' | 'pb' | 'pl' | 'padding' | 'paddingX' | 'paddingY' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'sx'>;
|
|
5
|
+
declare const DatagridRow: ({ gapX, alignItems, justifyContent, children, ...props }: PropsWithChildren<Props>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default DatagridRow;
|
|
7
7
|
export type { Props as DatagridRowProps };
|
|
@@ -9,7 +9,7 @@ declare const _default: (({ children, sx, ...props }: PropsWithChildren<Props>)
|
|
|
9
9
|
Header: ({ leadingVisual: LeadingVisual, trailingAction, ...props }: DatagridHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
Subheader: ({ ...props }: PropsWithChildren<SxProp>) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
Body: ({ ...props }: PropsWithChildren<SxProp>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
Row: ({ gapX, alignItems, justifyContent,
|
|
12
|
+
Row: ({ gapX, alignItems, justifyContent, children, ...props }: PropsWithChildren<DatagridRowProps>) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
Cell: ({ children, ...props }: PropsWithChildren<Pick<import("../Grid").GridUnitProps, "size" | "sx">>) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
};
|
|
15
15
|
export default _default;
|
package/dist/index.js
CHANGED
|
@@ -2289,6 +2289,29 @@ const SvgFire = props => /*#__PURE__*/React__namespace.createElement("svg", _ext
|
|
|
2289
2289
|
d: "M10.373 2.847c-.021.287-.22 2.173-1.773 3.754-.144.145-.3.279-.465.4-.227.169-.616.462-1.021.787-.537.431-2.966 2.7-3.104 5.86 0 0-.586 7.212 7.136 8.276 0 0 2.5.531 5.223-1.214.061-.04.123-.078.187-.115.438-.257 2.76-1.767 3.368-5.192 0 0 .433-2.773-.768-4.942-.034-.06-.072-.117-.104-.177-.144-.273-.65-1.176-1.366-1.86a.699.699 0 0 0-.377-.191.565.565 0 0 0-.569.253c-.127.19-.761 1.139-1.045 1.49 0 0-.159.194-.12-.08 0 0 .515-2.576-1.264-5.153 0 0-1.107-1.719-2.807-2.578 0 0-.434-.273-.79-.117 0 0-.248.105-.325.66a1.583 1.583 0 0 0-.016.14Z"
|
|
2290
2290
|
}));
|
|
2291
2291
|
|
|
2292
|
+
const SvgFireColor = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2293
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2294
|
+
width: "1em",
|
|
2295
|
+
height: "1em",
|
|
2296
|
+
fill: "none",
|
|
2297
|
+
viewBox: "0 0 24 24"
|
|
2298
|
+
}, props), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2299
|
+
fill: "#D1D5DB",
|
|
2300
|
+
d: "M10.373 2.847c-.021.287-.22 2.173-1.773 3.754-.144.145-.3.279-.465.4-.227.169-.616.462-1.021.787-.537.431-2.966 2.7-3.104 5.86 0 0-.586 7.212 7.136 8.276 0 0 2.5.531 5.223-1.214.061-.04.123-.078.187-.115.438-.257 2.76-1.767 3.368-5.192 0 0 .433-2.773-.768-4.942-.034-.06-.072-.117-.104-.177-.144-.273-.65-1.176-1.366-1.86a.699.699 0 0 0-.377-.191.565.565 0 0 0-.569.253c-.127.19-.761 1.139-1.045 1.49 0 0-.159.194-.12-.08 0 0 .515-2.576-1.264-5.153 0 0-1.107-1.719-2.807-2.578 0 0-.434-.273-.79-.117 0 0-.248.105-.325.66a1.583 1.583 0 0 0-.016.14Z"
|
|
2301
|
+
}), /*#__PURE__*/React__namespace.createElement("rect", {
|
|
2302
|
+
width: 11,
|
|
2303
|
+
height: 11,
|
|
2304
|
+
x: 13,
|
|
2305
|
+
y: 13,
|
|
2306
|
+
fill: "#fff",
|
|
2307
|
+
rx: 5.5
|
|
2308
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
2309
|
+
fill: "#F5525D",
|
|
2310
|
+
fillRule: "evenodd",
|
|
2311
|
+
d: "M18.583 20.716a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1Zm-.416-4.098a.417.417 0 1 1 .833 0V18.7a.417.417 0 1 1-.833 0v-2.083ZM18.583 14a4.583 4.583 0 1 0 0 9.167 4.583 4.583 0 0 0 0-9.167Z",
|
|
2312
|
+
clipRule: "evenodd"
|
|
2313
|
+
}));
|
|
2314
|
+
|
|
2292
2315
|
const SvgFolder = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
2293
2316
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2294
2317
|
width: "1em",
|
|
@@ -4385,6 +4408,7 @@ var icons = /*#__PURE__*/Object.freeze({
|
|
|
4385
4408
|
FacebookColorIcon: SvgFacebookColor,
|
|
4386
4409
|
FacebookIcon: SvgFacebook,
|
|
4387
4410
|
FilterIcon: SvgFilter,
|
|
4411
|
+
FireColorIcon: SvgFireColor,
|
|
4388
4412
|
FireIcon: SvgFire,
|
|
4389
4413
|
FolderIcon: SvgFolder,
|
|
4390
4414
|
FrameIcon: SvgFrame,
|
|
@@ -17938,7 +17962,6 @@ const DatagridRow = ({
|
|
|
17938
17962
|
gapX = 2,
|
|
17939
17963
|
alignItems,
|
|
17940
17964
|
justifyContent,
|
|
17941
|
-
sx,
|
|
17942
17965
|
children,
|
|
17943
17966
|
...props
|
|
17944
17967
|
}) => /*#__PURE__*/jsxRuntimeExports.jsx(DatagridRowWrapper, {
|
|
@@ -17948,7 +17971,6 @@ const DatagridRow = ({
|
|
|
17948
17971
|
gapX: gapX,
|
|
17949
17972
|
alignItems: alignItems,
|
|
17950
17973
|
justifyContent: justifyContent,
|
|
17951
|
-
sx: sx,
|
|
17952
17974
|
children: children
|
|
17953
17975
|
})
|
|
17954
17976
|
});
|
|
@@ -6,7 +6,6 @@ const DatagridRow = ({
|
|
|
6
6
|
gapX = 2,
|
|
7
7
|
alignItems,
|
|
8
8
|
justifyContent,
|
|
9
|
-
sx,
|
|
10
9
|
children,
|
|
11
10
|
...props
|
|
12
11
|
}) => /*#__PURE__*/jsxRuntimeExports.jsx(DatagridRowWrapper, {
|
|
@@ -16,7 +15,6 @@ const DatagridRow = ({
|
|
|
16
15
|
gapX: gapX,
|
|
17
16
|
alignItems: alignItems,
|
|
18
17
|
justifyContent: justifyContent,
|
|
19
|
-
sx: sx,
|
|
20
18
|
children: children
|
|
21
19
|
})
|
|
22
20
|
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { extends as _extends } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
const SvgFireColor = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: "1em",
|
|
7
|
+
height: "1em",
|
|
8
|
+
fill: "none",
|
|
9
|
+
viewBox: "0 0 24 24"
|
|
10
|
+
}, props), /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
fill: "#D1D5DB",
|
|
12
|
+
d: "M10.373 2.847c-.021.287-.22 2.173-1.773 3.754-.144.145-.3.279-.465.4-.227.169-.616.462-1.021.787-.537.431-2.966 2.7-3.104 5.86 0 0-.586 7.212 7.136 8.276 0 0 2.5.531 5.223-1.214.061-.04.123-.078.187-.115.438-.257 2.76-1.767 3.368-5.192 0 0 .433-2.773-.768-4.942-.034-.06-.072-.117-.104-.177-.144-.273-.65-1.176-1.366-1.86a.699.699 0 0 0-.377-.191.565.565 0 0 0-.569.253c-.127.19-.761 1.139-1.045 1.49 0 0-.159.194-.12-.08 0 0 .515-2.576-1.264-5.153 0 0-1.107-1.719-2.807-2.578 0 0-.434-.273-.79-.117 0 0-.248.105-.325.66a1.583 1.583 0 0 0-.016.14Z"
|
|
13
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
14
|
+
width: 11,
|
|
15
|
+
height: 11,
|
|
16
|
+
x: 13,
|
|
17
|
+
y: 13,
|
|
18
|
+
fill: "#fff",
|
|
19
|
+
rx: 5.5
|
|
20
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
fill: "#F5525D",
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
d: "M18.583 20.716a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1Zm-.416-4.098a.417.417 0 1 1 .833 0V18.7a.417.417 0 1 1-.833 0v-2.083ZM18.583 14a4.583 4.583 0 1 0 0 9.167 4.583 4.583 0 0 0 0-9.167Z",
|
|
24
|
+
clipRule: "evenodd"
|
|
25
|
+
}));
|
|
26
|
+
|
|
27
|
+
export { SvgFireColor as default };
|
|
@@ -77,6 +77,7 @@ export { default as FacebookIcon } from './Facebook.js';
|
|
|
77
77
|
export { default as FacebookColorIcon } from './FacebookColor.js';
|
|
78
78
|
export { default as FilterIcon } from './Filter.js';
|
|
79
79
|
export { default as FireIcon } from './Fire.js';
|
|
80
|
+
export { default as FireColorIcon } from './FireColor.js';
|
|
80
81
|
export { default as FolderIcon } from './Folder.js';
|
|
81
82
|
export { default as FrameIcon } from './Frame.js';
|
|
82
83
|
export { default as GlassesIcon } from './Glasses.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/react-kit",
|
|
3
|
-
"version": "2.21.
|
|
3
|
+
"version": "2.21.3",
|
|
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,7 +55,7 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@floating-ui/react-dom": "^2.0.2",
|
|
57
57
|
"@primer/behaviors": "^1.3.6",
|
|
58
|
-
"@teamturing/icons": "^1.26.
|
|
58
|
+
"@teamturing/icons": "^1.26.1",
|
|
59
59
|
"@teamturing/token-studio": "^1.2.2",
|
|
60
60
|
"@teamturing/utils": "^1.2.0",
|
|
61
61
|
"framer-motion": "^10.16.4",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"react-textarea-autosize": "^8.5.3",
|
|
67
67
|
"styled-system": "^5.1.5"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "eb3455ef46f8f590384e6648322aff16ca1647d4"
|
|
70
70
|
}
|