@saas-ui/react 3.0.0-alpha.17 → 3.0.0-alpha.19
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +25 -0
- package/dist/{chunk-5ILYOY27.js → chunk-MLJN6IOJ.js} +2 -1
- package/dist/chunk-QVFJV6HJ.js +8 -0
- package/dist/{chunk-ULAJ3JEO.js → chunk-S5J6REMC.js} +9 -1
- package/dist/components/card/index.cjs +31 -0
- package/dist/components/card/index.d.cts +1 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +8 -0
- package/dist/components/command/index.d.cts +2 -5
- package/dist/components/command/index.d.ts +2 -5
- package/dist/components/grid-list/index.d.cts +67 -5
- package/dist/components/grid-list/index.d.ts +67 -5
- package/dist/components/icon-button/index.cjs +31 -0
- package/dist/components/icon-button/index.d.cts +1 -0
- package/dist/components/icon-button/index.d.ts +1 -0
- package/dist/components/icon-button/index.js +8 -0
- package/dist/components/number-input/index.cjs +9 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/pagination/index.cjs +2 -1
- package/dist/components/pagination/index.d.cts +5 -1
- package/dist/components/pagination/index.d.ts +5 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/index.cjs +525 -360
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +321 -166
- package/dist/types-DnFoUudY.d.cts +10 -0
- package/dist/types-DnFoUudY.d.ts +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
# @saas-ui/react
|
2
2
|
|
3
|
+
## 3.0.0-alpha.19
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- ba3b566: Improved Sidebar contrast
|
8
|
+
- 38082d4: Improved horizontal field styles
|
9
|
+
- ba3b566: Improved focusRing styles
|
10
|
+
- ba3b566: Added SegmentControl stories and made sizing consistent with buttons
|
11
|
+
- 3a73bc8: Fixed incorrect props type for GridListRoot
|
12
|
+
- ba3b566: Sidebar.Button now renders a div with role="button"
|
13
|
+
- 727b902: Allow click event on Sidebar.Track to be prevented
|
14
|
+
|
15
|
+
## 3.0.0-alpha.18
|
16
|
+
|
17
|
+
### Minor Changes
|
18
|
+
|
19
|
+
- eb02362: Improved GridList recipe
|
20
|
+
|
21
|
+
### Patch Changes
|
22
|
+
|
23
|
+
- e7fe684: Export Pagination Context component
|
24
|
+
- eb02362: Add missing PaginationPageTextProps export
|
25
|
+
- Updated dependencies [eb02362]
|
26
|
+
- @saas-ui/core@3.0.0-alpha.5
|
27
|
+
|
3
28
|
## 3.0.0-alpha.17
|
4
29
|
|
5
30
|
### Minor Changes
|
@@ -11,6 +11,7 @@ import {
|
|
11
11
|
// src/components/pagination/pagination.tsx
|
12
12
|
var pagination_exports = {};
|
13
13
|
__export(pagination_exports, {
|
14
|
+
Context: () => Context,
|
14
15
|
Ellipsis: () => Ellipsis,
|
15
16
|
Item: () => Item,
|
16
17
|
Items: () => Items,
|
@@ -67,7 +68,6 @@ var PrevButton = forwardRef(function PaginationPrevTrigger(props, ref) {
|
|
67
68
|
var NextButton = forwardRef(function PaginationNextTrigger(props, ref) {
|
68
69
|
var _a;
|
69
70
|
const { size, variantMap: variantMap2 } = useRootProps();
|
70
|
-
const { nextPage } = usePaginationContext();
|
71
71
|
return /* @__PURE__ */ jsx(ChakraPagination.NextTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx(IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx(ChevronRightIcon, {}) }) });
|
72
72
|
});
|
73
73
|
var Items = (props) => {
|
@@ -89,6 +89,7 @@ var PageText = forwardRef(
|
|
89
89
|
);
|
90
90
|
var PrevTrigger = ChakraPagination.PrevTrigger;
|
91
91
|
var NextTrigger = ChakraPagination.NextTrigger;
|
92
|
+
var Context = ChakraPagination.Context;
|
92
93
|
|
93
94
|
export {
|
94
95
|
pagination_exports
|
@@ -18,7 +18,15 @@ var NumberInput = forwardRef(
|
|
18
18
|
...rest
|
19
19
|
} = props;
|
20
20
|
return /* @__PURE__ */ jsxs(ChakraNumberInput.Root, { ref: rootRef, ...rest, children: [
|
21
|
-
/* @__PURE__ */ jsx(
|
21
|
+
/* @__PURE__ */ jsx(
|
22
|
+
InputGroup,
|
23
|
+
{
|
24
|
+
startElement,
|
25
|
+
endElement,
|
26
|
+
width: "full",
|
27
|
+
children: /* @__PURE__ */ jsx(ChakraNumberInput.Input, { ref, ...inputProps })
|
28
|
+
}
|
29
|
+
),
|
22
30
|
!hideControls && !endElement ? /* @__PURE__ */ jsxs(ChakraNumberInput.Control, { children: [
|
23
31
|
/* @__PURE__ */ jsx(ChakraNumberInput.IncrementTrigger, {}),
|
24
32
|
/* @__PURE__ */ jsx(ChakraNumberInput.DecrementTrigger, {})
|
@@ -0,0 +1,31 @@
|
|
1
|
+
'use client'
|
2
|
+
"use strict";
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/card/index.ts
|
22
|
+
var card_exports = {};
|
23
|
+
__export(card_exports, {
|
24
|
+
Card: () => import_react.Card
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(card_exports);
|
27
|
+
var import_react = require("@chakra-ui/react");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
Card
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Card } from '@chakra-ui/react';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Card } from '@chakra-ui/react';
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import * as react from 'react';
|
2
2
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
3
|
-
import {
|
4
|
-
|
5
|
-
type RecipeProps<T, DefaultRecipe> = RecipeProps$1<T> extends {
|
6
|
-
recipe?: RecipeDefinition;
|
7
|
-
} ? RecipeProps$1<T> & DefaultRecipe : RecipeProps$1<T>;
|
3
|
+
import { RecipeVariantProps, HTMLChakraProps, UnstyledProp } from '@chakra-ui/react';
|
4
|
+
import { R as RecipeProps } from '../../types-DnFoUudY.cjs';
|
8
5
|
|
9
6
|
declare const commandRecipe: _chakra_ui_react.RecipeDefinition<{
|
10
7
|
size: {
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import * as react from 'react';
|
2
2
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
3
|
-
import {
|
4
|
-
|
5
|
-
type RecipeProps<T, DefaultRecipe> = RecipeProps$1<T> extends {
|
6
|
-
recipe?: RecipeDefinition;
|
7
|
-
} ? RecipeProps$1<T> & DefaultRecipe : RecipeProps$1<T>;
|
3
|
+
import { RecipeVariantProps, HTMLChakraProps, UnstyledProp } from '@chakra-ui/react';
|
4
|
+
import { R as RecipeProps } from '../../types-DnFoUudY.js';
|
8
5
|
|
9
6
|
declare const commandRecipe: _chakra_ui_react.RecipeDefinition<{
|
10
7
|
size: {
|
@@ -1,14 +1,76 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import
|
2
|
+
import * as _chakra_ui_react from '@chakra-ui/react';
|
3
|
+
import { RecipeVariantProps, HTMLChakraProps } from '@chakra-ui/react';
|
3
4
|
import { GridList } from '@saas-ui/core/grid-list';
|
5
|
+
import { S as SlotRecipeProps } from '../../types-DnFoUudY.cjs';
|
4
6
|
|
5
|
-
|
7
|
+
declare const gridListSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell" | "root" | "item" | "header", {
|
8
|
+
interactive: {
|
9
|
+
true: {
|
10
|
+
item: {
|
11
|
+
cursor: "button";
|
12
|
+
transitionProperty: "bg";
|
13
|
+
transitionDuration: "fast";
|
14
|
+
_hover: {
|
15
|
+
bg: "bg.subtle";
|
16
|
+
};
|
17
|
+
_active: {
|
18
|
+
bg: "bg.subtle";
|
19
|
+
};
|
20
|
+
};
|
21
|
+
};
|
22
|
+
};
|
23
|
+
variant: {
|
24
|
+
simple: {};
|
25
|
+
rounded: {
|
26
|
+
item: {
|
27
|
+
borderRadius: "md";
|
28
|
+
mb: number;
|
29
|
+
};
|
30
|
+
};
|
31
|
+
};
|
32
|
+
size: {
|
33
|
+
sm: {
|
34
|
+
root: {
|
35
|
+
textStyle: "sm";
|
36
|
+
py: number;
|
37
|
+
};
|
38
|
+
item: {
|
39
|
+
py: number;
|
40
|
+
px: number;
|
41
|
+
gap: number;
|
42
|
+
};
|
43
|
+
header: {
|
44
|
+
py: number;
|
45
|
+
px: number;
|
46
|
+
};
|
47
|
+
};
|
48
|
+
md: {
|
49
|
+
root: {
|
50
|
+
textStyle: "md";
|
51
|
+
py: number;
|
52
|
+
};
|
53
|
+
item: {
|
54
|
+
py: number;
|
55
|
+
px: number;
|
56
|
+
gap: number;
|
57
|
+
};
|
58
|
+
header: {
|
59
|
+
py: number;
|
60
|
+
px: number;
|
61
|
+
};
|
62
|
+
};
|
63
|
+
};
|
64
|
+
}>;
|
65
|
+
type GridListVariantProps = RecipeVariantProps<typeof gridListSlotRecipe>;
|
66
|
+
|
67
|
+
interface GridListRootProps extends GridList.RootProps, HTMLChakraProps<'div'>, SlotRecipeProps<'suiGridList', GridListVariantProps> {
|
6
68
|
}
|
7
|
-
declare const GridListRoot: react.ForwardRefExoticComponent<
|
8
|
-
interface GridListItemProps extends HTMLChakraProps<'div'> {
|
69
|
+
declare const GridListRoot: react.ForwardRefExoticComponent<GridListRootProps & react.RefAttributes<HTMLDivElement>>;
|
70
|
+
interface GridListItemProps extends GridList.ItemProps, HTMLChakraProps<'div'> {
|
9
71
|
}
|
10
72
|
declare const GridListItem: react.ForwardRefExoticComponent<GridListItemProps & react.RefAttributes<HTMLDivElement>>;
|
11
|
-
interface GridListHeaderProps extends HTMLChakraProps<'header'> {
|
73
|
+
interface GridListHeaderProps extends GridList.HeaderProps, HTMLChakraProps<'header'> {
|
12
74
|
}
|
13
75
|
declare const GridListHeader: react.ForwardRefExoticComponent<GridListHeaderProps & react.RefAttributes<HTMLDivElement>>;
|
14
76
|
interface GridListCellProps extends GridList.CellProps, HTMLChakraProps<'div'> {
|
@@ -1,14 +1,76 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import
|
2
|
+
import * as _chakra_ui_react from '@chakra-ui/react';
|
3
|
+
import { RecipeVariantProps, HTMLChakraProps } from '@chakra-ui/react';
|
3
4
|
import { GridList } from '@saas-ui/core/grid-list';
|
5
|
+
import { S as SlotRecipeProps } from '../../types-DnFoUudY.js';
|
4
6
|
|
5
|
-
|
7
|
+
declare const gridListSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell" | "root" | "item" | "header", {
|
8
|
+
interactive: {
|
9
|
+
true: {
|
10
|
+
item: {
|
11
|
+
cursor: "button";
|
12
|
+
transitionProperty: "bg";
|
13
|
+
transitionDuration: "fast";
|
14
|
+
_hover: {
|
15
|
+
bg: "bg.subtle";
|
16
|
+
};
|
17
|
+
_active: {
|
18
|
+
bg: "bg.subtle";
|
19
|
+
};
|
20
|
+
};
|
21
|
+
};
|
22
|
+
};
|
23
|
+
variant: {
|
24
|
+
simple: {};
|
25
|
+
rounded: {
|
26
|
+
item: {
|
27
|
+
borderRadius: "md";
|
28
|
+
mb: number;
|
29
|
+
};
|
30
|
+
};
|
31
|
+
};
|
32
|
+
size: {
|
33
|
+
sm: {
|
34
|
+
root: {
|
35
|
+
textStyle: "sm";
|
36
|
+
py: number;
|
37
|
+
};
|
38
|
+
item: {
|
39
|
+
py: number;
|
40
|
+
px: number;
|
41
|
+
gap: number;
|
42
|
+
};
|
43
|
+
header: {
|
44
|
+
py: number;
|
45
|
+
px: number;
|
46
|
+
};
|
47
|
+
};
|
48
|
+
md: {
|
49
|
+
root: {
|
50
|
+
textStyle: "md";
|
51
|
+
py: number;
|
52
|
+
};
|
53
|
+
item: {
|
54
|
+
py: number;
|
55
|
+
px: number;
|
56
|
+
gap: number;
|
57
|
+
};
|
58
|
+
header: {
|
59
|
+
py: number;
|
60
|
+
px: number;
|
61
|
+
};
|
62
|
+
};
|
63
|
+
};
|
64
|
+
}>;
|
65
|
+
type GridListVariantProps = RecipeVariantProps<typeof gridListSlotRecipe>;
|
66
|
+
|
67
|
+
interface GridListRootProps extends GridList.RootProps, HTMLChakraProps<'div'>, SlotRecipeProps<'suiGridList', GridListVariantProps> {
|
6
68
|
}
|
7
|
-
declare const GridListRoot: react.ForwardRefExoticComponent<
|
8
|
-
interface GridListItemProps extends HTMLChakraProps<'div'> {
|
69
|
+
declare const GridListRoot: react.ForwardRefExoticComponent<GridListRootProps & react.RefAttributes<HTMLDivElement>>;
|
70
|
+
interface GridListItemProps extends GridList.ItemProps, HTMLChakraProps<'div'> {
|
9
71
|
}
|
10
72
|
declare const GridListItem: react.ForwardRefExoticComponent<GridListItemProps & react.RefAttributes<HTMLDivElement>>;
|
11
|
-
interface GridListHeaderProps extends HTMLChakraProps<'header'> {
|
73
|
+
interface GridListHeaderProps extends GridList.HeaderProps, HTMLChakraProps<'header'> {
|
12
74
|
}
|
13
75
|
declare const GridListHeader: react.ForwardRefExoticComponent<GridListHeaderProps & react.RefAttributes<HTMLDivElement>>;
|
14
76
|
interface GridListCellProps extends GridList.CellProps, HTMLChakraProps<'div'> {
|
@@ -0,0 +1,31 @@
|
|
1
|
+
'use client'
|
2
|
+
"use strict";
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __export = (target, all) => {
|
8
|
+
for (var name in all)
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
10
|
+
};
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
13
|
+
for (let key of __getOwnPropNames(from))
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
16
|
+
}
|
17
|
+
return to;
|
18
|
+
};
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
|
+
|
21
|
+
// src/components/icon-button/index.ts
|
22
|
+
var icon_button_exports = {};
|
23
|
+
__export(icon_button_exports, {
|
24
|
+
IconButton: () => import_react.IconButton
|
25
|
+
});
|
26
|
+
module.exports = __toCommonJS(icon_button_exports);
|
27
|
+
var import_react = require("@chakra-ui/react");
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
29
|
+
0 && (module.exports = {
|
30
|
+
IconButton
|
31
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IconButton, IconButtonProps } from '@chakra-ui/react';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { IconButton, IconButtonProps } from '@chakra-ui/react';
|
@@ -68,7 +68,15 @@ var NumberInput = (0, import_react3.forwardRef)(
|
|
68
68
|
...rest
|
69
69
|
} = props;
|
70
70
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react4.NumberInput.Root, { ref: rootRef, ...rest, children: [
|
71
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
71
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
72
|
+
InputGroup,
|
73
|
+
{
|
74
|
+
startElement,
|
75
|
+
endElement,
|
76
|
+
width: "full",
|
77
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react4.NumberInput.Input, { ref, ...inputProps })
|
78
|
+
}
|
79
|
+
),
|
72
80
|
!hideControls && !endElement ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react4.NumberInput.Control, { children: [
|
73
81
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react4.NumberInput.IncrementTrigger, {}),
|
74
82
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react4.NumberInput.DecrementTrigger, {})
|
@@ -28,6 +28,7 @@ module.exports = __toCommonJS(pagination_exports2);
|
|
28
28
|
// src/components/pagination/pagination.tsx
|
29
29
|
var pagination_exports = {};
|
30
30
|
__export(pagination_exports, {
|
31
|
+
Context: () => Context,
|
31
32
|
Ellipsis: () => Ellipsis,
|
32
33
|
Item: () => Item,
|
33
34
|
Items: () => Items,
|
@@ -186,7 +187,6 @@ var PrevButton = (0, import_react2.forwardRef)(function PaginationPrevTrigger(pr
|
|
186
187
|
var NextButton = (0, import_react2.forwardRef)(function PaginationNextTrigger(props, ref) {
|
187
188
|
var _a;
|
188
189
|
const { size, variantMap: variantMap2 } = useRootProps();
|
189
|
-
const { nextPage } = (0, import_react3.usePaginationContext)();
|
190
190
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.Pagination.NextTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react3.IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ChevronRightIcon, {}) }) });
|
191
191
|
});
|
192
192
|
var Items = (props) => {
|
@@ -208,6 +208,7 @@ var PageText = (0, import_react2.forwardRef)(
|
|
208
208
|
);
|
209
209
|
var PrevTrigger = import_react3.Pagination.PrevTrigger;
|
210
210
|
var NextTrigger = import_react3.Pagination.NextTrigger;
|
211
|
+
var Context = import_react3.Pagination.Context;
|
211
212
|
// Annotate the CommonJS export names for ESM import in node:
|
212
213
|
0 && (module.exports = {
|
213
214
|
Pagination
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as _ark_ui_react from '@ark-ui/react';
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
3
|
import * as react from 'react';
|
3
4
|
import { Pagination, ButtonProps, TextProps } from '@chakra-ui/react';
|
@@ -19,19 +20,22 @@ interface PageTextProps extends TextProps {
|
|
19
20
|
declare const PageText: react.ForwardRefExoticComponent<PageTextProps & react.RefAttributes<HTMLParagraphElement>>;
|
20
21
|
declare const PrevTrigger: react.ForwardRefExoticComponent<Pagination.PrevTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
21
22
|
declare const NextTrigger: react.ForwardRefExoticComponent<Pagination.NextTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
23
|
+
declare const Context: (props: _ark_ui_react.PaginationContextProps) => react.ReactNode;
|
22
24
|
|
25
|
+
declare const pagination_Context: typeof Context;
|
23
26
|
declare const pagination_Ellipsis: typeof Ellipsis;
|
24
27
|
declare const pagination_Item: typeof Item;
|
25
28
|
declare const pagination_Items: typeof Items;
|
26
29
|
declare const pagination_NextButton: typeof NextButton;
|
27
30
|
declare const pagination_NextTrigger: typeof NextTrigger;
|
28
31
|
declare const pagination_PageText: typeof PageText;
|
32
|
+
type pagination_PageTextProps = PageTextProps;
|
29
33
|
declare const pagination_PrevButton: typeof PrevButton;
|
30
34
|
declare const pagination_PrevTrigger: typeof PrevTrigger;
|
31
35
|
declare const pagination_Root: typeof Root;
|
32
36
|
type pagination_RootProps = RootProps;
|
33
37
|
declare namespace pagination {
|
34
|
-
export { pagination_Ellipsis as Ellipsis, pagination_Item as Item, pagination_Items as Items, pagination_NextButton as NextButton, pagination_NextTrigger as NextTrigger, pagination_PageText as PageText, pagination_PrevButton as PrevButton, pagination_PrevTrigger as PrevTrigger, pagination_Root as Root, type pagination_RootProps as RootProps };
|
38
|
+
export { pagination_Context as Context, pagination_Ellipsis as Ellipsis, pagination_Item as Item, pagination_Items as Items, pagination_NextButton as NextButton, pagination_NextTrigger as NextTrigger, pagination_PageText as PageText, type pagination_PageTextProps as PageTextProps, pagination_PrevButton as PrevButton, pagination_PrevTrigger as PrevTrigger, pagination_Root as Root, type pagination_RootProps as RootProps };
|
35
39
|
}
|
36
40
|
|
37
41
|
export { pagination as Pagination };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as _ark_ui_react from '@ark-ui/react';
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
3
|
import * as react from 'react';
|
3
4
|
import { Pagination, ButtonProps, TextProps } from '@chakra-ui/react';
|
@@ -19,19 +20,22 @@ interface PageTextProps extends TextProps {
|
|
19
20
|
declare const PageText: react.ForwardRefExoticComponent<PageTextProps & react.RefAttributes<HTMLParagraphElement>>;
|
20
21
|
declare const PrevTrigger: react.ForwardRefExoticComponent<Pagination.PrevTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
21
22
|
declare const NextTrigger: react.ForwardRefExoticComponent<Pagination.NextTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
23
|
+
declare const Context: (props: _ark_ui_react.PaginationContextProps) => react.ReactNode;
|
22
24
|
|
25
|
+
declare const pagination_Context: typeof Context;
|
23
26
|
declare const pagination_Ellipsis: typeof Ellipsis;
|
24
27
|
declare const pagination_Item: typeof Item;
|
25
28
|
declare const pagination_Items: typeof Items;
|
26
29
|
declare const pagination_NextButton: typeof NextButton;
|
27
30
|
declare const pagination_NextTrigger: typeof NextTrigger;
|
28
31
|
declare const pagination_PageText: typeof PageText;
|
32
|
+
type pagination_PageTextProps = PageTextProps;
|
29
33
|
declare const pagination_PrevButton: typeof PrevButton;
|
30
34
|
declare const pagination_PrevTrigger: typeof PrevTrigger;
|
31
35
|
declare const pagination_Root: typeof Root;
|
32
36
|
type pagination_RootProps = RootProps;
|
33
37
|
declare namespace pagination {
|
34
|
-
export { pagination_Ellipsis as Ellipsis, pagination_Item as Item, pagination_Items as Items, pagination_NextButton as NextButton, pagination_NextTrigger as NextTrigger, pagination_PageText as PageText, pagination_PrevButton as PrevButton, pagination_PrevTrigger as PrevTrigger, pagination_Root as Root, type pagination_RootProps as RootProps };
|
38
|
+
export { pagination_Context as Context, pagination_Ellipsis as Ellipsis, pagination_Item as Item, pagination_Items as Items, pagination_NextButton as NextButton, pagination_NextTrigger as NextTrigger, pagination_PageText as PageText, type pagination_PageTextProps as PageTextProps, pagination_PrevButton as PrevButton, pagination_PrevTrigger as PrevTrigger, pagination_Root as Root, type pagination_RootProps as RootProps };
|
35
39
|
}
|
36
40
|
|
37
41
|
export { pagination as Pagination };
|