@vritti/quantum-ui 0.6.4 → 0.6.6
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/Badge2.js +2 -0
- package/dist/Badge2.js.map +1 -1
- package/dist/ChartFrame.js +1 -1
- package/dist/ChartFrame.js.map +1 -1
- package/dist/CurrencyFieldFilter.js +53 -27
- package/dist/CurrencyFieldFilter.js.map +1 -1
- package/dist/CurrencySelector.js.map +1 -1
- package/dist/DateRangePicker.js +1 -1
- package/dist/DateTimePicker.js +1 -1
- package/dist/DropdownMenu.js +64 -33
- package/dist/DropdownMenu.js.map +1 -1
- package/dist/ISOCountrySelect.js.map +1 -1
- package/dist/LocaleSelector.js.map +1 -1
- package/dist/Progress.js +31 -4
- package/dist/Progress.js.map +1 -1
- package/dist/QuantityField.js +190 -0
- package/dist/QuantityField.js.map +1 -0
- package/dist/SegmentedProgressKey.js +65 -0
- package/dist/SegmentedProgressKey.js.map +1 -0
- package/dist/Select.js +47 -13
- package/dist/Select.js.map +1 -1
- package/dist/SelectFilter.js +19 -3
- package/dist/SelectFilter.js.map +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SingleSelect.js +24 -6
- package/dist/SingleSelect.js.map +1 -1
- package/dist/Spinner.js +1 -7
- package/dist/Spinner.js.map +1 -1
- package/dist/Spinner2.js +10 -0
- package/dist/Spinner2.js.map +1 -0
- package/dist/StepProgressIndicator.js +49 -28
- package/dist/StepProgressIndicator.js.map +1 -1
- package/dist/SwitchFilter.js +80 -0
- package/dist/SwitchFilter.js.map +1 -0
- package/dist/TimezoneSelector.js.map +1 -1
- package/dist/ValueFilter.js +2 -2
- package/dist/ValueFilter.js.map +1 -1
- package/dist/assets/quantum-ui.css +260 -4
- package/dist/calendar2.js +1 -1
- package/dist/components/DataTable.js +1 -1
- package/dist/components/DateFilter.js +1 -1
- package/dist/components/FormattedDate.js +1 -1
- package/dist/components/QuantityField.js +2 -0
- package/dist/components/QuantityField.js.map +1 -0
- package/dist/components/SegmentedProgress.js +2 -0
- package/dist/components/SegmentedProgress.js.map +1 -0
- package/dist/components/Select.js.map +1 -1
- package/dist/components/Switch.js +1 -0
- package/dist/components/Switch.js.map +1 -1
- package/dist/contextAnchor.js +3 -2
- package/dist/contextAnchor.js.map +1 -1
- package/dist/dropdown-menu.js +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index14.js +1139 -20
- package/dist/index14.js.map +1 -1
- package/dist/index15.js +20 -1139
- package/dist/index15.js.map +1 -1
- package/dist/index34.js +2 -2
- package/dist/index6.js +90 -382
- package/dist/index6.js.map +1 -1
- package/dist/index7.js +382 -90
- package/dist/index7.js.map +1 -1
- package/dist/lib/components/Chart/ChartFrame.d.ts.map +1 -1
- package/dist/lib/components/CurrencyField/CurrencyFieldFilter.d.ts +2 -0
- package/dist/lib/components/CurrencyField/CurrencyFieldFilter.d.ts.map +1 -1
- package/dist/lib/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/lib/components/DataTable/DataTableSkeleton.d.ts +11 -0
- package/dist/lib/components/DataTable/DataTableSkeleton.d.ts.map +1 -0
- package/dist/lib/components/DataTable/components/DataTableSelectionBar.d.ts.map +1 -1
- package/dist/lib/components/DataTable/index.d.ts +3 -0
- package/dist/lib/components/DataTable/index.d.ts.map +1 -1
- package/dist/lib/components/DataTable/modes.d.ts +9 -0
- package/dist/lib/components/DataTable/modes.d.ts.map +1 -0
- package/dist/lib/components/DataTable/types.d.ts +3 -1
- package/dist/lib/components/DataTable/types.d.ts.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/lib/components/DropdownMenu/types.d.ts +1 -0
- package/dist/lib/components/DropdownMenu/types.d.ts.map +1 -1
- package/dist/lib/components/Progress/Progress.d.ts +3 -1
- package/dist/lib/components/Progress/Progress.d.ts.map +1 -1
- package/dist/lib/components/QuantityField/QuantityField.d.ts +22 -0
- package/dist/lib/components/QuantityField/QuantityField.d.ts.map +1 -0
- package/dist/lib/components/QuantityField/index.d.ts +3 -0
- package/dist/lib/components/QuantityField/index.d.ts.map +1 -0
- package/dist/lib/components/QuantityField/quantity.d.ts +13 -0
- package/dist/lib/components/QuantityField/quantity.d.ts.map +1 -0
- package/dist/lib/components/SegmentedProgress/SegmentedProgress.d.ts +16 -0
- package/dist/lib/components/SegmentedProgress/SegmentedProgress.d.ts.map +1 -0
- package/dist/lib/components/SegmentedProgress/SegmentedProgressKey.d.ts +14 -0
- package/dist/lib/components/SegmentedProgress/SegmentedProgressKey.d.ts.map +1 -0
- package/dist/lib/components/SegmentedProgress/index.d.ts +5 -0
- package/dist/lib/components/SegmentedProgress/index.d.ts.map +1 -0
- package/dist/lib/components/SegmentedProgress/steps.d.ts +2 -0
- package/dist/lib/components/SegmentedProgress/steps.d.ts.map +1 -0
- package/dist/lib/components/Select/Select.d.ts +11 -3
- package/dist/lib/components/Select/Select.d.ts.map +1 -1
- package/dist/lib/components/Select/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/components/MultiSelect/MultiSelectFilter.d.ts.map +1 -1
- package/dist/lib/components/Select/components/SingleSelect/SingleSelect.d.ts +11 -3
- package/dist/lib/components/Select/components/SingleSelect/SingleSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/components/SingleSelect/SingleSelectFilter.d.ts.map +1 -1
- package/dist/lib/components/Select/contextAnchor.d.ts +3 -0
- package/dist/lib/components/Select/contextAnchor.d.ts.map +1 -1
- package/dist/lib/components/Select/hooks/useSelect.d.ts.map +1 -1
- package/dist/lib/components/Select/index.d.ts +1 -1
- package/dist/lib/components/Select/index.d.ts.map +1 -1
- package/dist/lib/components/StepProgressIndicator/StepProgressIndicator.d.ts +4 -1
- package/dist/lib/components/StepProgressIndicator/StepProgressIndicator.d.ts.map +1 -1
- package/dist/lib/components/Switch/SwitchFilter.d.ts +21 -0
- package/dist/lib/components/Switch/SwitchFilter.d.ts.map +1 -0
- package/dist/lib/components/Switch/index.d.ts +2 -0
- package/dist/lib/components/Switch/index.d.ts.map +1 -1
- package/dist/lib/components/ValueFilter/ValueFilter.d.ts +6 -1
- package/dist/lib/components/ValueFilter/ValueFilter.d.ts.map +1 -1
- package/dist/lib/components/index.d.ts +2 -0
- package/dist/lib/components/index.d.ts.map +1 -1
- package/dist/lib/hooks/useFormatters.d.ts +5 -1
- package/dist/lib/hooks/useFormatters.d.ts.map +1 -1
- package/dist/lib/selects/currency/CurrencySelector.d.ts +3 -4
- package/dist/lib/selects/currency/CurrencySelector.d.ts.map +1 -1
- package/dist/lib/selects/iso-country/ISOCountrySelect.d.ts +1 -1
- package/dist/lib/selects/iso-country/ISOCountrySelect.d.ts.map +1 -1
- package/dist/lib/selects/locale/LocaleSelector.d.ts +2 -1
- package/dist/lib/selects/locale/LocaleSelector.d.ts.map +1 -1
- package/dist/lib/selects/timezone/TimezoneSelector.d.ts +2 -1
- package/dist/lib/selects/timezone/TimezoneSelector.d.ts.map +1 -1
- package/dist/lib/utils/format.d.ts +18 -0
- package/dist/lib/utils/format.d.ts.map +1 -1
- package/dist/lib/utils/lodash.d.ts +1 -1
- package/dist/lib/utils/lodash.d.ts.map +1 -1
- package/dist/select2.js +1 -1
- package/dist/separator2.js +1 -1
- package/dist/shadcn/shadcnBadge/Badge.d.ts +1 -1
- package/dist/shadcn/shadcnBadge/Badge.d.ts.map +1 -1
- package/dist/shadcn/shadcnMultiSelect/multi-select.d.ts +2 -1
- package/dist/shadcn/shadcnMultiSelect/multi-select.d.ts.map +1 -1
- package/dist/shadcn/shadcnProgress/Progress.d.ts +4 -1
- package/dist/shadcn/shadcnProgress/Progress.d.ts.map +1 -1
- package/dist/shadcn/shadcnSingleSelect/single-select.d.ts +2 -1
- package/dist/shadcn/shadcnSingleSelect/single-select.d.ts.map +1 -1
- package/dist/timezone.js +2 -2
- package/dist/useContextState.js +1 -1
- package/dist/useDataTable.js +255 -213
- package/dist/useDataTable.js.map +1 -1
- package/dist/useFormatters.js +3 -1
- package/dist/useFormatters.js.map +1 -1
- package/dist/useWorkspaceCurrency.js +1 -1
- package/dist/utils/axios.js +1 -1
- package/dist/utils/currency.js +1 -1
- package/dist/utils/format.js +37 -3
- package/dist/utils/format.js.map +1 -1
- package/dist/utils/lodash.js +3 -1
- package/dist/utils/lodash.js.map +1 -1
- package/dist/utils/timezone.js +2 -2
- package/package.json +9 -1
|
@@ -949,6 +949,13 @@ svg.react-flow__connectionline {
|
|
|
949
949
|
--chart-series-6: oklch(0.5285 0.1798 142.495); /* #008300 */
|
|
950
950
|
--chart-series-7: oklch(0.5271 0.1968 283.439); /* #6250d6 */
|
|
951
951
|
--chart-series-8: oklch(0.6226 0.1909 24.9124); /* #e34948 */
|
|
952
|
+
/* Ordinal single-hue ramp for SegmentedProgress: step 1 is the earliest stage, lightest on a light surface. */
|
|
953
|
+
--progress-step-1: oklch(0.764 0.097 253.2407); /* #86b6ef */
|
|
954
|
+
--progress-step-2: oklch(0.6708 0.1364 253.8087); /* #5598e7 */
|
|
955
|
+
--progress-step-3: oklch(0.5275 0.1497 255.8574); /* #256abf */
|
|
956
|
+
--progress-step-4: oklch(0.4327 0.1282 256.5418); /* #184f95 */
|
|
957
|
+
--progress-step-5: oklch(0.3381 0.1027 256.8848); /* #0d366b */
|
|
958
|
+
--progress-track: oklch(0.9 0.006 255); /* #dfe2e6 — neutral, so the remainder never reads as a blue stage */
|
|
952
959
|
--sidebar: oklch(0.985 0.006 248);
|
|
953
960
|
--sidebar-foreground: oklch(0.2302 0.0547 256.1829);
|
|
954
961
|
--sidebar-primary: oklch(0.2302 0.0547 256.1829);
|
|
@@ -1042,6 +1049,13 @@ svg.react-flow__connectionline {
|
|
|
1042
1049
|
--chart-series-6: oklch(0.5285 0.1798 142.495); /* #008300 */
|
|
1043
1050
|
--chart-series-7: oklch(0.6696 0.1452 286.827); /* #9085e9 */
|
|
1044
1051
|
--chart-series-8: oklch(0.6693 0.1586 22.3068); /* #e66767 */
|
|
1052
|
+
/* Ordinal single-hue ramp for SegmentedProgress: step 1 sits nearest the dark surface, later steps get lighter. */
|
|
1053
|
+
--progress-step-1: oklch(0.4327 0.1282 256.5418); /* #184f95 */
|
|
1054
|
+
--progress-step-2: oklch(0.5753 0.1626 255.5318); /* #2a78d6 */
|
|
1055
|
+
--progress-step-3: oklch(0.6708 0.1364 253.8087); /* #5598e7 */
|
|
1056
|
+
--progress-step-4: oklch(0.764 0.097 253.2407); /* #86b6ef */
|
|
1057
|
+
--progress-step-5: oklch(0.8578 0.0575 254.138); /* #b7d3f6 */
|
|
1058
|
+
--progress-track: oklch(0.34 0.008 260); /* #3a3d43 */
|
|
1045
1059
|
--sidebar: oklch(0.1288 0.008 264.6952);
|
|
1046
1060
|
--sidebar-foreground: oklch(0.9842 0.0034 247.8575);
|
|
1047
1061
|
--sidebar-primary: oklch(0.49 0.188 259.8145);
|
|
@@ -1122,6 +1136,12 @@ svg.react-flow__connectionline {
|
|
|
1122
1136
|
--color-chart-series-6: var(--chart-series-6);
|
|
1123
1137
|
--color-chart-series-7: var(--chart-series-7);
|
|
1124
1138
|
--color-chart-series-8: var(--chart-series-8);
|
|
1139
|
+
--color-progress-step-1: var(--progress-step-1);
|
|
1140
|
+
--color-progress-step-2: var(--progress-step-2);
|
|
1141
|
+
--color-progress-step-3: var(--progress-step-3);
|
|
1142
|
+
--color-progress-step-4: var(--progress-step-4);
|
|
1143
|
+
--color-progress-step-5: var(--progress-step-5);
|
|
1144
|
+
--color-progress-track: var(--progress-track);
|
|
1125
1145
|
--color-sidebar: var(--sidebar);
|
|
1126
1146
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
1127
1147
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
@@ -1840,6 +1860,10 @@ select:-webkit-autofill:active {
|
|
|
1840
1860
|
margin-bottom: calc(var(--spacing) * 6);
|
|
1841
1861
|
}
|
|
1842
1862
|
|
|
1863
|
+
.ml-0\.5 {
|
|
1864
|
+
margin-left: calc(var(--spacing) * .5);
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1843
1867
|
.ml-1 {
|
|
1844
1868
|
margin-left: var(--spacing);
|
|
1845
1869
|
}
|
|
@@ -2084,6 +2108,10 @@ select:-webkit-autofill:active {
|
|
|
2084
2108
|
height: calc(var(--spacing) * 10);
|
|
2085
2109
|
}
|
|
2086
2110
|
|
|
2111
|
+
.h-10\.5 {
|
|
2112
|
+
height: calc(var(--spacing) * 10.5);
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2087
2115
|
.h-12 {
|
|
2088
2116
|
height: calc(var(--spacing) * 12);
|
|
2089
2117
|
}
|
|
@@ -2124,8 +2152,8 @@ select:-webkit-autofill:active {
|
|
|
2124
2152
|
height: calc(100vh - 570px);
|
|
2125
2153
|
}
|
|
2126
2154
|
|
|
2127
|
-
.h-\[max\(calc\(100svh-
|
|
2128
|
-
height: max(100svh -
|
|
2155
|
+
.h-\[max\(calc\(100svh-14\.5rem\)\,31rem\)\] {
|
|
2156
|
+
height: max(100svh - 14.5rem, 31rem);
|
|
2129
2157
|
}
|
|
2130
2158
|
|
|
2131
2159
|
.h-\[var\(--radix-select-trigger-height\)\] {
|
|
@@ -2492,6 +2520,10 @@ select:-webkit-autofill:active {
|
|
|
2492
2520
|
max-width: var(--container-6xl);
|
|
2493
2521
|
}
|
|
2494
2522
|
|
|
2523
|
+
.max-w-64 {
|
|
2524
|
+
max-width: calc(var(--spacing) * 64);
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2495
2527
|
.max-w-\[calc\(100\%-2rem\)\] {
|
|
2496
2528
|
max-width: calc(100% - 2rem);
|
|
2497
2529
|
}
|
|
@@ -2520,10 +2552,18 @@ select:-webkit-autofill:active {
|
|
|
2520
2552
|
max-width: var(--container-xs);
|
|
2521
2553
|
}
|
|
2522
2554
|
|
|
2555
|
+
.min-w-\(--radix-popover-trigger-width\) {
|
|
2556
|
+
min-width: var(--radix-popover-trigger-width);
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2523
2559
|
.min-w-0 {
|
|
2524
2560
|
min-width: 0;
|
|
2525
2561
|
}
|
|
2526
2562
|
|
|
2563
|
+
.min-w-0\.5 {
|
|
2564
|
+
min-width: calc(var(--spacing) * .5);
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2527
2567
|
.min-w-1 {
|
|
2528
2568
|
min-width: var(--spacing);
|
|
2529
2569
|
}
|
|
@@ -2556,6 +2596,10 @@ select:-webkit-autofill:active {
|
|
|
2556
2596
|
min-width: calc(var(--spacing) * 35);
|
|
2557
2597
|
}
|
|
2558
2598
|
|
|
2599
|
+
.min-w-40 {
|
|
2600
|
+
min-width: calc(var(--spacing) * 40);
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2559
2603
|
.min-w-\[8rem\] {
|
|
2560
2604
|
min-width: 8rem;
|
|
2561
2605
|
}
|
|
@@ -3770,11 +3814,27 @@ select:-webkit-autofill:active {
|
|
|
3770
3814
|
background-color: var(--group-teal);
|
|
3771
3815
|
}
|
|
3772
3816
|
|
|
3773
|
-
.bg-group-violet {
|
|
3817
|
+
.bg-group-violet, .bg-group-violet\/15 {
|
|
3818
|
+
background-color: var(--group-violet);
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3822
|
+
.bg-group-violet\/15 {
|
|
3823
|
+
background-color: color-mix(in oklab, var(--group-violet) 15%, transparent);
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
.bg-group-violet\/20 {
|
|
3774
3828
|
background-color: var(--group-violet);
|
|
3775
3829
|
}
|
|
3776
3830
|
|
|
3777
|
-
|
|
3831
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3832
|
+
.bg-group-violet\/20 {
|
|
3833
|
+
background-color: color-mix(in oklab, var(--group-violet) 20%, transparent);
|
|
3834
|
+
}
|
|
3835
|
+
}
|
|
3836
|
+
|
|
3837
|
+
.bg-info, .bg-info\/10 {
|
|
3778
3838
|
background-color: var(--info);
|
|
3779
3839
|
}
|
|
3780
3840
|
|
|
@@ -3784,6 +3844,26 @@ select:-webkit-autofill:active {
|
|
|
3784
3844
|
}
|
|
3785
3845
|
}
|
|
3786
3846
|
|
|
3847
|
+
.bg-info\/15 {
|
|
3848
|
+
background-color: var(--info);
|
|
3849
|
+
}
|
|
3850
|
+
|
|
3851
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3852
|
+
.bg-info\/15 {
|
|
3853
|
+
background-color: color-mix(in oklab, var(--info) 15%, transparent);
|
|
3854
|
+
}
|
|
3855
|
+
}
|
|
3856
|
+
|
|
3857
|
+
.bg-info\/20 {
|
|
3858
|
+
background-color: var(--info);
|
|
3859
|
+
}
|
|
3860
|
+
|
|
3861
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3862
|
+
.bg-info\/20 {
|
|
3863
|
+
background-color: color-mix(in oklab, var(--info) 20%, transparent);
|
|
3864
|
+
}
|
|
3865
|
+
}
|
|
3866
|
+
|
|
3787
3867
|
.bg-input {
|
|
3788
3868
|
background-color: var(--input);
|
|
3789
3869
|
}
|
|
@@ -3870,6 +3950,30 @@ select:-webkit-autofill:active {
|
|
|
3870
3950
|
}
|
|
3871
3951
|
}
|
|
3872
3952
|
|
|
3953
|
+
.bg-progress-step-1 {
|
|
3954
|
+
background-color: var(--progress-step-1);
|
|
3955
|
+
}
|
|
3956
|
+
|
|
3957
|
+
.bg-progress-step-2 {
|
|
3958
|
+
background-color: var(--progress-step-2);
|
|
3959
|
+
}
|
|
3960
|
+
|
|
3961
|
+
.bg-progress-step-3 {
|
|
3962
|
+
background-color: var(--progress-step-3);
|
|
3963
|
+
}
|
|
3964
|
+
|
|
3965
|
+
.bg-progress-step-4 {
|
|
3966
|
+
background-color: var(--progress-step-4);
|
|
3967
|
+
}
|
|
3968
|
+
|
|
3969
|
+
.bg-progress-step-5 {
|
|
3970
|
+
background-color: var(--progress-step-5);
|
|
3971
|
+
}
|
|
3972
|
+
|
|
3973
|
+
.bg-progress-track {
|
|
3974
|
+
background-color: var(--progress-track);
|
|
3975
|
+
}
|
|
3976
|
+
|
|
3873
3977
|
.bg-secondary {
|
|
3874
3978
|
background-color: var(--secondary);
|
|
3875
3979
|
}
|
|
@@ -3912,6 +4016,16 @@ select:-webkit-autofill:active {
|
|
|
3912
4016
|
}
|
|
3913
4017
|
}
|
|
3914
4018
|
|
|
4019
|
+
.bg-success\/20 {
|
|
4020
|
+
background-color: var(--success);
|
|
4021
|
+
}
|
|
4022
|
+
|
|
4023
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4024
|
+
.bg-success\/20 {
|
|
4025
|
+
background-color: color-mix(in oklab, var(--success) 20%, transparent);
|
|
4026
|
+
}
|
|
4027
|
+
}
|
|
4028
|
+
|
|
3915
4029
|
.bg-transparent {
|
|
3916
4030
|
background-color: #0000;
|
|
3917
4031
|
}
|
|
@@ -3940,6 +4054,16 @@ select:-webkit-autofill:active {
|
|
|
3940
4054
|
}
|
|
3941
4055
|
}
|
|
3942
4056
|
|
|
4057
|
+
.bg-warning\/20 {
|
|
4058
|
+
background-color: var(--warning);
|
|
4059
|
+
}
|
|
4060
|
+
|
|
4061
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4062
|
+
.bg-warning\/20 {
|
|
4063
|
+
background-color: color-mix(in oklab, var(--warning) 20%, transparent);
|
|
4064
|
+
}
|
|
4065
|
+
}
|
|
4066
|
+
|
|
3943
4067
|
.bg-white\/90 {
|
|
3944
4068
|
background-color: #ffffffe6;
|
|
3945
4069
|
}
|
|
@@ -4110,6 +4234,10 @@ select:-webkit-autofill:active {
|
|
|
4110
4234
|
padding-block: calc(var(--spacing) * 3);
|
|
4111
4235
|
}
|
|
4112
4236
|
|
|
4237
|
+
.py-3\.5 {
|
|
4238
|
+
padding-block: calc(var(--spacing) * 3.5);
|
|
4239
|
+
}
|
|
4240
|
+
|
|
4113
4241
|
.py-4 {
|
|
4114
4242
|
padding-block: calc(var(--spacing) * 4);
|
|
4115
4243
|
}
|
|
@@ -4665,6 +4793,11 @@ select:-webkit-autofill:active {
|
|
|
4665
4793
|
font-style: italic;
|
|
4666
4794
|
}
|
|
4667
4795
|
|
|
4796
|
+
.ordinal {
|
|
4797
|
+
--tw-ordinal: ordinal;
|
|
4798
|
+
font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
|
|
4799
|
+
}
|
|
4800
|
+
|
|
4668
4801
|
.tabular-nums {
|
|
4669
4802
|
--tw-numeric-spacing: tabular-nums;
|
|
4670
4803
|
font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
|
|
@@ -4801,6 +4934,16 @@ select:-webkit-autofill:active {
|
|
|
4801
4934
|
}
|
|
4802
4935
|
}
|
|
4803
4936
|
|
|
4937
|
+
.ring-primary\/40 {
|
|
4938
|
+
--tw-ring-color: var(--primary);
|
|
4939
|
+
}
|
|
4940
|
+
|
|
4941
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4942
|
+
.ring-primary\/40 {
|
|
4943
|
+
--tw-ring-color: color-mix(in oklab, var(--primary) 40%, transparent);
|
|
4944
|
+
}
|
|
4945
|
+
}
|
|
4946
|
+
|
|
4804
4947
|
.ring-ring\/50 {
|
|
4805
4948
|
--tw-ring-color: var(--ring);
|
|
4806
4949
|
}
|
|
@@ -5957,6 +6100,26 @@ select:-webkit-autofill:active {
|
|
|
5957
6100
|
--tw-ring-color: var(--color-green-200);
|
|
5958
6101
|
}
|
|
5959
6102
|
|
|
6103
|
+
.focus-visible\:ring-group-violet\/20:focus-visible {
|
|
6104
|
+
--tw-ring-color: var(--group-violet);
|
|
6105
|
+
}
|
|
6106
|
+
|
|
6107
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6108
|
+
.focus-visible\:ring-group-violet\/20:focus-visible {
|
|
6109
|
+
--tw-ring-color: color-mix(in oklab, var(--group-violet) 20%, transparent);
|
|
6110
|
+
}
|
|
6111
|
+
}
|
|
6112
|
+
|
|
6113
|
+
.focus-visible\:ring-info\/20:focus-visible {
|
|
6114
|
+
--tw-ring-color: var(--info);
|
|
6115
|
+
}
|
|
6116
|
+
|
|
6117
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6118
|
+
.focus-visible\:ring-info\/20:focus-visible {
|
|
6119
|
+
--tw-ring-color: color-mix(in oklab, var(--info) 20%, transparent);
|
|
6120
|
+
}
|
|
6121
|
+
}
|
|
6122
|
+
|
|
5960
6123
|
.focus-visible\:ring-ring:focus-visible, .focus-visible\:ring-ring\/50:focus-visible {
|
|
5961
6124
|
--tw-ring-color: var(--ring);
|
|
5962
6125
|
}
|
|
@@ -6068,6 +6231,33 @@ select:-webkit-autofill:active {
|
|
|
6068
6231
|
}
|
|
6069
6232
|
}
|
|
6070
6233
|
|
|
6234
|
+
.has-focus-visible\:border-ring:has(:focus-visible) {
|
|
6235
|
+
border-color: var(--ring);
|
|
6236
|
+
}
|
|
6237
|
+
|
|
6238
|
+
.has-focus-visible\:ring-3:has(:focus-visible) {
|
|
6239
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
6240
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
6241
|
+
}
|
|
6242
|
+
|
|
6243
|
+
.has-focus-visible\:ring-ring\/50:has(:focus-visible) {
|
|
6244
|
+
--tw-ring-color: var(--ring);
|
|
6245
|
+
}
|
|
6246
|
+
|
|
6247
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6248
|
+
.has-focus-visible\:ring-ring\/50:has(:focus-visible) {
|
|
6249
|
+
--tw-ring-color: color-mix(in oklab, var(--ring) 50%, transparent);
|
|
6250
|
+
}
|
|
6251
|
+
}
|
|
6252
|
+
|
|
6253
|
+
.has-disabled\:cursor-not-allowed:has(:disabled) {
|
|
6254
|
+
cursor: not-allowed;
|
|
6255
|
+
}
|
|
6256
|
+
|
|
6257
|
+
.has-disabled\:opacity-50:has(:disabled) {
|
|
6258
|
+
opacity: .5;
|
|
6259
|
+
}
|
|
6260
|
+
|
|
6071
6261
|
.has-data-\[slot\=alert-action\]\:relative:has([data-slot="alert-action"]) {
|
|
6072
6262
|
position: relative;
|
|
6073
6263
|
}
|
|
@@ -6241,6 +6431,18 @@ select:-webkit-autofill:active {
|
|
|
6241
6431
|
color: var(--muted-foreground);
|
|
6242
6432
|
}
|
|
6243
6433
|
|
|
6434
|
+
.data-disabled\:pointer-events-none[data-disabled] {
|
|
6435
|
+
pointer-events: none;
|
|
6436
|
+
}
|
|
6437
|
+
|
|
6438
|
+
.data-disabled\:opacity-50[data-disabled] {
|
|
6439
|
+
opacity: .5;
|
|
6440
|
+
}
|
|
6441
|
+
|
|
6442
|
+
.data-placeholder\:text-muted-foreground[data-placeholder] {
|
|
6443
|
+
color: var(--muted-foreground);
|
|
6444
|
+
}
|
|
6445
|
+
|
|
6244
6446
|
.data-\[active\=true\]\:bg-sidebar-accent[data-active="true"] {
|
|
6245
6447
|
background-color: var(--sidebar-accent);
|
|
6246
6448
|
}
|
|
@@ -6262,6 +6464,10 @@ select:-webkit-autofill:active {
|
|
|
6262
6464
|
opacity: .5;
|
|
6263
6465
|
}
|
|
6264
6466
|
|
|
6467
|
+
.data-\[disabled\]\:opacity-100[data-disabled] {
|
|
6468
|
+
opacity: 1;
|
|
6469
|
+
}
|
|
6470
|
+
|
|
6265
6471
|
.data-\[disabled\=true\]\:pointer-events-none[data-disabled="true"] {
|
|
6266
6472
|
pointer-events: none;
|
|
6267
6473
|
}
|
|
@@ -6558,6 +6764,16 @@ select:-webkit-autofill:active {
|
|
|
6558
6764
|
background-color: var(--primary);
|
|
6559
6765
|
}
|
|
6560
6766
|
|
|
6767
|
+
.data-\[state\=checked\]\:bg-primary-foreground\/30[data-state="checked"] {
|
|
6768
|
+
background-color: var(--primary-foreground);
|
|
6769
|
+
}
|
|
6770
|
+
|
|
6771
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
6772
|
+
.data-\[state\=checked\]\:bg-primary-foreground\/30[data-state="checked"] {
|
|
6773
|
+
background-color: color-mix(in oklab, var(--primary-foreground) 30%, transparent);
|
|
6774
|
+
}
|
|
6775
|
+
}
|
|
6776
|
+
|
|
6561
6777
|
.data-\[state\=checked\]\:bg-purple-600[data-state="checked"] {
|
|
6562
6778
|
background-color: var(--color-purple-600);
|
|
6563
6779
|
}
|
|
@@ -6957,6 +7173,26 @@ select:-webkit-autofill:active {
|
|
|
6957
7173
|
}
|
|
6958
7174
|
}
|
|
6959
7175
|
|
|
7176
|
+
.dark\:focus-visible\:ring-group-violet\/40:focus-visible {
|
|
7177
|
+
--tw-ring-color: var(--group-violet);
|
|
7178
|
+
}
|
|
7179
|
+
|
|
7180
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
7181
|
+
.dark\:focus-visible\:ring-group-violet\/40:focus-visible {
|
|
7182
|
+
--tw-ring-color: color-mix(in oklab, var(--group-violet) 40%, transparent);
|
|
7183
|
+
}
|
|
7184
|
+
}
|
|
7185
|
+
|
|
7186
|
+
.dark\:focus-visible\:ring-info\/40:focus-visible {
|
|
7187
|
+
--tw-ring-color: var(--info);
|
|
7188
|
+
}
|
|
7189
|
+
|
|
7190
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
7191
|
+
.dark\:focus-visible\:ring-info\/40:focus-visible {
|
|
7192
|
+
--tw-ring-color: color-mix(in oklab, var(--info) 40%, transparent);
|
|
7193
|
+
}
|
|
7194
|
+
}
|
|
7195
|
+
|
|
6960
7196
|
.dark\:focus-visible\:ring-success\/40:focus-visible {
|
|
6961
7197
|
--tw-ring-color: var(--success);
|
|
6962
7198
|
}
|
|
@@ -7631,6 +7867,26 @@ select:-webkit-autofill:active {
|
|
|
7631
7867
|
}
|
|
7632
7868
|
}
|
|
7633
7869
|
|
|
7870
|
+
a.\[a\&\]\:hover\:bg-group-violet\/25:hover {
|
|
7871
|
+
background-color: var(--group-violet);
|
|
7872
|
+
}
|
|
7873
|
+
|
|
7874
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
7875
|
+
a.\[a\&\]\:hover\:bg-group-violet\/25:hover {
|
|
7876
|
+
background-color: color-mix(in oklab, var(--group-violet) 25%, transparent);
|
|
7877
|
+
}
|
|
7878
|
+
}
|
|
7879
|
+
|
|
7880
|
+
a.\[a\&\]\:hover\:bg-info\/25:hover {
|
|
7881
|
+
background-color: var(--info);
|
|
7882
|
+
}
|
|
7883
|
+
|
|
7884
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
7885
|
+
a.\[a\&\]\:hover\:bg-info\/25:hover {
|
|
7886
|
+
background-color: color-mix(in oklab, var(--info) 25%, transparent);
|
|
7887
|
+
}
|
|
7888
|
+
}
|
|
7889
|
+
|
|
7634
7890
|
a.\[a\&\]\:hover\:bg-primary\/90:hover {
|
|
7635
7891
|
background-color: var(--primary);
|
|
7636
7892
|
}
|
package/dist/calendar2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { createContext, useContext, useCallback, useRef, useLayoutEffect, useState, useEffect, useMemo } from 'react';
|
|
3
3
|
import { c as cn } from './utils.js';
|
|
4
|
-
import { T as TZDate } from './
|
|
4
|
+
import { T as TZDate } from './index7.js';
|
|
5
5
|
import { e as enUS$1, s as startOfWeek } from './en-US.js';
|
|
6
6
|
import { f as format, j as differenceInCalendarDays, c as getISOWeek, b as getWeek, k as isDate, s as startOfDay, a as startOfISOWeek, m as startOfYear } from './format.js';
|
|
7
7
|
import { c as addDays, d as addMonths, e as addWeeks, f as addYears, h as differenceInCalendarMonths, j as eachMonthOfInterval, k as eachYearOfInterval, l as endOfISOWeek, n as endOfMonth, o as endOfWeek, q as endOfYear, r as getMonth, t as getYear, a as isAfter, i as isBefore, u as isSameDay, v as isSameMonth, w as isSameYear, m as max, b as min, x as setMonth, y as setYear, s as startOfMonth } from './setYear.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as CompactTableSkeleton, a as CurrencyCell, D as DataTable, b as DataTableColumnHeader, c as DataTableEmpty, d as DataTableFilters, e as DataTablePagination, f as DataTableRowDensity, g as DataTableSearch, h as DataTableSelectionBar, i as
|
|
1
|
+
export { C as CompactTableSkeleton, a as CurrencyCell, D as DataTable, b as DataTableColumnHeader, c as DataTableEmpty, d as DataTableFilters, e as DataTablePagination, f as DataTableRowDensity, g as DataTableSearch, h as DataTableSelectionBar, i as DataTableSkeleton, j as DataTableViewOptions, k as DateCell, l as DateTimeCell, N as NumberCell, R as RowActions, S as StringCell, m as getSelectionColumn, s as setTableContext, u as useDataTable } from '../useDataTable.js';
|
|
2
2
|
//# sourceMappingURL=DataTable.js.map
|
|
@@ -3,7 +3,7 @@ import { useId, useState, useCallback } from 'react';
|
|
|
3
3
|
import { c as cn } from '../utils.js';
|
|
4
4
|
import { u as useLocale } from '../useLocale.js';
|
|
5
5
|
import { r as relativeDayOf, a as resolveRelative, R as RelativeDayStrip, b as RELATIVE_DAYS } from '../RelativeDayStrip.js';
|
|
6
|
-
import {
|
|
6
|
+
import { b as ContextAnchorText, a as CONTEXT_ANCHOR_CLASS } from '../contextAnchor.js';
|
|
7
7
|
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../popover.js';
|
|
8
8
|
import { C as Calendar } from '../calendar.js';
|
|
9
9
|
import { X } from '../x.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuantityField.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedProgress.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.js","sources":["../../lib/components/Select/index.ts"],"sourcesContent":["export type { MultiSelectProps } from './components/MultiSelect/MultiSelect';\nexport { MultiSelect } from './components/MultiSelect/MultiSelect';\nexport type { MultiSelectFilterProps } from './components/MultiSelect/MultiSelectFilter';\nexport { MultiSelectFilter } from './components/MultiSelect/MultiSelectFilter';\nexport type {\n SingleSelectAnchorProps,\n SingleSelectOptionRenderProps,\n SingleSelectProps,\n} from './components/SingleSelect/SingleSelect';\nexport { SingleSelect } from './components/SingleSelect/SingleSelect';\nexport type { SingleSelectFilterProps } from './components/SingleSelect/SingleSelectFilter';\nexport { SingleSelectFilter } from './components/SingleSelect/SingleSelectFilter';\nexport type { UseSelectProps, UseSelectReturn } from './hooks/useSelect';\nexport { useSelect } from './hooks/useSelect';\nexport type { SelectProps } from './Select';\nexport { Select } from './Select';\nexport type { SelectFilterProps } from './SelectFilter';\nexport { SelectFilter } from './SelectFilter';\nexport type {\n AsyncSelectState,\n FilterOperator,\n FilterResult,\n SelectFieldKeys,\n SelectGroup,\n SelectOption,\n SelectOptionsResponse,\n SelectValue,\n} from './types';\n\n// Compound primitives for custom multi-select layouts\nimport {\n MultiSelectActions as ShadcnMultiSelectActions,\n MultiSelectContent as ShadcnMultiSelectContent,\n MultiSelectEmpty as ShadcnMultiSelectEmpty,\n MultiSelectGroup as ShadcnMultiSelectGroup,\n MultiSelectGroupLabel as ShadcnMultiSelectGroupLabel,\n MultiSelectList as ShadcnMultiSelectList,\n MultiSelectRoot as ShadcnMultiSelectRoot,\n MultiSelectRow as ShadcnMultiSelectRow,\n MultiSelectSearch as ShadcnMultiSelectSearch,\n MultiSelectTrigger as ShadcnMultiSelectTrigger,\n} from '../../../shadcn/shadcnMultiSelect';\n\nexport const MultiSelectRoot = ShadcnMultiSelectRoot;\nexport const MultiSelectTrigger = ShadcnMultiSelectTrigger;\nexport const MultiSelectContent = ShadcnMultiSelectContent;\nexport const MultiSelectSearch = ShadcnMultiSelectSearch;\nexport const MultiSelectActions = ShadcnMultiSelectActions;\nexport const MultiSelectGroup = ShadcnMultiSelectGroup;\nexport const MultiSelectGroupLabel = ShadcnMultiSelectGroupLabel;\nexport const MultiSelectList = ShadcnMultiSelectList;\nexport const MultiSelectRow = ShadcnMultiSelectRow;\nexport const MultiSelectEmpty = ShadcnMultiSelectEmpty;\n\nexport type {\n MultiSelectActionsProps,\n MultiSelectContentProps,\n MultiSelectEmptyProps,\n MultiSelectGroupLabelProps,\n MultiSelectGroupProps,\n MultiSelectListProps,\n MultiSelectRootProps,\n MultiSelectRowProps,\n MultiSelectSearchProps,\n MultiSelectTriggerProps,\n} from '../../../shadcn/shadcnMultiSelect';\n\n// Compound primitives for custom single-select layouts\nimport {\n SingleSelectClear as ShadcnSingleSelectClear,\n SingleSelectContent as ShadcnSingleSelectContent,\n SingleSelectEmpty as ShadcnSingleSelectEmpty,\n SingleSelectGroup as ShadcnSingleSelectGroup,\n SingleSelectGroupLabel as ShadcnSingleSelectGroupLabel,\n SingleSelectList as ShadcnSingleSelectList,\n SingleSelectRoot as ShadcnSingleSelectRoot,\n SingleSelectRow as ShadcnSingleSelectRow,\n SingleSelectSearch as ShadcnSingleSelectSearch,\n SingleSelectTrigger as ShadcnSingleSelectTrigger,\n} from '../../../shadcn/shadcnSingleSelect';\n\nexport const SingleSelectRoot = ShadcnSingleSelectRoot;\nexport const SingleSelectTrigger = ShadcnSingleSelectTrigger;\nexport const SingleSelectContent = ShadcnSingleSelectContent;\nexport const SingleSelectSearch = ShadcnSingleSelectSearch;\nexport const SingleSelectClear = ShadcnSingleSelectClear;\nexport const SingleSelectGroup = ShadcnSingleSelectGroup;\nexport const SingleSelectGroupLabel = ShadcnSingleSelectGroupLabel;\nexport const SingleSelectList = ShadcnSingleSelectList;\nexport const SingleSelectRow = ShadcnSingleSelectRow;\nexport const SingleSelectEmpty = ShadcnSingleSelectEmpty;\n\nexport type {\n SingleSelectClearProps,\n SingleSelectContentProps,\n SingleSelectEmptyProps,\n SingleSelectGroupLabelProps,\n SingleSelectGroupProps,\n SingleSelectListProps,\n SingleSelectRootProps,\n SingleSelectRowProps,\n SingleSelectSearchProps,\n SingleSelectTriggerProps,\n} from '../../../shadcn/shadcnSingleSelect';\n"],"names":["ShadcnMultiSelectRoot","ShadcnMultiSelectTrigger","ShadcnMultiSelectContent","ShadcnMultiSelectSearch","ShadcnMultiSelectActions","ShadcnMultiSelectGroup","ShadcnMultiSelectGroupLabel","ShadcnMultiSelectList","ShadcnMultiSelectRow","ShadcnMultiSelectEmpty","ShadcnSingleSelectRoot","ShadcnSingleSelectTrigger","ShadcnSingleSelectContent","ShadcnSingleSelectSearch","ShadcnSingleSelectClear","ShadcnSingleSelectGroup","ShadcnSingleSelectGroupLabel","ShadcnSingleSelectList","ShadcnSingleSelectRow","ShadcnSingleSelectEmpty"],"mappings":";;;;;;AA2CO,MAAM,eAAA,GAAkBA;AACxB,MAAM,kBAAA,GAAqBC;AAC3B,MAAM,kBAAA,GAAqBC;AAC3B,MAAM,iBAAA,GAAoBC;AAC1B,MAAM,kBAAA,GAAqBC;AAC3B,MAAM,gBAAA,GAAmBC;AACzB,MAAM,qBAAA,GAAwBC;AAC9B,MAAM,eAAA,GAAkBC;AACxB,MAAM,cAAA,GAAiBC;AACvB,MAAM,gBAAA,GAAmBC;AA6BzB,MAAM,gBAAA,GAAmBC;AACzB,MAAM,mBAAA,GAAsBC;AAC5B,MAAM,mBAAA,GAAsBC;AAC5B,MAAM,kBAAA,GAAqBC;AAC3B,MAAM,iBAAA,GAAoBC;AAC1B,MAAM,iBAAA,GAAoBC;AAC1B,MAAM,sBAAA,GAAyBC;AAC/B,MAAM,gBAAA,GAAmBC;AACzB,MAAM,eAAA,GAAkBC;AACxB,MAAM,iBAAA,GAAoBC;;;;"}
|
|
1
|
+
{"version":3,"file":"Select.js","sources":["../../lib/components/Select/index.ts"],"sourcesContent":["export type { MultiSelectProps } from './components/MultiSelect/MultiSelect';\nexport { MultiSelect } from './components/MultiSelect/MultiSelect';\nexport type { MultiSelectFilterProps } from './components/MultiSelect/MultiSelectFilter';\nexport { MultiSelectFilter } from './components/MultiSelect/MultiSelectFilter';\nexport type {\n SingleSelectAnchorProps,\n SingleSelectOptionRenderProps,\n SingleSelectProps,\n} from './components/SingleSelect/SingleSelect';\nexport { SingleSelect } from './components/SingleSelect/SingleSelect';\nexport type { SingleSelectFilterProps } from './components/SingleSelect/SingleSelectFilter';\nexport { SingleSelectFilter } from './components/SingleSelect/SingleSelectFilter';\nexport type { UseSelectProps, UseSelectReturn } from './hooks/useSelect';\nexport { useSelect } from './hooks/useSelect';\nexport type { ClearableSelectProps, SelectProps } from './Select';\nexport { Select } from './Select';\nexport type { SelectFilterProps } from './SelectFilter';\nexport { SelectFilter } from './SelectFilter';\nexport type {\n AsyncSelectState,\n FilterOperator,\n FilterResult,\n SelectFieldKeys,\n SelectGroup,\n SelectOption,\n SelectOptionsResponse,\n SelectValue,\n} from './types';\n\n// Compound primitives for custom multi-select layouts\nimport {\n MultiSelectActions as ShadcnMultiSelectActions,\n MultiSelectContent as ShadcnMultiSelectContent,\n MultiSelectEmpty as ShadcnMultiSelectEmpty,\n MultiSelectGroup as ShadcnMultiSelectGroup,\n MultiSelectGroupLabel as ShadcnMultiSelectGroupLabel,\n MultiSelectList as ShadcnMultiSelectList,\n MultiSelectRoot as ShadcnMultiSelectRoot,\n MultiSelectRow as ShadcnMultiSelectRow,\n MultiSelectSearch as ShadcnMultiSelectSearch,\n MultiSelectTrigger as ShadcnMultiSelectTrigger,\n} from '../../../shadcn/shadcnMultiSelect';\n\nexport const MultiSelectRoot = ShadcnMultiSelectRoot;\nexport const MultiSelectTrigger = ShadcnMultiSelectTrigger;\nexport const MultiSelectContent = ShadcnMultiSelectContent;\nexport const MultiSelectSearch = ShadcnMultiSelectSearch;\nexport const MultiSelectActions = ShadcnMultiSelectActions;\nexport const MultiSelectGroup = ShadcnMultiSelectGroup;\nexport const MultiSelectGroupLabel = ShadcnMultiSelectGroupLabel;\nexport const MultiSelectList = ShadcnMultiSelectList;\nexport const MultiSelectRow = ShadcnMultiSelectRow;\nexport const MultiSelectEmpty = ShadcnMultiSelectEmpty;\n\nexport type {\n MultiSelectActionsProps,\n MultiSelectContentProps,\n MultiSelectEmptyProps,\n MultiSelectGroupLabelProps,\n MultiSelectGroupProps,\n MultiSelectListProps,\n MultiSelectRootProps,\n MultiSelectRowProps,\n MultiSelectSearchProps,\n MultiSelectTriggerProps,\n} from '../../../shadcn/shadcnMultiSelect';\n\n// Compound primitives for custom single-select layouts\nimport {\n SingleSelectClear as ShadcnSingleSelectClear,\n SingleSelectContent as ShadcnSingleSelectContent,\n SingleSelectEmpty as ShadcnSingleSelectEmpty,\n SingleSelectGroup as ShadcnSingleSelectGroup,\n SingleSelectGroupLabel as ShadcnSingleSelectGroupLabel,\n SingleSelectList as ShadcnSingleSelectList,\n SingleSelectRoot as ShadcnSingleSelectRoot,\n SingleSelectRow as ShadcnSingleSelectRow,\n SingleSelectSearch as ShadcnSingleSelectSearch,\n SingleSelectTrigger as ShadcnSingleSelectTrigger,\n} from '../../../shadcn/shadcnSingleSelect';\n\nexport const SingleSelectRoot = ShadcnSingleSelectRoot;\nexport const SingleSelectTrigger = ShadcnSingleSelectTrigger;\nexport const SingleSelectContent = ShadcnSingleSelectContent;\nexport const SingleSelectSearch = ShadcnSingleSelectSearch;\nexport const SingleSelectClear = ShadcnSingleSelectClear;\nexport const SingleSelectGroup = ShadcnSingleSelectGroup;\nexport const SingleSelectGroupLabel = ShadcnSingleSelectGroupLabel;\nexport const SingleSelectList = ShadcnSingleSelectList;\nexport const SingleSelectRow = ShadcnSingleSelectRow;\nexport const SingleSelectEmpty = ShadcnSingleSelectEmpty;\n\nexport type {\n SingleSelectClearProps,\n SingleSelectContentProps,\n SingleSelectEmptyProps,\n SingleSelectGroupLabelProps,\n SingleSelectGroupProps,\n SingleSelectListProps,\n SingleSelectRootProps,\n SingleSelectRowProps,\n SingleSelectSearchProps,\n SingleSelectTriggerProps,\n} from '../../../shadcn/shadcnSingleSelect';\n"],"names":["ShadcnMultiSelectRoot","ShadcnMultiSelectTrigger","ShadcnMultiSelectContent","ShadcnMultiSelectSearch","ShadcnMultiSelectActions","ShadcnMultiSelectGroup","ShadcnMultiSelectGroupLabel","ShadcnMultiSelectList","ShadcnMultiSelectRow","ShadcnMultiSelectEmpty","ShadcnSingleSelectRoot","ShadcnSingleSelectTrigger","ShadcnSingleSelectContent","ShadcnSingleSelectSearch","ShadcnSingleSelectClear","ShadcnSingleSelectGroup","ShadcnSingleSelectGroupLabel","ShadcnSingleSelectList","ShadcnSingleSelectRow","ShadcnSingleSelectEmpty"],"mappings":";;;;;;AA2CO,MAAM,eAAA,GAAkBA;AACxB,MAAM,kBAAA,GAAqBC;AAC3B,MAAM,kBAAA,GAAqBC;AAC3B,MAAM,iBAAA,GAAoBC;AAC1B,MAAM,kBAAA,GAAqBC;AAC3B,MAAM,gBAAA,GAAmBC;AACzB,MAAM,qBAAA,GAAwBC;AAC9B,MAAM,eAAA,GAAkBC;AACxB,MAAM,cAAA,GAAiBC;AACvB,MAAM,gBAAA,GAAmBC;AA6BzB,MAAM,gBAAA,GAAmBC;AACzB,MAAM,mBAAA,GAAsBC;AAC5B,MAAM,mBAAA,GAAsBC;AAC5B,MAAM,kBAAA,GAAqBC;AAC3B,MAAM,iBAAA,GAAoBC;AAC1B,MAAM,iBAAA,GAAoBC;AAC1B,MAAM,sBAAA,GAAyBC;AAC/B,MAAM,gBAAA,GAAmBC;AACzB,MAAM,eAAA,GAAkBC;AACxB,MAAM,iBAAA,GAAoBC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Switch.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/contextAnchor.js
CHANGED
|
@@ -3,10 +3,11 @@ import { c as cn } from './utils.js';
|
|
|
3
3
|
import { S as Skeleton } from './Skeleton.js';
|
|
4
4
|
|
|
5
5
|
const CONTEXT_ANCHOR_CLASS = "inline-flex h-9 items-center gap-2 rounded-md border border-input bg-background px-3 text-sm whitespace-nowrap shadow-xs outline-none transition-[color,box-shadow,border-color] hover:bg-accent/40 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-expanded:border-ring disabled:cursor-not-allowed disabled:opacity-50";
|
|
6
|
+
const ContextAnchorLabel = ({ children }) => /* @__PURE__ */ jsx("span", { className: "shrink-0 text-[11px] font-medium uppercase tracking-wider text-muted-foreground", children });
|
|
6
7
|
const ContextAnchorText = ({ label, value, placeholder, loading = false }) => /* @__PURE__ */ jsxs("span", { className: "flex min-w-0 items-baseline gap-2", children: [
|
|
7
|
-
label && /* @__PURE__ */ jsx(
|
|
8
|
+
label && /* @__PURE__ */ jsx(ContextAnchorLabel, { children: label }),
|
|
8
9
|
loading ? /* @__PURE__ */ jsx(Skeleton, { className: "h-3.5 w-20 self-center" }) : /* @__PURE__ */ jsx("span", { className: cn("truncate", value ? "font-medium text-foreground" : "text-muted-foreground"), children: value ?? placeholder })
|
|
9
10
|
] });
|
|
10
11
|
|
|
11
|
-
export {
|
|
12
|
+
export { ContextAnchorLabel as C, CONTEXT_ANCHOR_CLASS as a, ContextAnchorText as b };
|
|
12
13
|
//# sourceMappingURL=contextAnchor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextAnchor.js","sources":["../lib/components/Select/contextAnchor.tsx"],"sourcesContent":["import type React from 'react';\nimport { cn } from '../../../shadcn/utils';\nimport { Skeleton } from '../Skeleton';\n\n// How a filter control presents itself: an applied filter chip, or a context selector naming what a table is about\nexport type FilterMode = 'filter' | 'context';\n\n// A context selector's trigger: quiet and outlined at the toolbar's height, so it reads as the table's frame rather than\n// as a filter narrowing it\nexport const CONTEXT_ANCHOR_CLASS =\n 'inline-flex h-9 items-center gap-2 rounded-md border border-input bg-background px-3 text-sm whitespace-nowrap shadow-xs outline-none transition-[color,box-shadow,border-color] hover:bg-accent/40 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-expanded:border-ring disabled:cursor-not-allowed disabled:opacity-50';\n\ninterface ContextAnchorTextProps {\n label?: string;\n value?: React.ReactNode;\n placeholder?: string;\n loading?: boolean;\n}\n\n// A context selector's label and value: a small uppercase caption, then the value it holds\nexport const ContextAnchorText: React.FC<ContextAnchorTextProps> = ({ label, value, placeholder, loading = false }) => (\n <span className=\"flex min-w-0 items-baseline gap-2\">\n {label &&
|
|
1
|
+
{"version":3,"file":"contextAnchor.js","sources":["../lib/components/Select/contextAnchor.tsx"],"sourcesContent":["import type React from 'react';\nimport { cn } from '../../../shadcn/utils';\nimport { Skeleton } from '../Skeleton';\n\n// How a filter control presents itself: an applied filter chip, or a context selector naming what a table is about\nexport type FilterMode = 'filter' | 'context';\n\n// A context selector's trigger: quiet and outlined at the toolbar's height, so it reads as the table's frame rather than\n// as a filter narrowing it\nexport const CONTEXT_ANCHOR_CLASS =\n 'inline-flex h-9 items-center gap-2 rounded-md border border-input bg-background px-3 text-sm whitespace-nowrap shadow-xs outline-none transition-[color,box-shadow,border-color] hover:bg-accent/40 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-expanded:border-ring disabled:cursor-not-allowed disabled:opacity-50';\n\n// A context control's label: the small uppercase caption before what it holds\nexport const ContextAnchorLabel: React.FC<{ children: React.ReactNode }> = ({ children }) => (\n <span className=\"shrink-0 text-[11px] font-medium uppercase tracking-wider text-muted-foreground\">{children}</span>\n);\n\ninterface ContextAnchorTextProps {\n label?: string;\n value?: React.ReactNode;\n placeholder?: string;\n loading?: boolean;\n}\n\n// A context selector's label and value: a small uppercase caption, then the value it holds\nexport const ContextAnchorText: React.FC<ContextAnchorTextProps> = ({ label, value, placeholder, loading = false }) => (\n <span className=\"flex min-w-0 items-baseline gap-2\">\n {label && <ContextAnchorLabel>{label}</ContextAnchorLabel>}\n {loading ? (\n <Skeleton className=\"h-3.5 w-20 self-center\" />\n ) : (\n <span className={cn('truncate', value ? 'font-medium text-foreground' : 'text-muted-foreground')}>\n {value ?? placeholder}\n </span>\n )}\n </span>\n);\n"],"names":[],"mappings":";;;;AASO,MAAM,oBAAA,GACX;AAGK,MAAM,kBAAA,GAA8D,CAAC,EAAE,QAAA,uBAC5E,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,iFAAA,EAAmF,QAAA,EAAS;AAWvG,MAAM,iBAAA,GAAsD,CAAC,EAAE,KAAA,EAAO,KAAA,EAAO,WAAA,EAAa,OAAA,GAAU,KAAA,EAAM,qBAC/G,IAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,mCAAA,EACb,QAAA,EAAA;AAAA,EAAA,KAAA,oBAAS,GAAA,CAAC,sBAAoB,QAAA,EAAA,KAAA,EAAM,CAAA;AAAA,EACpC,0BACC,GAAA,CAAC,QAAA,EAAA,EAAS,SAAA,EAAU,wBAAA,EAAyB,oBAE7C,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAW,EAAA,CAAG,YAAY,KAAA,GAAQ,6BAAA,GAAgC,uBAAuB,CAAA,EAC5F,mBAAS,WAAA,EACZ;AAAA,CAAA,EAEJ;;;;"}
|
package/dist/dropdown-menu.js
CHANGED
|
@@ -1193,5 +1193,5 @@ const DropdownMenuShortcut = ({ className, ...props }) => {
|
|
|
1193
1193
|
};
|
|
1194
1194
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
1195
1195
|
|
|
1196
|
-
export { DropdownMenu as D, DropdownMenuTrigger as a, DropdownMenuContent as b, DropdownMenuItem as c,
|
|
1196
|
+
export { DropdownMenu as D, DropdownMenuTrigger as a, DropdownMenuContent as b, DropdownMenuItem as c, DropdownMenuGroup as d, DropdownMenuLabel as e, DropdownMenuSub as f, DropdownMenuSubTrigger as g, DropdownMenuPortal as h, DropdownMenuSubContent as i, DropdownMenuRadioGroup as j, DropdownMenuRadioItem as k, DropdownMenuCheckboxItem as l, DropdownMenuSeparator as m, DropdownMenuShortcut as n };
|
|
1197
1197
|
//# sourceMappingURL=dropdown-menu.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { c as cn } from './utils.js';
|
|
2
|
-
export { c as configureQuantumUI, d as defineConfig, g as getConfig, r as resetConfig } from './
|
|
2
|
+
export { c as configureQuantumUI, d as defineConfig, g as getConfig, r as resetConfig } from './index6.js';
|
|
3
3
|
export { L as LayoutModeProvider, O as OrgContextProvider, u as useLayoutMode, a as useOrgContext, b as useOrgService } from './OrgContext.js';
|
|
4
4
|
export { T as ThemeContext, a as ThemeProvider } from './ThemeContext.js';
|
|
5
5
|
export { u as useBarcodeScanner, a as useCategoricalColors, b as useOrgCountryCode, c as useSSE, d as useSlugParams, e as useTimer, f as useWorkspaceCurrency } from './useWorkspaceCurrency.js';
|
|
@@ -23,7 +23,7 @@ export { C as Checkbox } from './Checkbox.js';
|
|
|
23
23
|
export { C as CheckboxGroup } from './CheckboxGroup.js';
|
|
24
24
|
export { C as Collapsible } from './Collapsible.js';
|
|
25
25
|
export { C as CompactSwitch, S as Switch } from './Switch.js';
|
|
26
|
-
export { C as CompactTableSkeleton, a as CurrencyCell, D as DataTable, b as DataTableColumnHeader, c as DataTableEmpty, d as DataTableFilters, e as DataTablePagination, f as DataTableRowDensity, g as DataTableSearch, h as DataTableSelectionBar, i as
|
|
26
|
+
export { C as CompactTableSkeleton, a as CurrencyCell, D as DataTable, b as DataTableColumnHeader, c as DataTableEmpty, d as DataTableFilters, e as DataTablePagination, f as DataTableRowDensity, g as DataTableSearch, h as DataTableSelectionBar, i as DataTableSkeleton, j as DataTableViewOptions, k as DateCell, l as DateTimeCell, N as NumberCell, R as RowActions, S as StringCell, m as getSelectionColumn, s as setTableContext, u as useDataTable } from './useDataTable.js';
|
|
27
27
|
export { C as ConfirmHost } from './ConfirmHost.js';
|
|
28
28
|
export { C as Controller } from './index.esm.js';
|
|
29
29
|
export { C as CopyButton } from './CopyButton.js';
|
|
@@ -54,6 +54,7 @@ export { j as MultiSelect, S as Select, u as useSelect } from './Select.js';
|
|
|
54
54
|
export { MultiSelectActions, MultiSelectContent, MultiSelectEmpty, MultiSelectGroup, MultiSelectGroupLabel, MultiSelectList, MultiSelectRoot, MultiSelectRow, MultiSelectSearch, MultiSelectTrigger, SingleSelectClear, SingleSelectContent, SingleSelectEmpty, SingleSelectGroup, SingleSelectGroupLabel, SingleSelectList, SingleSelectRoot, SingleSelectRow, SingleSelectSearch, SingleSelectTrigger } from './components/Select.js';
|
|
55
55
|
export { M as MultiSelectFilter, S as SelectFilter, a as SingleSelectFilter } from './SelectFilter.js';
|
|
56
56
|
export { O as OTPField } from './OTPField.js';
|
|
57
|
+
export { P as PRIMARY_UNIT_PLACEHOLDER, Q as QuantityField, f as fromPrimaryQty, q as quantityPlaceholder, r as resolveQuantityMessage, t as toPrimaryQty } from './QuantityField.js';
|
|
57
58
|
export { P as PageContent, a as PageContentDetails, b as PageContentPanel, c as PanelSkeleton, S as SidePanelListItem } from './PageContent.js';
|
|
58
59
|
export { P as PageHeader, a as PageHeaderSkeleton } from './PageHeaderSkeleton.js';
|
|
59
60
|
export { P as PasswordField } from './PasswordField.js';
|
|
@@ -66,6 +67,7 @@ export { R as RadialChart } from './RadialChart.js';
|
|
|
66
67
|
export { R as RadioGroup } from './RadioGroup.js';
|
|
67
68
|
export { R as RichTextEditor } from './index34.js';
|
|
68
69
|
export { S as SearchBar } from './SearchBar.js';
|
|
70
|
+
export { S as SegmentedProgress, a as SegmentedProgressKey } from './SegmentedProgressKey.js';
|
|
69
71
|
export { S as Separator } from './Separator.js';
|
|
70
72
|
export { S as Sidebar, a as SidebarInset, b as SidebarProvider } from './Sidebar.js';
|
|
71
73
|
export { j as SingleSelect } from './SingleSelect.js';
|
|
@@ -74,6 +76,7 @@ export { S as SortableDragHandle, a as SortableItem, b as SortableList } from '.
|
|
|
74
76
|
export { S as Spinner } from './Spinner.js';
|
|
75
77
|
export { S as StatusSwitch } from './StatusSwitch.js';
|
|
76
78
|
export { S as StepProgressIndicator } from './StepProgressIndicator.js';
|
|
79
|
+
export { S as SwitchFilter } from './SwitchFilter.js';
|
|
77
80
|
export { T as Tabs, a as TabsContent, b as TabsList, c as TabsSkeleton, d as TabsTrigger } from './TabsSkeleton.js';
|
|
78
81
|
export { T as TextArea } from './TextArea.js';
|
|
79
82
|
export { T as TextField } from './TextField.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|