@bi-digital/react 0.5.0 → 0.6.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/{alert-footer-vCp6ARyQ.d.ts → alert-footer-DuQS-7xz.d.ts} +9 -3
- package/dist/{chip-DBcmzT0P.js → chip-ASg3tnri.js} +9 -3
- package/dist/chip-ASg3tnri.js.map +1 -0
- package/dist/components/alert/alert-footer.d.ts +9 -9
- package/dist/components/alert/alert.d.ts +9 -9
- package/dist/components/alert/index.d.ts +9 -9
- package/dist/components/avatar/avatar.d.ts +9 -9
- package/dist/components/avatar/index.d.ts +9 -9
- package/dist/components/badge/badge.d.ts +9 -9
- package/dist/components/badge/index.d.ts +9 -9
- package/dist/components/button/button.d.ts +9 -9
- package/dist/components/button/index.d.ts +9 -9
- package/dist/components/card/card-action.d.ts +9 -9
- package/dist/components/card/card-actions.d.ts +9 -9
- package/dist/components/card/card-content.d.ts +9 -9
- package/dist/components/card/card-date.d.ts +9 -9
- package/dist/components/card/card-header.d.ts +9 -9
- package/dist/components/card/card-media.d.ts +9 -9
- package/dist/components/card/card.d.ts +9 -9
- package/dist/components/card/index.d.ts +9 -9
- package/dist/components/checkbox/checkbox-subsection.d.ts +9 -9
- package/dist/components/checkbox/checkbox.d.ts +9 -9
- package/dist/components/checkbox/index.d.ts +9 -9
- package/dist/components/chip/chip.d.ts +9 -9
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/chip/index.d.ts +9 -9
- package/dist/components/chip/index.js +1 -1
- package/dist/components/details/details-content.d.ts +9 -9
- package/dist/components/details/details-summary.d.ts +9 -9
- package/dist/components/details/details.d.ts +9 -9
- package/dist/components/details/index.d.ts +9 -9
- package/dist/components/dialog/dialog-close-button.d.ts +9 -9
- package/dist/components/dialog/dialog-content.d.ts +9 -9
- package/dist/components/dialog/dialog-footer.d.ts +9 -9
- package/dist/components/dialog/dialog-header.d.ts +9 -9
- package/dist/components/dialog/dialog-trigger-context.d.ts +1 -1
- package/dist/components/dialog/dialog-trigger.d.ts +9 -9
- package/dist/components/dialog/dialog.d.ts +9 -9
- package/dist/components/dialog/index.d.ts +9 -9
- package/dist/components/drawer/drawer-close-button.d.ts +9 -9
- package/dist/components/drawer/drawer-content.d.ts +9 -9
- package/dist/components/drawer/drawer-footer.d.ts +9 -9
- package/dist/components/drawer/drawer-header.d.ts +9 -9
- package/dist/components/drawer/drawer-trigger-context.d.ts +1 -1
- package/dist/components/drawer/drawer-trigger.d.ts +9 -9
- package/dist/components/drawer/drawer.d.ts +9 -9
- package/dist/components/drawer/index.d.ts +9 -9
- package/dist/components/dropdown/dropdown-button.d.ts +9 -9
- package/dist/components/dropdown/dropdown-item.d.ts +1 -1
- package/dist/components/dropdown/dropdown-list.d.ts +1 -1
- package/dist/components/dropdown/dropdown-trigger-context.d.ts +9 -9
- package/dist/components/dropdown/dropdown-trigger.d.ts +9 -9
- package/dist/components/dropdown/dropdown.d.ts +9 -9
- package/dist/components/dropdown/index.d.ts +9 -9
- package/dist/components/field/field-affix.d.ts +9 -9
- package/dist/components/field/field-description.d.ts +9 -9
- package/dist/components/field/field.d.ts +9 -9
- package/dist/components/field/index.d.ts +9 -9
- package/dist/components/fieldset/fieldset-description.d.ts +9 -9
- package/dist/components/fieldset/fieldset-legend.d.ts +9 -9
- package/dist/components/fieldset/fieldset.d.ts +9 -9
- package/dist/components/fieldset/index.d.ts +9 -9
- package/dist/components/filter-group/filter-group.d.ts +9 -9
- package/dist/components/filter-group/index.d.ts +9 -9
- package/dist/components/footer/footer-links.d.ts +1 -1
- package/dist/components/footer/footer.d.ts +9 -9
- package/dist/components/footer/index.d.ts +9 -9
- package/dist/components/index.d.ts +9 -9
- package/dist/components/index.js +1 -1
- package/dist/components/input/index.d.ts +9 -9
- package/dist/components/input/input.d.ts +9 -9
- package/dist/components/label/index.d.ts +9 -9
- package/dist/components/label/label.d.ts +9 -9
- package/dist/components/link/index.d.ts +9 -9
- package/dist/components/link/link.d.ts +9 -9
- package/dist/components/logo/index.d.ts +9 -9
- package/dist/components/logo/logo.d.ts +9 -9
- package/dist/components/navbar/index.d.ts +9 -9
- package/dist/components/navbar/navbar.d.ts +9 -9
- package/dist/components/navbar/sub-navbar.d.ts +9 -9
- package/dist/components/pagination/index.d.ts +9 -9
- package/dist/components/pagination/pagination-button.d.ts +9 -9
- package/dist/components/pagination/pagination-item.d.ts +1 -1
- package/dist/components/pagination/pagination.d.ts +9 -9
- package/dist/components/popover/index.d.ts +9 -9
- package/dist/components/popover/popover-trigger-context.d.ts +1 -1
- package/dist/components/popover/popover-trigger.d.ts +9 -9
- package/dist/components/popover/popover.d.ts +9 -9
- package/dist/components/radio/index.d.ts +9 -9
- package/dist/components/radio/radio.d.ts +9 -9
- package/dist/components/search/index.d.ts +9 -9
- package/dist/components/search/search.d.ts +9 -9
- package/dist/components/select/index.d.ts +9 -9
- package/dist/components/select/select-optgroup.d.ts +9 -9
- package/dist/components/select/select-option.d.ts +9 -9
- package/dist/components/select/select.d.ts +9 -9
- package/dist/components/selectfield/index.d.ts +9 -9
- package/dist/components/selectfield/selectfield.d.ts +9 -9
- package/dist/components/skip-link/index.d.ts +9 -9
- package/dist/components/skip-link/skip-link.d.ts +9 -9
- package/dist/components/spinner/index.d.ts +9 -9
- package/dist/components/spinner/spinner.d.ts +9 -9
- package/dist/components/sticky-header/index.d.ts +1 -1
- package/dist/components/sticky-header/sticky-header.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +9 -9
- package/dist/components/tabs/tab.d.ts +9 -9
- package/dist/components/tabs/tabs-list.d.ts +9 -9
- package/dist/components/tabs/tabs-panel.d.ts +9 -9
- package/dist/components/tabs/tabs.d.ts +9 -9
- package/dist/components/textarea/index.d.ts +9 -9
- package/dist/components/textarea/textarea.d.ts +9 -9
- package/dist/components/textfield/index.d.ts +9 -9
- package/dist/components/textfield/textfield.d.ts +9 -9
- package/dist/components/validation-message/index.d.ts +9 -9
- package/dist/components/validation-message/validation-message.d.ts +9 -9
- package/dist/{dialog-trigger-context-CqcFlKiZ.d.ts → dialog-trigger-context-CHhSRFis.d.ts} +3 -3
- package/dist/{drawer-trigger-context-BGpQEYl4.d.ts → drawer-trigger-context-IMLymLZ6.d.ts} +3 -3
- package/dist/{dropdown-item-BxIXaDzp.d.ts → dropdown-item-DrKmRlM3.d.ts} +3 -3
- package/dist/{dropdown-list-BIcdCeXr.d.ts → dropdown-list-Da_W_bpS.d.ts} +3 -3
- package/dist/{footer-links-C5WrGyTb.d.ts → footer-links-CP3P9Utq.d.ts} +3 -3
- package/dist/main.d.ts +9 -9
- package/dist/main.js +1 -1
- package/dist/{pagination-item-C5Jm0qFy.d.ts → pagination-item-Cn0pmBB2.d.ts} +3 -3
- package/dist/{popover-trigger-context-DTdlFdLb.d.ts → popover-trigger-context-DFmCbJc2.d.ts} +3 -3
- package/dist/{sticky-header-DQlgWbz7.d.ts → sticky-header-CY0u-p76.d.ts} +3 -3
- package/dist/utilities/hooks/index.d.ts +9 -9
- package/dist/utilities/hooks/usePagination/usePagination.d.ts +9 -9
- package/dist/utilities/index.d.ts +9 -9
- package/package.json +3 -3
- package/dist/chip-DBcmzT0P.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime67 from "react/jsx-runtime";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/sticky-header/sticky-header.d.ts
|
|
@@ -13,7 +13,7 @@ type StickyHeaderProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
declare const StickyHeader: ({
|
|
15
15
|
children
|
|
16
|
-
}: StickyHeaderProps) =>
|
|
16
|
+
}: StickyHeaderProps) => react_jsx_runtime67.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { StickyHeaderProps as n, StickyHeader as t };
|
|
19
|
-
//# sourceMappingURL=sticky-header-
|
|
19
|
+
//# sourceMappingURL=sticky-header-CY0u-p76.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as useCheckboxGroup, t as UseCheckboxGroupOptions } from "../../useCheckboxGroup-BrrIH1cE.js";
|
|
2
2
|
import { t as useIsomorphicLayoutEffect } from "../../useIsomorphicLayoutEffect-CsNaN4tt.js";
|
|
3
3
|
import "../../types-yUMPmMvf.js";
|
|
4
|
-
import { i as usePagination, r as UsePaginationProps } from "../../alert-footer-
|
|
5
|
-
import "../../dialog-trigger-context-
|
|
6
|
-
import "../../drawer-trigger-context-
|
|
7
|
-
import "../../popover-trigger-context-
|
|
8
|
-
import "../../dropdown-item-
|
|
9
|
-
import "../../dropdown-list-
|
|
10
|
-
import "../../footer-links-
|
|
11
|
-
import "../../pagination-item-
|
|
12
|
-
import "../../sticky-header-
|
|
4
|
+
import { i as usePagination, r as UsePaginationProps } from "../../alert-footer-DuQS-7xz.js";
|
|
5
|
+
import "../../dialog-trigger-context-CHhSRFis.js";
|
|
6
|
+
import "../../drawer-trigger-context-IMLymLZ6.js";
|
|
7
|
+
import "../../popover-trigger-context-DFmCbJc2.js";
|
|
8
|
+
import "../../dropdown-item-DrKmRlM3.js";
|
|
9
|
+
import "../../dropdown-list-Da_W_bpS.js";
|
|
10
|
+
import "../../footer-links-CP3P9Utq.js";
|
|
11
|
+
import "../../pagination-item-Cn0pmBB2.js";
|
|
12
|
+
import "../../sticky-header-CY0u-p76.js";
|
|
13
13
|
import "../../index-Cyx9R6nl.js";
|
|
14
14
|
import { t as useIsElementAboveViewport } from "../../useIsElementAboveViewport-Dicc167e.js";
|
|
15
15
|
import { t as useScrollDirection } from "../../useScrollDirection-BSCugbOI.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../useCheckboxGroup-BrrIH1cE.js";
|
|
2
2
|
import "../../../useIsomorphicLayoutEffect-CsNaN4tt.js";
|
|
3
3
|
import "../../../types-yUMPmMvf.js";
|
|
4
|
-
import { i as usePagination, r as UsePaginationProps } from "../../../alert-footer-
|
|
5
|
-
import "../../../dialog-trigger-context-
|
|
6
|
-
import "../../../drawer-trigger-context-
|
|
7
|
-
import "../../../popover-trigger-context-
|
|
8
|
-
import "../../../dropdown-item-
|
|
9
|
-
import "../../../dropdown-list-
|
|
10
|
-
import "../../../footer-links-
|
|
11
|
-
import "../../../pagination-item-
|
|
12
|
-
import "../../../sticky-header-
|
|
4
|
+
import { i as usePagination, r as UsePaginationProps } from "../../../alert-footer-DuQS-7xz.js";
|
|
5
|
+
import "../../../dialog-trigger-context-CHhSRFis.js";
|
|
6
|
+
import "../../../drawer-trigger-context-IMLymLZ6.js";
|
|
7
|
+
import "../../../popover-trigger-context-DFmCbJc2.js";
|
|
8
|
+
import "../../../dropdown-item-DrKmRlM3.js";
|
|
9
|
+
import "../../../dropdown-list-Da_W_bpS.js";
|
|
10
|
+
import "../../../footer-links-CP3P9Utq.js";
|
|
11
|
+
import "../../../pagination-item-Cn0pmBB2.js";
|
|
12
|
+
import "../../../sticky-header-CY0u-p76.js";
|
|
13
13
|
import "../../../index-Cyx9R6nl.js";
|
|
14
14
|
import "../../../useIsElementAboveViewport-Dicc167e.js";
|
|
15
15
|
import "../../../useScrollDirection-BSCugbOI.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as useCheckboxGroup, t as UseCheckboxGroupOptions } from "../useCheckboxGroup-BrrIH1cE.js";
|
|
2
2
|
import { t as useIsomorphicLayoutEffect } from "../useIsomorphicLayoutEffect-CsNaN4tt.js";
|
|
3
3
|
import "../types-yUMPmMvf.js";
|
|
4
|
-
import { i as usePagination, r as UsePaginationProps } from "../alert-footer-
|
|
5
|
-
import "../dialog-trigger-context-
|
|
6
|
-
import "../drawer-trigger-context-
|
|
7
|
-
import "../popover-trigger-context-
|
|
8
|
-
import "../dropdown-item-
|
|
9
|
-
import "../dropdown-list-
|
|
10
|
-
import "../footer-links-
|
|
11
|
-
import "../pagination-item-
|
|
12
|
-
import "../sticky-header-
|
|
4
|
+
import { i as usePagination, r as UsePaginationProps } from "../alert-footer-DuQS-7xz.js";
|
|
5
|
+
import "../dialog-trigger-context-CHhSRFis.js";
|
|
6
|
+
import "../drawer-trigger-context-IMLymLZ6.js";
|
|
7
|
+
import "../popover-trigger-context-DFmCbJc2.js";
|
|
8
|
+
import "../dropdown-item-DrKmRlM3.js";
|
|
9
|
+
import "../dropdown-list-Da_W_bpS.js";
|
|
10
|
+
import "../footer-links-CP3P9Utq.js";
|
|
11
|
+
import "../pagination-item-Cn0pmBB2.js";
|
|
12
|
+
import "../sticky-header-CY0u-p76.js";
|
|
13
13
|
import "../index-Cyx9R6nl.js";
|
|
14
14
|
import { t as useIsElementAboveViewport } from "../useIsElementAboveViewport-Dicc167e.js";
|
|
15
15
|
import { t as useScrollDirection } from "../useScrollDirection-BSCugbOI.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bi-digital/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^20.19.0 || >=22.12.0"
|
|
7
7
|
},
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
42
42
|
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
43
43
|
"clsx": "^2.1.1",
|
|
44
|
-
"@bi-digital/icons": "0.
|
|
44
|
+
"@bi-digital/icons": "0.6.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@testing-library/dom": "^10.4.1",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"react": "^19",
|
|
64
64
|
"react-dom": "^19",
|
|
65
|
-
"@bi-digital/css": "0.
|
|
65
|
+
"@bi-digital/css": "0.6.0"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "tsdown",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chip-DBcmzT0P.js","names":[],"sources":["../src/components/chip/chip.tsx"],"sourcesContent":["import type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport clsx from 'clsx';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type ChipProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The chip size\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /**\n * The chip color\n * @default 'primary'\n */\n color?: 'neutral' | 'primary-light' | 'info' | 'white' | 'primary' | 'alert' | 'warning' | 'success';\n /** Set an icon before the chip label */\n startIcon?: ReactNode;\n ref?: Ref<HTMLDivElement>;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n }\n>;\n\nexport const Chip = ({\n children,\n color = 'primary',\n size = 'medium',\n startIcon,\n dark,\n asChild,\n className,\n ref,\n ...props\n}: ChipProps) => {\n const Component = asChild ? Slot : 'div';\n\n return (\n <Component\n className={clsx('bi-chip', className)}\n data-color={color}\n data-size={size}\n data-dark={dark || undefined}\n ref={ref}\n {...props}\n >\n {startIcon}\n <Slottable>{children}</Slottable>\n </Component>\n );\n};\n"],"mappings":";;;;;AA8BA,MAAa,QAAQ,EACnB,UACA,QAAQ,WACR,OAAO,UACP,WACA,MACA,SACA,WACA,IACA,GAAG,YACY;AAGf,QACE,qBAHgB,UAAU,OAAO;EAI/B,WAAW,KAAK,WAAW,UAAU;EACrC,cAAY;EACZ,aAAW;EACX,aAAW,QAAQ;EACd;EACL,GAAI;aAEH,WACD,oBAAC,aAAW,WAAqB;GACvB"}
|