@a4ui/core 0.9.0 → 0.10.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/README.md +4 -2
- package/dist/Checkbox-DQcDOBLd.js +168 -0
- package/dist/charts/BarChart.d.ts +24 -0
- package/dist/charts/DonutChart.d.ts +34 -0
- package/dist/charts/Sparkline.d.ts +24 -0
- package/dist/charts/index.d.ts +3 -0
- package/dist/charts.js +194 -0
- package/dist/cn-B6yFEsav.js +8 -0
- package/dist/commerce.js +15 -14
- package/dist/elements.css +40 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2382 -2101
- package/dist/ui/FileUpload.d.ts +54 -0
- package/dist/ui/MultiSelect.d.ts +35 -0
- package/package.json +6 -1
- package/dist/Checkbox-CC3EGilW.js +0 -173
package/dist/elements.css
CHANGED
|
@@ -1542,6 +1542,9 @@ html.calm .tile-glass {
|
|
|
1542
1542
|
.mt-6 {
|
|
1543
1543
|
margin-top: 1.5rem;
|
|
1544
1544
|
}
|
|
1545
|
+
.mt-auto {
|
|
1546
|
+
margin-top: auto;
|
|
1547
|
+
}
|
|
1545
1548
|
.line-clamp-1 {
|
|
1546
1549
|
overflow: hidden;
|
|
1547
1550
|
display: -webkit-box;
|
|
@@ -1648,6 +1651,9 @@ html.calm .tile-glass {
|
|
|
1648
1651
|
.h-\[65vh\] {
|
|
1649
1652
|
height: 65vh;
|
|
1650
1653
|
}
|
|
1654
|
+
.h-auto {
|
|
1655
|
+
height: auto;
|
|
1656
|
+
}
|
|
1651
1657
|
.h-full {
|
|
1652
1658
|
height: 100%;
|
|
1653
1659
|
}
|
|
@@ -1678,6 +1684,9 @@ html.calm .tile-glass {
|
|
|
1678
1684
|
.min-h-4 {
|
|
1679
1685
|
min-height: 1rem;
|
|
1680
1686
|
}
|
|
1687
|
+
.min-h-9 {
|
|
1688
|
+
min-height: 2.25rem;
|
|
1689
|
+
}
|
|
1681
1690
|
.min-h-\[80px\] {
|
|
1682
1691
|
min-height: 80px;
|
|
1683
1692
|
}
|
|
@@ -1693,6 +1702,9 @@ html.calm .tile-glass {
|
|
|
1693
1702
|
.w-1\.5 {
|
|
1694
1703
|
width: 0.375rem;
|
|
1695
1704
|
}
|
|
1705
|
+
.w-10 {
|
|
1706
|
+
width: 2.5rem;
|
|
1707
|
+
}
|
|
1696
1708
|
.w-11 {
|
|
1697
1709
|
width: 2.75rem;
|
|
1698
1710
|
}
|
|
@@ -1777,6 +1789,9 @@ html.calm .tile-glass {
|
|
|
1777
1789
|
.min-w-40 {
|
|
1778
1790
|
min-width: 10rem;
|
|
1779
1791
|
}
|
|
1792
|
+
.min-w-56 {
|
|
1793
|
+
min-width: 14rem;
|
|
1794
|
+
}
|
|
1780
1795
|
.min-w-\[1\.5rem\] {
|
|
1781
1796
|
min-width: 1.5rem;
|
|
1782
1797
|
}
|
|
@@ -1925,6 +1940,9 @@ html.calm .tile-glass {
|
|
|
1925
1940
|
.items-start {
|
|
1926
1941
|
align-items: flex-start;
|
|
1927
1942
|
}
|
|
1943
|
+
.items-end {
|
|
1944
|
+
align-items: flex-end;
|
|
1945
|
+
}
|
|
1928
1946
|
.items-center {
|
|
1929
1947
|
align-items: center;
|
|
1930
1948
|
}
|
|
@@ -2010,6 +2028,9 @@ html.calm .tile-glass {
|
|
|
2010
2028
|
.overflow-hidden {
|
|
2011
2029
|
overflow: hidden;
|
|
2012
2030
|
}
|
|
2031
|
+
.overflow-visible {
|
|
2032
|
+
overflow: visible;
|
|
2033
|
+
}
|
|
2013
2034
|
.overflow-x-auto {
|
|
2014
2035
|
overflow-x: auto;
|
|
2015
2036
|
}
|
|
@@ -2053,6 +2074,10 @@ html.calm .tile-glass {
|
|
|
2053
2074
|
border-top-right-radius: 0.375rem;
|
|
2054
2075
|
border-bottom-right-radius: 0.375rem;
|
|
2055
2076
|
}
|
|
2077
|
+
.rounded-t {
|
|
2078
|
+
border-top-left-radius: 0.25rem;
|
|
2079
|
+
border-top-right-radius: 0.25rem;
|
|
2080
|
+
}
|
|
2056
2081
|
.border {
|
|
2057
2082
|
border-width: 1px;
|
|
2058
2083
|
}
|
|
@@ -2299,6 +2324,10 @@ html.calm .tile-glass {
|
|
|
2299
2324
|
padding-left: 1.5rem;
|
|
2300
2325
|
padding-right: 1.5rem;
|
|
2301
2326
|
}
|
|
2327
|
+
.py-0 {
|
|
2328
|
+
padding-top: 0px;
|
|
2329
|
+
padding-bottom: 0px;
|
|
2330
|
+
}
|
|
2302
2331
|
.py-0\.5 {
|
|
2303
2332
|
padding-top: 0.125rem;
|
|
2304
2333
|
padding-bottom: 0.125rem;
|
|
@@ -2772,6 +2801,10 @@ html.calm .tile-glass {
|
|
|
2772
2801
|
.focus-within\:ring-ring\/30:focus-within {
|
|
2773
2802
|
--tw-ring-color: hsl(var(--ring) / 0.3);
|
|
2774
2803
|
}
|
|
2804
|
+
.hover\:border-primary:hover {
|
|
2805
|
+
--tw-border-opacity: 1;
|
|
2806
|
+
border-color: hsl(var(--primary) / var(--tw-border-opacity, 1));
|
|
2807
|
+
}
|
|
2775
2808
|
.hover\:border-ring\/60:hover {
|
|
2776
2809
|
border-color: hsl(var(--ring) / 0.6);
|
|
2777
2810
|
}
|
|
@@ -2785,6 +2818,9 @@ html.calm .tile-glass {
|
|
|
2785
2818
|
.hover\:bg-muted\/70:hover {
|
|
2786
2819
|
background-color: hsl(var(--muted) / 0.7);
|
|
2787
2820
|
}
|
|
2821
|
+
.hover\:bg-primary\/5:hover {
|
|
2822
|
+
background-color: hsl(var(--primary) / 0.05);
|
|
2823
|
+
}
|
|
2788
2824
|
.hover\:bg-primary\/50:hover {
|
|
2789
2825
|
background-color: hsl(var(--primary) / 0.5);
|
|
2790
2826
|
}
|
|
@@ -2812,6 +2848,10 @@ html.calm .tile-glass {
|
|
|
2812
2848
|
--tw-border-opacity: 1;
|
|
2813
2849
|
border-color: hsl(var(--ring) / var(--tw-border-opacity, 1));
|
|
2814
2850
|
}
|
|
2851
|
+
.focus\:bg-muted:focus {
|
|
2852
|
+
--tw-bg-opacity: 1;
|
|
2853
|
+
background-color: hsl(var(--muted) / var(--tw-bg-opacity, 1));
|
|
2854
|
+
}
|
|
2815
2855
|
.focus\:outline-none:focus {
|
|
2816
2856
|
outline: 2px solid transparent;
|
|
2817
2857
|
outline-offset: 2px;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const A4UI_VERSION = "0.
|
|
1
|
+
export declare const A4UI_VERSION = "0.10.1";
|
|
2
2
|
export { cn } from './lib/cn';
|
|
3
3
|
export { useTheme, toggleTheme, setTheme, storedTheme, applyTheme, toggled, type Theme } from './lib/theme';
|
|
4
4
|
export { useEffects, isCalm, setEffects } from './lib/effects';
|
|
@@ -15,6 +15,8 @@ export { TimeField, type TimeFieldProps } from './ui/TimeField';
|
|
|
15
15
|
export { DateTimeField, type DateTimeFieldProps } from './ui/DateTimeField';
|
|
16
16
|
export { DateRangePicker, type DateRange, type DateRangePickerProps } from './ui/DateRangePicker';
|
|
17
17
|
export { FormField, FormLabel, FormControl, FormDescription, FormError, type FormFieldProps } from './ui/Form';
|
|
18
|
+
export { FileUpload, type UploadFile, type FileUploadProps } from './ui/FileUpload';
|
|
19
|
+
export { MultiSelect, type MultiSelectOption, type MultiSelectProps } from './ui/MultiSelect';
|
|
18
20
|
export { Drawer } from './ui/Drawer';
|
|
19
21
|
export { Dropdown, type DropdownItem } from './ui/Dropdown';
|
|
20
22
|
export { Dropzone } from './ui/Dropzone';
|