@saas-ui/react 3.0.0-next.35 → 3.0.0-next.36
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/LICENSE +21 -0
- package/dist/.tsbuildinfo.json +1 -1
- package/dist/components/accordion/accordion.recipe.d.ts +9 -0
- package/dist/components/accordion/accordion.recipe.js +10 -1
- package/dist/components/app-shell/app-shell.recipe.d.ts +1 -1
- package/dist/components/color-mode/color-mode.d.ts +19 -0
- package/dist/components/color-mode/color-mode.js +35 -0
- package/dist/components/color-mode/index.d.ts +2 -0
- package/dist/components/color-mode/index.js +1 -0
- package/dist/components/combobox/combobox.recipe.d.ts +128 -0
- package/dist/components/combobox/combobox.recipe.js +279 -0
- package/dist/components/combobox/index.d.ts +1 -0
- package/dist/components/combobox/index.js +1 -0
- package/dist/components/file-upload/file-upload.recipe.d.ts +1 -1
- package/dist/components/menu/menu.recipe.d.ts +1 -1
- package/dist/components/navbar/navbar.d.ts +3 -3
- package/dist/components/page/page.d.ts +3 -3
- package/dist/components/persona/persona-primitive.js +1 -1
- package/dist/components/progress-circle/progress-circle.recipe.d.ts +2 -2
- package/dist/components/progress-circle/progress-circle.recipe.js +2 -2
- package/dist/components/section/section.d.ts +2 -2
- package/dist/components/segmented-control/segment-group.recipe.d.ts +1 -1
- package/dist/components/select/select.recipe.d.ts +1 -1
- package/dist/components/sidebar/sidebar-nav-item.recipe.d.ts +5 -0
- package/dist/components/sidebar/sidebar-nav-item.recipe.js +5 -0
- package/dist/components/sidebar/sidebar.d.ts +12 -12
- package/dist/components/toaster/toaster.d.ts +3 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/theme/slot-recipes.d.ts +169 -27
- package/dist/theme/slot-recipes.js +2 -0
- package/package.json +22 -17
- package/CHANGELOG.md +0 -4209
@@ -1,5 +1,6 @@
|
|
1
|
-
import { type CreateToasterProps } from '@chakra-ui/react/toast';
|
2
|
-
export
|
1
|
+
import { type CreateToasterProps, CreateToasterReturn } from '@chakra-ui/react/toast';
|
2
|
+
export type { CreateToasterProps, CreateToasterReturn };
|
3
|
+
export declare let toast: CreateToasterReturn;
|
3
4
|
export interface ToasterProps extends Partial<CreateToasterProps> {
|
4
5
|
closable?: boolean;
|
5
6
|
}
|
package/dist/index.d.ts
CHANGED
@@ -27,6 +27,9 @@ export { CloseButton, type CloseButtonProps, } from './components/close-button/i
|
|
27
27
|
export { Container, type ContainerProps } from './components/container/index.ts';
|
28
28
|
export { Code, type CodeProps } from './components/code/index.ts';
|
29
29
|
export { Collapsible } from './components/collapsible/index.ts';
|
30
|
+
export { ColorModeProvider, DarkMode, LightMode, useColorMode, useColorModeValue, ColorModeTrigger, } from './components/color-mode/index.ts';
|
31
|
+
export type { ColorMode, UseColorModeReturn, } from './components/color-mode/index.ts';
|
32
|
+
export { Combobox, useCombobox, useComboboxContext, useComboboxItemContext, useComboboxStyles, } from './components/combobox/index.ts';
|
30
33
|
export { Command } from './components/command/index.ts';
|
31
34
|
export { DataList, useDataListStyles } from './components/data-list/index.ts';
|
32
35
|
export { Dialog } from './components/dialog/index.ts';
|
package/dist/index.js
CHANGED
@@ -23,6 +23,8 @@ export { CloseButton, } from "./components/close-button/index.js";
|
|
23
23
|
export { Container } from "./components/container/index.js";
|
24
24
|
export { Code } from "./components/code/index.js";
|
25
25
|
export { Collapsible } from "./components/collapsible/index.js";
|
26
|
+
export { ColorModeProvider, DarkMode, LightMode, useColorMode, useColorModeValue, ColorModeTrigger, } from "./components/color-mode/index.js";
|
27
|
+
export { Combobox, useCombobox, useComboboxContext, useComboboxItemContext, useComboboxStyles, } from "./components/combobox/index.js";
|
26
28
|
export { Command } from "./components/command/index.js";
|
27
29
|
export { DataList, useDataListStyles } from "./components/data-list/index.js";
|
28
30
|
export { Dialog } from "./components/dialog/index.js";
|
@@ -51,6 +51,9 @@ export declare const slotRecipes: {
|
|
51
51
|
textStyle: "sm";
|
52
52
|
py: "var(--accordion-padding-y)";
|
53
53
|
};
|
54
|
+
itemContent: {
|
55
|
+
textStyle: "sm";
|
56
|
+
};
|
54
57
|
};
|
55
58
|
md: {
|
56
59
|
root: {
|
@@ -61,6 +64,9 @@ export declare const slotRecipes: {
|
|
61
64
|
textStyle: "md";
|
62
65
|
py: "var(--accordion-padding-y)";
|
63
66
|
};
|
67
|
+
itemContent: {
|
68
|
+
textStyle: "md";
|
69
|
+
};
|
64
70
|
};
|
65
71
|
lg: {
|
66
72
|
root: {
|
@@ -71,11 +77,14 @@ export declare const slotRecipes: {
|
|
71
77
|
textStyle: "lg";
|
72
78
|
py: "var(--accordion-padding-y)";
|
73
79
|
};
|
80
|
+
itemContent: {
|
81
|
+
textStyle: "lg";
|
82
|
+
};
|
74
83
|
};
|
75
84
|
};
|
76
85
|
}>;
|
77
86
|
actionBar: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "positioner" | "separator" | "selectionTrigger" | "closeTrigger", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "positioner" | "separator" | "selectionTrigger" | "closeTrigger">>;
|
78
|
-
alert: import("@chakra-ui/react").SlotRecipeDefinition<"
|
87
|
+
alert: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "content" | "indicator" | "root" | "title", {
|
79
88
|
status: {
|
80
89
|
info: {
|
81
90
|
root: {
|
@@ -381,7 +390,7 @@ export declare const slotRecipes: {
|
|
381
390
|
};
|
382
391
|
};
|
383
392
|
}>;
|
384
|
-
card: import("@chakra-ui/react").SlotRecipeDefinition<"
|
393
|
+
card: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "body" | "root" | "title" | "header" | "footer", {
|
385
394
|
size: {
|
386
395
|
sm: {
|
387
396
|
root: {
|
@@ -459,7 +468,7 @@ export declare const slotRecipes: {
|
|
459
468
|
};
|
460
469
|
};
|
461
470
|
}>;
|
462
|
-
checkbox: import("@chakra-ui/react").SlotRecipeDefinition<"
|
471
|
+
checkbox: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "control" | "indicator" | "root" | "group", {
|
463
472
|
size: {
|
464
473
|
xs: {
|
465
474
|
root: {
|
@@ -539,7 +548,7 @@ export declare const slotRecipes: {
|
|
539
548
|
};
|
540
549
|
};
|
541
550
|
}>;
|
542
|
-
checkboxCard: import("@chakra-ui/react").SlotRecipeDefinition<"
|
551
|
+
checkboxCard: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "content" | "label" | "control" | "indicator" | "root" | "addon", {
|
543
552
|
size: {
|
544
553
|
sm: {
|
545
554
|
root: {
|
@@ -728,6 +737,134 @@ export declare const slotRecipes: {
|
|
728
737
|
};
|
729
738
|
}>;
|
730
739
|
collapsible: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "indicator" | "root" | "trigger", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "indicator" | "root" | "trigger">>;
|
740
|
+
combobox: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "label" | "control" | "root" | "item" | "itemIndicator" | "positioner" | "list" | "trigger" | "input" | "itemGroup" | "clearTrigger" | "itemGroupLabel" | "itemText" | "indicatorGroup" | "empty", {
|
741
|
+
variant: {
|
742
|
+
outline: {
|
743
|
+
input: {
|
744
|
+
bg: "transparent";
|
745
|
+
borderWidth: "1px";
|
746
|
+
borderColor: "border";
|
747
|
+
focusVisibleRing: "inside";
|
748
|
+
};
|
749
|
+
};
|
750
|
+
subtle: {
|
751
|
+
input: {
|
752
|
+
borderWidth: "1px";
|
753
|
+
borderColor: "transparent";
|
754
|
+
bg: "bg.muted";
|
755
|
+
focusVisibleRing: "inside";
|
756
|
+
};
|
757
|
+
};
|
758
|
+
flushed: {
|
759
|
+
input: {
|
760
|
+
bg: "transparent";
|
761
|
+
borderBottomWidth: "1px";
|
762
|
+
borderBottomColor: "border";
|
763
|
+
borderRadius: "0";
|
764
|
+
px: "0";
|
765
|
+
_focusVisible: {
|
766
|
+
borderColor: "var(--focus-color)";
|
767
|
+
boxShadow: "0px 1px 0px 0px var(--focus-color)";
|
768
|
+
};
|
769
|
+
};
|
770
|
+
indicatorGroup: {
|
771
|
+
px: "0";
|
772
|
+
};
|
773
|
+
};
|
774
|
+
};
|
775
|
+
size: {
|
776
|
+
xs: {
|
777
|
+
root: {
|
778
|
+
'--combobox-input-height': "sizes.6";
|
779
|
+
'--combobox-input-padding-x': "spacing.2";
|
780
|
+
'--combobox-indicator-size': "sizes.3.5";
|
781
|
+
};
|
782
|
+
input: {
|
783
|
+
textStyle: "xs";
|
784
|
+
};
|
785
|
+
content: {
|
786
|
+
'--combobox-item-padding-x': "spacing.1";
|
787
|
+
'--combobox-item-padding-y': "spacing.0.5";
|
788
|
+
'--combobox-indicator-size': "sizes.3.5";
|
789
|
+
p: "0.5";
|
790
|
+
textStyle: "xs";
|
791
|
+
};
|
792
|
+
trigger: {
|
793
|
+
textStyle: "xs";
|
794
|
+
gap: "1";
|
795
|
+
};
|
796
|
+
};
|
797
|
+
sm: {
|
798
|
+
root: {
|
799
|
+
'--combobox-input-height': "sizes.7";
|
800
|
+
'--combobox-input-padding-x': "spacing.2.5";
|
801
|
+
'--combobox-indicator-size': "sizes.4";
|
802
|
+
};
|
803
|
+
input: {
|
804
|
+
textStyle: "sm";
|
805
|
+
};
|
806
|
+
content: {
|
807
|
+
'--combobox-item-padding-x': "spacing.1.5";
|
808
|
+
'--combobox-item-padding-y': "spacing.1";
|
809
|
+
'--combobox-indicator-size': "sizes.4";
|
810
|
+
p: "0.5";
|
811
|
+
textStyle: "xs";
|
812
|
+
};
|
813
|
+
trigger: {
|
814
|
+
textStyle: "xs";
|
815
|
+
gap: "1";
|
816
|
+
};
|
817
|
+
};
|
818
|
+
md: {
|
819
|
+
root: {
|
820
|
+
'--combobox-input-height': "sizes.8";
|
821
|
+
'--combobox-input-padding-x': "spacing.3";
|
822
|
+
'--combobox-indicator-size': "sizes.4";
|
823
|
+
};
|
824
|
+
input: {
|
825
|
+
textStyle: "sm";
|
826
|
+
};
|
827
|
+
content: {
|
828
|
+
'--combobox-item-padding-x': "spacing.2";
|
829
|
+
'--combobox-item-padding-y': "spacing.1.5";
|
830
|
+
'--combobox-indicator-size': "sizes.4";
|
831
|
+
p: "1";
|
832
|
+
textStyle: "sm";
|
833
|
+
};
|
834
|
+
itemIndicator: {
|
835
|
+
display: "flex";
|
836
|
+
alignItems: "center";
|
837
|
+
justifyContent: "center";
|
838
|
+
};
|
839
|
+
trigger: {
|
840
|
+
textStyle: "sm";
|
841
|
+
gap: "2";
|
842
|
+
};
|
843
|
+
};
|
844
|
+
lg: {
|
845
|
+
root: {
|
846
|
+
'--combobox-input-height': "sizes.10";
|
847
|
+
'--combobox-input-padding-x': "spacing.4";
|
848
|
+
'--combobox-indicator-size': "sizes.5";
|
849
|
+
};
|
850
|
+
input: {
|
851
|
+
textStyle: "md";
|
852
|
+
};
|
853
|
+
content: {
|
854
|
+
'--combobox-item-padding-y': "spacing.2";
|
855
|
+
'--combobox-item-padding-x': "spacing.3";
|
856
|
+
'--combobox-indicator-size': "sizes.5";
|
857
|
+
p: "1.5";
|
858
|
+
textStyle: "md";
|
859
|
+
};
|
860
|
+
trigger: {
|
861
|
+
textStyle: "md";
|
862
|
+
py: "3";
|
863
|
+
gap: "2";
|
864
|
+
};
|
865
|
+
};
|
866
|
+
};
|
867
|
+
}>;
|
731
868
|
dataList: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "item" | "itemLabel" | "itemValue", {
|
732
869
|
orientation: {
|
733
870
|
horizontal: {
|
@@ -783,7 +920,7 @@ export declare const slotRecipes: {
|
|
783
920
|
};
|
784
921
|
};
|
785
922
|
}>;
|
786
|
-
dialog: import("@chakra-ui/react").SlotRecipeDefinition<"
|
923
|
+
dialog: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "content" | "body" | "backdrop" | "positioner" | "closeTrigger" | "title" | "header" | "footer" | "trigger", {
|
787
924
|
variant: {
|
788
925
|
dialog: {};
|
789
926
|
confirm: {
|
@@ -949,7 +1086,7 @@ export declare const slotRecipes: {
|
|
949
1086
|
none: {};
|
950
1087
|
};
|
951
1088
|
}>;
|
952
|
-
drawer: import("@chakra-ui/react").SlotRecipeDefinition<"
|
1089
|
+
drawer: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "content" | "body" | "backdrop" | "positioner" | "closeTrigger" | "title" | "header" | "footer" | "trigger", {
|
953
1090
|
size: {
|
954
1091
|
xs: {
|
955
1092
|
content: {
|
@@ -1062,7 +1199,7 @@ export declare const slotRecipes: {
|
|
1062
1199
|
};
|
1063
1200
|
};
|
1064
1201
|
}>;
|
1065
|
-
editable: import("@chakra-ui/react").SlotRecipeDefinition<"
|
1202
|
+
editable: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "textarea" | "control" | "root" | "input" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger", {
|
1066
1203
|
size: {
|
1067
1204
|
sm: {
|
1068
1205
|
root: {
|
@@ -1099,7 +1236,7 @@ export declare const slotRecipes: {
|
|
1099
1236
|
};
|
1100
1237
|
};
|
1101
1238
|
}>;
|
1102
|
-
emptyState: import("@chakra-ui/react").SlotRecipeDefinition<"
|
1239
|
+
emptyState: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "content" | "indicator" | "root" | "title" | "actions", {
|
1103
1240
|
size: {
|
1104
1241
|
sm: {
|
1105
1242
|
root: {
|
@@ -1210,7 +1347,7 @@ export declare const slotRecipes: {
|
|
1210
1347
|
};
|
1211
1348
|
};
|
1212
1349
|
}>;
|
1213
|
-
fileUpload: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "root" | "item" | "itemContent" | "trigger" | "
|
1350
|
+
fileUpload: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "root" | "item" | "itemContent" | "trigger" | "itemGroup" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "dropzoneContent" | "fileText", import("@chakra-ui/react").SlotRecipeVariantRecord<"label" | "root" | "item" | "itemContent" | "trigger" | "itemGroup" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "dropzoneContent" | "fileText">>;
|
1214
1351
|
hoverCard: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "positioner" | "trigger" | "arrow" | "arrowTip", {
|
1215
1352
|
size: {
|
1216
1353
|
xs: {
|
@@ -1277,7 +1414,7 @@ export declare const slotRecipes: {
|
|
1277
1414
|
};
|
1278
1415
|
};
|
1279
1416
|
}>;
|
1280
|
-
menu: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "indicator" | "item" | "itemIndicator" | "positioner" | "separator" | "trigger" | "itemGroup" | "
|
1417
|
+
menu: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "indicator" | "item" | "itemIndicator" | "positioner" | "separator" | "trigger" | "itemGroup" | "itemGroupLabel" | "itemText" | "arrow" | "arrowTip" | "contextTrigger" | "triggerItem" | "itemCommand", {
|
1281
1418
|
variant: {
|
1282
1419
|
subtle: {
|
1283
1420
|
item: {
|
@@ -1424,7 +1561,7 @@ export declare const slotRecipes: {
|
|
1424
1561
|
};
|
1425
1562
|
};
|
1426
1563
|
}>;
|
1427
|
-
numberInput: import("@chakra-ui/react").SlotRecipeDefinition<"
|
1564
|
+
numberInput: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "control" | "root" | "input" | "valueText" | "incrementTrigger" | "decrementTrigger" | "scrubber", {
|
1428
1565
|
size: {
|
1429
1566
|
xs: {
|
1430
1567
|
input: {
|
@@ -1568,7 +1705,7 @@ export declare const slotRecipes: {
|
|
1568
1705
|
};
|
1569
1706
|
};
|
1570
1707
|
}>;
|
1571
|
-
pinInput: import("@chakra-ui/react").SlotRecipeDefinition<"
|
1708
|
+
pinInput: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "control" | "root" | "input", {
|
1572
1709
|
size: {
|
1573
1710
|
sm: {
|
1574
1711
|
input: {
|
@@ -1804,7 +1941,7 @@ export declare const slotRecipes: {
|
|
1804
1941
|
};
|
1805
1942
|
};
|
1806
1943
|
}>;
|
1807
|
-
popover: import("@chakra-ui/react").SlotRecipeDefinition<"
|
1944
|
+
popover: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "content" | "body" | "anchor" | "indicator" | "positioner" | "closeTrigger" | "title" | "header" | "footer" | "trigger" | "arrow" | "arrowTip", {
|
1808
1945
|
size: {
|
1809
1946
|
xs: {
|
1810
1947
|
content: {
|
@@ -1914,8 +2051,8 @@ export declare const slotRecipes: {
|
|
1914
2051
|
size: {
|
1915
2052
|
xs: {
|
1916
2053
|
circle: {
|
1917
|
-
'--size': "
|
1918
|
-
'--thickness': "
|
2054
|
+
'--size': "6";
|
2055
|
+
'--thickness': "3px";
|
1919
2056
|
};
|
1920
2057
|
valueText: {
|
1921
2058
|
textStyle: "2xs";
|
@@ -1959,7 +2096,7 @@ export declare const slotRecipes: {
|
|
1959
2096
|
};
|
1960
2097
|
};
|
1961
2098
|
}>;
|
1962
|
-
radioCard: import("@chakra-ui/react").SlotRecipeDefinition<"
|
2099
|
+
radioCard: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "indicator" | "root" | "item" | "itemContent" | "itemIndicator" | "itemText" | "itemControl" | "itemAddon" | "itemDescription", {
|
1963
2100
|
size: {
|
1964
2101
|
sm: {
|
1965
2102
|
item: {
|
@@ -2150,7 +2287,7 @@ export declare const slotRecipes: {
|
|
2150
2287
|
};
|
2151
2288
|
};
|
2152
2289
|
}>;
|
2153
|
-
radioGroup: import("@chakra-ui/react").SlotRecipeDefinition<"
|
2290
|
+
radioGroup: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "indicator" | "root" | "item" | "itemIndicator" | "itemText" | "itemControl" | "itemAddon", {
|
2154
2291
|
variant: {
|
2155
2292
|
outline: {
|
2156
2293
|
itemControl: {
|
@@ -2227,7 +2364,7 @@ export declare const slotRecipes: {
|
|
2227
2364
|
};
|
2228
2365
|
};
|
2229
2366
|
}>;
|
2230
|
-
ratingGroup: import("@chakra-ui/react").SlotRecipeDefinition<"
|
2367
|
+
ratingGroup: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "control" | "root" | "item" | "itemIndicator", {
|
2231
2368
|
size: {
|
2232
2369
|
xs: {
|
2233
2370
|
item: {
|
@@ -2251,7 +2388,7 @@ export declare const slotRecipes: {
|
|
2251
2388
|
};
|
2252
2389
|
};
|
2253
2390
|
}>;
|
2254
|
-
segmentGroup: import("@chakra-ui/react").SlotRecipeDefinition<"
|
2391
|
+
segmentGroup: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "indicator" | "root" | "item" | "itemText" | "itemControl", {
|
2255
2392
|
size: {
|
2256
2393
|
xs: {
|
2257
2394
|
root: {
|
@@ -2299,7 +2436,7 @@ export declare const slotRecipes: {
|
|
2299
2436
|
};
|
2300
2437
|
};
|
2301
2438
|
}>;
|
2302
|
-
select: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "
|
2439
|
+
select: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "label" | "control" | "indicator" | "root" | "item" | "itemIndicator" | "positioner" | "list" | "trigger" | "itemGroup" | "clearTrigger" | "itemGroupLabel" | "itemText" | "indicatorGroup" | "valueText", {
|
2303
2440
|
variant: {
|
2304
2441
|
outline: {
|
2305
2442
|
trigger: {
|
@@ -2454,7 +2591,7 @@ export declare const slotRecipes: {
|
|
2454
2591
|
};
|
2455
2592
|
};
|
2456
2593
|
}>;
|
2457
|
-
slider: import("@chakra-ui/react").SlotRecipeDefinition<"marker" | "
|
2594
|
+
slider: import("@chakra-ui/react").SlotRecipeDefinition<"marker" | "label" | "control" | "root" | "valueText" | "track" | "range" | "thumb" | "markerGroup" | "draggingIndicator" | "markerIndicator", {
|
2458
2595
|
size: {
|
2459
2596
|
sm: {
|
2460
2597
|
root: {
|
@@ -2555,7 +2692,7 @@ export declare const slotRecipes: {
|
|
2555
2692
|
};
|
2556
2693
|
};
|
2557
2694
|
}>;
|
2558
|
-
stat: import("@chakra-ui/react").SlotRecipeDefinition<"
|
2695
|
+
stat: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "indicator" | "root" | "valueText" | "helpText" | "valueUnit", {
|
2559
2696
|
size: {
|
2560
2697
|
sm: {
|
2561
2698
|
valueText: {
|
@@ -2574,7 +2711,7 @@ export declare const slotRecipes: {
|
|
2574
2711
|
};
|
2575
2712
|
};
|
2576
2713
|
}>;
|
2577
|
-
steps: import("@chakra-ui/react").SlotRecipeDefinition<"
|
2714
|
+
steps: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "content" | "progress" | "indicator" | "root" | "item" | "separator" | "title" | "list" | "trigger" | "nextTrigger" | "prevTrigger", {
|
2578
2715
|
orientation: {
|
2579
2716
|
vertical: {
|
2580
2717
|
root: {
|
@@ -2716,7 +2853,7 @@ export declare const slotRecipes: {
|
|
2716
2853
|
};
|
2717
2854
|
};
|
2718
2855
|
}>;
|
2719
|
-
switch: import("@chakra-ui/react").SlotRecipeDefinition<"
|
2856
|
+
switch: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "control" | "indicator" | "root" | "thumb", {
|
2720
2857
|
variant: {
|
2721
2858
|
solid: {
|
2722
2859
|
control: {
|
@@ -3177,7 +3314,7 @@ export declare const slotRecipes: {
|
|
3177
3314
|
};
|
3178
3315
|
};
|
3179
3316
|
}>;
|
3180
|
-
tag: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "root" | "closeTrigger" | "
|
3317
|
+
tag: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "root" | "closeTrigger" | "endElement" | "startElement", {
|
3181
3318
|
size: {
|
3182
3319
|
sm: {
|
3183
3320
|
root: {
|
@@ -3302,7 +3439,7 @@ export declare const slotRecipes: {
|
|
3302
3439
|
};
|
3303
3440
|
};
|
3304
3441
|
}>;
|
3305
|
-
timeline: import("@chakra-ui/react").SlotRecipeDefinition<"
|
3442
|
+
timeline: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "content" | "indicator" | "root" | "item" | "separator" | "title" | "connector", {
|
3306
3443
|
variant: {
|
3307
3444
|
subtle: {
|
3308
3445
|
indicator: {
|
@@ -3403,7 +3540,7 @@ export declare const slotRecipes: {
|
|
3403
3540
|
};
|
3404
3541
|
};
|
3405
3542
|
}>;
|
3406
|
-
suiPersona: import("@chakra-ui/react").SlotRecipeDefinition<"
|
3543
|
+
suiPersona: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "presence" | "root" | "avatar" | "details" | "secondaryLabel" | "tertiaryLabel", {
|
3407
3544
|
size: {
|
3408
3545
|
'2xs': {
|
3409
3546
|
details: {
|
@@ -3722,6 +3859,11 @@ export declare const slotRecipes: {
|
|
3722
3859
|
color: "sidebar.accent.fg";
|
3723
3860
|
'--sidebar-item-icon-color': "sidebar.accent.fg";
|
3724
3861
|
};
|
3862
|
+
_currentPage: {
|
3863
|
+
bg: "sidebar.accent.bg";
|
3864
|
+
color: "sidebar.accent.fg";
|
3865
|
+
'--sidebar-item-icon-color': "sidebar.accent.fg";
|
3866
|
+
};
|
3725
3867
|
};
|
3726
3868
|
};
|
3727
3869
|
};
|
@@ -9,6 +9,7 @@ import { cardSlotRecipe } from "../components/card/card.recipe.js";
|
|
9
9
|
import { checkboxCardSlotRecipe } from "../components/checkbox-card/checkbox-card.recipe.js";
|
10
10
|
import { checkboxSlotRecipe } from "../components/checkbox/checkbox.recipe.js";
|
11
11
|
import { collapsibleSlotRecipe } from "../components/collapsible/collapsible.recipe.js";
|
12
|
+
import { comboboxSlotRecipe } from "../components/combobox/combobox.recipe.js";
|
12
13
|
import { dataListSlotRecipe } from "../components/data-list/data-list.recipe.js";
|
13
14
|
import { dialogSlotRecipe } from "../components/dialog/dialog.recipe.js";
|
14
15
|
import { drawerSlotRecipe } from "../components/drawer/drawer.recipe.js";
|
@@ -61,6 +62,7 @@ export const slotRecipes = {
|
|
61
62
|
checkbox: checkboxSlotRecipe,
|
62
63
|
checkboxCard: checkboxCardSlotRecipe,
|
63
64
|
collapsible: collapsibleSlotRecipe,
|
65
|
+
combobox: comboboxSlotRecipe,
|
64
66
|
dataList: dataListSlotRecipe,
|
65
67
|
dialog: dialogSlotRecipe,
|
66
68
|
drawer: drawerSlotRecipe,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@saas-ui/react",
|
3
|
-
"version": "3.0.0-next.
|
3
|
+
"version": "3.0.0-next.36",
|
4
4
|
"description": "Saas UI - The React component library for startups.",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -28,17 +28,6 @@
|
|
28
28
|
"main": "./dist/index.js",
|
29
29
|
"module": "./dist/index.js",
|
30
30
|
"types": "./dist/index.d.ts",
|
31
|
-
"scripts": {
|
32
|
-
"clean": "rimraf --no-glob ./dist",
|
33
|
-
"build:tsup": "NODE_OPTIONS='--max-old-space-size=16384' tsup --config tsup.config.ts ",
|
34
|
-
"build:components": "tsup --config tsup.components.config.ts --dts-only",
|
35
|
-
"build:types": "tsc --emitDeclarationOnly --outDir dist --project tsconfig.json",
|
36
|
-
"prebuild": "yarn clean",
|
37
|
-
"build": "tsc --outDir dist --project tsconfig.json",
|
38
|
-
"lint": "eslint src --ext .ts,.tsx,.js,.jsx --config ../../eslint.config.js",
|
39
|
-
"lint:staged": "lint-staged --allow-empty --config ../../lint-staged.config.js",
|
40
|
-
"typecheck": "tsc --noEmit"
|
41
|
-
},
|
42
31
|
"files": [
|
43
32
|
"dist"
|
44
33
|
],
|
@@ -71,12 +60,13 @@
|
|
71
60
|
"url": "https://storybook.saas-ui.dev"
|
72
61
|
},
|
73
62
|
"dependencies": {
|
74
|
-
"@ark-ui/react": "^5.
|
75
|
-
"
|
76
|
-
"@saas-ui/hooks": "3.0.0-next.
|
63
|
+
"@ark-ui/react": "^5.9.1",
|
64
|
+
"next-themes": "^0.4.6",
|
65
|
+
"@saas-ui/hooks": "3.0.0-next.3",
|
66
|
+
"@saas-ui/core": "3.0.0-next.10"
|
77
67
|
},
|
78
68
|
"peerDependencies": {
|
79
|
-
"@chakra-ui/react": "^3.
|
69
|
+
"@chakra-ui/react": "^3.20.0",
|
80
70
|
"@emotion/react": "^11",
|
81
71
|
"react": ">=18",
|
82
72
|
"react-dom": ">=18"
|
@@ -85,6 +75,21 @@
|
|
85
75
|
"react-icons": "^5.5.0",
|
86
76
|
"rimraf": "^6.0.1",
|
87
77
|
"tsup": "^8.4.0",
|
88
|
-
"typescript": "^5.8.
|
78
|
+
"typescript": "^5.8.3",
|
79
|
+
"react": "^19.0.0",
|
80
|
+
"react-dom": "^19.0.0",
|
81
|
+
"@types/react": "^19.0.12",
|
82
|
+
"@types/react-dom": "^19.0.4"
|
83
|
+
},
|
84
|
+
"scripts": {
|
85
|
+
"clean": "rimraf --no-glob ./dist",
|
86
|
+
"build:tsup": "NODE_OPTIONS='--max-old-space-size=16384' tsup --config tsup.config.ts ",
|
87
|
+
"build:components": "tsup --config tsup.components.config.ts --dts-only",
|
88
|
+
"build:types": "tsc --emitDeclarationOnly --outDir dist --project tsconfig.json",
|
89
|
+
"prebuild": "pnpm clean",
|
90
|
+
"build": "tsc --outDir dist --project tsconfig.json",
|
91
|
+
"lint": "eslint src --ext .ts,.tsx,.js,.jsx --config ../../eslint.config.js",
|
92
|
+
"lint:staged": "lint-staged --allow-empty --config ../../lint-staged.config.js",
|
93
|
+
"typecheck": "tsc --noEmit"
|
89
94
|
}
|
90
95
|
}
|