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.
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./SquareIcon.js";
2
+ export {
3
+ o as default
4
+ };
@@ -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';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./SquareIconButton.js";
2
+ export {
3
+ o as default
4
+ };