wicn-react 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -32,7 +32,6 @@ var index_exports = {};
32
32
  __export(index_exports, {
33
33
  Badge: () => Badge,
34
34
  Button: () => Button,
35
- Card: () => Card,
36
35
  CardBody: () => CardBody,
37
36
  CardCover: () => CardCover,
38
37
  CardDescription: () => CardDescription,
@@ -47,7 +46,6 @@ __export(index_exports, {
47
46
  Item: () => Item,
48
47
  Row: () => Row,
49
48
  Scroll: () => Scroll,
50
- Sidebar: () => Sidebar,
51
49
  SidebarContent: () => Content,
52
50
  SidebarFooter: () => Footer,
53
51
  SidebarGroup: () => Group,
@@ -70,7 +68,6 @@ __export(index_exports, {
70
68
  SidebarRoot: () => Root,
71
69
  SidebarSeparator: () => Separator,
72
70
  SidebarTrigger: () => Trigger,
73
- Splitter: () => Splitter,
74
71
  SplitterPanel: () => SplitterPanel,
75
72
  SplitterResizeTrigger: () => SplitterResizeTrigger,
76
73
  SplitterResizeTriggerIndicator: () => SplitterResizeTriggerIndicator,
@@ -223,17 +220,6 @@ function CardCover({ className, variant, orientation, ...props }) {
223
220
  );
224
221
  }
225
222
 
226
- // src/card/index.ts
227
- var Card = {
228
- Root: CardRoot,
229
- Header: CardHeader,
230
- Body: CardBody,
231
- Footer: CardFooter,
232
- Title: CardTitle,
233
- Description: CardDescription,
234
- Cover: CardCover
235
- };
236
-
237
223
  // src/stack.tsx
238
224
  var import_factory15 = require("@ark-ui/react/factory");
239
225
  var import_wicn_core16 = require("wicn-core");
@@ -297,12 +283,6 @@ function SplitterResizeTriggerIndicator({
297
283
  }
298
284
  );
299
285
  }
300
- var Splitter = {
301
- Root: SplitterRoot,
302
- Panel: SplitterPanel,
303
- ResizeTrigger: SplitterResizeTrigger,
304
- ResizeTriggerIndicator: SplitterResizeTriggerIndicator
305
- };
306
286
 
307
287
  // src/sidebar/Provider.tsx
308
288
  var React2 = __toESM(require("react"), 1);
@@ -895,38 +875,10 @@ function Input({ className, ...props }) {
895
875
  }
896
876
  );
897
877
  }
898
-
899
- // src/sidebar/index.ts
900
- var Sidebar = Object.assign(Root, {
901
- Provider,
902
- Root,
903
- Header,
904
- Footer,
905
- Separator,
906
- Content,
907
- Group,
908
- GroupAction,
909
- Menu,
910
- MenuItem,
911
- MenuButton,
912
- MenuLink,
913
- MenuAction,
914
- MenuBadge,
915
- MenuSkeleton,
916
- MenuSub,
917
- MenuSubItem,
918
- MenuSubButton,
919
- Trigger,
920
- Rail,
921
- Inset,
922
- Input,
923
- useSidebar
924
- });
925
878
  // Annotate the CommonJS export names for ESM import in node:
926
879
  0 && (module.exports = {
927
880
  Badge,
928
881
  Button,
929
- Card,
930
882
  CardBody,
931
883
  CardCover,
932
884
  CardDescription,
@@ -941,7 +893,6 @@ var Sidebar = Object.assign(Root, {
941
893
  Item,
942
894
  Row,
943
895
  Scroll,
944
- Sidebar,
945
896
  SidebarContent,
946
897
  SidebarFooter,
947
898
  SidebarGroup,
@@ -964,7 +915,6 @@ var Sidebar = Object.assign(Root, {
964
915
  SidebarRoot,
965
916
  SidebarSeparator,
966
917
  SidebarTrigger,
967
- Splitter,
968
918
  SplitterPanel,
969
919
  SplitterResizeTrigger,
970
920
  SplitterResizeTriggerIndicator,
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ import { HTMLArkProps } from '@ark-ui/react/factory';
3
3
  import { ButtonProps as ButtonProps$1, ToggleButtonProps as ToggleButtonProps$1, BadgeProps as BadgeProps$1, ItemProps as ItemProps$1, CardRootProps, CardCoverProps as CardCoverProps$1, sidebarMenuButtonVariants, SidebarContextProps } from 'wicn-core';
4
4
  import { ToggleRootProps, ToggleIndicatorProps } from '@ark-ui/react/toggle';
5
5
  import { ScrollAreaRootProps } from '@ark-ui/react/scroll-area';
6
- import { SplitterRootProps, SplitterPanelProps, SplitterResizeTriggerProps, SplitterResizeTriggerIndicatorProps } from '@ark-ui/react/splitter';
6
+ import { SplitterPanelProps, SplitterResizeTriggerProps, SplitterResizeTriggerIndicatorProps, SplitterRootProps } from '@ark-ui/react/splitter';
7
7
  export { SplitterPanelProps, SplitterResizeTriggerIndicatorProps, SplitterResizeTriggerProps, SplitterRootProps } from '@ark-ui/react/splitter';
8
8
  import { TooltipContent } from '@ark-ui/react/tooltip';
9
9
 
@@ -53,16 +53,6 @@ declare function CardDescription({ className, ...props }: CardDescriptionProps):
53
53
  type CardCoverProps = HTMLArkProps<'div'> & CardCoverProps$1;
54
54
  declare function CardCover({ className, variant, orientation, ...props }: CardCoverProps): react.JSX.Element;
55
55
 
56
- declare const Card: {
57
- Root: typeof CardRoot;
58
- Header: typeof CardHeader;
59
- Body: typeof CardBody;
60
- Footer: typeof CardFooter;
61
- Title: typeof CardTitle;
62
- Description: typeof CardDescription;
63
- Cover: typeof CardCover;
64
- };
65
-
66
56
  type StackProps = HTMLArkProps<'div'>;
67
57
  type HStackProps = HTMLArkProps<'div'>;
68
58
  type VStackProps = HTMLArkProps<'div'>;
@@ -84,12 +74,6 @@ declare function SplitterRoot({ className, ...props }: SplitterRootProps): react
84
74
  declare function SplitterPanel({ className, ...props }: SplitterPanelProps): react.JSX.Element;
85
75
  declare function SplitterResizeTrigger({ className, children, ...props }: SplitterResizeTriggerProps): react.JSX.Element;
86
76
  declare function SplitterResizeTriggerIndicator({ className, ...props }: SplitterResizeTriggerIndicatorProps): react.JSX.Element;
87
- declare const Splitter: {
88
- Root: typeof SplitterRoot;
89
- Panel: typeof SplitterPanel;
90
- ResizeTrigger: typeof SplitterResizeTrigger;
91
- ResizeTriggerIndicator: typeof SplitterResizeTriggerIndicator;
92
- };
93
77
 
94
78
  declare function Provider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: react.ComponentProps<'div'> & {
95
79
  defaultOpen?: boolean;
@@ -184,30 +168,4 @@ declare function Input({ className, ...props }: HTMLArkProps<'input'>): react.JS
184
168
 
185
169
  declare function useSidebar(): SidebarContextProps;
186
170
 
187
- declare const Sidebar: typeof Root & {
188
- Provider: typeof Provider;
189
- Root: typeof Root;
190
- Header: typeof Header;
191
- Footer: typeof Footer;
192
- Separator: typeof Separator;
193
- Content: typeof Content;
194
- Group: typeof Group;
195
- GroupAction: typeof GroupAction;
196
- Menu: typeof Menu;
197
- MenuItem: typeof MenuItem;
198
- MenuButton: typeof MenuButton;
199
- MenuLink: typeof MenuLink;
200
- MenuAction: typeof MenuAction;
201
- MenuBadge: typeof MenuBadge;
202
- MenuSkeleton: typeof MenuSkeleton;
203
- MenuSub: typeof MenuSub;
204
- MenuSubItem: typeof MenuSubItem;
205
- MenuSubButton: typeof MenuSubButton;
206
- Trigger: typeof Trigger;
207
- Rail: typeof Rail;
208
- Inset: typeof Inset;
209
- Input: typeof Input;
210
- useSidebar: typeof useSidebar;
211
- };
212
-
213
- export { Badge, type BadgeProps, Button, type ButtonProps, Card, CardBody, type CardBodyProps, CardCover, type CardCoverProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardRoot, CardTitle, type CardTitleProps, Center, type CenterProps, Col, type ColProps, Container, type ContainerProps, HStack, type HStackProps, Item, type ItemProps, Row, type RowProps, Scroll, type ScrollProps, Sidebar, Content as SidebarContent, Footer as SidebarFooter, Group as SidebarGroup, GroupAction as SidebarGroupAction, Header as SidebarHeader, Input as SidebarInput, Inset as SidebarInset, Menu as SidebarMenu, MenuAction as SidebarMenuAction, MenuBadge as SidebarMenuBadge, MenuButton as SidebarMenuButton, MenuItem as SidebarMenuItem, MenuLink as SidebarMenuLink, MenuSkeleton as SidebarMenuSkeleton, MenuSub as SidebarMenuSub, MenuSubButton as SidebarMenuSubButton, MenuSubItem as SidebarMenuSubItem, Provider as SidebarProvider, Rail as SidebarRail, Root as SidebarRoot, Separator as SidebarSeparator, Trigger as SidebarTrigger, Splitter, SplitterPanel, SplitterResizeTrigger, SplitterResizeTriggerIndicator, SplitterRoot, Stack, type StackProps, ToggleButton, ToggleButtonIndicator, type ToggleButtonProps, VStack, type VStackProps, useSidebar };
171
+ export { Badge, type BadgeProps, Button, type ButtonProps, CardBody, type CardBodyProps, CardCover, type CardCoverProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardRoot, CardTitle, type CardTitleProps, Center, type CenterProps, Col, type ColProps, Container, type ContainerProps, HStack, type HStackProps, Item, type ItemProps, Row, type RowProps, Scroll, type ScrollProps, Content as SidebarContent, Footer as SidebarFooter, Group as SidebarGroup, GroupAction as SidebarGroupAction, Header as SidebarHeader, Input as SidebarInput, Inset as SidebarInset, Menu as SidebarMenu, MenuAction as SidebarMenuAction, MenuBadge as SidebarMenuBadge, MenuButton as SidebarMenuButton, MenuItem as SidebarMenuItem, MenuLink as SidebarMenuLink, MenuSkeleton as SidebarMenuSkeleton, MenuSub as SidebarMenuSub, MenuSubButton as SidebarMenuSubButton, MenuSubItem as SidebarMenuSubItem, Provider as SidebarProvider, Rail as SidebarRail, Root as SidebarRoot, Separator as SidebarSeparator, Trigger as SidebarTrigger, SplitterPanel, SplitterResizeTrigger, SplitterResizeTriggerIndicator, SplitterRoot, Stack, type StackProps, ToggleButton, ToggleButtonIndicator, type ToggleButtonProps, VStack, type VStackProps, useSidebar };
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { HTMLArkProps } from '@ark-ui/react/factory';
3
3
  import { ButtonProps as ButtonProps$1, ToggleButtonProps as ToggleButtonProps$1, BadgeProps as BadgeProps$1, ItemProps as ItemProps$1, CardRootProps, CardCoverProps as CardCoverProps$1, sidebarMenuButtonVariants, SidebarContextProps } from 'wicn-core';
4
4
  import { ToggleRootProps, ToggleIndicatorProps } from '@ark-ui/react/toggle';
5
5
  import { ScrollAreaRootProps } from '@ark-ui/react/scroll-area';
6
- import { SplitterRootProps, SplitterPanelProps, SplitterResizeTriggerProps, SplitterResizeTriggerIndicatorProps } from '@ark-ui/react/splitter';
6
+ import { SplitterPanelProps, SplitterResizeTriggerProps, SplitterResizeTriggerIndicatorProps, SplitterRootProps } from '@ark-ui/react/splitter';
7
7
  export { SplitterPanelProps, SplitterResizeTriggerIndicatorProps, SplitterResizeTriggerProps, SplitterRootProps } from '@ark-ui/react/splitter';
8
8
  import { TooltipContent } from '@ark-ui/react/tooltip';
9
9
 
@@ -53,16 +53,6 @@ declare function CardDescription({ className, ...props }: CardDescriptionProps):
53
53
  type CardCoverProps = HTMLArkProps<'div'> & CardCoverProps$1;
54
54
  declare function CardCover({ className, variant, orientation, ...props }: CardCoverProps): react.JSX.Element;
55
55
 
56
- declare const Card: {
57
- Root: typeof CardRoot;
58
- Header: typeof CardHeader;
59
- Body: typeof CardBody;
60
- Footer: typeof CardFooter;
61
- Title: typeof CardTitle;
62
- Description: typeof CardDescription;
63
- Cover: typeof CardCover;
64
- };
65
-
66
56
  type StackProps = HTMLArkProps<'div'>;
67
57
  type HStackProps = HTMLArkProps<'div'>;
68
58
  type VStackProps = HTMLArkProps<'div'>;
@@ -84,12 +74,6 @@ declare function SplitterRoot({ className, ...props }: SplitterRootProps): react
84
74
  declare function SplitterPanel({ className, ...props }: SplitterPanelProps): react.JSX.Element;
85
75
  declare function SplitterResizeTrigger({ className, children, ...props }: SplitterResizeTriggerProps): react.JSX.Element;
86
76
  declare function SplitterResizeTriggerIndicator({ className, ...props }: SplitterResizeTriggerIndicatorProps): react.JSX.Element;
87
- declare const Splitter: {
88
- Root: typeof SplitterRoot;
89
- Panel: typeof SplitterPanel;
90
- ResizeTrigger: typeof SplitterResizeTrigger;
91
- ResizeTriggerIndicator: typeof SplitterResizeTriggerIndicator;
92
- };
93
77
 
94
78
  declare function Provider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: react.ComponentProps<'div'> & {
95
79
  defaultOpen?: boolean;
@@ -184,30 +168,4 @@ declare function Input({ className, ...props }: HTMLArkProps<'input'>): react.JS
184
168
 
185
169
  declare function useSidebar(): SidebarContextProps;
186
170
 
187
- declare const Sidebar: typeof Root & {
188
- Provider: typeof Provider;
189
- Root: typeof Root;
190
- Header: typeof Header;
191
- Footer: typeof Footer;
192
- Separator: typeof Separator;
193
- Content: typeof Content;
194
- Group: typeof Group;
195
- GroupAction: typeof GroupAction;
196
- Menu: typeof Menu;
197
- MenuItem: typeof MenuItem;
198
- MenuButton: typeof MenuButton;
199
- MenuLink: typeof MenuLink;
200
- MenuAction: typeof MenuAction;
201
- MenuBadge: typeof MenuBadge;
202
- MenuSkeleton: typeof MenuSkeleton;
203
- MenuSub: typeof MenuSub;
204
- MenuSubItem: typeof MenuSubItem;
205
- MenuSubButton: typeof MenuSubButton;
206
- Trigger: typeof Trigger;
207
- Rail: typeof Rail;
208
- Inset: typeof Inset;
209
- Input: typeof Input;
210
- useSidebar: typeof useSidebar;
211
- };
212
-
213
- export { Badge, type BadgeProps, Button, type ButtonProps, Card, CardBody, type CardBodyProps, CardCover, type CardCoverProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardRoot, CardTitle, type CardTitleProps, Center, type CenterProps, Col, type ColProps, Container, type ContainerProps, HStack, type HStackProps, Item, type ItemProps, Row, type RowProps, Scroll, type ScrollProps, Sidebar, Content as SidebarContent, Footer as SidebarFooter, Group as SidebarGroup, GroupAction as SidebarGroupAction, Header as SidebarHeader, Input as SidebarInput, Inset as SidebarInset, Menu as SidebarMenu, MenuAction as SidebarMenuAction, MenuBadge as SidebarMenuBadge, MenuButton as SidebarMenuButton, MenuItem as SidebarMenuItem, MenuLink as SidebarMenuLink, MenuSkeleton as SidebarMenuSkeleton, MenuSub as SidebarMenuSub, MenuSubButton as SidebarMenuSubButton, MenuSubItem as SidebarMenuSubItem, Provider as SidebarProvider, Rail as SidebarRail, Root as SidebarRoot, Separator as SidebarSeparator, Trigger as SidebarTrigger, Splitter, SplitterPanel, SplitterResizeTrigger, SplitterResizeTriggerIndicator, SplitterRoot, Stack, type StackProps, ToggleButton, ToggleButtonIndicator, type ToggleButtonProps, VStack, type VStackProps, useSidebar };
171
+ export { Badge, type BadgeProps, Button, type ButtonProps, CardBody, type CardBodyProps, CardCover, type CardCoverProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardRoot, CardTitle, type CardTitleProps, Center, type CenterProps, Col, type ColProps, Container, type ContainerProps, HStack, type HStackProps, Item, type ItemProps, Row, type RowProps, Scroll, type ScrollProps, Content as SidebarContent, Footer as SidebarFooter, Group as SidebarGroup, GroupAction as SidebarGroupAction, Header as SidebarHeader, Input as SidebarInput, Inset as SidebarInset, Menu as SidebarMenu, MenuAction as SidebarMenuAction, MenuBadge as SidebarMenuBadge, MenuButton as SidebarMenuButton, MenuItem as SidebarMenuItem, MenuLink as SidebarMenuLink, MenuSkeleton as SidebarMenuSkeleton, MenuSub as SidebarMenuSub, MenuSubButton as SidebarMenuSubButton, MenuSubItem as SidebarMenuSubItem, Provider as SidebarProvider, Rail as SidebarRail, Root as SidebarRoot, Separator as SidebarSeparator, Trigger as SidebarTrigger, SplitterPanel, SplitterResizeTrigger, SplitterResizeTriggerIndicator, SplitterRoot, Stack, type StackProps, ToggleButton, ToggleButtonIndicator, type ToggleButtonProps, VStack, type VStackProps, useSidebar };
package/dist/index.js CHANGED
@@ -138,17 +138,6 @@ function CardCover({ className, variant, orientation, ...props }) {
138
138
  );
139
139
  }
140
140
 
141
- // src/card/index.ts
142
- var Card = {
143
- Root: CardRoot,
144
- Header: CardHeader,
145
- Body: CardBody,
146
- Footer: CardFooter,
147
- Title: CardTitle,
148
- Description: CardDescription,
149
- Cover: CardCover
150
- };
151
-
152
141
  // src/stack.tsx
153
142
  import { ark as ark15 } from "@ark-ui/react/factory";
154
143
  import { stackBase, hstackBase, vstackBase, cn as cn16 } from "wicn-core";
@@ -239,12 +228,6 @@ function SplitterResizeTriggerIndicator({
239
228
  }
240
229
  );
241
230
  }
242
- var Splitter = {
243
- Root: SplitterRoot,
244
- Panel: SplitterPanel,
245
- ResizeTrigger: SplitterResizeTrigger,
246
- ResizeTriggerIndicator: SplitterResizeTriggerIndicator
247
- };
248
231
 
249
232
  // src/sidebar/Provider.tsx
250
233
  import * as React2 from "react";
@@ -850,37 +833,9 @@ function Input({ className, ...props }) {
850
833
  }
851
834
  );
852
835
  }
853
-
854
- // src/sidebar/index.ts
855
- var Sidebar = Object.assign(Root, {
856
- Provider,
857
- Root,
858
- Header,
859
- Footer,
860
- Separator,
861
- Content,
862
- Group,
863
- GroupAction,
864
- Menu,
865
- MenuItem,
866
- MenuButton,
867
- MenuLink,
868
- MenuAction,
869
- MenuBadge,
870
- MenuSkeleton,
871
- MenuSub,
872
- MenuSubItem,
873
- MenuSubButton,
874
- Trigger,
875
- Rail,
876
- Inset,
877
- Input,
878
- useSidebar
879
- });
880
836
  export {
881
837
  Badge,
882
838
  Button,
883
- Card,
884
839
  CardBody,
885
840
  CardCover,
886
841
  CardDescription,
@@ -895,7 +850,6 @@ export {
895
850
  Item,
896
851
  Row,
897
852
  Scroll,
898
- Sidebar,
899
853
  Content as SidebarContent,
900
854
  Footer as SidebarFooter,
901
855
  Group as SidebarGroup,
@@ -918,7 +872,6 @@ export {
918
872
  Root as SidebarRoot,
919
873
  Separator as SidebarSeparator,
920
874
  Trigger as SidebarTrigger,
921
- Splitter,
922
875
  SplitterPanel,
923
876
  SplitterResizeTrigger,
924
877
  SplitterResizeTriggerIndicator,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicn-react",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "description": "wicn React UI components",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@ark-ui/react": "^5.38.2",
30
- "wicn-core": "0.7.1"
30
+ "wicn-core": "0.8.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^22.0.0",