@latte-macchiat-io/latte-vanilla-components 0.0.134 → 0.0.135
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/dist/index.cjs.js +4 -4
- package/dist/index.es.js +3053 -3495
- package/dist/latte-vanilla-components.css +1 -1
- package/dist/types/components/Carousel/export.d.ts +1 -0
- package/dist/types/components/Carousel/index.d.ts +3 -3
- package/dist/types/components/Carousel/styles.css.d.ts +6 -49
- package/dist/types/components/Columns/export.d.ts +1 -0
- package/dist/types/components/Columns/index.d.ts +5 -6
- package/dist/types/components/Columns/stories.d.ts +1 -1
- package/dist/types/components/Columns/styles.css.d.ts +12 -0
- package/dist/types/components/ConsentCookie/export.d.ts +1 -0
- package/dist/types/components/ConsentCookie/index.d.ts +2 -3
- package/dist/types/components/ConsentCookie/styles.css.d.ts +12 -0
- package/dist/types/components/Form/Row/index.d.ts +2 -3
- package/dist/types/components/Form/Row/styles.css.d.ts +8 -0
- package/dist/types/components/Form/TextField/Input/export.d.ts +1 -0
- package/dist/types/components/Form/TextField/Input/index.d.ts +2 -3
- package/dist/types/components/Form/TextField/Input/styles.css.d.ts +12 -0
- package/dist/types/components/Form/TextField/Label/export.d.ts +1 -0
- package/dist/types/components/Form/TextField/Label/index.d.ts +3 -3
- package/dist/types/components/Form/TextField/Label/styles.css.d.ts +8 -0
- package/dist/types/components/Form/TextField/Textarea/export.d.ts +1 -0
- package/dist/types/components/Form/TextField/Textarea/index.d.ts +2 -3
- package/dist/types/components/Form/TextField/Textarea/styles.css.d.ts +12 -0
- package/dist/types/components/Form/TextField/export.d.ts +1 -0
- package/dist/types/components/Form/TextField/index.d.ts +3 -4
- package/dist/types/components/Form/TextField/styles.css.d.ts +5 -0
- package/dist/types/components/Form/export.d.ts +1 -0
- package/dist/types/components/Form/index.d.ts +2 -3
- package/dist/types/components/Form/styles.css.d.ts +7 -0
- package/dist/types/components/Header/HeaderOverlay/index.d.ts +2 -1
- package/dist/types/components/Header/HeaderOverlay/styles.css.d.ts +5 -0
- package/dist/types/components/Header/ToggleNav/index.d.ts +5 -5
- package/dist/types/components/Header/ToggleNav/styles.css.d.ts +5 -0
- package/dist/types/components/Header/export.d.ts +1 -0
- package/dist/types/components/Header/index.d.ts +2 -3
- package/dist/types/components/Header/styles.css.d.ts +6 -0
- package/dist/types/components/Icon/export.d.ts +1 -0
- package/dist/types/components/Icon/index.d.ts +2 -3
- package/dist/types/components/Icon/stories.d.ts +1 -1
- package/dist/types/components/Icon/styles.css.d.ts +7 -0
- package/package.json +1 -1
- package/dist/types/components/Carousel/styles.d.ts +0 -52
- package/dist/types/components/Columns/styles.d.ts +0 -16
- package/dist/types/components/ConsentCookie/styles.d.ts +0 -25
- package/dist/types/components/Form/Row/styles.d.ts +0 -15
- package/dist/types/components/Form/TextField/Input/styles.d.ts +0 -11
- package/dist/types/components/Form/TextField/Label/styles.d.ts +0 -9
- package/dist/types/components/Form/TextField/Textarea/styles.d.ts +0 -11
- package/dist/types/components/Form/TextField/styles.d.ts +0 -21
- package/dist/types/components/Form/styles.d.ts +0 -11
- package/dist/types/components/Header/HeaderOverlay/styles.d.ts +0 -10
- package/dist/types/components/Header/ToggleNav/styles.d.ts +0 -17
- package/dist/types/components/Header/styles.d.ts +0 -19
- package/dist/types/components/Icon/styles.d.ts +0 -16
@@ -1 +1 @@
|
|
1
|
-
._1h0tdm5e{position:relative;display:inline-block;color:var(--_1h0tdm50);border:var(--_1h0tdm52);cursor:var(--_1h0tdm51);min-width:var(--_1h0tdm53);font-weight:var(--_1h0tdm54);transition:var(--_1h0tdm55);padding-top:var(--_1h0tdm56);padding-left:var(--_1h0tdm57);padding-right:var(--_1h0tdm58);padding-bottom:var(--_1h0tdm59);pointer-event:var(--_1h0tdm5a);border-radius:var(--_1h0tdm5b);letter-spacing:var(--_1h0tdm5c);background-color:var(--_1h0tdm5d)}._1h0tdm5e:hover{opacity:.5}._1v7zi9y5{width:100%;display:flex;flex-wrap:wrap;flex-direction:row;gap:var(--_1v7zi9y0);align-items:var(--_1v7zi9y1);padding-top:var(--_1v7zi9y2);padding-bottom:var(--_1v7zi9y3);justify-content:var(--_1v7zi9y4)}._18bqyaqe{z-index:100;position:fixed;width:100%;height:100%}._18bqyaqe:before{content:"";position:fixed;top:0;left:0;right:0;bottom:0;opacity:var(--_18bqyaq0);background-color:var(--_18bqyaq1);-webkit-backdrop-filter:blur(var(--_18bqyaq2));backdrop-filter:blur(var(--_18bqyaq2))}._18bqyaqf{0: _;1: 1;2: 8;3: b;4: q;5: y;6: a;7: q;8: e}._18bqyaqg{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:20;display:flex;flex-direction:column;text-align:var(--_18bqyaqa);width:var(--_18bqyaq3);max-width:var(--_18bqyaq8);max-height:var(--_18bqyaq9);padding-top:var(--_18bqyaq4);padding-bottom:var(--_18bqyaq5);padding-left:var(--_18bqyaq6);padding-right:var(--_18bqyaq7);background-color:var(--_18bqyaqb);border-radius:var(--_18bqyaqc);border:var(--_18bqyaqd)}._18bqyaqh{position:absolute;top:15px;right:15px;z-index:20;border:0;background-color:transparent;cursor:pointer;transition:all .5s ease-in-out}._18bqyaqh:hover{transform:scale(1.2)}._18hbdtx1{position:relative;width:100%;height:100%;max-height:var(--_18hbdtx0)}._18hbdtx2{0: _;1: 1;2: 8;3: h;4: b;5: d;6: t;7: x;8: 1}._18hbdtx3{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;opacity:0}._18hbdtx3 img{width:100%;height:100%;object-fit:cover}._18hbdtx4{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);cursor:pointer}._18hbdtx5{position:absolute;right:50px;bottom:10px;cursor:pointer}._18hbdtx6{position:absolute;top:15px;right:15px;cursor:pointer}._18hbdtx7{position:absolute;right:15px;bottom:15px;cursor:pointer}._13pkfbg1 img{width:100%;height:auto;max-width:var(--_13pkfbg0)}._13pkfbg2{0: _;1: 1;2: 3;3: p;4: k;5: f;6: b;7: g;8: 1}._177g97f1{display:flex;flex-direction:column}._177g97f2{font-size:1.2em;padding-bottom:var(--_177g97f0)}._177g97f2 span{font-size:2.5em;line-height:1em}._177g97f4{0: _;1: 1;2: 7;3: 7;4: g;5: 9;6: 7;7: f;8: 1}@media screen and (min-width: 768px){._177g97f3{padding-bottom:30px}}._29n9il2{height:0;width:100vw;overflow:hidden;position:relative;padding-bottom:56.25%;left:var(--_29n9il0);right:var(--_29n9il1)}._29n9il3{0: _;1: 2;2: 9;3: n;4: 9;5: i;6: l;7: 2}._9kkynw1{margin-left:auto;margin-right:auto;position:relative;width:var(--_9kkynw0)}._9kkynw2{right:30px;top:50%;position:absolute;transform:translateY(-50%)}._9kkynw3{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:15px 30px}._9kkynw3:focus{outline:none}._9kkynw4{0: _;1: 9;2: k;3: k;4: y;5: n;6: w;7: 1}._1wp326d2{display:flex;background-color:var(--_1wp326d1);flex:1 1 auto;min-height:45vh;text-align:center;align-items:center;flex-direction:column;justify-content:center}@media screen and (min-width: 768px){._1wp326d2{min-height:var(--_1wp326d0)}}.fl7h886{z-index:20;display:flex;font-size:.8em;align-items:center;flex-direction:column;justify-content:space-between;gap:var(--fl7h880);background-color:var(--fl7h881);padding-top:var(--fl7h882);padding-bottom:var(--fl7h883);padding-left:var(--fl7h884);padding-right:var(--fl7h885)}.fl7h886 a{transition:all .5s ease-in-out}.fl7h886 a:hover{opacity:.5}.fl7h887{0: f;1: l;2: 7;3: h;4: 8;5: 8;6: 6}.jqc4y0a{width:100%;display:flex;align-items:center;position:relative;flex-direction:column;animation:background .5s ease-in-out;color:var(--jqc4y02);z-index:var(--jqc4y01);min-height:var(--jqc4y07);padding-top:var(--jqc4y03);padding-left:var(--jqc4y04);padding-right:var(--jqc4y05);padding-bottom:var(--jqc4y06);background:var(--jqc4y09);justify-content:var(--jqc4y08)}.jqc4y0b{gap:15px;width:100%;display:flex;flex-direction:column;max-width:var(--max-width);text-align:var(--jqc4y00);align-items:var(--jqc4y00)}._1h6zt341{display:flex;flex-direction:column;gap:var(--_1h6zt340)}._1h6zt342{0: _;1: 1;2: h;3: 6;4: z;5: t;6: 3;7: 4;8: 1}.g7q46n1{display:flex;flex-direction:row;margin-left:0;margin-right:0;gap:var(--g7q46n0)}.g7q46n2{display:flex;flex-direction:row}.g7q46n2 a{padding:10px}.g7q46n2 a svg path{transition:all .5s ease-in-out}.g7q46n2 a:hover svg path{opacity:.5}.g7q46n3{0: g;1: 7;2: q;3: 4;4: 6;5: n;6: 1}.vehv9e1{display:flex;flex-direction:row;gap:var(--vehv9e0)}.vehv9e2{0: v;1: e;2: h;3: v;4: 9;5: e;6: 1}
|
1
|
+
._1h0tdm5e{position:relative;display:inline-block;color:var(--_1h0tdm50);border:var(--_1h0tdm52);cursor:var(--_1h0tdm51);min-width:var(--_1h0tdm53);font-weight:var(--_1h0tdm54);transition:var(--_1h0tdm55);padding-top:var(--_1h0tdm56);padding-left:var(--_1h0tdm57);padding-right:var(--_1h0tdm58);padding-bottom:var(--_1h0tdm59);pointer-event:var(--_1h0tdm5a);border-radius:var(--_1h0tdm5b);letter-spacing:var(--_1h0tdm5c);background-color:var(--_1h0tdm5d)}._1h0tdm5e:hover{opacity:.5}._1v7zi9y5{width:100%;display:flex;flex-wrap:wrap;flex-direction:row;gap:var(--_1v7zi9y0);align-items:var(--_1v7zi9y1);padding-top:var(--_1v7zi9y2);padding-bottom:var(--_1v7zi9y3);justify-content:var(--_1v7zi9y4)}._1slxfz52{margin:0 auto;display:inline-block;vertical-align:middle}._1slxfz52 path{fill:var(--_1slxfz51);transition:color .5s ease}._1slxfz53{0: _;1: 1;2: s;3: l;4: x;5: f;6: z;7: 5;8: 2}._18bqyaqe{z-index:100;position:fixed;width:100%;height:100%}._18bqyaqe:before{content:"";position:fixed;top:0;left:0;right:0;bottom:0;opacity:var(--_18bqyaq0);background-color:var(--_18bqyaq1);-webkit-backdrop-filter:blur(var(--_18bqyaq2));backdrop-filter:blur(var(--_18bqyaq2))}._18bqyaqf{0: _;1: 1;2: 8;3: b;4: q;5: y;6: a;7: q;8: e}._18bqyaqg{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:20;display:flex;flex-direction:column;text-align:var(--_18bqyaqa);width:var(--_18bqyaq3);max-width:var(--_18bqyaq8);max-height:var(--_18bqyaq9);padding-top:var(--_18bqyaq4);padding-bottom:var(--_18bqyaq5);padding-left:var(--_18bqyaq6);padding-right:var(--_18bqyaq7);background-color:var(--_18bqyaqb);border-radius:var(--_18bqyaqc);border:var(--_18bqyaqd)}._18bqyaqh{position:absolute;top:15px;right:15px;z-index:20;border:0;background-color:transparent;cursor:pointer;transition:all .5s ease-in-out}._18bqyaqh:hover{transform:scale(1.2)}._18hbdtx1{position:relative;width:100%;height:100%;max-height:var(--_18hbdtx0)}._18hbdtx2{0: _;1: 1;2: 8;3: h;4: b;5: d;6: t;7: x;8: 1}._18hbdtx3{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;opacity:0}._18hbdtx3 img{width:100%;height:100%;object-fit:cover}._18hbdtx4{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);cursor:pointer}._18hbdtx5{position:absolute;right:50px;bottom:10px;cursor:pointer}._18hbdtx6{position:absolute;top:15px;right:15px;cursor:pointer}._18hbdtx7{position:absolute;right:15px;bottom:15px;cursor:pointer}._13pkfbg1 img{width:100%;height:auto;max-width:var(--_13pkfbg0)}._13pkfbg2{0: _;1: 1;2: 3;3: p;4: k;5: f;6: b;7: g;8: 1}._1vea7fs3{display:flex;flex-wrap:nowrap;overflow:hidden;width:var(--_1vea7fs2);gap:var(--_1vea7fs0)}._1vea7fs3>div{flex:0 0 calc(100% / var(--displayItem));transition:transform .3s ease-in-out}._1vea7fs3 button{position:absolute;top:50%;transform:translateY(-50%);cursor:pointer}._1vea7fs3>div+div{display:flex;justify-content:center;gap:.5rem;margin-top:1rem}._177g97f1{display:flex;flex-direction:column}._177g97f2{font-size:1.2em;padding-bottom:var(--_177g97f0)}._177g97f2 span{font-size:2.5em;line-height:1em}._177g97f4{0: _;1: 1;2: 7;3: 7;4: g;5: 9;6: 7;7: f;8: 1}@media screen and (min-width: 768px){._177g97f3{padding-bottom:30px}}._29n9il2{height:0;width:100vw;overflow:hidden;position:relative;padding-bottom:56.25%;left:var(--_29n9il0);right:var(--_29n9il1)}._29n9il3{0: _;1: 2;2: 9;3: n;4: 9;5: i;6: l;7: 2}._9kkynw1{margin-left:auto;margin-right:auto;position:relative;width:var(--_9kkynw0)}._9kkynw2{right:30px;top:50%;position:absolute;transform:translateY(-50%)}._9kkynw3{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:15px 30px}._9kkynw3:focus{outline:none}._9kkynw4{0: _;1: 9;2: k;3: k;4: y;5: n;6: w;7: 1}._1wp326d2{display:flex;background-color:var(--_1wp326d1);flex:1 1 auto;min-height:45vh;text-align:center;align-items:center;flex-direction:column;justify-content:center}@media screen and (min-width: 768px){._1wp326d2{min-height:var(--_1wp326d0)}}.xr8l1e2{top:0;left:0;z-index:40;width:100vw;display:flex;height:100vh;position:fixed;overflow:hidden;text-align:center;align-items:center;flex-direction:column;transform-origin:0% 0%;justify-content:center;gap:var(--overlayGap, 20px);bottom:var(--xr8l1e0);transform:var(--xr8l1e1);transition:transform .5s cubic-bezier(.77,.2,.05,1)}@media (min-width: 640px){.xr8l1e2{gap:var(--overlayGap0, 20px)}}@media (min-width: 768px){.xr8l1e2{gap:var(--overlayGap1, 30px)}}@media (min-width: 1024px){.xr8l1e2{gap:var(--overlayGap2, 40px)}}._1c0ak731{border:0;width:25px;height:12px;z-index:60;margin-left:0;cursor:pointer;position:relative}._1c0ak732{height:2px;width:25px;margin-bottom:8px;display:block;position:relative;transform-origin:center center;transition:all .5s ease-in-out}._1c0ak732[data-open=true]:nth-of-type(1){transform:rotate(45deg) translate(4px,3px)}._1c0ak732[data-open=true]:nth-of-type(2){transform:rotate(-45deg) translate(4px,-3px)}@media screen and (min-width: 1024px){._1c0ak731{display:var(--_1c0ak730)}}._15wg1hu1{z-index:30;width:100%;display:flex;align-items:center;justify-content:space-between;position:var(--_15wg1hu0);background-color:var(--header-bg, white)}._15wg1hu1 a{transition:all .5s ease-in-out}._15wg1hu1 a:hover{opacity:.5}._15wg1hu2{0: _;1: 1;2: 5;3: w;4: g;5: 1;6: h;7: u;8: 1}._15wg1hu3{height:60px}@media (min-width: 640px){._15wg1hu3{height:80px}}@media (min-width: 768px){._15wg1hu3{height:100px}}@media (min-width: 1024px){._15wg1hu3{height:120px}}.fl7h886{z-index:20;display:flex;font-size:.8em;align-items:center;flex-direction:column;justify-content:space-between;gap:var(--fl7h880);background-color:var(--fl7h881);padding-top:var(--fl7h882);padding-bottom:var(--fl7h883);padding-left:var(--fl7h884);padding-right:var(--fl7h885)}.fl7h886 a{transition:all .5s ease-in-out}.fl7h886 a:hover{opacity:.5}.fl7h887{0: f;1: l;2: 7;3: h;4: 8;5: 8;6: 6}.mx2tfy9{width:100%;display:flex;flex-wrap:wrap;flex-direction:column;align-items:flex-start;gap:var(--mx2tfy0);justify-content:space-between;text-align:var(--mx2tfy1)}.mx2tfy9>*{min-width:100%;position:relative}.mx2tfy9>* :empty{margin-top:calc(-1 * var(--gap) / 2)}@media screen and (min-width: 768px){mx2tfy9{flex-direction:var(--mx2tfy4);align-items:var(--mx2tfy3);justify-content:var(--mx2tfy2)}mx2tfy9>*:nth-of-type(1){flex:var(--column0);min-width:auto;max-width:var(--column0)}mx2tfy9>*:nth-of-type(2){flex:var(--column1);min-width:auto;max-width:var(--column1)}mx2tfy9>*:nth-of-type(3){flex:var(--column2);min-width:auto;max-width:var(--column2)}mx2tfy9>*:nth-of-type(4){flex:var(--column3);min-width:auto;max-width:var(--column3)}}@media screen and (min-width: 1024px){mx2tfy9{gap:calc(var(--gap) * 2)}}.jqc4y0a{width:100%;display:flex;align-items:center;position:relative;flex-direction:column;animation:background .5s ease-in-out;color:var(--jqc4y02);z-index:var(--jqc4y01);min-height:var(--jqc4y07);padding-top:var(--jqc4y03);padding-left:var(--jqc4y04);padding-right:var(--jqc4y05);padding-bottom:var(--jqc4y06);background:var(--jqc4y09);justify-content:var(--jqc4y08)}.jqc4y0b{gap:15px;width:100%;display:flex;flex-direction:column;max-width:var(--max-width);text-align:var(--jqc4y00);align-items:var(--jqc4y00)}._1h6zt341{display:flex;flex-direction:column;gap:var(--_1h6zt340)}._1h6zt342{0: _;1: 1;2: h;3: 6;4: z;5: t;6: 3;7: 4;8: 1}.g7q46n1{display:flex;flex-direction:row;margin-left:0;margin-right:0;gap:var(--g7q46n0)}.g7q46n2{display:flex;flex-direction:row}.g7q46n2 a{padding:10px}.g7q46n2 a svg path{transition:all .5s ease-in-out}.g7q46n2 a:hover svg path{opacity:.5}.g7q46n3{0: g;1: 7;2: q;3: 4;4: 6;5: n;6: 1}.vehv9e1{display:flex;flex-direction:row;gap:var(--vehv9e0)}.vehv9e2{0: v;1: e;2: h;3: v;4: 9;5: e;6: 1}.dvq5w83{width:100%;max-width:var(--dvq5w80);background-color:var(--dvq5w82);padding:var(--dvq5w81);position:relative}.dvq5w84{0: d;1: v;2: q;3: 5;4: w;5: 8;6: 3}@media (min-width: 768px){.dvq5w83{padding:var(--formPadding)}}._223sdz4{display:flex;flex-direction:column;gap:var(--_223sdz0);padding:var(--_223sdz1);font-size:var(--_223sdz2);justify-content:var(--_223sdz3)}._223sdz5{0: _;1: 2;2: 2;3: 3;4: s;5: d;6: z;7: 4}.k6gj0i8{width:100%;font-size:inherit;line-height:1.5em;font-family:var(--k6gj0i0);color:var(--k6gj0i1);border:var(--k6gj0i2);border-radius:var(--k6gj0i3);background-color:var(--k6gj0i4);padding:var(--k6gj0i5)}.k6gj0i8:focus{outline:var(--k6gj0i2)}.k6gj0i8::placeholder{color:var(--k6gj0i6);opacity:var(--k6gj0i7)}.k6gj0i9{0: k;1: 6;2: g;3: j;4: 0;5: i;6: 8}.l5ei128::placeholder{color:var(--l5ei126);opacity:var(--l5ei127)}.l5ei129{0: l;1: 5;2: e;3: i;4: 1;5: 2;6: 8}._1s956dc4{width:100%;text-align:left;font-family:var(--_1s956dc0);color:var(--_1s956dc1);font-weight:var(--_1s956dc2);padding-bottom:var(--_1s956dc3)}._1s956dc5{0: _;1: 1;2: s;3: 9;4: 5;5: 6;6: d;7: c;8: 4}._1e95ziv1 span{display:block;font-size:.875rem;margin-top:.25rem;color:var(--_1e95ziv0)}._1e95ziv2{0: _;1: 1;2: e;3: 9;4: 5;5: z;6: i;7: v;8: 1}.pewdww9:before{content:"";position:fixed;top:0;left:0;right:0;bottom:0;opacity:var(--pewdww1);background-color:var(--pewdww2);-webkit-backdrop-filter:blur(var(--pewdww0)px);backdrop-filter:blur(var(--pewdww0)px);z-index:100}.pewdww9>div{position:fixed;right:15px;bottom:15px;z-index:20;width:var(--pewdww3);border-radius:var(--pewdww5);border:var(--pewdww6);background-color:var(--pewdww4);display:flex;flex-direction:column;padding-top:var(--pewdww8)}.pewdww9>div>div{display:flex;flex-direction:row;gap:var(--pewdww7);justify-content:flex-end}
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import {
|
1
|
+
import { ReactNode } from 'react';
|
2
|
+
import { WithClassName } from '../../types/withClassName';
|
2
3
|
import { Theme } from '../../types/theme';
|
3
4
|
export type CarouselProps = {
|
4
5
|
data: ReactNode[];
|
5
6
|
theme?: Theme;
|
6
7
|
displayItem?: number;
|
7
8
|
isFullWidth?: boolean;
|
8
|
-
styles?: CSSProperties;
|
9
9
|
displayNavButtons?: boolean;
|
10
10
|
displayNavBullets?: boolean;
|
11
11
|
};
|
12
|
-
export declare const Carousel: ({ data,
|
12
|
+
export declare const Carousel: ({ data, theme, displayItem, isFullWidth, displayNavBullets, displayNavButtons, className, }: CarouselProps & WithClassName) => import("react").JSX.Element;
|
@@ -1,49 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
}
|
8
|
-
export declare const StyledCarousel: import('@emotion/styled').StyledComponent<{
|
9
|
-
theme?: import('@emotion/react').Theme;
|
10
|
-
as?: React.ElementType;
|
11
|
-
} & IStyledCarousel, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
12
|
-
export declare const StyledCarouselContent: import('@emotion/styled').StyledComponent<{
|
13
|
-
theme?: import('@emotion/react').Theme;
|
14
|
-
as?: React.ElementType;
|
15
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
16
|
-
interface IStyledCarouselContentList {
|
17
|
-
gap: number;
|
18
|
-
left: number;
|
19
|
-
width: number;
|
20
|
-
}
|
21
|
-
export declare const StyledCarouselContentList: import('@emotion/styled').StyledComponent<{
|
22
|
-
theme?: import('@emotion/react').Theme;
|
23
|
-
as?: React.ElementType;
|
24
|
-
} & IStyledCarouselContentList, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
25
|
-
export declare const StyledCarouselContentListItem: import('@emotion/styled').StyledComponent<{
|
26
|
-
theme?: import('@emotion/react').Theme;
|
27
|
-
as?: React.ElementType;
|
28
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
29
|
-
export declare const StyledCarouselNav: import('@emotion/styled').StyledComponent<{
|
30
|
-
theme?: import('@emotion/react').Theme;
|
31
|
-
as?: React.ElementType;
|
32
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
33
|
-
interface IStyledCarouselNavButton {
|
34
|
-
isDisabled: boolean;
|
35
|
-
}
|
36
|
-
export declare const StyledCarouselNavButton: import('@emotion/styled').StyledComponent<{
|
37
|
-
theme?: import('@emotion/react').Theme;
|
38
|
-
as?: React.ElementType;
|
39
|
-
} & IStyledCarouselNavButton, import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
40
|
-
export declare const carousselBulletStyle: string;
|
41
|
-
interface IStyledCarouselBulletItem {
|
42
|
-
theme: Theme;
|
43
|
-
isActive: boolean;
|
44
|
-
}
|
45
|
-
export declare const StyledCarouselBulletItem: import('@emotion/styled').StyledComponent<{
|
46
|
-
theme?: import('@emotion/react').Theme;
|
47
|
-
as?: React.ElementType;
|
48
|
-
} & IStyledCarouselBulletItem, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
49
|
-
export {};
|
1
|
+
export declare const vars: {
|
2
|
+
gap: `var(--${string})`;
|
3
|
+
displayItem: `var(--${string})`;
|
4
|
+
isFullWidth: `var(--${string})`;
|
5
|
+
};
|
6
|
+
export declare const styles: string;
|
@@ -1,13 +1,12 @@
|
|
1
|
-
import {
|
2
|
-
import { Align } from './types';
|
1
|
+
import { WithClassName } from '../../types/withClassName';
|
3
2
|
import { Theme } from '../../types/theme';
|
3
|
+
import { Align } from './types';
|
4
4
|
export type ColumnsProps = {
|
5
|
-
align?: Align;
|
6
|
-
theme?: Theme;
|
7
5
|
columns: number[];
|
6
|
+
theme?: Theme;
|
7
|
+
align?: Align;
|
8
8
|
isCentered?: boolean;
|
9
9
|
isInverted?: boolean;
|
10
|
-
styles?: CSSProperties;
|
11
10
|
children: React.ReactNode;
|
12
11
|
};
|
13
|
-
export declare const Columns: ({ columns, children,
|
12
|
+
export declare const Columns: ({ columns, children, align, isCentered, isInverted, theme, className, }: ColumnsProps & WithClassName) => import("react").JSX.Element;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { StoryObj } from '@storybook/react';
|
2
2
|
declare const meta: {
|
3
3
|
title: string;
|
4
|
-
component: ({ columns, children,
|
4
|
+
component: ({ columns, children, align, isCentered, isInverted, theme, className, }: import('.').ColumnsProps & import('../../types/withClassName').WithClassName) => import("react").JSX.Element;
|
5
5
|
parameters: {
|
6
6
|
layout: string;
|
7
7
|
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare const vars: {
|
2
|
+
columnsGap: `var(--${string})`;
|
3
|
+
columnsTextAlign: `var(--${string})`;
|
4
|
+
columnsJustifyContent: `var(--${string})`;
|
5
|
+
isCentered: `var(--${string})`;
|
6
|
+
isInverted: `var(--${string})`;
|
7
|
+
column0: `var(--${string})`;
|
8
|
+
column1: `var(--${string})`;
|
9
|
+
column2: `var(--${string})`;
|
10
|
+
column3: `var(--${string})`;
|
11
|
+
};
|
12
|
+
export declare const styles: string;
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { WithClassName } from '../../types/withClassName';
|
2
2
|
import { Theme } from '../../types/theme';
|
3
3
|
export type ConsentCookieProps = {
|
4
4
|
theme?: Theme;
|
5
|
-
styles?: CSSProperties;
|
6
5
|
children?: React.ReactNode;
|
7
6
|
cookieName?: string;
|
8
7
|
cookieExpirationDays?: number;
|
@@ -13,4 +12,4 @@ export type ConsentCookieProps = {
|
|
13
12
|
};
|
14
13
|
};
|
15
14
|
};
|
16
|
-
export declare const ConsentCookie: ({
|
15
|
+
export declare const ConsentCookie: ({ children, theme, cookieName, translations, cookieExpirationDays, className, }: ConsentCookieProps & WithClassName) => import("react").JSX.Element | null;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare const vars: {
|
2
|
+
overlayBlur: `var(--${string})`;
|
3
|
+
overlayOpacity: `var(--${string})`;
|
4
|
+
overlayBackgroundColor: `var(--${string})`;
|
5
|
+
width: `var(--${string})`;
|
6
|
+
backgroundColor: `var(--${string})`;
|
7
|
+
borderRadius: `var(--${string})`;
|
8
|
+
borders: `var(--${string})`;
|
9
|
+
actionsGap: `var(--${string})`;
|
10
|
+
actionsPaddingTop: `var(--${string})`;
|
11
|
+
};
|
12
|
+
export declare const styles: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { WithClassName } from '../../../types/withClassName';
|
2
2
|
import { Theme } from '../../../types/theme';
|
3
3
|
import { Align } from './types';
|
4
4
|
export type RowProps = {
|
@@ -6,7 +6,6 @@ export type RowProps = {
|
|
6
6
|
theme?: Theme;
|
7
7
|
isMessage?: boolean;
|
8
8
|
isActions?: boolean;
|
9
|
-
styles?: CSSProperties;
|
10
9
|
children: React.ReactNode;
|
11
10
|
};
|
12
|
-
export declare const Row: ({ children, theme,
|
11
|
+
export declare const Row: ({ children, theme, className, align, isMessage, isActions, }: RowProps & WithClassName) => import("react").JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { WithClassName } from '../../../../types/withClassName';
|
2
2
|
import { Theme } from '../../../../types/theme';
|
3
3
|
import { Type } from './types';
|
4
4
|
export type TextFieldInputProps = {
|
@@ -9,11 +9,10 @@ export type TextFieldInputProps = {
|
|
9
9
|
disabled?: boolean;
|
10
10
|
required?: boolean;
|
11
11
|
placeholder?: string;
|
12
|
-
styles?: CSSProperties;
|
13
12
|
onChange?: (e: {
|
14
13
|
target: {
|
15
14
|
value: string | undefined;
|
16
15
|
};
|
17
16
|
}) => void | undefined;
|
18
17
|
};
|
19
|
-
export declare const TextFieldInput: ({ name, value,
|
18
|
+
export declare const TextFieldInput: ({ name, value, type, disabled, placeholder, theme, onChange, className, }: TextFieldInputProps & WithClassName) => import("react").JSX.Element;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare const vars: {
|
2
|
+
font: `var(--${string})`;
|
3
|
+
color: `var(--${string})`;
|
4
|
+
border: `var(--${string})`;
|
5
|
+
borderRadius: `var(--${string})`;
|
6
|
+
backgroundColor: `var(--${string})`;
|
7
|
+
padding: `var(--${string})`;
|
8
|
+
placeholderColor: `var(--${string})`;
|
9
|
+
placeholderOpacity: `var(--${string})`;
|
10
|
+
};
|
11
|
+
export declare const inputFieldStyle: string;
|
12
|
+
export declare const styles: string;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { WithClassName } from '../../../../types/withClassName';
|
2
2
|
import { Theme } from '../../../../types/theme';
|
3
3
|
export type TextFieldLabelProps = {
|
4
4
|
name: string;
|
5
|
-
theme?: Theme;
|
6
5
|
label: string;
|
6
|
+
theme?: Theme;
|
7
7
|
required?: boolean;
|
8
8
|
};
|
9
|
-
export declare const TextFieldLabel: ({ name, label, required, theme }: TextFieldLabelProps) =>
|
9
|
+
export declare const TextFieldLabel: ({ name, label, required, theme, className, }: TextFieldLabelProps & WithClassName) => import("react").JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { WithClassName } from '../../../../types/withClassName';
|
2
2
|
import { Theme } from '../../../../types/theme';
|
3
3
|
export type TextFieldTextareaProps = {
|
4
4
|
name: string;
|
@@ -7,11 +7,10 @@ export type TextFieldTextareaProps = {
|
|
7
7
|
theme?: Theme;
|
8
8
|
disabled?: boolean;
|
9
9
|
placeholder?: string;
|
10
|
-
styles?: CSSProperties;
|
11
10
|
onChange?: (e: {
|
12
11
|
target: {
|
13
12
|
value: string | undefined;
|
14
13
|
};
|
15
14
|
}) => void | undefined;
|
16
15
|
};
|
17
|
-
export declare const TextFieldTextarea: ({ name, value, rows, disabled,
|
16
|
+
export declare const TextFieldTextarea: ({ name, value, rows, disabled, placeholder, onChange, theme, className, }: TextFieldTextareaProps & WithClassName) => import("react").JSX.Element;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare const vars: {
|
2
|
+
font: `var(--${string})`;
|
3
|
+
color: `var(--${string})`;
|
4
|
+
border: `var(--${string})`;
|
5
|
+
borderRadius: `var(--${string})`;
|
6
|
+
padding: `var(--${string})`;
|
7
|
+
backgroundColor: `var(--${string})`;
|
8
|
+
placeholderColor: `var(--${string})`;
|
9
|
+
placeholderOpacity: `var(--${string})`;
|
10
|
+
};
|
11
|
+
export declare const textareaFieldStyle: string;
|
12
|
+
export declare const styles: string;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { WithClassName } from '../../../types/withClassName';
|
2
|
+
import { Theme } from '../../../types/theme';
|
2
3
|
import { Type as InputType } from './Input/types';
|
3
4
|
import { Type as TextAreaType } from './Textarea/types';
|
4
|
-
import { Theme } from '../../../types/theme';
|
5
5
|
export type TextFieldProps = {
|
6
6
|
name: string;
|
7
7
|
theme?: Theme;
|
@@ -11,7 +11,6 @@ export type TextFieldProps = {
|
|
11
11
|
disabled?: boolean;
|
12
12
|
required?: boolean;
|
13
13
|
placeholder?: string;
|
14
|
-
styles?: CSSProperties;
|
15
14
|
errors?: string | string[];
|
16
15
|
type?: InputType | TextAreaType;
|
17
16
|
onChange?: (e: {
|
@@ -20,4 +19,4 @@ export type TextFieldProps = {
|
|
20
19
|
};
|
21
20
|
}) => void | undefined;
|
22
21
|
};
|
23
|
-
export declare const TextField: ({ name, label, value,
|
22
|
+
export declare const TextField: ({ name, label, value, rows, required, disabled, placeholder, errors, theme, onChange, type, className, }: TextFieldProps & WithClassName) => import("react").JSX.Element;
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { WithClassName } from '../../types/withClassName';
|
2
2
|
import { Theme } from '../../types/theme';
|
3
3
|
export type FormProps = {
|
4
4
|
theme?: Theme;
|
5
|
-
styles?: CSSProperties;
|
6
5
|
children: React.ReactNode;
|
7
6
|
action: ((formData: FormData) => void | Promise<void>) | string;
|
8
7
|
};
|
9
|
-
export declare const Form: ({ action, children,
|
8
|
+
export declare const Form: ({ action, children, theme, className }: FormProps & WithClassName) => import("react").JSX.Element;
|
@@ -1,8 +1,9 @@
|
|
1
|
+
import { WithClassName } from '../../../types/withClassName';
|
1
2
|
import { Theme } from '../../../types/theme';
|
2
3
|
export interface HeaderOverlayProps {
|
3
4
|
theme: Theme;
|
4
5
|
isOpen: boolean;
|
5
6
|
children: React.ReactNode;
|
6
7
|
}
|
7
|
-
declare const HeaderOverlay: ({
|
8
|
+
declare const HeaderOverlay: ({ theme, isOpen, children, className, }: HeaderOverlayProps & WithClassName) => import("react").JSX.Element;
|
8
9
|
export default HeaderOverlay;
|
@@ -1,9 +1,9 @@
|
|
1
|
+
import { WithClassName } from '../../../types/withClassName';
|
1
2
|
import { Theme } from '../../../types/theme';
|
2
|
-
|
3
|
-
theme
|
3
|
+
export type ToggleNavProps = {
|
4
|
+
theme?: Theme;
|
4
5
|
isNavOpen: boolean;
|
5
6
|
onToggleNav: () => void;
|
6
7
|
displayOnDesktop: boolean;
|
7
|
-
}
|
8
|
-
declare const ToggleNav: ({
|
9
|
-
export default ToggleNav;
|
8
|
+
};
|
9
|
+
export declare const ToggleNav: ({ theme, isNavOpen, onToggleNav, displayOnDesktop, className, }: ToggleNavProps & WithClassName) => import("react").JSX.Element;
|
@@ -1,12 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { WithClassName } from '../../types/withClassName';
|
2
2
|
import { Theme } from '../../types/theme';
|
3
3
|
export type HeaderProps = {
|
4
4
|
theme?: Theme;
|
5
5
|
isFixed?: boolean;
|
6
|
-
styles?: CSSProperties;
|
7
6
|
children: React.ReactNode;
|
8
7
|
hideToggleNav?: boolean;
|
9
8
|
childrenOverlay: React.ReactNode;
|
10
9
|
displayToggleNavOnDesktop?: boolean;
|
11
10
|
};
|
12
|
-
export declare const Header: ({ children,
|
11
|
+
export declare const Header: ({ children, isFixed, childrenOverlay, theme, hideToggleNav, displayToggleNavOnDesktop, className, }: HeaderProps & WithClassName) => import("react").JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { WithClassName } from '../../types/withClassName';
|
2
2
|
import { Theme } from '../../types/theme';
|
3
3
|
export type IconProps = {
|
4
4
|
theme?: Theme;
|
@@ -7,6 +7,5 @@ export type IconProps = {
|
|
7
7
|
size?: number;
|
8
8
|
color?: string;
|
9
9
|
viewBox?: string;
|
10
|
-
styles?: CSSProperties;
|
11
10
|
};
|
12
|
-
export declare const Icon: ({ icon, size,
|
11
|
+
export declare const Icon: ({ icon, size, iconPath, color, theme, viewBox, className, }: IconProps & WithClassName) => import("react").JSX.Element;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { StoryObj } from '@storybook/react';
|
2
2
|
declare const meta: {
|
3
3
|
title: string;
|
4
|
-
component: ({ icon, size,
|
4
|
+
component: ({ icon, size, iconPath, color, theme, viewBox, className, }: import('.').IconProps & import('../../types/withClassName').WithClassName) => import("react").JSX.Element;
|
5
5
|
parameters: {
|
6
6
|
layout: string;
|
7
7
|
};
|
package/package.json
CHANGED
@@ -1,52 +0,0 @@
|
|
1
|
-
import { CSSProperties } from 'react';
|
2
|
-
import { Theme } from '../../types/theme';
|
3
|
-
interface IStyledCarousel {
|
4
|
-
styles: CSSProperties;
|
5
|
-
isFullWidth: boolean;
|
6
|
-
theme: Theme;
|
7
|
-
}
|
8
|
-
export declare const StyledCarousel: import('@emotion/styled').StyledComponent<{
|
9
|
-
theme?: import('@emotion/react').Theme;
|
10
|
-
as?: React.ElementType;
|
11
|
-
} & IStyledCarousel, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
12
|
-
export declare const StyledCarouselContent: import('@emotion/styled').StyledComponent<{
|
13
|
-
theme?: import('@emotion/react').Theme;
|
14
|
-
as?: React.ElementType;
|
15
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
16
|
-
interface IStyledCarouselContentList {
|
17
|
-
gap: number;
|
18
|
-
left: number;
|
19
|
-
width: number;
|
20
|
-
}
|
21
|
-
export declare const StyledCarouselContentList: import('@emotion/styled').StyledComponent<{
|
22
|
-
theme?: import('@emotion/react').Theme;
|
23
|
-
as?: React.ElementType;
|
24
|
-
} & IStyledCarouselContentList, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
25
|
-
export declare const StyledCarouselContentListItem: import('@emotion/styled').StyledComponent<{
|
26
|
-
theme?: import('@emotion/react').Theme;
|
27
|
-
as?: React.ElementType;
|
28
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
29
|
-
export declare const StyledCarouselNav: import('@emotion/styled').StyledComponent<{
|
30
|
-
theme?: import('@emotion/react').Theme;
|
31
|
-
as?: React.ElementType;
|
32
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
33
|
-
interface IStyledCarouselNavButton {
|
34
|
-
isDisabled: boolean;
|
35
|
-
}
|
36
|
-
export declare const StyledCarouselNavButton: import('@emotion/styled').StyledComponent<{
|
37
|
-
theme?: import('@emotion/react').Theme;
|
38
|
-
as?: React.ElementType;
|
39
|
-
} & IStyledCarouselNavButton, import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
40
|
-
export declare const StyledCarouselBullet: import('@emotion/styled').StyledComponent<{
|
41
|
-
theme?: import('@emotion/react').Theme;
|
42
|
-
as?: React.ElementType;
|
43
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
44
|
-
interface IStyledCarouselBulletItem {
|
45
|
-
theme: Theme;
|
46
|
-
isActive: boolean;
|
47
|
-
}
|
48
|
-
export declare const StyledCarouselBulletItem: import('@emotion/styled').StyledComponent<{
|
49
|
-
theme?: import('@emotion/react').Theme;
|
50
|
-
as?: React.ElementType;
|
51
|
-
} & IStyledCarouselBulletItem, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
52
|
-
export {};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { CSSProperties } from 'react';
|
2
|
-
import { Align } from './types';
|
3
|
-
import { Theme } from '../../types/theme';
|
4
|
-
interface IStyledColumns {
|
5
|
-
align: Align;
|
6
|
-
theme: Theme;
|
7
|
-
columns: number[];
|
8
|
-
isCentered: boolean;
|
9
|
-
isInverted: boolean;
|
10
|
-
styles: CSSProperties;
|
11
|
-
}
|
12
|
-
export declare const StyledColumns: import('@emotion/styled').StyledComponent<{
|
13
|
-
theme?: import('@emotion/react').Theme;
|
14
|
-
as?: React.ElementType;
|
15
|
-
} & IStyledColumns, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
16
|
-
export {};
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { CSSProperties } from 'react';
|
2
|
-
import { Theme } from '../../types/theme';
|
3
|
-
interface IStyledConsentCookie {
|
4
|
-
theme: Theme;
|
5
|
-
styles: CSSProperties;
|
6
|
-
}
|
7
|
-
export declare const StyledConsentCookie: import('@emotion/styled').StyledComponent<{
|
8
|
-
theme?: import('@emotion/react').Theme;
|
9
|
-
as?: React.ElementType;
|
10
|
-
} & IStyledConsentCookie, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
11
|
-
interface IStyledConsentCookieContent {
|
12
|
-
theme: Theme;
|
13
|
-
}
|
14
|
-
export declare const StyledConsentCookieContent: import('@emotion/styled').StyledComponent<{
|
15
|
-
theme?: import('@emotion/react').Theme;
|
16
|
-
as?: React.ElementType;
|
17
|
-
} & IStyledConsentCookieContent, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
18
|
-
interface IStyledConsentCookieActions {
|
19
|
-
theme: Theme;
|
20
|
-
}
|
21
|
-
export declare const StyledConsentCookieActions: import('@emotion/styled').StyledComponent<{
|
22
|
-
theme?: import('@emotion/react').Theme;
|
23
|
-
as?: React.ElementType;
|
24
|
-
} & IStyledConsentCookieActions, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
25
|
-
export {};
|