jcicl 0.0.341 → 0.0.343
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.
- package/.chunks/createLucideIcon.js +94 -0
- package/ContactCard/ContactCard.d.ts +10 -0
- package/ContactCard/ContactCard.js +97 -0
- package/ContactCard/index.d.ts +1 -0
- package/ContactCard/index.js +4 -0
- package/DetailItemWithIcon/DetailItemWithIcon.d.ts +10 -0
- package/DetailItemWithIcon/DetailItemWithIcon.js +31 -0
- package/DetailItemWithIcon/index.d.ts +1 -0
- package/DetailItemWithIcon/index.js +4 -0
- package/DetailPageComponents/DetailPageComponents.d.ts +24 -0
- package/DetailPageComponents/DetailPageComponents.js +127 -0
- package/DetailPageComponents/index.d.ts +1 -0
- package/DetailPageComponents/index.js +8 -0
- package/EditableDetailItemWithIcon/EditableDetailItemWithIcon.d.ts +15 -0
- package/EditableDetailItemWithIcon/EditableDetailItemWithIcon.js +125 -0
- package/EditableDetailItemWithIcon/index.d.ts +1 -0
- package/EditableDetailItemWithIcon/index.js +4 -0
- package/Memo/Memo.d.ts +8 -0
- package/Memo/Memo.js +44 -0
- package/Memo/index.d.ts +1 -0
- package/Memo/index.js +4 -0
- package/SquareIcon/SquareIcon.d.ts +10 -0
- package/SquareIcon/SquareIcon.js +27 -0
- package/SquareIcon/index.d.ts +1 -0
- package/SquareIcon/index.js +4 -0
- package/SquareIconButton/SquareIconButton.d.ts +13 -0
- package/SquareIconButton/SquareIconButton.js +43 -0
- package/SquareIconButton/index.d.ts +1 -0
- package/SquareIconButton/index.js +4 -0
- package/Table/Table.js +190 -279
- package/package.json +1 -1
- package/utils.d.ts +7 -0
- package/utils.js +8 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
2
|
+
import { LucideProps } from 'lucide-react';
|
|
3
|
+
export type SquareIconButtonProps = SquareIconWrapperProps & {
|
|
4
|
+
icon: ForwardRefExoticComponent<Omit<LucideProps, 'ref'>>;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
};
|
|
7
|
+
interface SquareIconWrapperProps {
|
|
8
|
+
backgroundColor?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
size?: number;
|
|
11
|
+
}
|
|
12
|
+
declare const SquareIconButton: React.FC<SquareIconButtonProps>;
|
|
13
|
+
export default SquareIconButton;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { n as c } from "../.chunks/emotion-styled.browser.esm.js";
|
|
3
|
+
import { c as l } from "../.chunks/emotion-react.browser.esm.js";
|
|
4
|
+
import n from "../theme.js";
|
|
5
|
+
const a = c("button")(({ backgroundColor: r, color: e, size: o }) => ({
|
|
6
|
+
...l`
|
|
7
|
+
width: ${o}px;
|
|
8
|
+
height: ${o}px;
|
|
9
|
+
background-color: ${r};
|
|
10
|
+
color: ${e};
|
|
11
|
+
border-radius: 17%;
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
transition: all 0.21s ease;
|
|
17
|
+
transform: scale(1);
|
|
18
|
+
border: none;
|
|
19
|
+
outline: none;
|
|
20
|
+
|
|
21
|
+
&:hover,
|
|
22
|
+
&:focus,
|
|
23
|
+
&:focus-visible {
|
|
24
|
+
border: none;
|
|
25
|
+
outline: none;
|
|
26
|
+
filter: brightness(92%);
|
|
27
|
+
transform: scale(1.1);
|
|
28
|
+
|
|
29
|
+
.lucide {
|
|
30
|
+
filter: brightness(200%) !important;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`
|
|
34
|
+
})), d = ({
|
|
35
|
+
color: r = n.colors.white,
|
|
36
|
+
backgroundColor: e = n.colors.green,
|
|
37
|
+
size: o = 20,
|
|
38
|
+
onClick: s,
|
|
39
|
+
icon: i
|
|
40
|
+
}) => /* @__PURE__ */ t(a, { backgroundColor: e, color: r, size: o * 2, onClick: s, children: /* @__PURE__ */ t(i, { size: o }) });
|
|
41
|
+
export {
|
|
42
|
+
d as default
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, type SquareIconButtonProps } from './SquareIconButton';
|