@max-ts/kit 1.3.1 → 1.4.1
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/lib/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/lib/components/Autocomplete/styles.css.d.ts +1 -0
- package/lib/components/Autocomplete/styles.css.d.ts.map +1 -1
- package/lib/components/Autocomplete/types.d.ts +2 -0
- package/lib/components/Autocomplete/types.d.ts.map +1 -1
- package/lib/components/Carousel/Buttons/Buttons.d.ts +1 -1
- package/lib/components/Carousel/Buttons/Buttons.d.ts.map +1 -1
- package/lib/components/Carousel/Buttons/styles.css.d.ts +3 -3
- package/lib/components/Carousel/Buttons/styles.css.d.ts.map +1 -1
- package/lib/components/Carousel/Carousel.d.ts +14 -16
- package/lib/components/Carousel/Carousel.d.ts.map +1 -1
- package/lib/components/Carousel/CarouselContext.d.ts +3 -5
- package/lib/components/Carousel/CarouselContext.d.ts.map +1 -1
- package/lib/components/Carousel/Content/Content.d.ts +2 -1
- package/lib/components/Carousel/Content/Content.d.ts.map +1 -1
- package/lib/components/Carousel/Content/styles.css.d.ts +1 -1
- package/lib/components/Carousel/Content/styles.css.d.ts.map +1 -1
- package/lib/components/Carousel/Dots/Dots.d.ts +2 -5
- package/lib/components/Carousel/Dots/Dots.d.ts.map +1 -1
- package/lib/components/Carousel/Dots/useLogic/useLogic.d.ts.map +1 -1
- package/lib/components/Carousel/Item/Item.d.ts +2 -1
- package/lib/components/Carousel/Item/Item.d.ts.map +1 -1
- package/lib/components/Carousel/Item/styles.css.d.ts +1 -0
- package/lib/components/Carousel/Item/styles.css.d.ts.map +1 -1
- package/lib/components/Carousel/types.d.ts +16 -6
- package/lib/components/Carousel/types.d.ts.map +1 -1
- package/lib/components/Carousel/useLogic/useLogic.d.ts +13 -13
- package/lib/components/Carousel/useLogic/useLogic.d.ts.map +1 -1
- package/lib/components/CircularProgress/styles.css.d.ts +1 -1
- package/lib/components/Combobox/Combobox.d.ts +2 -2
- package/lib/components/Combobox/Combobox.d.ts.map +1 -1
- package/lib/components/Combobox/types.d.ts +6 -1
- package/lib/components/Combobox/types.d.ts.map +1 -1
- package/lib/index.mjs +347 -168
- package/lib/stories/Autocomplete.stories.d.ts +1 -0
- package/lib/stories/Autocomplete.stories.d.ts.map +1 -1
- package/lib/stories/Carousel.stories.d.ts +1 -0
- package/lib/stories/Carousel.stories.d.ts.map +1 -1
- package/lib/styles.css +157 -95
- package/package.json +1 -2
|
@@ -6,4 +6,5 @@ export declare function Default(): import("react").JSX.Element;
|
|
|
6
6
|
export declare function ErrorState(): import("react").JSX.Element;
|
|
7
7
|
export declare function WithObjectItems(): import("react").JSX.Element;
|
|
8
8
|
export declare function MultipleWithObjects(): import("react").JSX.Element;
|
|
9
|
+
export declare function AsyncOptions(): import("react").JSX.Element;
|
|
9
10
|
//# sourceMappingURL=Autocomplete.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Autocomplete.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Autocomplete.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;wBAmCvC,IAAI,CAAC,OAAO,YAAY,CAAC;AAP9B,wBAO+B;AAE/B,wBAAgB,OAAO,gCAatB;AAED,wBAAgB,UAAU,gCAWzB;AAED,wBAAgB,eAAe,gCAsB9B;AAED,wBAAgB,mBAAmB,gCA6BlC"}
|
|
1
|
+
{"version":3,"file":"Autocomplete.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Autocomplete.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;wBAmCvC,IAAI,CAAC,OAAO,YAAY,CAAC;AAP9B,wBAO+B;AAE/B,wBAAgB,OAAO,gCAatB;AAED,wBAAgB,UAAU,gCAWzB;AAED,wBAAgB,eAAe,gCAsB9B;AAED,wBAAgB,mBAAmB,gCA6BlC;AAED,wBAAgB,YAAY,gCAiD3B"}
|
|
@@ -9,5 +9,6 @@ declare const _default: {
|
|
|
9
9
|
};
|
|
10
10
|
export default _default;
|
|
11
11
|
export declare function Demo(): import("react").JSX.Element;
|
|
12
|
+
export declare function StartAligned(): import("react").JSX.Element;
|
|
12
13
|
export declare function Vertical(): import("react").JSX.Element;
|
|
13
14
|
//# sourceMappingURL=Carousel.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Carousel.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,QAAQ,EAAE,MAAM,cAAc,CAAC;;;;;;;;;AAE9C,wBAOkC;AAElC,wBAAgB,IAAI,
|
|
1
|
+
{"version":3,"file":"Carousel.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Carousel.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,QAAQ,EAAE,MAAM,cAAc,CAAC;;;;;;;;;AAE9C,wBAOkC;AAElC,wBAAgB,IAAI,gCAkDnB;AAED,wBAAgB,YAAY,gCAkD3B;AAED,wBAAgB,QAAQ,gCAoDvB"}
|
package/lib/styles.css
CHANGED
|
@@ -612,6 +612,77 @@ img, picture, video, canvas, svg {
|
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
|
|
615
|
+
@keyframes style__m6b9n20 {
|
|
616
|
+
to {
|
|
617
|
+
transform: rotate(360deg);
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
@keyframes style__m6b9n21 {
|
|
622
|
+
0% {
|
|
623
|
+
stroke-dasharray: 1 200;
|
|
624
|
+
stroke-dashoffset: 0;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
50% {
|
|
628
|
+
stroke-dasharray: 100 200;
|
|
629
|
+
stroke-dashoffset: -15px;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
100% {
|
|
633
|
+
stroke-dasharray: 100 200;
|
|
634
|
+
stroke-dashoffset: -125px;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.style__m6b9n22 {
|
|
639
|
+
display: inline-block;
|
|
640
|
+
position: relative;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.style__m6b9n23 {
|
|
644
|
+
transform-origin: center;
|
|
645
|
+
width: 100%;
|
|
646
|
+
height: 100%;
|
|
647
|
+
display: block;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.style__m6b9n24 {
|
|
651
|
+
stroke: currentColor;
|
|
652
|
+
stroke-linecap: round;
|
|
653
|
+
transition: stroke-dashoffset .35s;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
.determinate__m6b9n25 {
|
|
657
|
+
& style__m6b9n23 {
|
|
658
|
+
transform: rotate(-90deg);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
& style__m6b9n24 {
|
|
662
|
+
transition: stroke-dashoffset .35s;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.indeterminate__m6b9n26 {
|
|
667
|
+
animation: 1.4s linear infinite style__m6b9n20;
|
|
668
|
+
|
|
669
|
+
& style__m6b9n24 {
|
|
670
|
+
animation: 1.4s ease-in-out infinite style__m6b9n21;
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.primary__m6b9n27 {
|
|
675
|
+
color: var(--colors-primary);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.secondary__m6b9n28 {
|
|
679
|
+
color: var(--colors-secondary);
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
.inherit__m6b9n29 {
|
|
683
|
+
color: inherit;
|
|
684
|
+
}
|
|
685
|
+
|
|
615
686
|
.style__1rv6t1j0 {
|
|
616
687
|
min-height: var(--spacing-8);
|
|
617
688
|
border: 1px solid var(--colors-border);
|
|
@@ -1305,6 +1376,15 @@ img, picture, video, canvas, svg {
|
|
|
1305
1376
|
}
|
|
1306
1377
|
|
|
1307
1378
|
.style__17arfox6 {
|
|
1379
|
+
min-height: var(--spacing-10);
|
|
1380
|
+
padding: var(--spacing-2);
|
|
1381
|
+
color: var(--colors-text-secondary);
|
|
1382
|
+
justify-content: center;
|
|
1383
|
+
align-items: center;
|
|
1384
|
+
display: flex;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
.style__17arfox7 {
|
|
1308
1388
|
color: var(--colors-text-secondary);
|
|
1309
1389
|
font-size: var(--fontSize-xs);
|
|
1310
1390
|
margin-left: auto;
|
|
@@ -1836,61 +1916,104 @@ a.outline__1af895x4:hover {
|
|
|
1836
1916
|
}
|
|
1837
1917
|
|
|
1838
1918
|
.style__2d6ocq0 {
|
|
1839
|
-
|
|
1840
|
-
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
transition: opacity .2s linear;
|
|
1846
|
-
display: grid;
|
|
1919
|
+
cursor: pointer;
|
|
1920
|
+
background-color: #0000;
|
|
1921
|
+
border: none;
|
|
1922
|
+
justify-content: center;
|
|
1923
|
+
align-items: center;
|
|
1924
|
+
display: flex;
|
|
1847
1925
|
position: absolute;
|
|
1848
1926
|
}
|
|
1849
1927
|
|
|
1850
1928
|
.style__2d6ocq0:disabled {
|
|
1851
|
-
|
|
1852
|
-
|
|
1929
|
+
-webkit-user-select: none;
|
|
1930
|
+
user-select: none;
|
|
1931
|
+
cursor: default;
|
|
1932
|
+
opacity: .5;
|
|
1853
1933
|
}
|
|
1854
1934
|
|
|
1855
|
-
.
|
|
1856
|
-
|
|
1935
|
+
.style__2d6ocq1 {
|
|
1936
|
+
width: var(--spacing-8);
|
|
1937
|
+
height: var(--spacing-8);
|
|
1938
|
+
background-color: var(--colors-background-paper);
|
|
1939
|
+
border-radius: 9999px;
|
|
1940
|
+
justify-content: center;
|
|
1941
|
+
align-items: center;
|
|
1942
|
+
transition: transform .2s;
|
|
1943
|
+
display: flex;
|
|
1857
1944
|
}
|
|
1858
1945
|
|
|
1859
|
-
.style__2d6ocq1 {
|
|
1860
|
-
|
|
1861
|
-
right: 0;
|
|
1946
|
+
.style__2d6ocq0:not(:disabled):hover .style__2d6ocq1 {
|
|
1947
|
+
transform: scale(1.1);
|
|
1862
1948
|
}
|
|
1863
1949
|
|
|
1864
|
-
.
|
|
1950
|
+
.style__2d6ocq1 svg {
|
|
1951
|
+
width: var(--spacing-5);
|
|
1952
|
+
height: var(--spacing-5);
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
.horizontal__2d6ocq2 {
|
|
1956
|
+
width: clamp(2.5rem, 4vw, 4rem);
|
|
1957
|
+
height: 100%;
|
|
1865
1958
|
top: 0;
|
|
1959
|
+
right: 0;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
.vertical__2d6ocq3 {
|
|
1963
|
+
width: 100%;
|
|
1964
|
+
height: clamp(2.5rem, 4vw, 4rem);
|
|
1965
|
+
bottom: 0;
|
|
1866
1966
|
left: 0;
|
|
1867
1967
|
}
|
|
1868
1968
|
|
|
1869
|
-
.
|
|
1870
|
-
width: clamp(
|
|
1969
|
+
.horizontal__2d6ocq4 {
|
|
1970
|
+
width: clamp(2.5rem, 4vw, 4rem);
|
|
1871
1971
|
height: 100%;
|
|
1972
|
+
top: 0;
|
|
1973
|
+
left: 0;
|
|
1872
1974
|
}
|
|
1873
1975
|
|
|
1874
|
-
.
|
|
1976
|
+
.vertical__2d6ocq5 {
|
|
1875
1977
|
width: 100%;
|
|
1876
|
-
height: clamp(
|
|
1978
|
+
height: clamp(2.5rem, 4vw, 4rem);
|
|
1979
|
+
top: 0;
|
|
1980
|
+
right: 0;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
.vertical__2d6ocq3 svg, .vertical__2d6ocq5 svg {
|
|
1984
|
+
transform: rotate(90deg);
|
|
1877
1985
|
}
|
|
1878
1986
|
|
|
1879
1987
|
.style__i1lems0 {
|
|
1988
|
+
scroll-behavior: smooth;
|
|
1989
|
+
scrollbar-width: none;
|
|
1990
|
+
-webkit-overflow-scrolling: touch;
|
|
1880
1991
|
width: 100%;
|
|
1881
1992
|
height: 100%;
|
|
1993
|
+
display: flex;
|
|
1882
1994
|
overflow: hidden;
|
|
1883
1995
|
}
|
|
1884
1996
|
|
|
1997
|
+
.style__i1lems0::-webkit-scrollbar {
|
|
1998
|
+
display: none;
|
|
1999
|
+
}
|
|
2000
|
+
|
|
1885
2001
|
.horizontal__i1lems1 {
|
|
1886
|
-
|
|
1887
|
-
|
|
2002
|
+
scroll-snap-type: x mandatory;
|
|
2003
|
+
overscroll-behavior-x: contain;
|
|
2004
|
+
overscroll-behavior-y: auto;
|
|
2005
|
+
column-gap: var(--spacing-4);
|
|
2006
|
+
flex-direction: row;
|
|
2007
|
+
overflow: auto hidden;
|
|
1888
2008
|
}
|
|
1889
2009
|
|
|
1890
2010
|
.vertical__i1lems2 {
|
|
1891
|
-
|
|
2011
|
+
scroll-snap-type: y mandatory;
|
|
2012
|
+
overscroll-behavior-y: contain;
|
|
2013
|
+
overscroll-behavior-x: auto;
|
|
2014
|
+
row-gap: var(--spacing-4);
|
|
1892
2015
|
flex-direction: column;
|
|
1893
|
-
|
|
2016
|
+
overflow: hidden auto;
|
|
1894
2017
|
}
|
|
1895
2018
|
|
|
1896
2019
|
.style__e2zpp60 {
|
|
@@ -1963,6 +2086,16 @@ a.outline__1af895x4:hover {
|
|
|
1963
2086
|
min-width: 0;
|
|
1964
2087
|
}
|
|
1965
2088
|
|
|
2089
|
+
.horizontal__1gif6yr1 {
|
|
2090
|
+
scroll-snap-align: center;
|
|
2091
|
+
scroll-snap-stop: always;
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
.vertical__1gif6yr2 {
|
|
2095
|
+
scroll-snap-align: start;
|
|
2096
|
+
scroll-snap-stop: always;
|
|
2097
|
+
}
|
|
2098
|
+
|
|
1966
2099
|
.Carousel__1jbydv50 {
|
|
1967
2100
|
position: relative;
|
|
1968
2101
|
}
|
|
@@ -2007,77 +2140,6 @@ a.outline__1af895x4:hover {
|
|
|
2007
2140
|
stroke-width: 3px;
|
|
2008
2141
|
}
|
|
2009
2142
|
|
|
2010
|
-
@keyframes style__m6b9n20 {
|
|
2011
|
-
to {
|
|
2012
|
-
transform: rotate(360deg);
|
|
2013
|
-
}
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
|
-
@keyframes style__m6b9n21 {
|
|
2017
|
-
0% {
|
|
2018
|
-
stroke-dasharray: 1 200;
|
|
2019
|
-
stroke-dashoffset: 0;
|
|
2020
|
-
}
|
|
2021
|
-
|
|
2022
|
-
50% {
|
|
2023
|
-
stroke-dasharray: 100 200;
|
|
2024
|
-
stroke-dashoffset: -15px;
|
|
2025
|
-
}
|
|
2026
|
-
|
|
2027
|
-
100% {
|
|
2028
|
-
stroke-dasharray: 100 200;
|
|
2029
|
-
stroke-dashoffset: -125px;
|
|
2030
|
-
}
|
|
2031
|
-
}
|
|
2032
|
-
|
|
2033
|
-
.style__m6b9n22 {
|
|
2034
|
-
display: inline-block;
|
|
2035
|
-
position: relative;
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
|
-
.style__m6b9n23 {
|
|
2039
|
-
transform-origin: center;
|
|
2040
|
-
width: 100%;
|
|
2041
|
-
height: 100%;
|
|
2042
|
-
display: block;
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
|
-
.style__m6b9n24 {
|
|
2046
|
-
stroke: currentColor;
|
|
2047
|
-
stroke-linecap: round;
|
|
2048
|
-
transition: stroke-dashoffset .35s;
|
|
2049
|
-
}
|
|
2050
|
-
|
|
2051
|
-
.determinate__m6b9n25 {
|
|
2052
|
-
& style__m6b9n23 {
|
|
2053
|
-
transform: rotate(-90deg);
|
|
2054
|
-
}
|
|
2055
|
-
|
|
2056
|
-
& style__m6b9n24 {
|
|
2057
|
-
transition: stroke-dashoffset .35s;
|
|
2058
|
-
}
|
|
2059
|
-
}
|
|
2060
|
-
|
|
2061
|
-
.indeterminate__m6b9n26 {
|
|
2062
|
-
animation: 1.4s linear infinite style__m6b9n20;
|
|
2063
|
-
|
|
2064
|
-
& style__m6b9n24 {
|
|
2065
|
-
animation: 1.4s ease-in-out infinite style__m6b9n21;
|
|
2066
|
-
}
|
|
2067
|
-
}
|
|
2068
|
-
|
|
2069
|
-
.primary__m6b9n27 {
|
|
2070
|
-
color: var(--colors-primary);
|
|
2071
|
-
}
|
|
2072
|
-
|
|
2073
|
-
.secondary__m6b9n28 {
|
|
2074
|
-
color: var(--colors-secondary);
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2077
|
-
.inherit__m6b9n29 {
|
|
2078
|
-
color: inherit;
|
|
2079
|
-
}
|
|
2080
|
-
|
|
2081
2143
|
@keyframes style__1xy4jvu0 {
|
|
2082
2144
|
from {
|
|
2083
2145
|
opacity: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@max-ts/kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./lib/index.mjs",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"@base-ui/react": "^1.5.0",
|
|
19
19
|
"@react-input/mask": "^2.0.4",
|
|
20
20
|
"clsx": "^2.1.1",
|
|
21
|
-
"embla-carousel-react": "^8.6.0",
|
|
22
21
|
"input-otp": "^1.4.2",
|
|
23
22
|
"lucide-react": "^1.17.0",
|
|
24
23
|
"react-day-picker": "^10.0.1",
|