@byline/ui 5.0.0 → 5.1.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/components/badge/badge.d.ts +1 -1
- package/dist/components/button/button-group.d.ts +1 -1
- package/dist/components/button/combo-button.d.ts +1 -1
- package/dist/components/button/index.d.ts +5 -5
- package/dist/components/inputs/input-password.d.ts +1 -1
- package/dist/components/inputs/input.d.ts +1 -1
- package/dist/components/inputs/radio-group.d.ts +1 -1
- package/dist/components/pager/first-button.d.ts +1 -1
- package/dist/components/pager/hooks/usePagination.d.ts +1 -1
- package/dist/components/pager/last-button.d.ts +1 -1
- package/dist/components/pager/next-button.d.ts +1 -1
- package/dist/components/pager/number-button.d.ts +1 -1
- package/dist/components/pager/pagination.d.ts +7 -7
- package/dist/components/pager/previous-button.d.ts +1 -1
- package/dist/dnd/draggable-sortable/index.d.ts +3 -3
- package/dist/icons/stopwatch-icon.d.ts +1 -1
- package/dist/uikit.d.ts +14 -14
- package/dist/widgets/drawer/drawer.d.ts +4 -4
- package/dist/widgets/modal/modal.d.ts +4 -4
- package/package.json +10 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { type Ref } from 'react';
|
|
2
2
|
import { Toggle } from '@base-ui/react/toggle';
|
|
3
3
|
import { ToggleGroup } from '@base-ui/react/toggle-group';
|
|
4
|
-
import type { EnableRipple, Intent, Size, Variant } from './@types/button';
|
|
4
|
+
import type { EnableRipple, Intent, Size, Variant } from './@types/button.js';
|
|
5
5
|
interface ButtonGroupContextType {
|
|
6
6
|
variant?: Variant;
|
|
7
7
|
size?: Size;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './button';
|
|
2
|
-
export * from './button-group';
|
|
3
|
-
export * from './control-buttons';
|
|
4
|
-
export * from './copy-button';
|
|
5
|
-
export * from './icon-button';
|
|
1
|
+
export * from './button.js';
|
|
2
|
+
export * from './button-group.js';
|
|
3
|
+
export * from './control-buttons.js';
|
|
4
|
+
export * from './copy-button.js';
|
|
5
|
+
export * from './icon-button.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { InputProps } from './input.
|
|
1
|
+
import type { InputProps } from './input.js';
|
|
2
2
|
export declare function InputPassword({ ...props }: InputProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { Intent, Size, Variant } from './@types/input.js';
|
|
3
|
-
import type { InputAdornmentProps } from './input-adornment.
|
|
3
|
+
import type { InputAdornmentProps } from './input-adornment.js';
|
|
4
4
|
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
5
5
|
id: string;
|
|
6
6
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import { Radio } from '@base-ui/react/radio';
|
|
3
3
|
import { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group';
|
|
4
|
-
import type { Intent } from '../@types/shared';
|
|
4
|
+
import type { Intent } from '../@types/shared.js';
|
|
5
5
|
export interface RadioGroupValue {
|
|
6
6
|
id: string;
|
|
7
7
|
value: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PagerButtonProps, RefType } from './pagination';
|
|
2
|
+
import type { PagerButtonProps, RefType } from './pagination.js';
|
|
3
3
|
export declare function FirstButton({ ref, className, disabled, render, children, ...rest }: PagerButtonProps & {
|
|
4
4
|
ref?: React.RefObject<RefType>;
|
|
5
5
|
}): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { UsePaginationProps, UsePaginationResult } from './types/usePagination';
|
|
1
|
+
import type { UsePaginationProps, UsePaginationResult } from './types/usePagination.js';
|
|
2
2
|
export declare function usePagination(props: UsePaginationProps): UsePaginationResult;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Ellipses } from './ellipses.js';
|
|
3
|
-
import { FirstButton } from './first-button';
|
|
4
|
-
import { LastButton } from './last-button';
|
|
5
|
-
import { NextButton } from './next-button';
|
|
6
|
-
import { NumberButton } from './number-button';
|
|
7
|
-
import { PreviousButton } from './previous-button';
|
|
8
|
-
import type { Variant } from './@types';
|
|
9
|
-
import type { UsePaginationItem, UsePaginationProps } from './hooks/types/usePagination';
|
|
3
|
+
import { FirstButton } from './first-button.js';
|
|
4
|
+
import { LastButton } from './last-button.js';
|
|
5
|
+
import { NextButton } from './next-button.js';
|
|
6
|
+
import { NumberButton } from './number-button.js';
|
|
7
|
+
import { PreviousButton } from './previous-button.js';
|
|
8
|
+
import type { Variant } from './@types/index.js';
|
|
9
|
+
import type { UsePaginationItem, UsePaginationProps } from './hooks/types/usePagination.js';
|
|
10
10
|
declare const PAGINATION_NAME = "Pagination";
|
|
11
11
|
export interface PagerContextType {
|
|
12
12
|
variant: Variant;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PagerButtonProps, RefType } from './pagination';
|
|
2
|
+
import type { PagerButtonProps, RefType } from './pagination.js';
|
|
3
3
|
export declare function PreviousButton({ ref, className, disabled, render, children, ...rest }: PagerButtonProps & {
|
|
4
4
|
ref?: React.RefObject<RefType>;
|
|
5
5
|
}): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { useSortable } from '@dnd-kit/sortable';
|
|
2
|
-
export * from './draggable-sortable';
|
|
3
|
-
export * from './draggable-sortable-item';
|
|
4
|
-
export * from './utils';
|
|
2
|
+
export * from './draggable-sortable.js';
|
|
3
|
+
export * from './draggable-sortable-item/index.js';
|
|
4
|
+
export * from './utils.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { IconProps } from './types/icon';
|
|
2
|
+
import type { IconProps } from './types/icon.js';
|
|
3
3
|
export declare function StopwatchIcon({ className, svgClassName, ...rest }: IconProps): React.JSX.Element;
|
|
4
4
|
export declare namespace StopwatchIcon {
|
|
5
5
|
var displayName: string;
|
package/dist/uikit.d.ts
CHANGED
|
@@ -19,20 +19,20 @@ export * from './components/chips/chip.js';
|
|
|
19
19
|
export * from './components/container/container.js';
|
|
20
20
|
export * from './components/dropdown/dropdown.js';
|
|
21
21
|
export * from './components/hamburger/hamburger.js';
|
|
22
|
-
export * from './components/inputs/autocomplete.
|
|
23
|
-
export * from './components/inputs/calendar.
|
|
24
|
-
export * from './components/inputs/checkbox.
|
|
25
|
-
export * from './components/inputs/checkbox-group.
|
|
26
|
-
export * from './components/inputs/error-text.
|
|
27
|
-
export * from './components/inputs/errors.
|
|
28
|
-
export * from './components/inputs/help-text.
|
|
29
|
-
export * from './components/inputs/input.
|
|
30
|
-
export * from './components/inputs/input-adornment.
|
|
31
|
-
export * from './components/inputs/input-password.
|
|
32
|
-
export * from './components/inputs/label.
|
|
33
|
-
export * from './components/inputs/radio-group.
|
|
34
|
-
export * from './components/inputs/select.
|
|
35
|
-
export * from './components/inputs/text-area.
|
|
22
|
+
export * from './components/inputs/autocomplete.js';
|
|
23
|
+
export * from './components/inputs/calendar.js';
|
|
24
|
+
export * from './components/inputs/checkbox.js';
|
|
25
|
+
export * from './components/inputs/checkbox-group.js';
|
|
26
|
+
export * from './components/inputs/error-text.js';
|
|
27
|
+
export * from './components/inputs/errors.js';
|
|
28
|
+
export * from './components/inputs/help-text.js';
|
|
29
|
+
export * from './components/inputs/input.js';
|
|
30
|
+
export * from './components/inputs/input-adornment.js';
|
|
31
|
+
export * from './components/inputs/input-password.js';
|
|
32
|
+
export * from './components/inputs/label.js';
|
|
33
|
+
export * from './components/inputs/radio-group.js';
|
|
34
|
+
export * from './components/inputs/select.js';
|
|
35
|
+
export * from './components/inputs/text-area.js';
|
|
36
36
|
export * from './components/inputs/utils.js';
|
|
37
37
|
export * from './components/notifications/alert.js';
|
|
38
38
|
export * from './components/notifications/toast.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import { DrawerContainer } from './drawer-container';
|
|
3
|
-
import { DrawerContent } from './drawer-content';
|
|
4
|
-
import { DrawerHeader } from './drawer-header';
|
|
5
|
-
import { DrawerTopActions } from './drawer-top-actions';
|
|
2
|
+
import { DrawerContainer } from './drawer-container.js';
|
|
3
|
+
import { DrawerContent } from './drawer-content.js';
|
|
4
|
+
import { DrawerHeader } from './drawer-header.js';
|
|
5
|
+
import { DrawerTopActions } from './drawer-top-actions.js';
|
|
6
6
|
export interface DrawerProps {
|
|
7
7
|
id: string;
|
|
8
8
|
isOpen: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import { ModalActions } from './modal-actions';
|
|
3
|
-
import { ModalContainer } from './modal-container';
|
|
4
|
-
import { ModalContent } from './modal-content';
|
|
2
|
+
import { ModalActions } from './modal-actions.js';
|
|
3
|
+
import { ModalContainer } from './modal-container.js';
|
|
4
|
+
import { ModalContent } from './modal-content.js';
|
|
5
5
|
import { ModalContext } from './modal-context.js';
|
|
6
|
-
import { ModalHeader } from './modal-header';
|
|
6
|
+
import { ModalHeader } from './modal-header.js';
|
|
7
7
|
export { ModalContext };
|
|
8
8
|
export interface ModalProps {
|
|
9
9
|
isOpen?: boolean;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
|
-
"version": "5.
|
|
6
|
+
"version": "5.1.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.9.0"
|
|
9
9
|
},
|
|
@@ -51,27 +51,27 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@base-ui/react": "^1.
|
|
54
|
+
"@base-ui/react": "^1.8.0",
|
|
55
55
|
"@dnd-kit/core": "^6.3.1",
|
|
56
56
|
"@dnd-kit/sortable": "^10.0.0",
|
|
57
57
|
"clsx": "^2.1.1",
|
|
58
58
|
"date-fns": "^4.4.0",
|
|
59
|
-
"motion": "^13.
|
|
59
|
+
"motion": "^13.2.0",
|
|
60
60
|
"react-day-picker": "^10.0.1",
|
|
61
|
-
"zod": "^4.4
|
|
61
|
+
"zod": "^4.5.4"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"react": "^19.0.0",
|
|
65
65
|
"react-dom": "^19.0.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@biomejs/biome": "2.5.
|
|
68
|
+
"@biomejs/biome": "2.5.12",
|
|
69
69
|
"@rsbuild/plugin-react": "^2.1.0",
|
|
70
|
-
"@rslib/core": "^0.
|
|
71
|
-
"@types/node": "^26.
|
|
70
|
+
"@rslib/core": "^1.0.0",
|
|
71
|
+
"@types/node": "^26.5.0",
|
|
72
72
|
"@types/react": "19.2.18",
|
|
73
|
-
"@types/react-dom": "19.2.
|
|
74
|
-
"@vitejs/plugin-react": "^6.1.
|
|
73
|
+
"@types/react-dom": "19.2.7",
|
|
74
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
75
75
|
"chokidar": "^5.0.0",
|
|
76
76
|
"lightningcss-cli": "^1.33.0",
|
|
77
77
|
"npm-run-all": "^4.1.5",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"typescript": "^7.0.2",
|
|
81
81
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
82
82
|
"vite": "^8.2.2",
|
|
83
|
-
"vitest": "^
|
|
83
|
+
"vitest": "^5.0.0"
|
|
84
84
|
},
|
|
85
85
|
"publishConfig": {
|
|
86
86
|
"access": "public",
|