@bi-digital/react 0.0.0-experimental-aff96f9 → 0.0.0-experimental-7ec9539
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-W74EeTGu.d.ts → alert-footer-DO4EmxdJ.d.ts} +4 -1
- package/dist/components/alert/alert-footer.d.ts +1 -1
- package/dist/components/alert/alert.d.ts +1 -1
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/card/card-action.d.ts +1 -1
- package/dist/components/card/card-actions.d.ts +1 -1
- package/dist/components/card/card-content.d.ts +1 -1
- package/dist/components/card/card-date.d.ts +1 -1
- package/dist/components/card/card-header.d.ts +1 -1
- package/dist/components/card/card-media.d.ts +1 -1
- package/dist/components/card/card.d.ts +1 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/checkbox/checkbox-subsection.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/chip/chip.d.ts +1 -1
- package/dist/components/chip/index.d.ts +1 -1
- package/dist/components/dialog/dialog-close-button.d.ts +1 -1
- package/dist/components/dialog/dialog-content.d.ts +1 -1
- package/dist/components/dialog/dialog-footer.d.ts +1 -1
- package/dist/components/dialog/dialog-header.d.ts +1 -1
- package/dist/components/dialog/dialog-trigger.d.ts +1 -1
- package/dist/components/dialog/dialog.d.ts +1 -1
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/drawer/drawer-close-button.d.ts +1 -1
- package/dist/components/drawer/drawer-content.d.ts +1 -1
- package/dist/components/drawer/drawer-footer.d.ts +1 -1
- package/dist/components/drawer/drawer-header.d.ts +1 -1
- package/dist/components/drawer/drawer-trigger.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/drawer/index.d.ts +1 -1
- package/dist/components/dropdown/dropdown-button.d.ts +1 -1
- package/dist/components/dropdown/dropdown-trigger.d.ts +1 -1
- package/dist/components/dropdown/dropdown.d.ts +1 -1
- package/dist/components/dropdown/index.d.ts +1 -1
- package/dist/components/field/field-affix.d.ts +1 -1
- package/dist/components/field/field-description.d.ts +1 -1
- package/dist/components/field/field.d.ts +1 -1
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/fieldset/fieldset-description.d.ts +1 -1
- package/dist/components/fieldset/fieldset-legend.d.ts +1 -1
- package/dist/components/fieldset/fieldset.d.ts +1 -1
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/filter-group/filter-group.d.ts +1 -1
- package/dist/components/filter-group/index.d.ts +1 -1
- package/dist/components/footer/footer.d.ts +1 -1
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/label/index.d.ts +1 -1
- package/dist/components/label/label.d.ts +1 -1
- package/dist/components/link/index.d.ts +1 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/logo/index.d.ts +1 -1
- package/dist/components/logo/logo.d.ts +1 -1
- package/dist/components/navbar/index.d.ts +1 -1
- package/dist/components/navbar/navbar.d.ts +1 -1
- package/dist/components/navbar/sub-navbar.d.ts +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/pagination-button.d.ts +1 -1
- package/dist/components/pagination/pagination.d.ts +1 -1
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/popover-trigger.d.ts +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/radio/index.d.ts +1 -1
- package/dist/components/radio/radio.d.ts +1 -1
- package/dist/components/search/index.d.ts +1 -1
- package/dist/components/search/index.js +1 -1
- package/dist/components/search/search.d.ts +1 -1
- package/dist/components/search/search.js +1 -1
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/select-optgroup.d.ts +1 -1
- package/dist/components/select/select-option.d.ts +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/skip-link/index.d.ts +1 -1
- package/dist/components/skip-link/skip-link.d.ts +1 -1
- package/dist/components/spinner/index.d.ts +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/tab.d.ts +1 -1
- package/dist/components/tabs/tabs-list.d.ts +1 -1
- package/dist/components/tabs/tabs-panel.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/textarea/index.d.ts +1 -1
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/textfield/index.d.ts +1 -1
- package/dist/components/textfield/textfield.d.ts +1 -1
- package/dist/components/validation-message/index.d.ts +1 -1
- package/dist/components/validation-message/validation-message.d.ts +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.js +1 -1
- package/dist/{search-CRq3BbRW.js → search-Dhdq8_sk.js} +6 -2
- package/dist/search-Dhdq8_sk.js.map +1 -0
- package/dist/utilities/hooks/index.d.ts +1 -1
- package/dist/utilities/hooks/usePagination/usePagination.d.ts +1 -1
- package/dist/utilities/index.d.ts +1 -1
- package/package.json +4 -4
- package/dist/search-CRq3BbRW.js.map +0 -1
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Input, InputProps } from "../../alert-footer-
|
|
5
|
+
import { Input, InputProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Input, InputProps } from "../../alert-footer-
|
|
5
|
+
import { Input, InputProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Label, LabelProps } from "../../alert-footer-
|
|
5
|
+
import { Label, LabelProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Label, LabelProps } from "../../alert-footer-
|
|
5
|
+
import { Label, LabelProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Link, LinkProps } from "../../alert-footer-
|
|
5
|
+
import { Link, LinkProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Link, LinkProps } from "../../alert-footer-
|
|
5
|
+
import { Link, LinkProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Logo, LogoProps } from "../../alert-footer-
|
|
5
|
+
import { Logo, LogoProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Logo, LogoProps } from "../../alert-footer-
|
|
5
|
+
import { Logo, LogoProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Navbar, NavbarProps, SubNavbar, SubNavbarProps } from "../../alert-footer-
|
|
5
|
+
import { Navbar, NavbarProps, SubNavbar, SubNavbarProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Navbar, NavbarProps } from "../../alert-footer-
|
|
5
|
+
import { Navbar, NavbarProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { SubNavbar, SubNavbarProps } from "../../alert-footer-
|
|
5
|
+
import { SubNavbar, SubNavbarProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Pagination, PaginationButton, PaginationButtonProps, PaginationProps } from "../../alert-footer-
|
|
5
|
+
import { Pagination, PaginationButton, PaginationButtonProps, PaginationProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { PaginationButton, PaginationButtonProps } from "../../alert-footer-
|
|
5
|
+
import { PaginationButton, PaginationButtonProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Pagination, PaginationProps } from "../../alert-footer-
|
|
5
|
+
import { Pagination, PaginationProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Popover, PopoverProps, PopoverTrigger, PopoverTriggerProps } from "../../alert-footer-
|
|
5
|
+
import { Popover, PopoverProps, PopoverTrigger, PopoverTriggerProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import { PopoverTriggerContext, PopoverTriggerContextProps } from "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { PopoverTrigger, PopoverTriggerProps } from "../../alert-footer-
|
|
5
|
+
import { PopoverTrigger, PopoverTriggerProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Popover, PopoverProps } from "../../alert-footer-
|
|
5
|
+
import { Popover, PopoverProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Radio, RadioProps } from "../../alert-footer-
|
|
5
|
+
import { Radio, RadioProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Radio, RadioProps } from "../../alert-footer-
|
|
5
|
+
import { Radio, RadioProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Search, SearchProps } from "../../alert-footer-
|
|
5
|
+
import { Search, SearchProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -8,7 +8,7 @@ import "../../field-affix-npc6m7XL.js";
|
|
|
8
8
|
import "../../field-B7y2WBzu.js";
|
|
9
9
|
import "../../input-Dr7BnTyd.js";
|
|
10
10
|
import "../../input-03FO9IIL.js";
|
|
11
|
-
import { Search } from "../../search-
|
|
11
|
+
import { Search } from "../../search-Dhdq8_sk.js";
|
|
12
12
|
import "../../search-VYIc3wFh.js";
|
|
13
13
|
|
|
14
14
|
export { Search };
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Search, SearchProps } from "../../alert-footer-
|
|
5
|
+
import { Search, SearchProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -8,6 +8,6 @@ import "../../field-affix-npc6m7XL.js";
|
|
|
8
8
|
import "../../field-B7y2WBzu.js";
|
|
9
9
|
import "../../input-Dr7BnTyd.js";
|
|
10
10
|
import "../../input-03FO9IIL.js";
|
|
11
|
-
import { Search } from "../../search-
|
|
11
|
+
import { Search } from "../../search-Dhdq8_sk.js";
|
|
12
12
|
|
|
13
13
|
export { Search };
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps } from "../../alert-footer-
|
|
5
|
+
import { Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { SelectOptgroup, SelectOptgroupProps } from "../../alert-footer-
|
|
5
|
+
import { SelectOptgroup, SelectOptgroupProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { SelectOption, SelectOptionProps } from "../../alert-footer-
|
|
5
|
+
import { SelectOption, SelectOptionProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Select, SelectProps } from "../../alert-footer-
|
|
5
|
+
import { Select, SelectProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { SkipLink, SkipLinkProps } from "../../alert-footer-
|
|
5
|
+
import { SkipLink, SkipLinkProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { SkipLink, SkipLinkProps } from "../../alert-footer-
|
|
5
|
+
import { SkipLink, SkipLinkProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Spinner, SpinnerProps } from "../../alert-footer-
|
|
5
|
+
import { Spinner, SpinnerProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Spinner, SpinnerProps } from "../../alert-footer-
|
|
5
|
+
import { Spinner, SpinnerProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps } from "../../alert-footer-
|
|
5
|
+
import { Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Tab, TabProps } from "../../alert-footer-
|
|
5
|
+
import { Tab, TabProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { TabsList, TabsListProps } from "../../alert-footer-
|
|
5
|
+
import { TabsList, TabsListProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { TabsPanel, TabsPanelProps } from "../../alert-footer-
|
|
5
|
+
import { TabsPanel, TabsPanelProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Tabs, TabsProps } from "../../alert-footer-
|
|
5
|
+
import { Tabs, TabsProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Textarea, TextareaProps } from "../../alert-footer-
|
|
5
|
+
import { Textarea, TextareaProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Textarea, TextareaProps } from "../../alert-footer-
|
|
5
|
+
import { Textarea, TextareaProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Textfield, TextfieldProps } from "../../alert-footer-
|
|
5
|
+
import { Textfield, TextfieldProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { Textfield, TextfieldProps } from "../../alert-footer-
|
|
5
|
+
import { Textfield, TextfieldProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { ValidationMessage, ValidationMessageProps } from "../../alert-footer-
|
|
5
|
+
import { ValidationMessage, ValidationMessageProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { ValidationMessage, ValidationMessageProps } from "../../alert-footer-
|
|
5
|
+
import { ValidationMessage, ValidationMessageProps } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
package/dist/main.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { UseCheckboxGroupOptions, useCheckboxGroup } from "./useCheckboxGroup-DR
|
|
|
2
2
|
import { useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "./useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "./types-Mj1poXVf.js";
|
|
5
|
-
import { Alert, AlertFooter, AlertFooterProps, AlertProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardAction, CardActionProps, CardActions, CardActionsProps, CardContent, CardContentProps, CardDate, CardDateProps, CardHeader, CardHeaderProps, CardMedia, CardMediaProps, CardProps, Checkbox, CheckboxProps, CheckboxSubsection, CheckboxSubsectionProps, Chip, ChipProps, Dialog, DialogCloseButton, DialogCloseButtonProps, DialogContent, DialogContentProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerCloseButton, DrawerCloseButtonProps, DrawerContent, DrawerContentProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerTrigger, DrawerTriggerProps, Dropdown, DropdownButton, DropdownButtonProps, DropdownProps, DropdownTrigger, DropdownTriggerProps, Field, FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps, FieldDescription, FieldDescriptionProps, FieldProps, Fieldset, FieldsetDescription, FieldsetDescriptionProps, FieldsetLegend, FieldsetLegendProps, FieldsetProps, FilterGroup, FilterGroupProps, Footer, FooterProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Logo, LogoProps, Navbar, NavbarProps, Pagination, PaginationButton, PaginationButtonProps, PaginationProps, Popover, PopoverProps, PopoverTrigger, PopoverTriggerProps, Radio, RadioProps, Search, SearchProps, Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps, SkipLink, SkipLinkProps, Spinner, SpinnerProps, SubNavbar, SubNavbarProps, Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, Textarea, TextareaProps, Textfield, TextfieldProps, UsePaginationProps, ValidationMessage, ValidationMessageProps, usePagination } from "./alert-footer-
|
|
5
|
+
import { Alert, AlertFooter, AlertFooterProps, AlertProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardAction, CardActionProps, CardActions, CardActionsProps, CardContent, CardContentProps, CardDate, CardDateProps, CardHeader, CardHeaderProps, CardMedia, CardMediaProps, CardProps, Checkbox, CheckboxProps, CheckboxSubsection, CheckboxSubsectionProps, Chip, ChipProps, Dialog, DialogCloseButton, DialogCloseButtonProps, DialogContent, DialogContentProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerCloseButton, DrawerCloseButtonProps, DrawerContent, DrawerContentProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerTrigger, DrawerTriggerProps, Dropdown, DropdownButton, DropdownButtonProps, DropdownProps, DropdownTrigger, DropdownTriggerProps, Field, FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps, FieldDescription, FieldDescriptionProps, FieldProps, Fieldset, FieldsetDescription, FieldsetDescriptionProps, FieldsetLegend, FieldsetLegendProps, FieldsetProps, FilterGroup, FilterGroupProps, Footer, FooterProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Logo, LogoProps, Navbar, NavbarProps, Pagination, PaginationButton, PaginationButtonProps, PaginationProps, Popover, PopoverProps, PopoverTrigger, PopoverTriggerProps, Radio, RadioProps, Search, SearchProps, Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps, SkipLink, SkipLinkProps, Spinner, SpinnerProps, SubNavbar, SubNavbarProps, Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, Textarea, TextareaProps, Textfield, TextfieldProps, UsePaginationProps, ValidationMessage, ValidationMessageProps, usePagination } from "./alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import { Context, DialogTriggerContext, DialogTriggerContextProps } from "./dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import { DrawerTriggerContext, DrawerTriggerContextProps } from "./drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import { PopoverTriggerContext, PopoverTriggerContextProps } from "./popover-trigger-context-C3QaiCth.js";
|
package/dist/main.js
CHANGED
|
@@ -86,7 +86,7 @@ import { PaginationItem } from "./pagination-item-DXnI0BWj.js";
|
|
|
86
86
|
import "./pagination-DUyQRuUE.js";
|
|
87
87
|
import { Radio } from "./radio-ClWd10lc.js";
|
|
88
88
|
import "./radio-Uyx2D7dl.js";
|
|
89
|
-
import { Search } from "./search-
|
|
89
|
+
import { Search } from "./search-Dhdq8_sk.js";
|
|
90
90
|
import "./search-VYIc3wFh.js";
|
|
91
91
|
import { Select } from "./select-DCZV6wZu.js";
|
|
92
92
|
import { SelectOption } from "./select-option-BByWq34J.js";
|
|
@@ -7,7 +7,7 @@ import { BiIconCrossSmall, BiIconMagnefyingGlass } from "@bi-digital/icons-react
|
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region src/components/search/search.tsx
|
|
10
|
-
const Search = ({ className, onSubmit, clearAriaLabel = "Clear", size = "medium", ref, dark, style,...props }) => {
|
|
10
|
+
const Search = ({ className, onSubmit, onReset, clearAriaLabel = "Clear", size = "medium", ref, dark, style,...props }) => {
|
|
11
11
|
const handleSubmit = (e) => {
|
|
12
12
|
e.preventDefault();
|
|
13
13
|
if (onSubmit) {
|
|
@@ -15,6 +15,9 @@ const Search = ({ className, onSubmit, clearAriaLabel = "Clear", size = "medium"
|
|
|
15
15
|
onSubmit(input?.value || "");
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
|
+
const handleReset = () => {
|
|
19
|
+
if (onReset) onReset("");
|
|
20
|
+
};
|
|
18
21
|
return /* @__PURE__ */ jsx(Field, {
|
|
19
22
|
className: clsx("bi-search", className),
|
|
20
23
|
"data-dark": dark,
|
|
@@ -22,6 +25,7 @@ const Search = ({ className, onSubmit, clearAriaLabel = "Clear", size = "medium"
|
|
|
22
25
|
asChild: true,
|
|
23
26
|
children: /* @__PURE__ */ jsx("form", {
|
|
24
27
|
onSubmit: handleSubmit,
|
|
28
|
+
onReset: handleReset,
|
|
25
29
|
children: /* @__PURE__ */ jsxs(FieldAffixes, { children: [
|
|
26
30
|
/* @__PURE__ */ jsx(FieldAffix, { children: /* @__PURE__ */ jsx(BiIconMagnefyingGlass, { size }) }),
|
|
27
31
|
/* @__PURE__ */ jsx(Input, {
|
|
@@ -52,4 +56,4 @@ const Search = ({ className, onSubmit, clearAriaLabel = "Clear", size = "medium"
|
|
|
52
56
|
|
|
53
57
|
//#endregion
|
|
54
58
|
export { Search };
|
|
55
|
-
//# sourceMappingURL=search-
|
|
59
|
+
//# sourceMappingURL=search-Dhdq8_sk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-Dhdq8_sk.js","names":["e: React.FormEvent<HTMLFormElement>"],"sources":["../src/components/search/search.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { Field, FieldAffixes, FieldAffix } from '../field';\nimport { Input, type InputProps } from '../input';\nimport { BiIconCrossSmall, BiIconMagnefyingGlass } from '@bi-digital/icons-react';\nimport type { MergeRight } from '../../utilities';\nimport { Button } from '../button';\n\nexport type SearchProps = MergeRight<\n Omit<InputProps, 'type' | 'size'>,\n {\n /**\n * Size of the search.\n * @default 'medium'\n */\n size?: 'medium' | 'large';\n /** Called when the user presses enter. You can use this to for example navigate on submit. */\n onSubmit?: (value: string) => void;\n /** Called when the user resets the search input. */\n onReset?: (value: string) => void;\n /**\n * Aria-label for the clear button.\n * @defaultValue 'Clear'\n */\n clearAriaLabel?: string;\n }\n>;\n\nexport const Search = ({\n className,\n onSubmit,\n onReset,\n clearAriaLabel = 'Clear',\n size = 'medium',\n ref,\n dark,\n style,\n ...props\n}: SearchProps) => {\n const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {\n e.preventDefault();\n if (onSubmit) {\n const input = e.currentTarget.querySelector('input');\n onSubmit(input?.value || '');\n }\n };\n const handleReset = () => {\n if (onReset) {\n onReset('');\n }\n };\n return (\n <Field className={clsx('bi-search', className)} data-dark={dark} style={style} asChild>\n <form onSubmit={handleSubmit} onReset={handleReset}>\n <FieldAffixes>\n <FieldAffix>\n <BiIconMagnefyingGlass size={size} />\n </FieldAffix>\n <Input type='text' ref={ref} size={size} {...props} />\n <FieldAffix aria-hidden='false'>\n <Button aria-label={clearAriaLabel} icon size={size} dark={dark} variant='text' type='reset'>\n <BiIconCrossSmall size={size} aria-hidden='true' />\n </Button>\n </FieldAffix>\n </FieldAffixes>\n </form>\n </Field>\n );\n};\n"],"mappings":";;;;;;;;;AA2BA,MAAa,SAAS,CAAC,EACrB,WACA,UACA,SACA,iBAAiB,SACjB,OAAO,UACP,KACA,MACA,MACA,GAAG,OACS,KAAK;CACjB,MAAM,eAAe,CAACA,MAAwC;AAC5D,IAAE,gBAAgB;AAClB,MAAI,UAAU;GACZ,MAAM,QAAQ,EAAE,cAAc,cAAc,QAAQ;AACpD,YAAS,OAAO,SAAS,GAAG;EAC7B;CACF;CACD,MAAM,cAAc,MAAM;AACxB,MAAI,QACF,SAAQ,GAAG;CAEd;AACD,wBACE,IAAC;EAAM,WAAW,KAAK,aAAa,UAAU;EAAE,aAAW;EAAa;EAAO;4BAC7E,IAAC;GAAK,UAAU;GAAc,SAAS;6BACrC,KAAC;oBACC,IAAC,wCACC,IAAC,yBAA4B,OAAQ,GAC1B;oBACb,IAAC;KAAM,MAAK;KAAY;KAAW;KAAM,GAAI;MAAS;oBACtD,IAAC;KAAW,eAAY;+BACtB,IAAC;MAAO,cAAY;MAAgB;MAAW;MAAY;MAAM,SAAQ;MAAO,MAAK;gCACnF,IAAC;OAAuB;OAAM,eAAY;QAAS;OAC5C;MACE;OACA;IACV;GACD;AAEX"}
|
|
@@ -2,7 +2,7 @@ import { UseCheckboxGroupOptions, useCheckboxGroup } from "../../useCheckboxGrou
|
|
|
2
2
|
import { useIsomorphicLayoutEffect } from "../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import { useMergeRefs } from "../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../types-Mj1poXVf.js";
|
|
5
|
-
import { UsePaginationProps, usePagination } from "../../alert-footer-
|
|
5
|
+
import { UsePaginationProps, usePagination } from "../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import "../../../useCheckboxGroup-DRhqch1m.js";
|
|
|
2
2
|
import "../../../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../../../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../../../types-Mj1poXVf.js";
|
|
5
|
-
import { UsePaginationProps, usePagination } from "../../../alert-footer-
|
|
5
|
+
import { UsePaginationProps, usePagination } from "../../../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../../../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../../../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../../../popover-trigger-context-C3QaiCth.js";
|
|
@@ -2,7 +2,7 @@ import { UseCheckboxGroupOptions, useCheckboxGroup } from "../useCheckboxGroup-D
|
|
|
2
2
|
import { useIsomorphicLayoutEffect } from "../useIsomorphicLayoutEffect-BMdz-mee.js";
|
|
3
3
|
import "../useMergeRefs-iCenhgmf.js";
|
|
4
4
|
import "../types-Mj1poXVf.js";
|
|
5
|
-
import { UsePaginationProps, usePagination } from "../alert-footer-
|
|
5
|
+
import { UsePaginationProps, usePagination } from "../alert-footer-DO4EmxdJ.js";
|
|
6
6
|
import "../dialog-trigger-context-BkQSJ-rX.js";
|
|
7
7
|
import "../drawer-trigger-context-B3X3kUrY.js";
|
|
8
8
|
import "../popover-trigger-context-C3QaiCth.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bi-digital/react",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-7ec9539",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React components from BI Digital",
|
|
6
6
|
"author": "BI Digital",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"tsdown": "^0.12.7",
|
|
48
48
|
"typescript": "^5.7.2",
|
|
49
49
|
"vitest": "^3.2.1",
|
|
50
|
-
"@bi-digital/icons-react": "0.0.0-experimental-
|
|
50
|
+
"@bi-digital/icons-react": "0.0.0-experimental-7ec9539"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": "^19",
|
|
54
54
|
"react-dom": "^19",
|
|
55
|
-
"@bi-digital/css": "0.0.0-experimental-
|
|
56
|
-
"@bi-digital/icons-react": "0.0.0-experimental-
|
|
55
|
+
"@bi-digital/css": "0.0.0-experimental-7ec9539",
|
|
56
|
+
"@bi-digital/icons-react": "0.0.0-experimental-7ec9539"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "tsdown",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"search-CRq3BbRW.js","names":["e: React.FormEvent<HTMLFormElement>"],"sources":["../src/components/search/search.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { Field, FieldAffixes, FieldAffix } from '../field';\nimport { Input, type InputProps } from '../input';\nimport { BiIconCrossSmall, BiIconMagnefyingGlass } from '@bi-digital/icons-react';\nimport type { MergeRight } from '../../utilities';\nimport { Button } from '../button';\n\nexport type SearchProps = MergeRight<\n Omit<InputProps, 'type' | 'size'>,\n {\n /**\n * Size of the search.\n * @default 'medium'\n */\n size?: 'medium' | 'large';\n /** Called when the user presses enter. You can use this to for example navigate on submit. */\n onSubmit?: (value: string) => void;\n /**\n * Aria-label for the clear button.\n * @defaultValue 'Clear'\n */\n clearAriaLabel?: string;\n }\n>;\n\nexport const Search = ({\n className,\n onSubmit,\n clearAriaLabel = 'Clear',\n size = 'medium',\n ref,\n dark,\n style,\n ...props\n}: SearchProps) => {\n const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {\n e.preventDefault();\n if (onSubmit) {\n const input = e.currentTarget.querySelector('input');\n onSubmit(input?.value || '');\n }\n };\n return (\n <Field className={clsx('bi-search', className)} data-dark={dark} style={style} asChild>\n <form onSubmit={handleSubmit}>\n <FieldAffixes>\n <FieldAffix>\n <BiIconMagnefyingGlass size={size} />\n </FieldAffix>\n <Input type='text' ref={ref} size={size} {...props} />\n <FieldAffix aria-hidden='false'>\n <Button aria-label={clearAriaLabel} icon size={size} dark={dark} variant='text' type='reset'>\n <BiIconCrossSmall size={size} aria-hidden='true' />\n </Button>\n </FieldAffix>\n </FieldAffixes>\n </form>\n </Field>\n );\n};\n"],"mappings":";;;;;;;;;AAyBA,MAAa,SAAS,CAAC,EACrB,WACA,UACA,iBAAiB,SACjB,OAAO,UACP,KACA,MACA,MACA,GAAG,OACS,KAAK;CACjB,MAAM,eAAe,CAACA,MAAwC;AAC5D,IAAE,gBAAgB;AAClB,MAAI,UAAU;GACZ,MAAM,QAAQ,EAAE,cAAc,cAAc,QAAQ;AACpD,YAAS,OAAO,SAAS,GAAG;EAC7B;CACF;AACD,wBACE,IAAC;EAAM,WAAW,KAAK,aAAa,UAAU;EAAE,aAAW;EAAa;EAAO;4BAC7E,IAAC;GAAK,UAAU;6BACd,KAAC;oBACC,IAAC,wCACC,IAAC,yBAA4B,OAAQ,GAC1B;oBACb,IAAC;KAAM,MAAK;KAAY;KAAW;KAAM,GAAI;MAAS;oBACtD,IAAC;KAAW,eAAY;+BACtB,IAAC;MAAO,cAAY;MAAgB;MAAW;MAAY;MAAM,SAAQ;MAAO,MAAK;gCACnF,IAAC;OAAuB;OAAM,eAAY;QAAS;OAC5C;MACE;OACA;IACV;GACD;AAEX"}
|