@kvdbil/components 15.0.46 → 15.0.48
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/cjs/components/Button/styles.js +1 -1
- package/cjs/components/Hero/index.js +4 -4
- package/cjs/components/SpinnerThin/index.js +3 -3
- package/esm/components/Button/styles.js +8 -8
- package/esm/components/Hero/index.js +19 -19
- package/esm/components/SpinnerThin/index.js +4 -4
- package/package.json +1 -5
- package/package.json.tmp +1 -5
- package/types/components/Button/styles.d.ts +0 -2
- package/types/components/Hero/index.d.ts +0 -1
- package/types/components/SpinnerThin/index.d.ts +0 -6
- package/types/Interfaces.d.ts +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var r=require("../../typography/ButtonText/index.js");require("react/jsx-runtime"),require("styled-components");const o={smaller:r.ButtonSmallTextStyle,small:r.ButtonRegularTextStyle,regular:r.ButtonRegularTextStyle,large:r.ButtonLargeTextStyle},n=r=>`\n color: ${r.colors.gray.light1};\n cursor: not-allowed;\n`,e={solid:(r,o,n)=>`\n color: ${r.colors.text.light};\n background-color: ${r.colors[o][n]};\n\n :hover {\n border-color: ${r.colors[o].dark};\n filter: brightness(0.9)\n }\n\n :active {\n border-color: ${r.colors[o].light};\n filter: brightness(1.1)\n }\n`,outline:(r,o)=>`\n color: ${r.colors[o].main};\n border: 2px solid ${r.colors[o].main};\n background-color: transparent;\n\n :hover {\n border: 2px solid ${r.colors[o].dark};\n color: ${r.colors[o].dark};\n }\n\n :active {\n border: 2px solid ${r.colors[o].light};\n color: ${r.colors[o].light};\n }\n`,flat:(r,o)=>`\n color: ${r.colors[o].main};\n\n background-color: transparent;\n\n :hover, :active {\n color: ${r.colors[o].dark};\n }\n`};exports.colorStyles=e,exports.disabledColorStyles=(r,o)=>"solid"===o?`\n ${n(r)};\n background-color: ${r.colors.gray.light4};`:"outline"===o?`\n ${n(r)};\n border: 2px solid ${r.colors.gray.light1};`:n(r),exports.fontSizes=o,exports.largeSizeStyles=()=>"\n padding: 0.25rem 1.5rem;\n min-height: 3.75rem;\n",exports.regularSizeStyles=()=>"\n padding: 0.25rem 1.5rem;\n min-height: 3rem;\n",exports.smallerAndSmallSizeStyles=()=>"\n padding: 0.25rem 0.75rem;\n min-height: 2.5rem;\n";
|
|
@@ -27,20 +27,20 @@
|
|
|
27
27
|
padding: 3rem 1.5rem;
|
|
28
28
|
z-index: 1;
|
|
29
29
|
flex: 1;
|
|
30
|
-
|
|
30
|
+
`,$=o.default.iframe`
|
|
31
31
|
position: absolute;
|
|
32
32
|
width: 100%;
|
|
33
33
|
height: 100%;
|
|
34
34
|
top: 0;
|
|
35
35
|
left: 0;
|
|
36
|
-
|
|
36
|
+
`,c=e=>"number"==typeof e,u=e=>"string"==typeof e,p=o.default.div`
|
|
37
37
|
width: 100%;
|
|
38
38
|
min-height: 440px;
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
justify-content: center;
|
|
42
42
|
|
|
43
|
-
${({$url:e,...t})=>e&&`\n background: url('${e}');\n background-repeat: no-repeat;\n background-size: cover;\n background-position: ${(({$positionX:e,$positionY:t})=>{if(
|
|
43
|
+
${({$url:e,...t})=>e&&`\n background: url('${e}');\n background-repeat: no-repeat;\n background-size: cover;\n background-position: ${(({$positionX:e,$positionY:t})=>{if(c(e)&&c(t))return`${e}% ${t}%`;if(u(e)&&u(t))return`${e} ${t}`;if(e||t)return`${(c(e)?`${e}%`:e)||"50%"} ${(c(t)?`${t}%`:t)||"50%"}`;return"50% 50%"})(t)};\n `}
|
|
44
44
|
`,m=o.default.div`
|
|
45
45
|
padding-left: 1rem;
|
|
46
46
|
padding-right: 1rem;
|
|
@@ -71,4 +71,4 @@
|
|
|
71
71
|
margin-top: 3rem;
|
|
72
72
|
|
|
73
73
|
${({$shadow:e,theme:t})=>e&&`box-shadow: ${t.elevations.elevation8};`}
|
|
74
|
-
`;exports.
|
|
74
|
+
`;exports.default=({imageProps:t,imageElement:i,videoProps:n,children:r,align:o,direction:d,justify:c,contentMaxWidth:u=64,heading:y,headingColor:w="dark",subheading:b,button:v,dynamicGutter:j,isLoading:k=!1,contentCentered:q=!1,containerStyle:G,elementShadow:V=!1})=>{const{autoplay:_=0,controls:z=0,disablekb:C=0,end:E,loop:M=0,modestbranding:P=1,start:S=0,showInfo:W=0}=n?.ytConfig||{};return k?e.jsx(l,{"data-testid":"loader"}):e.jsx(a,{style:G,children:n?e.jsx($,{"data-testid":"hero-video",title:"video-frame",src:`${n.src}?disabledkb=${C}&autoplay=${_}&controls=${z}&loop=${M}&modestbranding=${P}&start=${S}&showInfo=${W}${E?`&end=${E}`:""}`,width:"100%",height:"100%",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):e.jsxs(p,{"data-testid":"hero-image",$positionX:i?void 0:t?.x,$positionY:i?void 0:t?.y,$url:i?void 0:t?.src,children:[i,e.jsxs(m,{children:[(y||b||v)&&e.jsxs(h,{$maxWidth:u,$dynamicGutter:j,$centered:q,children:[y&&e.jsx(f,{as:"h1",$color:w,$shadow:V,children:y}),b&&e.jsx(g,{$color:w,$shadow:V,children:b}),v&&e.jsx(x,{$shadow:V,children:v})]}),r&&e.jsx(s,{$pointerEvents:n?"none":"auto",$align:o||"flex-start",$direction:d||"column",$justify:c||"flex-start",children:r})]})]})})};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("styled-components"),n=require("../../icons/components/CheckmarkIcon.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("styled-components"),n=require("../../icons/components/CheckmarkIcon.js"),s=require("../../icons/components/CloseIcon.js"),t=require("../Spinner/index.js");require("../../theme.js");var r,o=(r=i)&&r.__esModule?r:{default:r};const a=o.default.div`
|
|
2
2
|
position: absolute;
|
|
3
|
-
`,d=o.default(
|
|
3
|
+
`,d=o.default(t.default)`
|
|
4
4
|
position: absolute;
|
|
5
5
|
|
|
6
6
|
${({size:e})=>e&&`\n width: ${e}rem;\n height: ${e}rem;\n margin-left: -${e/2}rem;\n `}
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
|
|
24
24
|
transition: opacity 500ms ease-in-out;
|
|
25
25
|
opacity: ${({isDone:e,isError:i})=>e||i?"1":"0"};
|
|
26
|
-
`,
|
|
26
|
+
`,u=({isLoading:i=!0,isDone:t=!1,isError:r=!1,size:o=3.5,...u})=>e.jsxs(a,{"data-testid":"spinner-thin","aria-label":"Loading...",children:[e.jsx(l,{size:o,isDone:t,children:e.jsx(n.default,{})}),e.jsx(l,{isClose:!0,size:o,isError:r,children:e.jsx(s.default,{})}),e.jsx(d,{size:o,speed:"fast",color:"neutral",isLoading:i,...u})]});exports.SpinnerThin=u,exports.default=u;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import{ButtonLargeTextStyle as
|
|
1
|
+
import{ButtonLargeTextStyle as i,ButtonRegularTextStyle as e,ButtonSmallTextStyle as c}from"../../typography/ButtonText/index.js";import"react/jsx-runtime";import"styled-components";const s={smaller:c,small:e,regular:e,large:i},a=()=>`
|
|
2
2
|
padding: 0.25rem 0.75rem;
|
|
3
3
|
min-height: 2.5rem;
|
|
4
|
-
`,
|
|
4
|
+
`,n=()=>`
|
|
5
5
|
padding: 0.25rem 1.5rem;
|
|
6
6
|
min-height: 3rem;
|
|
7
|
-
`,
|
|
7
|
+
`,d=()=>`
|
|
8
8
|
padding: 0.25rem 1.5rem;
|
|
9
9
|
min-height: 3.75rem;
|
|
10
|
-
`,
|
|
10
|
+
`,g=(o,r,t)=>`
|
|
11
11
|
color: ${o.colors.text.light};
|
|
12
|
-
background-color: ${o.colors[r][
|
|
12
|
+
background-color: ${o.colors[r][t]};
|
|
13
13
|
|
|
14
14
|
:hover {
|
|
15
15
|
border-color: ${o.colors[r].dark};
|
|
@@ -20,7 +20,7 @@ import{ButtonLargeTextStyle as c,ButtonRegularTextStyle as e,ButtonSmallTextStyl
|
|
|
20
20
|
border-color: ${o.colors[r].light};
|
|
21
21
|
filter: brightness(1.1)
|
|
22
22
|
}
|
|
23
|
-
`,
|
|
23
|
+
`,m=(o,r)=>`
|
|
24
24
|
color: ${o.colors[r].main};
|
|
25
25
|
border: 2px solid ${o.colors[r].main};
|
|
26
26
|
background-color: transparent;
|
|
@@ -34,7 +34,7 @@ import{ButtonLargeTextStyle as c,ButtonRegularTextStyle as e,ButtonSmallTextStyl
|
|
|
34
34
|
border: 2px solid ${o.colors[r].light};
|
|
35
35
|
color: ${o.colors[r].light};
|
|
36
36
|
}
|
|
37
|
-
`,
|
|
37
|
+
`,h=(o,r)=>`
|
|
38
38
|
color: ${o.colors[r].main};
|
|
39
39
|
|
|
40
40
|
background-color: transparent;
|
|
@@ -49,4 +49,4 @@ import{ButtonLargeTextStyle as c,ButtonRegularTextStyle as e,ButtonSmallTextStyl
|
|
|
49
49
|
${l(o)};
|
|
50
50
|
background-color: ${o.colors.gray.light4};`:r==="outline"?`
|
|
51
51
|
${l(o)};
|
|
52
|
-
border: 2px solid ${o.colors.gray.light1};`:l(o),S={solid:
|
|
52
|
+
border: 2px solid ${o.colors.gray.light1};`:l(o),S={solid:g,outline:m,flat:h};export{S as colorStyles,$ as disabledColorStyles,s as fontSizes,d as largeSizeStyles,n as regularSizeStyles,a as smallerAndSmallSizeStyles};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{jsx as o,jsxs as c}from"react/jsx-runtime";import
|
|
1
|
+
import{jsx as o,jsxs as c}from"react/jsx-runtime";import t,{keyframes as C}from"styled-components";import{Display3 as I,Title as P}from"../../typography/Heading/index.js";import{mq as m}from"../../shared/media-queries.js";const q=t.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
min-height: 440px;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
|
-
`,
|
|
6
|
+
`,B=C`
|
|
7
7
|
0% {
|
|
8
8
|
background-color:#f5f5f5;
|
|
9
9
|
}
|
|
@@ -14,11 +14,11 @@ import{jsx as o,jsxs as c}from"react/jsx-runtime";import i,{keyframes as I}from"
|
|
|
14
14
|
|
|
15
15
|
100% {
|
|
16
16
|
background-color:#f5f5f5;
|
|
17
|
-
}`,
|
|
17
|
+
}`,D=t.div`
|
|
18
18
|
width: 100%;
|
|
19
19
|
height: 440px;
|
|
20
|
-
animation: ${
|
|
21
|
-
`,
|
|
20
|
+
animation: ${B} 2s linear infinite;
|
|
21
|
+
`,F=t.div`
|
|
22
22
|
pointer-events: ${({$pointerEvents:e})=>e};
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: ${({$direction:e})=>e};
|
|
@@ -27,26 +27,26 @@ import{jsx as o,jsxs as c}from"react/jsx-runtime";import i,{keyframes as I}from"
|
|
|
27
27
|
padding: 3rem 1.5rem;
|
|
28
28
|
z-index: 1;
|
|
29
29
|
flex: 1;
|
|
30
|
-
`,
|
|
30
|
+
`,M=t.iframe`
|
|
31
31
|
position: absolute;
|
|
32
32
|
width: 100%;
|
|
33
33
|
height: 100%;
|
|
34
34
|
top: 0;
|
|
35
35
|
left: 0;
|
|
36
|
-
`,a=e=>typeof e=="number",
|
|
36
|
+
`,a=e=>typeof e=="number",g=e=>typeof e=="string",T=({$positionX:e,$positionY:i})=>{if(a(e)&&a(i))return`${e}% ${i}%`;if(g(e)&&g(i))return`${e} ${i}`;if(e||i){const r=a(e)?`${e}%`:e,n=a(i)?`${i}%`:i;return`${r||"50%"} ${n||"50%"}`}return"50% 50%"},X=t.div`
|
|
37
37
|
width: 100%;
|
|
38
38
|
min-height: 440px;
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
justify-content: center;
|
|
42
42
|
|
|
43
|
-
${({$url:e,...
|
|
43
|
+
${({$url:e,...i})=>e&&`
|
|
44
44
|
background: url('${e}');
|
|
45
45
|
background-repeat: no-repeat;
|
|
46
46
|
background-size: cover;
|
|
47
|
-
background-position: ${T(
|
|
47
|
+
background-position: ${T(i)};
|
|
48
48
|
`}
|
|
49
|
-
`,Y=
|
|
49
|
+
`,Y=t.div`
|
|
50
50
|
padding-left: 1rem;
|
|
51
51
|
padding-right: 1rem;
|
|
52
52
|
z-index: 2;
|
|
@@ -55,7 +55,7 @@ import{jsx as o,jsxs as c}from"react/jsx-runtime";import i,{keyframes as I}from"
|
|
|
55
55
|
padding-left: 1.5rem;
|
|
56
56
|
padding-right: 1.5rem;
|
|
57
57
|
}
|
|
58
|
-
`,
|
|
58
|
+
`,A=t.div`
|
|
59
59
|
${({$centered:e})=>e&&`
|
|
60
60
|
display: flex;
|
|
61
61
|
flex-direction: column;
|
|
@@ -63,7 +63,7 @@ import{jsx as o,jsxs as c}from"react/jsx-runtime";import i,{keyframes as I}from"
|
|
|
63
63
|
text-align: center;
|
|
64
64
|
`}
|
|
65
65
|
|
|
66
|
-
${({$maxWidth:e,$dynamicGutter:
|
|
66
|
+
${({$maxWidth:e,$dynamicGutter:i})=>!i&&`
|
|
67
67
|
width: 100%;
|
|
68
68
|
margin-left: auto;
|
|
69
69
|
margin-right: auto;
|
|
@@ -81,19 +81,19 @@ import{jsx as o,jsxs as c}from"react/jsx-runtime";import i,{keyframes as I}from"
|
|
|
81
81
|
margin-right: ${e.laptopVw}vw;
|
|
82
82
|
}
|
|
83
83
|
`}
|
|
84
|
-
`,
|
|
84
|
+
`,H=t(I)`
|
|
85
85
|
margin: 0;
|
|
86
|
-
color: ${({$color:e,theme:
|
|
86
|
+
color: ${({$color:e,theme:i})=>i.colors.text[e]};
|
|
87
87
|
|
|
88
88
|
${({$shadow:e})=>e&&"text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);"}
|
|
89
|
-
`,
|
|
89
|
+
`,J=t(P)`
|
|
90
90
|
margin: 0.25rem 0;
|
|
91
|
-
color: ${({$color:e,theme:
|
|
91
|
+
color: ${({$color:e,theme:i})=>i.colors.text[e]};
|
|
92
92
|
|
|
93
93
|
${({$shadow:e})=>e&&"text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);"}
|
|
94
|
-
`,
|
|
94
|
+
`,L=t.div`
|
|
95
95
|
display: inline-block;
|
|
96
96
|
margin-top: 3rem;
|
|
97
97
|
|
|
98
|
-
${({$shadow:e,theme:
|
|
99
|
-
`,N=({imageProps:e,imageElement:
|
|
98
|
+
${({$shadow:e,theme:i})=>e&&`box-shadow: ${i.elevations.elevation8};`}
|
|
99
|
+
`,N=({imageProps:e,imageElement:i,videoProps:r,children:n,align:f,direction:u,justify:x,contentMaxWidth:w=64,heading:d,headingColor:p="dark",subheading:l,button:$,dynamicGutter:y,isLoading:b=!1,contentCentered:v=!1,containerStyle:k,elementShadow:s=!1})=>{const{autoplay:j=0,controls:G=0,disablekb:z=0,end:h,loop:E=0,modestbranding:S=1,start:V=0,showInfo:W=0}=r?.ytConfig||{};return b?o(D,{"data-testid":"loader"}):o(q,{style:k,children:r?o(M,{"data-testid":"hero-video",title:"video-frame",src:`${r.src}?disabledkb=${z}&autoplay=${j}&controls=${G}&loop=${E}&modestbranding=${S}&start=${V}&showInfo=${W}${h?`&end=${h}`:""}`,width:"100%",height:"100%",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):c(X,{"data-testid":"hero-image",$positionX:i?void 0:e?.x,$positionY:i?void 0:e?.y,$url:i?void 0:e?.src,children:[i,c(Y,{children:[(d||l||$)&&c(A,{$maxWidth:w,$dynamicGutter:y,$centered:v,children:[d&&o(H,{as:"h1",$color:p,$shadow:s,children:d}),l&&o(J,{$color:p,$shadow:s,children:l}),$&&o(L,{$shadow:s,children:$})]}),n&&o(F,{$pointerEvents:r?"none":"auto",$align:f||"flex-start",$direction:u||"column",$justify:x||"flex-start",children:n})]})]})})};export{N as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{jsxs as
|
|
1
|
+
import{jsxs as d,jsx as e}from"react/jsx-runtime";import o from"styled-components";import l from"../../icons/components/CheckmarkIcon.js";import p from"../../icons/components/CloseIcon.js";import f from"../Spinner/index.js";import"../../theme.js";const h=o.div`
|
|
2
2
|
position: absolute;
|
|
3
|
-
|
|
3
|
+
`,$=o(f)`
|
|
4
4
|
position: absolute;
|
|
5
5
|
|
|
6
6
|
${({size:i})=>i&&`
|
|
@@ -18,7 +18,7 @@ import{jsxs as l,jsx as e}from"react/jsx-runtime";import o from"styled-component
|
|
|
18
18
|
animation: none;
|
|
19
19
|
border: 1px solid ${t.colors.gray.dark3};
|
|
20
20
|
`}
|
|
21
|
-
`,
|
|
21
|
+
`,s=o.div`
|
|
22
22
|
position: absolute;
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: center;
|
|
@@ -35,4 +35,4 @@ import{jsxs as l,jsx as e}from"react/jsx-runtime";import o from"styled-component
|
|
|
35
35
|
|
|
36
36
|
transition: opacity 500ms ease-in-out;
|
|
37
37
|
opacity: ${({isDone:i,isError:t})=>!i&&!t?"0":"1"};
|
|
38
|
-
`,
|
|
38
|
+
`,n=({isLoading:i=!0,isDone:t=!1,isError:a=!1,size:r=3.5,...m})=>d(h,{"data-testid":"spinner-thin","aria-label":"Loading...",children:[e(s,{size:r,isDone:t,children:e(l,{})}),e(s,{isClose:!0,size:r,isError:a,children:e(p,{})}),e($,{size:r,speed:"fast",color:"neutral",isLoading:i,...m})]});export{n as SpinnerThin,n as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kvdbil/components",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.48",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -69,14 +69,12 @@
|
|
|
69
69
|
"@testing-library/react": "^16.0.1",
|
|
70
70
|
"@testing-library/react-hooks": "^8.0.1",
|
|
71
71
|
"@testing-library/user-event": "^14.5.2",
|
|
72
|
-
"@types/classnames": "^2.2.11",
|
|
73
72
|
"@types/jest": "^29.5.12",
|
|
74
73
|
"@types/node": "22.14.0",
|
|
75
74
|
"@types/react": "^18.3.8",
|
|
76
75
|
"@types/react-collapse": "^5.0.4",
|
|
77
76
|
"@types/react-dom": "^18.3.0",
|
|
78
77
|
"@types/react-transition-group": "^4.4.11",
|
|
79
|
-
"@types/uuid": "^10.0.0",
|
|
80
78
|
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
81
79
|
"@typescript-eslint/parser": "^8.7.0",
|
|
82
80
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
@@ -100,7 +98,6 @@
|
|
|
100
98
|
"react-day-picker": "^7.4.8",
|
|
101
99
|
"react-docgen-typescript": "^2.2.2",
|
|
102
100
|
"react-dom": "^18.3.1",
|
|
103
|
-
"react-is": "^18.3.1",
|
|
104
101
|
"react-select": "^5.8.0",
|
|
105
102
|
"react-select-event": "5.5.1",
|
|
106
103
|
"react-transition-group": "^4.0.0",
|
|
@@ -112,7 +109,6 @@
|
|
|
112
109
|
"storybook": "^8.3.2",
|
|
113
110
|
"styled-components": "^6.1.13",
|
|
114
111
|
"ts-jest": "^29.2.4",
|
|
115
|
-
"tslib": "^2.6.3",
|
|
116
112
|
"typescript": "5.8.3"
|
|
117
113
|
},
|
|
118
114
|
"description": "KVDBil components library",
|
package/package.json.tmp
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kvdbil/components",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.48",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -68,14 +68,12 @@
|
|
|
68
68
|
"@testing-library/react": "^16.0.1",
|
|
69
69
|
"@testing-library/react-hooks": "^8.0.1",
|
|
70
70
|
"@testing-library/user-event": "^14.5.2",
|
|
71
|
-
"@types/classnames": "^2.2.11",
|
|
72
71
|
"@types/jest": "^29.5.12",
|
|
73
72
|
"@types/node": "22.14.0",
|
|
74
73
|
"@types/react": "^18.3.8",
|
|
75
74
|
"@types/react-collapse": "^5.0.4",
|
|
76
75
|
"@types/react-dom": "^18.3.0",
|
|
77
76
|
"@types/react-transition-group": "^4.4.11",
|
|
78
|
-
"@types/uuid": "^10.0.0",
|
|
79
77
|
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
80
78
|
"@typescript-eslint/parser": "^8.7.0",
|
|
81
79
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
@@ -99,7 +97,6 @@
|
|
|
99
97
|
"react-day-picker": "^7.4.8",
|
|
100
98
|
"react-docgen-typescript": "^2.2.2",
|
|
101
99
|
"react-dom": "^18.3.1",
|
|
102
|
-
"react-is": "^18.3.1",
|
|
103
100
|
"react-select": "^5.8.0",
|
|
104
101
|
"react-select-event": "5.5.1",
|
|
105
102
|
"react-transition-group": "^4.0.0",
|
|
@@ -111,7 +108,6 @@
|
|
|
111
108
|
"storybook": "^8.3.2",
|
|
112
109
|
"styled-components": "^6.1.13",
|
|
113
110
|
"ts-jest": "^29.2.4",
|
|
114
|
-
"tslib": "^2.6.3",
|
|
115
111
|
"typescript": "5.8.3"
|
|
116
112
|
},
|
|
117
113
|
"description": "KVDBil components library",
|
|
@@ -9,8 +9,6 @@ export declare const fontSizes: {
|
|
|
9
9
|
export declare const smallerAndSmallSizeStyles: () => string;
|
|
10
10
|
export declare const regularSizeStyles: () => string;
|
|
11
11
|
export declare const largeSizeStyles: () => string;
|
|
12
|
-
export declare const outlineColorStyles: (theme: Theme, color: Color) => string;
|
|
13
|
-
export declare const flatColorStyles: (theme: Theme, color: Color) => string;
|
|
14
12
|
export declare const disabledColorStyles: (theme: Theme, variant: Variant) => string;
|
|
15
13
|
export declare const colorStyles: {
|
|
16
14
|
solid: (theme: Theme, color: Color, colorShade: ColorShade) => string;
|
|
@@ -4,7 +4,6 @@ type Justify = Exclude<CSSProperties['justifyContent'], number>;
|
|
|
4
4
|
type Align = Exclude<CSSProperties['alignItems'], number>;
|
|
5
5
|
type Direction = CSSProperties['flexDirection'];
|
|
6
6
|
type DarkOrLight = 'dark' | 'light';
|
|
7
|
-
export declare const colorAnimation: import("styled-components/dist/models/Keyframes").default;
|
|
8
7
|
type ObjectPositionX = number | 'center' | 'left' | 'right';
|
|
9
8
|
type ObjectPositionY = number | 'center' | 'top' | 'bottom';
|
|
10
9
|
type DynamicGutter = {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
1
|
export interface SpinnerThinProps {
|
|
4
2
|
size?: number;
|
|
5
3
|
isDone?: boolean;
|
|
@@ -7,9 +5,5 @@ export interface SpinnerThinProps {
|
|
|
7
5
|
isLoading?: boolean;
|
|
8
6
|
isClose?: boolean;
|
|
9
7
|
}
|
|
10
|
-
type IconWrapperProps = SpinnerThinProps & {
|
|
11
|
-
size: number;
|
|
12
|
-
};
|
|
13
|
-
export declare const IconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IconWrapperProps>> & string;
|
|
14
8
|
export declare const SpinnerThin: ({ isLoading, isDone, isError, size, ...rest }: SpinnerThinProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
9
|
export default SpinnerThin;
|
package/types/Interfaces.d.ts
DELETED