@saas-ui/react 3.0.0-alpha.4 → 3.0.0-alpha.5
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/CHANGELOG.md +7 -0
- package/dist/chunk-2EUACKRH.js +26 -0
- package/dist/chunk-3Z2C27LI.js +51 -0
- package/dist/chunk-4TR3AOMG.js +33 -0
- package/dist/chunk-6LOMIKR5.js +69 -0
- package/dist/chunk-6ZNR6N2K.js +45 -0
- package/dist/chunk-7C3IZBNJ.js +38 -0
- package/dist/chunk-BCNPBZZK.js +45 -0
- package/dist/{chunk-KHRLZUV4.js → chunk-BFA5FCA2.js} +16 -1
- package/dist/chunk-CTOVNZVS.js +1 -0
- package/dist/chunk-DPMEXCSG.js +137 -0
- package/dist/chunk-F3CVOMG5.js +160 -0
- package/dist/chunk-FJFNGSPL.js +23 -0
- package/dist/chunk-GEPWRHHH.js +65 -0
- package/dist/chunk-HELHPHIQ.js +35 -0
- package/dist/chunk-I2RXEKTB.js +38 -0
- package/dist/chunk-L356FPLY.js +20 -0
- package/dist/chunk-LIYUBUOP.js +119 -0
- package/dist/chunk-M7FOBCOV.js +184 -0
- package/dist/chunk-NSD5HRIP.js +46 -0
- package/dist/chunk-QMG6HP7Z.js +87 -0
- package/dist/chunk-QSNSWCTM.js +32 -0
- package/dist/chunk-S3CQW7GD.js +100 -0
- package/dist/chunk-SA3OGTOO.js +23 -0
- package/dist/chunk-UCQ3LZIE.js +43 -0
- package/dist/chunk-ULAJ3JEO.js +32 -0
- package/dist/chunk-VF3BV2BY.js +87 -0
- package/dist/chunk-WYLMBMAH.js +22 -0
- package/dist/chunk-YWJZWB6I.js +1892 -0
- package/dist/chunk-ZWSZQZ5G.js +73 -0
- package/dist/components/app-shell/index.js +3 -40
- package/dist/components/avatar/index.cjs +69 -0
- package/dist/components/avatar/index.d.cts +18 -0
- package/dist/components/avatar/index.d.ts +18 -0
- package/dist/components/avatar/index.js +10 -0
- package/dist/components/breadcrumbs/index.js +3 -32
- package/dist/components/button/index.js +3 -40
- package/dist/components/checkbox/index.js +3 -15
- package/dist/components/command/index.js +3 -28
- package/dist/components/dialog/index.js +5 -67
- package/dist/components/drawer/index.d.cts +2 -2
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/drawer/index.js +5 -59
- package/dist/components/empty-state/index.js +3 -18
- package/dist/components/grid-list/index.js +3 -40
- package/dist/components/icon-badge/index.js +3 -33
- package/dist/components/link/index.js +2 -14
- package/dist/components/loading-overlay/index.js +5 -1885
- package/dist/components/menu/index.cjs +263 -0
- package/dist/components/menu/index.d.cts +30 -0
- package/dist/components/menu/index.d.ts +30 -0
- package/dist/components/menu/index.js +9 -0
- package/dist/components/navbar/index.d.cts +4 -4
- package/dist/components/navbar/index.d.ts +4 -4
- package/dist/components/navbar/index.js +3 -45
- package/dist/components/number-input/index.js +3 -26
- package/dist/components/password-input/index.js +4 -225
- package/dist/components/persona/index.js +6 -178
- package/dist/components/pin-input/index.js +3 -21
- package/dist/components/radio/index.js +4 -16
- package/dist/components/search-input/index.js +4 -114
- package/dist/components/segmented-control/index.cjs +2 -0
- package/dist/components/segmented-control/index.d.cts +2 -0
- package/dist/components/segmented-control/index.d.ts +2 -0
- package/dist/components/segmented-control/index.js +2 -0
- package/dist/components/select/index.js +4 -94
- package/dist/components/sidebar/index.d.cts +11 -11
- package/dist/components/sidebar/index.d.ts +11 -11
- package/dist/components/sidebar/index.js +7 -129
- package/dist/components/steps/index.js +5 -64
- package/dist/components/switch/index.js +3 -18
- package/dist/components/toaster/index.cjs +54 -0
- package/dist/components/toaster/index.d.cts +10 -0
- package/dist/components/toaster/index.d.ts +10 -0
- package/dist/components/toaster/index.js +10 -0
- package/dist/components/tooltip/index.cjs +57 -0
- package/dist/components/tooltip/index.d.cts +14 -0
- package/dist/components/tooltip/index.d.ts +14 -0
- package/dist/components/tooltip/index.js +8 -0
- package/dist/index.cjs +3564 -8
- package/dist/index.d.cts +37 -2
- package/dist/index.d.ts +37 -2
- package/dist/index.js +142 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,45 @@
|
|
|
1
|
-
export * from '@saas-ui/core';
|
|
2
1
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
|
3
2
|
import { ChakraProviderProps } from '@chakra-ui/react';
|
|
4
|
-
export { createSystem } from '@chakra-ui/react';
|
|
3
|
+
export { LinkProps, createSystem } from '@chakra-ui/react';
|
|
5
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
5
|
import * as react from 'react';
|
|
7
6
|
import react__default from 'react';
|
|
7
|
+
export { AppShell, AppShellProps } from './components/app-shell/index.cjs';
|
|
8
|
+
export { Avatar, AvatarGroup, AvatarProps } from './components/avatar/index.cjs';
|
|
9
|
+
export { Breadcrumb } from './components/breadcrumbs/index.cjs';
|
|
10
|
+
export { Button, ButtonProps } from './components/button/index.cjs';
|
|
11
|
+
export { Checkbox, CheckboxProps } from './components/checkbox/index.cjs';
|
|
12
|
+
export { CloseButton, CloseButtonProps } from './components/close-button/index.cjs';
|
|
13
|
+
export { Command } from './components/command/index.cjs';
|
|
14
|
+
export { Dialog } from './components/dialog/index.cjs';
|
|
15
|
+
export { Drawer } from './components/drawer/index.cjs';
|
|
16
|
+
export { EmptyState, EmptyStateProps } from './components/empty-state/index.cjs';
|
|
17
|
+
export { GridList } from './components/grid-list/index.cjs';
|
|
18
|
+
export { IconBadge, IconBadgeProps } from './components/icon-badge/index.cjs';
|
|
19
|
+
export { InputGroup, InputGroupProps } from './components/input-group/index.cjs';
|
|
20
|
+
export { Link } from './components/link/index.cjs';
|
|
21
|
+
export { LoadingOverlay, useLoadingOverlayStyles } from './components/loading-overlay/index.cjs';
|
|
22
|
+
export { Navbar } from './components/navbar/index.cjs';
|
|
23
|
+
export { NumberInput, NumberInputProps } from './components/number-input/index.cjs';
|
|
24
|
+
export { Menu } from './components/menu/index.cjs';
|
|
25
|
+
export { PasswordInput, PasswordInputProps } from './components/password-input/index.cjs';
|
|
26
|
+
export { Persona, PersonaAvatar, PersonaAvatarProps, PersonaProps, Presence, PresenceConfig, defaultPresenceOptions } from './components/persona/index.cjs';
|
|
27
|
+
export { PinInput, PinInputProps } from './components/pin-input/index.cjs';
|
|
28
|
+
export { Radio, RadioGroup, RadioGroupProps, RadioProps } from './components/radio/index.cjs';
|
|
29
|
+
export { SearchInput, SearchInputProps } from './components/search-input/index.cjs';
|
|
30
|
+
export { Select } from './components/select/index.cjs';
|
|
31
|
+
export { Sidebar, useSidebarItemStyles, useSidebarStyles } from './components/sidebar/index.cjs';
|
|
32
|
+
export { useSidebar } from '@saas-ui/core/sidebar';
|
|
33
|
+
export { Toaster, ToasterProps, toast } from './components/toaster/index.cjs';
|
|
34
|
+
export { Spinner, SpinnerProps } from './components/spinner/index.cjs';
|
|
35
|
+
export { Steps } from './components/steps/index.cjs';
|
|
36
|
+
export { Switch, SwitchProps } from './components/switch/index.cjs';
|
|
37
|
+
export { Tooltip, TooltipProps } from './components/tooltip/index.cjs';
|
|
38
|
+
import '@ark-ui/react/dialog';
|
|
39
|
+
import '@ark-ui/react';
|
|
40
|
+
import '@saas-ui/core/grid-list';
|
|
41
|
+
import '@ark-ui/react/presence';
|
|
42
|
+
import '@saas-ui/core/navbar';
|
|
8
43
|
|
|
9
44
|
declare const defaultConfig: _chakra_ui_react.SystemConfig;
|
|
10
45
|
declare const defaultSystem: _chakra_ui_react.SystemContext;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,45 @@
|
|
|
1
|
-
export * from '@saas-ui/core';
|
|
2
1
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
|
3
2
|
import { ChakraProviderProps } from '@chakra-ui/react';
|
|
4
|
-
export { createSystem } from '@chakra-ui/react';
|
|
3
|
+
export { LinkProps, createSystem } from '@chakra-ui/react';
|
|
5
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
5
|
import * as react from 'react';
|
|
7
6
|
import react__default from 'react';
|
|
7
|
+
export { AppShell, AppShellProps } from './components/app-shell/index.js';
|
|
8
|
+
export { Avatar, AvatarGroup, AvatarProps } from './components/avatar/index.js';
|
|
9
|
+
export { Breadcrumb } from './components/breadcrumbs/index.js';
|
|
10
|
+
export { Button, ButtonProps } from './components/button/index.js';
|
|
11
|
+
export { Checkbox, CheckboxProps } from './components/checkbox/index.js';
|
|
12
|
+
export { CloseButton, CloseButtonProps } from './components/close-button/index.js';
|
|
13
|
+
export { Command } from './components/command/index.js';
|
|
14
|
+
export { Dialog } from './components/dialog/index.js';
|
|
15
|
+
export { Drawer } from './components/drawer/index.js';
|
|
16
|
+
export { EmptyState, EmptyStateProps } from './components/empty-state/index.js';
|
|
17
|
+
export { GridList } from './components/grid-list/index.js';
|
|
18
|
+
export { IconBadge, IconBadgeProps } from './components/icon-badge/index.js';
|
|
19
|
+
export { InputGroup, InputGroupProps } from './components/input-group/index.js';
|
|
20
|
+
export { Link } from './components/link/index.js';
|
|
21
|
+
export { LoadingOverlay, useLoadingOverlayStyles } from './components/loading-overlay/index.js';
|
|
22
|
+
export { Navbar } from './components/navbar/index.js';
|
|
23
|
+
export { NumberInput, NumberInputProps } from './components/number-input/index.js';
|
|
24
|
+
export { Menu } from './components/menu/index.js';
|
|
25
|
+
export { PasswordInput, PasswordInputProps } from './components/password-input/index.js';
|
|
26
|
+
export { Persona, PersonaAvatar, PersonaAvatarProps, PersonaProps, Presence, PresenceConfig, defaultPresenceOptions } from './components/persona/index.js';
|
|
27
|
+
export { PinInput, PinInputProps } from './components/pin-input/index.js';
|
|
28
|
+
export { Radio, RadioGroup, RadioGroupProps, RadioProps } from './components/radio/index.js';
|
|
29
|
+
export { SearchInput, SearchInputProps } from './components/search-input/index.js';
|
|
30
|
+
export { Select } from './components/select/index.js';
|
|
31
|
+
export { Sidebar, useSidebarItemStyles, useSidebarStyles } from './components/sidebar/index.js';
|
|
32
|
+
export { useSidebar } from '@saas-ui/core/sidebar';
|
|
33
|
+
export { Toaster, ToasterProps, toast } from './components/toaster/index.js';
|
|
34
|
+
export { Spinner, SpinnerProps } from './components/spinner/index.js';
|
|
35
|
+
export { Steps } from './components/steps/index.js';
|
|
36
|
+
export { Switch, SwitchProps } from './components/switch/index.js';
|
|
37
|
+
export { Tooltip, TooltipProps } from './components/tooltip/index.js';
|
|
38
|
+
import '@ark-ui/react/dialog';
|
|
39
|
+
import '@ark-ui/react';
|
|
40
|
+
import '@saas-ui/core/grid-list';
|
|
41
|
+
import '@ark-ui/react/presence';
|
|
42
|
+
import '@saas-ui/core/navbar';
|
|
8
43
|
|
|
9
44
|
declare const defaultConfig: _chakra_ui_react.SystemConfig;
|
|
10
45
|
declare const defaultSystem: _chakra_ui_react.SystemContext;
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,113 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Tooltip
|
|
3
|
+
} from "./chunk-QSNSWCTM.js";
|
|
4
|
+
import {
|
|
5
|
+
Persona,
|
|
6
|
+
PersonaAvatar,
|
|
7
|
+
defaultPresenceOptions
|
|
8
|
+
} from "./chunk-M7FOBCOV.js";
|
|
9
|
+
import "./chunk-CTOVNZVS.js";
|
|
10
|
+
import {
|
|
11
|
+
namespace_exports as namespace_exports4
|
|
12
|
+
} from "./chunk-S3CQW7GD.js";
|
|
13
|
+
import {
|
|
14
|
+
sidebar_exports,
|
|
15
|
+
useSidebar,
|
|
16
|
+
useSidebarItemStyles,
|
|
17
|
+
useSidebarStyles
|
|
18
|
+
} from "./chunk-DPMEXCSG.js";
|
|
19
|
+
import {
|
|
20
|
+
steps_exports
|
|
21
|
+
} from "./chunk-6LOMIKR5.js";
|
|
22
|
+
import {
|
|
23
|
+
Switch
|
|
24
|
+
} from "./chunk-SA3OGTOO.js";
|
|
25
|
+
import {
|
|
26
|
+
Toaster,
|
|
27
|
+
toast
|
|
28
|
+
} from "./chunk-HELHPHIQ.js";
|
|
29
|
+
import {
|
|
30
|
+
menu_exports
|
|
31
|
+
} from "./chunk-VF3BV2BY.js";
|
|
32
|
+
import {
|
|
33
|
+
loading_overlay_exports,
|
|
34
|
+
useLoadingOverlayStyles
|
|
35
|
+
} from "./chunk-YWJZWB6I.js";
|
|
36
|
+
import {
|
|
37
|
+
Spinner
|
|
38
|
+
} from "./chunk-32JGENDB.js";
|
|
39
|
+
import {
|
|
40
|
+
navbar_exports
|
|
41
|
+
} from "./chunk-3Z2C27LI.js";
|
|
42
|
+
import {
|
|
43
|
+
NumberInput
|
|
44
|
+
} from "./chunk-ULAJ3JEO.js";
|
|
45
|
+
import {
|
|
46
|
+
PasswordInput
|
|
47
|
+
} from "./chunk-QMG6HP7Z.js";
|
|
48
|
+
import "./chunk-F3CVOMG5.js";
|
|
49
|
+
import {
|
|
50
|
+
Radio,
|
|
51
|
+
RadioGroup
|
|
52
|
+
} from "./chunk-WYLMBMAH.js";
|
|
53
|
+
import {
|
|
54
|
+
PinInput
|
|
55
|
+
} from "./chunk-2EUACKRH.js";
|
|
56
|
+
import {
|
|
57
|
+
SearchInput
|
|
58
|
+
} from "./chunk-LIYUBUOP.js";
|
|
59
|
+
import {
|
|
60
|
+
namespace_exports as namespace_exports2
|
|
61
|
+
} from "./chunk-ZWSZQZ5G.js";
|
|
62
|
+
import {
|
|
63
|
+
namespace_exports as namespace_exports3
|
|
64
|
+
} from "./chunk-GEPWRHHH.js";
|
|
65
|
+
import "./chunk-VBIVLREP.js";
|
|
66
|
+
import {
|
|
67
|
+
EmptyState
|
|
68
|
+
} from "./chunk-FJFNGSPL.js";
|
|
69
|
+
import "./chunk-KTLWEUNW.js";
|
|
70
|
+
import {
|
|
71
|
+
grid_list_exports
|
|
72
|
+
} from "./chunk-NSD5HRIP.js";
|
|
73
|
+
import {
|
|
74
|
+
IconBadge
|
|
75
|
+
} from "./chunk-I2RXEKTB.js";
|
|
76
|
+
import {
|
|
77
|
+
InputGroup
|
|
78
|
+
} from "./chunk-PKI6YH2V.js";
|
|
79
|
+
import {
|
|
80
|
+
Link,
|
|
2
81
|
SuiContext,
|
|
3
82
|
SuiProvider,
|
|
4
83
|
useLink,
|
|
5
84
|
useSui
|
|
6
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-BFA5FCA2.js";
|
|
86
|
+
import {
|
|
87
|
+
AppShell
|
|
88
|
+
} from "./chunk-6ZNR6N2K.js";
|
|
89
|
+
import {
|
|
90
|
+
Avatar,
|
|
91
|
+
AvatarGroup
|
|
92
|
+
} from "./chunk-UCQ3LZIE.js";
|
|
93
|
+
import {
|
|
94
|
+
namespace_exports
|
|
95
|
+
} from "./chunk-7C3IZBNJ.js";
|
|
96
|
+
import {
|
|
97
|
+
Button
|
|
98
|
+
} from "./chunk-BCNPBZZK.js";
|
|
99
|
+
import {
|
|
100
|
+
Checkbox
|
|
101
|
+
} from "./chunk-L356FPLY.js";
|
|
102
|
+
import {
|
|
103
|
+
CloseButton
|
|
104
|
+
} from "./chunk-FZW2DYK3.js";
|
|
105
|
+
import "./chunk-VDXTEASE.js";
|
|
106
|
+
import {
|
|
107
|
+
Command
|
|
108
|
+
} from "./chunk-4TR3AOMG.js";
|
|
7
109
|
import "./chunk-RTMS5TJN.js";
|
|
8
110
|
|
|
9
|
-
// src/index.ts
|
|
10
|
-
export * from "@saas-ui/core";
|
|
11
|
-
|
|
12
111
|
// src/preset.ts
|
|
13
112
|
import { createSystem, defaultBaseConfig, mergeConfigs } from "@chakra-ui/react";
|
|
14
113
|
|
|
@@ -8378,11 +8477,50 @@ var defaultSystem = createSystem(defaultConfig);
|
|
|
8378
8477
|
// src/index.ts
|
|
8379
8478
|
import { createSystem as createSystem2 } from "@chakra-ui/react";
|
|
8380
8479
|
export {
|
|
8480
|
+
AppShell,
|
|
8481
|
+
Avatar,
|
|
8482
|
+
AvatarGroup,
|
|
8483
|
+
namespace_exports as Breadcrumb,
|
|
8484
|
+
Button,
|
|
8485
|
+
Checkbox,
|
|
8486
|
+
CloseButton,
|
|
8487
|
+
Command,
|
|
8488
|
+
namespace_exports2 as Dialog,
|
|
8489
|
+
namespace_exports3 as Drawer,
|
|
8490
|
+
EmptyState,
|
|
8491
|
+
grid_list_exports as GridList,
|
|
8492
|
+
IconBadge,
|
|
8493
|
+
InputGroup,
|
|
8494
|
+
Link,
|
|
8495
|
+
loading_overlay_exports as LoadingOverlay,
|
|
8496
|
+
menu_exports as Menu,
|
|
8497
|
+
navbar_exports as Navbar,
|
|
8498
|
+
NumberInput,
|
|
8499
|
+
PasswordInput,
|
|
8500
|
+
Persona,
|
|
8501
|
+
PersonaAvatar,
|
|
8502
|
+
PinInput,
|
|
8503
|
+
Radio,
|
|
8504
|
+
RadioGroup,
|
|
8505
|
+
SearchInput,
|
|
8506
|
+
namespace_exports4 as Select,
|
|
8507
|
+
sidebar_exports as Sidebar,
|
|
8508
|
+
Spinner,
|
|
8509
|
+
steps_exports as Steps,
|
|
8381
8510
|
SuiContext,
|
|
8382
8511
|
SuiProvider,
|
|
8512
|
+
Switch,
|
|
8513
|
+
Toaster,
|
|
8514
|
+
Tooltip,
|
|
8383
8515
|
createSystem2 as createSystem,
|
|
8384
8516
|
defaultConfig,
|
|
8517
|
+
defaultPresenceOptions,
|
|
8385
8518
|
defaultSystem,
|
|
8519
|
+
toast,
|
|
8386
8520
|
useLink,
|
|
8521
|
+
useLoadingOverlayStyles,
|
|
8522
|
+
useSidebar,
|
|
8523
|
+
useSidebarItemStyles,
|
|
8524
|
+
useSidebarStyles,
|
|
8387
8525
|
useSui
|
|
8388
8526
|
};
|