@teamturing/react-kit 2.62.2 → 2.62.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.
|
@@ -32,7 +32,10 @@ type PaginationPageDirectionProps = Pick<UnstyledButtonProps, 'onClick' | 'disab
|
|
|
32
32
|
declare const _default: (<T extends {
|
|
33
33
|
label: string;
|
|
34
34
|
}>({ pages: propPages, currentPageIndex, aroundPageCount, edgePageCount, type, sx, onPageClick, onPreviousClick, onNextClick, renderPage, renderPageWrapper, renderPreviousPageDirection, renderNextPageDirection, renderTruncationIndicator, }: Props<T>) => import("react/jsx-runtime").JSX.Element) & {
|
|
35
|
-
Page: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<
|
|
35
|
+
Page: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<{
|
|
36
|
+
ref?: import("react").LegacyRef<HTMLButtonElement> | undefined;
|
|
37
|
+
key?: import("react").Key | null | undefined;
|
|
38
|
+
} & import("react").ButtonHTMLAttributes<HTMLButtonElement> & SxProp, "ref"> & {
|
|
36
39
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
37
40
|
}, PaginationPageProps>>;
|
|
38
41
|
PageDirection: import("styled-components").IStyledComponent<"web", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
2
|
import { SxProp } from '../utils/styled-system';
|
|
3
3
|
type Props = {} & ButtonHTMLAttributes<HTMLButtonElement> & SxProp;
|
|
4
|
-
declare const UnstyledButton: import("
|
|
4
|
+
declare const UnstyledButton: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Props>>;
|
|
5
5
|
export default UnstyledButton;
|
|
6
6
|
export type { Props as UnstyledButtonProps };
|
package/dist/index.js
CHANGED
|
@@ -2098,19 +2098,13 @@ const Space = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
|
2098
2098
|
componentId: "sc-4g4g8r-0"
|
|
2099
2099
|
})(["width:inherit;", ";", ""], space, sx);
|
|
2100
2100
|
|
|
2101
|
-
const
|
|
2102
|
-
displayName: "
|
|
2101
|
+
const UnstyledButton = /*#__PURE__*/styled__default.default.button.withConfig({
|
|
2102
|
+
displayName: "_UnstyledButton__UnstyledButton",
|
|
2103
2103
|
componentId: "sc-j96ib-0"
|
|
2104
2104
|
})(["background:none;border:0;padding:0;outline:none;cursor:pointer;", ""], sx);
|
|
2105
|
-
|
|
2106
|
-
type
|
|
2107
|
-
|
|
2108
|
-
}, ref) => /*#__PURE__*/jsxRuntime.jsx(BaseButton$1, {
|
|
2109
|
-
ref: ref,
|
|
2110
|
-
type: type,
|
|
2111
|
-
...props
|
|
2112
|
-
}));
|
|
2113
|
-
UnstyledButton.displayName = 'UnstyledButton';
|
|
2105
|
+
UnstyledButton.defaultProps = {
|
|
2106
|
+
type: 'button'
|
|
2107
|
+
};
|
|
2114
2108
|
|
|
2115
2109
|
function useTooltip({
|
|
2116
2110
|
initialOpen = false,
|
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
import { forwardRef } from 'react';
|
|
2
1
|
import styled from 'styled-components';
|
|
3
2
|
import { sx } from '../utils/styled-system/index.js';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
3
|
|
|
6
|
-
const
|
|
7
|
-
displayName: "
|
|
4
|
+
const UnstyledButton = /*#__PURE__*/styled.button.withConfig({
|
|
5
|
+
displayName: "_UnstyledButton__UnstyledButton",
|
|
8
6
|
componentId: "sc-j96ib-0"
|
|
9
7
|
})(["background:none;border:0;padding:0;outline:none;cursor:pointer;", ""], sx);
|
|
10
|
-
|
|
11
|
-
type
|
|
12
|
-
|
|
13
|
-
}, ref) => /*#__PURE__*/jsx(BaseButton, {
|
|
14
|
-
ref: ref,
|
|
15
|
-
type: type,
|
|
16
|
-
...props
|
|
17
|
-
}));
|
|
18
|
-
UnstyledButton.displayName = 'UnstyledButton';
|
|
8
|
+
UnstyledButton.defaultProps = {
|
|
9
|
+
type: 'button'
|
|
10
|
+
};
|
|
19
11
|
|
|
20
12
|
export { UnstyledButton as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/react-kit",
|
|
3
|
-
"version": "2.62.
|
|
3
|
+
"version": "2.62.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",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"react-textarea-autosize": "^8.5.3",
|
|
66
66
|
"styled-system": "^5.1.5"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "01bec7b072bfc68e4b4bf78bb54cfd393cb7024a"
|
|
69
69
|
}
|