@bi-digital/react 0.2.16 → 0.2.18
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-DF92J9Xu.d.ts → alert-footer-BS8bENJI.d.ts} +38 -43
- package/dist/{button-ByuaxNe-.js → button-fhd-JARc.js} +12 -3
- package/dist/{button-ByuaxNe-.js.map → button-fhd-JARc.js.map} +1 -1
- package/dist/{card-action-DHCCNSRo.js → card-action-D8M3_IVq.js} +2 -2
- package/dist/{card-action-DHCCNSRo.js.map → card-action-D8M3_IVq.js.map} +1 -1
- package/dist/components/alert/alert-footer.d.ts +3 -3
- package/dist/components/alert/alert.d.ts +3 -3
- package/dist/components/alert/index.d.ts +3 -3
- package/dist/components/avatar/avatar.d.ts +3 -3
- package/dist/components/avatar/index.d.ts +3 -3
- package/dist/components/badge/badge.d.ts +3 -3
- package/dist/components/badge/index.d.ts +3 -3
- package/dist/components/button/button.d.ts +3 -3
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/index.d.ts +3 -3
- package/dist/components/button/index.js +1 -1
- package/dist/components/card/card-action.d.ts +3 -3
- package/dist/components/card/card-action.js +2 -2
- package/dist/components/card/card-actions.d.ts +3 -3
- package/dist/components/card/card-content.d.ts +3 -3
- package/dist/components/card/card-date.d.ts +3 -3
- package/dist/components/card/card-header.d.ts +3 -3
- package/dist/components/card/card-media.d.ts +3 -3
- package/dist/components/card/card.d.ts +3 -3
- package/dist/components/card/index.d.ts +3 -3
- package/dist/components/card/index.js +2 -2
- package/dist/components/checkbox/checkbox.d.ts +3 -3
- package/dist/components/checkbox/index.d.ts +3 -3
- package/dist/components/chip/chip.d.ts +3 -3
- package/dist/components/chip/index.d.ts +3 -3
- package/dist/components/dialog/dialog-close-button.d.ts +3 -3
- package/dist/components/dialog/dialog-close-button.js +2 -2
- package/dist/components/dialog/dialog-content.d.ts +3 -3
- package/dist/components/dialog/dialog-footer.d.ts +3 -3
- package/dist/components/dialog/dialog-header.d.ts +3 -3
- package/dist/components/dialog/dialog-trigger.d.ts +3 -3
- package/dist/components/dialog/dialog-trigger.js +2 -2
- package/dist/components/dialog/dialog.d.ts +3 -3
- package/dist/components/dialog/index.d.ts +3 -3
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/drawer/drawer-close-button.d.ts +3 -3
- package/dist/components/drawer/drawer-close-button.js +4 -4
- package/dist/components/drawer/drawer-content.d.ts +3 -3
- package/dist/components/drawer/drawer-content.js +3 -3
- package/dist/components/drawer/drawer-footer.d.ts +3 -3
- package/dist/components/drawer/drawer-footer.js +3 -3
- package/dist/components/drawer/drawer-header.d.ts +3 -3
- package/dist/components/drawer/drawer-header.js +3 -3
- package/dist/components/drawer/drawer-trigger-context.js +3 -3
- package/dist/components/drawer/drawer-trigger.d.ts +3 -3
- package/dist/components/drawer/drawer-trigger.js +4 -4
- package/dist/components/drawer/drawer.d.ts +3 -3
- package/dist/components/drawer/drawer.js +3 -3
- package/dist/components/drawer/index.d.ts +3 -3
- package/dist/components/drawer/index.js +5 -5
- package/dist/components/dropdown/dropdown-button.d.ts +3 -3
- package/dist/components/dropdown/dropdown-button.js +2 -2
- package/dist/components/dropdown/dropdown-trigger-context.js +5 -5
- package/dist/components/dropdown/dropdown-trigger.d.ts +3 -3
- package/dist/components/dropdown/dropdown-trigger.js +5 -5
- package/dist/components/dropdown/dropdown.d.ts +3 -3
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/dropdown/index.d.ts +3 -3
- package/dist/components/dropdown/index.js +8 -8
- package/dist/components/field/field-affix.d.ts +3 -3
- package/dist/components/field/field-description.d.ts +3 -3
- package/dist/components/field/field.d.ts +3 -3
- package/dist/components/field/index.d.ts +3 -3
- package/dist/components/fieldset/fieldset-description.d.ts +3 -3
- package/dist/components/fieldset/fieldset-legend.d.ts +3 -3
- package/dist/components/fieldset/fieldset.d.ts +3 -3
- package/dist/components/fieldset/index.d.ts +3 -3
- package/dist/components/footer/footer.d.ts +3 -3
- package/dist/components/footer/footer.js +2 -2
- package/dist/components/footer/index.d.ts +3 -3
- package/dist/components/footer/index.js +2 -2
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +17 -17
- package/dist/components/input/index.d.ts +3 -3
- package/dist/components/input/input.d.ts +3 -3
- package/dist/components/label/index.d.ts +3 -3
- package/dist/components/label/label.d.ts +3 -3
- package/dist/components/link/index.d.ts +3 -3
- package/dist/components/link/link.d.ts +3 -3
- package/dist/components/logo/index.d.ts +3 -3
- package/dist/components/logo/logo.d.ts +3 -3
- package/dist/components/navbar/index.d.ts +3 -3
- package/dist/components/navbar/navbar.d.ts +3 -3
- package/dist/components/pagination/index.d.ts +3 -3
- package/dist/components/pagination/index.js +2 -2
- package/dist/components/pagination/pagination-button.d.ts +3 -3
- package/dist/components/pagination/pagination-button.js +2 -2
- package/dist/components/pagination/pagination-item.d.ts +1 -1
- package/dist/components/pagination/pagination.d.ts +3 -3
- package/dist/components/popover/index.d.ts +3 -3
- package/dist/components/popover/index.js +4 -4
- package/dist/components/popover/popover-trigger-context.d.ts +1 -1
- package/dist/components/popover/popover-trigger-context.js +1 -1
- package/dist/components/popover/popover-trigger.d.ts +3 -3
- package/dist/components/popover/popover-trigger.js +3 -3
- package/dist/components/popover/popover.d.ts +3 -3
- package/dist/components/popover/popover.js +2 -2
- package/dist/components/radio/index.d.ts +3 -3
- package/dist/components/radio/radio.d.ts +3 -3
- package/dist/components/search/index.d.ts +3 -3
- package/dist/components/search/index.js +2 -2
- package/dist/components/search/search.d.ts +3 -3
- package/dist/components/search/search.js +2 -2
- package/dist/components/select/index.d.ts +3 -3
- package/dist/components/select/select-optgroup.d.ts +3 -3
- package/dist/components/select/select-option.d.ts +3 -3
- package/dist/components/select/select.d.ts +3 -3
- package/dist/components/spinner/index.d.ts +3 -3
- package/dist/components/spinner/spinner.d.ts +3 -3
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/tabs/index.js +2 -2
- package/dist/components/tabs/tab.d.ts +3 -3
- package/dist/components/tabs/tab.js +2 -2
- package/dist/components/tabs/tabs-list.d.ts +3 -3
- package/dist/components/tabs/tabs-panel.d.ts +3 -3
- package/dist/components/tabs/tabs.d.ts +3 -3
- package/dist/components/textarea/index.d.ts +3 -3
- package/dist/components/textarea/textarea.d.ts +3 -3
- package/dist/components/textfield/index.d.ts +3 -3
- package/dist/components/textfield/textfield.d.ts +3 -3
- package/dist/components/validation-message/index.d.ts +3 -3
- package/dist/components/validation-message/validation-message.d.ts +3 -3
- package/dist/{dialog-close-button-C-S4WzSc.js → dialog-close-button-BhzM8xy4.js} +2 -2
- package/dist/{dialog-close-button-C-S4WzSc.js.map → dialog-close-button-BhzM8xy4.js.map} +1 -1
- package/dist/{dialog-trigger-B4XNx0m_.js → dialog-trigger-XPMx1psz.js} +2 -2
- package/dist/{dialog-trigger-B4XNx0m_.js.map → dialog-trigger-XPMx1psz.js.map} +1 -1
- package/dist/{drawer-close-button-g0PXenMb.js → drawer-close-button-dDQvoj0O.js} +2 -2
- package/dist/{drawer-close-button-g0PXenMb.js.map → drawer-close-button-dDQvoj0O.js.map} +1 -1
- package/dist/{drawer-trigger-Cv7iOUcE.js → drawer-trigger-AT7qYJPw.js} +2 -2
- package/dist/{drawer-trigger-Cv7iOUcE.js.map → drawer-trigger-AT7qYJPw.js.map} +1 -1
- package/dist/{dropdown-Dj2cRaaq.js → dropdown-BhdWlVMW.js} +4 -4
- package/dist/{dropdown-Dj2cRaaq.js.map → dropdown-BhdWlVMW.js.map} +1 -1
- package/dist/{dropdown-BjxU_86k.js → dropdown-C1hpsZcN.js} +2 -2
- package/dist/{dropdown-BjxU_86k.js.map → dropdown-C1hpsZcN.js.map} +1 -1
- package/dist/{dropdown-button-eH6Op53s.js → dropdown-button-Btuo7J5R.js} +2 -2
- package/dist/{dropdown-button-eH6Op53s.js.map → dropdown-button-Btuo7J5R.js.map} +1 -1
- package/dist/{dropdown-trigger-DavG703M.js → dropdown-trigger-DG-mnw2U.js} +2 -2
- package/dist/{dropdown-trigger-DavG703M.js.map → dropdown-trigger-DG-mnw2U.js.map} +1 -1
- package/dist/{dropdown-trigger-context-BWJr-7Sn.js → dropdown-trigger-context-Ce6Z9VPK.js} +2 -2
- package/dist/{dropdown-trigger-context-BWJr-7Sn.js.map → dropdown-trigger-context-Ce6Z9VPK.js.map} +1 -1
- package/dist/{footer-7eZZNCRY.js → footer-CU7LdbPO.js} +2 -2
- package/dist/{footer-7eZZNCRY.js.map → footer-CU7LdbPO.js.map} +1 -1
- package/dist/{index-Bh8T71Ia.d.ts → index-CRy7A5Iq.d.ts} +2 -3
- package/dist/{index-DJcJV0y7.d.ts → index-qXXUizvD.d.ts} +2 -2
- package/dist/main.d.ts +3 -3
- package/dist/main.js +17 -17
- package/dist/{pagination-button-b4U1ihSf.js → pagination-button-CG_QfJHY.js} +2 -2
- package/dist/{pagination-button-b4U1ihSf.js.map → pagination-button-CG_QfJHY.js.map} +1 -1
- package/dist/{pagination-item-DKL5arlo.d.ts → pagination-item-hMN-34PX.d.ts} +3 -3
- package/dist/popover-CGNoywPj.js +48 -0
- package/dist/popover-CGNoywPj.js.map +1 -0
- package/dist/{popover-D59x0S-P.js → popover-WJoHXecW.js} +27 -29
- package/dist/popover-WJoHXecW.js.map +1 -0
- package/dist/{popover-trigger-C6X2lGJa.js → popover-trigger-CjEKeJwY.js} +7 -5
- package/dist/{popover-trigger-C6X2lGJa.js.map → popover-trigger-CjEKeJwY.js.map} +1 -1
- package/dist/{popover-trigger-context-CdMmRbFv.js → popover-trigger-context-CNUJbbBn.js} +5 -2
- package/dist/popover-trigger-context-CNUJbbBn.js.map +1 -0
- package/dist/{popover-trigger-context-vREVdUak.d.ts → popover-trigger-context-DQy9nKB2.d.ts} +7 -5
- package/dist/{search-DbpZoxHj.js → search-Dg6xvCDB.js} +2 -2
- package/dist/{search-DbpZoxHj.js.map → search-Dg6xvCDB.js.map} +1 -1
- package/dist/{tab-mYdCvypj.js → tab-D-OGgeAb.js} +2 -2
- package/dist/{tab-mYdCvypj.js.map → tab-D-OGgeAb.js.map} +1 -1
- package/dist/utilities/hooks/index.d.ts +3 -3
- package/dist/utilities/hooks/usePagination/usePagination.d.ts +3 -3
- package/dist/utilities/index.d.ts +3 -3
- package/dist/vanilla/dropdown/index.d.ts +1 -1
- package/dist/vanilla/dropdown/index.js +2 -2
- package/dist/vanilla/index.d.ts +2 -2
- package/dist/vanilla/index.js +2 -2
- package/dist/vanilla/popover/index.d.ts +1 -1
- package/dist/vanilla/popover/index.js +1 -1
- package/package.json +4 -5
- package/dist/popover-BRH3zXGT.js +0 -45
- package/dist/popover-BRH3zXGT.js.map +0 -1
- package/dist/popover-D59x0S-P.js.map +0 -1
- package/dist/popover-trigger-context-CdMmRbFv.js.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "../../useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "../../types-BTJlwWCQ.js";
|
|
4
|
-
import { Tab, TabProps } from "../../alert-footer-
|
|
4
|
+
import { Tab, TabProps } from "../../alert-footer-BS8bENJI.js";
|
|
5
5
|
import "../../dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import "../../drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import "../../popover-trigger-context-
|
|
7
|
+
import "../../popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import "../../dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import "../../dropdown-list-DenWbmcv.js";
|
|
10
10
|
import "../../dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import "../../footer-links-sRD7teEv.js";
|
|
12
|
-
import "../../pagination-item-
|
|
12
|
+
import "../../pagination-item-hMN-34PX.js";
|
|
13
13
|
import "../../types-CAwE6h3H.js";
|
|
14
14
|
export { Tab, TabProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../spinner-Ch5bEQBR.js";
|
|
2
2
|
import "../../spinner-CPiGcSIc.js";
|
|
3
|
-
import "../../button-
|
|
3
|
+
import "../../button-fhd-JARc.js";
|
|
4
4
|
import "../../button-vrN4Zwch.js";
|
|
5
|
-
import { Tab } from "../../tab-
|
|
5
|
+
import { Tab } from "../../tab-D-OGgeAb.js";
|
|
6
6
|
|
|
7
7
|
export { Tab };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "../../useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "../../types-BTJlwWCQ.js";
|
|
4
|
-
import { TabsList, TabsListProps } from "../../alert-footer-
|
|
4
|
+
import { TabsList, TabsListProps } from "../../alert-footer-BS8bENJI.js";
|
|
5
5
|
import "../../dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import "../../drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import "../../popover-trigger-context-
|
|
7
|
+
import "../../popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import "../../dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import "../../dropdown-list-DenWbmcv.js";
|
|
10
10
|
import "../../dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import "../../footer-links-sRD7teEv.js";
|
|
12
|
-
import "../../pagination-item-
|
|
12
|
+
import "../../pagination-item-hMN-34PX.js";
|
|
13
13
|
import "../../types-CAwE6h3H.js";
|
|
14
14
|
export { TabsList, TabsListProps };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "../../useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "../../types-BTJlwWCQ.js";
|
|
4
|
-
import { TabsPanel, TabsPanelProps } from "../../alert-footer-
|
|
4
|
+
import { TabsPanel, TabsPanelProps } from "../../alert-footer-BS8bENJI.js";
|
|
5
5
|
import "../../dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import "../../drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import "../../popover-trigger-context-
|
|
7
|
+
import "../../popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import "../../dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import "../../dropdown-list-DenWbmcv.js";
|
|
10
10
|
import "../../dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import "../../footer-links-sRD7teEv.js";
|
|
12
|
-
import "../../pagination-item-
|
|
12
|
+
import "../../pagination-item-hMN-34PX.js";
|
|
13
13
|
import "../../types-CAwE6h3H.js";
|
|
14
14
|
export { TabsPanel, TabsPanelProps };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "../../useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "../../types-BTJlwWCQ.js";
|
|
4
|
-
import { Tabs, TabsProps } from "../../alert-footer-
|
|
4
|
+
import { Tabs, TabsProps } from "../../alert-footer-BS8bENJI.js";
|
|
5
5
|
import "../../dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import "../../drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import "../../popover-trigger-context-
|
|
7
|
+
import "../../popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import "../../dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import "../../dropdown-list-DenWbmcv.js";
|
|
10
10
|
import "../../dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import "../../footer-links-sRD7teEv.js";
|
|
12
|
-
import "../../pagination-item-
|
|
12
|
+
import "../../pagination-item-hMN-34PX.js";
|
|
13
13
|
import "../../types-CAwE6h3H.js";
|
|
14
14
|
export { Tabs, TabsProps };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "../../useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "../../types-BTJlwWCQ.js";
|
|
4
|
-
import { Textarea, TextareaProps } from "../../alert-footer-
|
|
4
|
+
import { Textarea, TextareaProps } from "../../alert-footer-BS8bENJI.js";
|
|
5
5
|
import "../../dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import "../../drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import "../../popover-trigger-context-
|
|
7
|
+
import "../../popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import "../../dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import "../../dropdown-list-DenWbmcv.js";
|
|
10
10
|
import "../../dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import "../../footer-links-sRD7teEv.js";
|
|
12
|
-
import "../../pagination-item-
|
|
12
|
+
import "../../pagination-item-hMN-34PX.js";
|
|
13
13
|
import "../../types-CAwE6h3H.js";
|
|
14
14
|
export { Textarea, TextareaProps };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "../../useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "../../types-BTJlwWCQ.js";
|
|
4
|
-
import { Textarea, TextareaProps } from "../../alert-footer-
|
|
4
|
+
import { Textarea, TextareaProps } from "../../alert-footer-BS8bENJI.js";
|
|
5
5
|
import "../../dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import "../../drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import "../../popover-trigger-context-
|
|
7
|
+
import "../../popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import "../../dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import "../../dropdown-list-DenWbmcv.js";
|
|
10
10
|
import "../../dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import "../../footer-links-sRD7teEv.js";
|
|
12
|
-
import "../../pagination-item-
|
|
12
|
+
import "../../pagination-item-hMN-34PX.js";
|
|
13
13
|
import "../../types-CAwE6h3H.js";
|
|
14
14
|
export { Textarea, TextareaProps };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "../../useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "../../types-BTJlwWCQ.js";
|
|
4
|
-
import { Textfield, TextfieldProps } from "../../alert-footer-
|
|
4
|
+
import { Textfield, TextfieldProps } from "../../alert-footer-BS8bENJI.js";
|
|
5
5
|
import "../../dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import "../../drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import "../../popover-trigger-context-
|
|
7
|
+
import "../../popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import "../../dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import "../../dropdown-list-DenWbmcv.js";
|
|
10
10
|
import "../../dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import "../../footer-links-sRD7teEv.js";
|
|
12
|
-
import "../../pagination-item-
|
|
12
|
+
import "../../pagination-item-hMN-34PX.js";
|
|
13
13
|
import "../../types-CAwE6h3H.js";
|
|
14
14
|
export { Textfield, TextfieldProps };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "../../useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "../../types-BTJlwWCQ.js";
|
|
4
|
-
import { Textfield, TextfieldProps } from "../../alert-footer-
|
|
4
|
+
import { Textfield, TextfieldProps } from "../../alert-footer-BS8bENJI.js";
|
|
5
5
|
import "../../dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import "../../drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import "../../popover-trigger-context-
|
|
7
|
+
import "../../popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import "../../dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import "../../dropdown-list-DenWbmcv.js";
|
|
10
10
|
import "../../dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import "../../footer-links-sRD7teEv.js";
|
|
12
|
-
import "../../pagination-item-
|
|
12
|
+
import "../../pagination-item-hMN-34PX.js";
|
|
13
13
|
import "../../types-CAwE6h3H.js";
|
|
14
14
|
export { Textfield, TextfieldProps };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "../../useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "../../types-BTJlwWCQ.js";
|
|
4
|
-
import { ValidationMessage, ValidationMessageProps } from "../../alert-footer-
|
|
4
|
+
import { ValidationMessage, ValidationMessageProps } from "../../alert-footer-BS8bENJI.js";
|
|
5
5
|
import "../../dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import "../../drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import "../../popover-trigger-context-
|
|
7
|
+
import "../../popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import "../../dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import "../../dropdown-list-DenWbmcv.js";
|
|
10
10
|
import "../../dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import "../../footer-links-sRD7teEv.js";
|
|
12
|
-
import "../../pagination-item-
|
|
12
|
+
import "../../pagination-item-hMN-34PX.js";
|
|
13
13
|
import "../../types-CAwE6h3H.js";
|
|
14
14
|
export { ValidationMessage, ValidationMessageProps };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "../../useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "../../types-BTJlwWCQ.js";
|
|
4
|
-
import { ValidationMessage, ValidationMessageProps } from "../../alert-footer-
|
|
4
|
+
import { ValidationMessage, ValidationMessageProps } from "../../alert-footer-BS8bENJI.js";
|
|
5
5
|
import "../../dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import "../../drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import "../../popover-trigger-context-
|
|
7
|
+
import "../../popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import "../../dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import "../../dropdown-list-DenWbmcv.js";
|
|
10
10
|
import "../../dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import "../../footer-links-sRD7teEv.js";
|
|
12
|
-
import "../../pagination-item-
|
|
12
|
+
import "../../pagination-item-hMN-34PX.js";
|
|
13
13
|
import "../../types-CAwE6h3H.js";
|
|
14
14
|
export { ValidationMessage, ValidationMessageProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button } from "./button-
|
|
1
|
+
import { Button } from "./button-fhd-JARc.js";
|
|
2
2
|
import { BiIconCrossSmall } from "@bi-digital/icons-react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
@@ -21,4 +21,4 @@ const DialogCloseButton = ({ children, ref,...props }) => {
|
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
23
|
export { DialogCloseButton };
|
|
24
|
-
//# sourceMappingURL=dialog-close-button-
|
|
24
|
+
//# sourceMappingURL=dialog-close-button-BhzM8xy4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-close-button-
|
|
1
|
+
{"version":3,"file":"dialog-close-button-BhzM8xy4.js","names":[],"sources":["../src/components/dialog/dialog-close-button.tsx"],"sourcesContent":["import { BiIconCrossSmall } from '@bi-digital/icons-react';\nimport { Button, type ButtonProps } from '../button';\n\nexport type DialogCloseButtonProps = Omit<ButtonProps, 'asChild' | 'type' | 'name'>;\n\nexport const DialogCloseButton = ({ children, ref, ...props }: DialogCloseButtonProps) => {\n return (\n <form method='dialog'>\n <Button ref={ref} autoFocus icon name='close' type='submit' variant='text' {...props}>\n {children || <BiIconCrossSmall aria-hidden='true' />}\n </Button>\n </form>\n );\n};\n"],"mappings":";;;;;AAKA,MAAa,oBAAoB,CAAC,EAAE,UAAU,IAAK,GAAG,OAA+B,KAAK;AACxF,wBACE,IAAC;EAAK,QAAO;4BACX,IAAC;GAAY;GAAK;GAAU;GAAK,MAAK;GAAQ,MAAK;GAAS,SAAQ;GAAO,GAAI;aAC5E,4BAAY,IAAC,oBAAiB,eAAY,SAAS;IAC7C;GACJ;AAEV"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button } from "./button-
|
|
1
|
+
import { Button } from "./button-fhd-JARc.js";
|
|
2
2
|
import { Context } from "./dialog-trigger-context-B5d-o0K7.js";
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -19,4 +19,4 @@ const DialogTrigger = ({ asChild, ref,...rest }) => {
|
|
|
19
19
|
|
|
20
20
|
//#endregion
|
|
21
21
|
export { DialogTrigger };
|
|
22
|
-
//# sourceMappingURL=dialog-trigger-
|
|
22
|
+
//# sourceMappingURL=dialog-trigger-XPMx1psz.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-trigger-
|
|
1
|
+
{"version":3,"file":"dialog-trigger-XPMx1psz.js","names":[],"sources":["../src/components/dialog/dialog-trigger.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport { use } from 'react';\n\nimport { Button, type ButtonProps } from '../button';\nimport { Context } from './dialog-trigger-context';\n\nexport type DialogTriggerProps = ButtonProps;\n\nexport const DialogTrigger = ({ asChild, ref, ...rest }: DialogTriggerProps) => {\n const contextRef = use(Context);\n const Component = asChild ? Slot : Button;\n\n const openDialog = () => contextRef.current?.showModal();\n\n return <Component aria-haspopup='dialog' onClick={openDialog} ref={ref} {...rest} />;\n};\n"],"mappings":";;;;;;;AAQA,MAAa,gBAAgB,CAAC,EAAE,SAAS,IAAK,GAAG,MAA0B,KAAK;CAC9E,MAAM,aAAa,IAAI,QAAQ;CAC/B,MAAM,YAAY,UAAU,OAAO;CAEnC,MAAM,aAAa,MAAM,WAAW,SAAS,WAAW;AAExD,wBAAO,IAAC;EAAU,iBAAc;EAAS,SAAS;EAAiB;EAAK,GAAI;GAAQ;AACrF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DialogCloseButton } from "./dialog-close-button-
|
|
1
|
+
import { DialogCloseButton } from "./dialog-close-button-BhzM8xy4.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/drawer/drawer-close-button.tsx
|
|
@@ -9,4 +9,4 @@ const DrawerCloseButton = ({ ref,...rest }) => /* @__PURE__ */ jsx(DialogCloseBu
|
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DrawerCloseButton };
|
|
12
|
-
//# sourceMappingURL=drawer-close-button-
|
|
12
|
+
//# sourceMappingURL=drawer-close-button-dDQvoj0O.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-close-button-
|
|
1
|
+
{"version":3,"file":"drawer-close-button-dDQvoj0O.js","names":[],"sources":["../src/components/drawer/drawer-close-button.tsx"],"sourcesContent":["import { DialogCloseButton, type DialogCloseButtonProps } from '../dialog';\n\nexport type DrawerCloseButtonProps = DialogCloseButtonProps;\n\nexport const DrawerCloseButton = ({ ref, ...rest }: DrawerCloseButtonProps) => (\n <DialogCloseButton ref={ref} {...rest} />\n);\n"],"mappings":";;;;AAIA,MAAa,oBAAoB,CAAC,EAAE,IAAK,GAAG,MAA8B,qBACxE,IAAC;CAAuB;CAAK,GAAI;EAAQ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DialogTrigger } from "./dialog-trigger-
|
|
1
|
+
import { DialogTrigger } from "./dialog-trigger-XPMx1psz.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/drawer/drawer-trigger.tsx
|
|
@@ -9,4 +9,4 @@ const DrawerTrigger = ({ ref,...rest }) => /* @__PURE__ */ jsx(DialogTrigger, {
|
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DrawerTrigger };
|
|
12
|
-
//# sourceMappingURL=drawer-trigger-
|
|
12
|
+
//# sourceMappingURL=drawer-trigger-AT7qYJPw.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-trigger-
|
|
1
|
+
{"version":3,"file":"drawer-trigger-AT7qYJPw.js","names":[],"sources":["../src/components/drawer/drawer-trigger.tsx"],"sourcesContent":["import { DialogTrigger, type DialogTriggerProps } from '../dialog';\n\nexport type DrawerTriggerProps = DialogTriggerProps;\n\nexport const DrawerTrigger = ({ ref, ...rest }: DrawerTriggerProps) => <DialogTrigger ref={ref} {...rest} />;\n"],"mappings":";;;;AAIA,MAAa,gBAAgB,CAAC,EAAE,IAAK,GAAG,MAA0B,qBAAK,IAAC;CAAmB;CAAK,GAAI;EAAQ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Popover } from "./popover-
|
|
1
|
+
import { Popover } from "./popover-WJoHXecW.js";
|
|
2
2
|
import clsx from "clsx/lite";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
@@ -20,8 +20,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
20
20
|
* </DropdownTriggerContext>
|
|
21
21
|
*
|
|
22
22
|
* @example without TriggerContext
|
|
23
|
-
* <Button
|
|
24
|
-
* <Dropdown id="some-dropdown">
|
|
23
|
+
* <Button aria-controls="some-dropdown" aria-expanded={open}>Trigger</Button>
|
|
24
|
+
* <Dropdown id="some-dropdown" open={open} onOpenChange={onOpenChange}>
|
|
25
25
|
* <DropdownHeading>Heading</DropdownHeading>
|
|
26
26
|
* <DropdownList>
|
|
27
27
|
* <DropdownItem>
|
|
@@ -41,4 +41,4 @@ const Dropdown = ({ placement = "bottom-end", className, ref,...rest }) => {
|
|
|
41
41
|
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Dropdown };
|
|
44
|
-
//# sourceMappingURL=dropdown-
|
|
44
|
+
//# sourceMappingURL=dropdown-BhdWlVMW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-
|
|
1
|
+
{"version":3,"file":"dropdown-BhdWlVMW.js","names":[],"sources":["../src/components/dropdown/dropdown.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { Popover, type PopoverProps } from '../popover';\n\nexport type DropdownProps = MergeRight<\n DefaultProps & PopoverProps,\n {\n /**\n * The placement of the dropdown\n * @default bottom-end\n */\n placement?: PopoverProps['placement'];\n }\n>;\n\n/**\n * Dropdown component, used to display a list of options.\n *\n * @example with TriggerContext\n * <DropdownTriggerContext>\n * <DropdownTrigger>Dropdown trigger</DropdownTrigger>\n * <Dropdown placement='bottom-end'>\n * <DropdownHeading>Dropdown</DropdownHeading>\n * <DropdownList>\n * <DropdownItem>\n * <DropdownButton>Item</DropdownButton>\n * </DropdownItem>\n * </DropdownList>\n * </Dropdown>\n * </DropdownTriggerContext>\n *\n * @example without TriggerContext\n * <Button aria-controls=\"some-dropdown\" aria-expanded={open}>Trigger</Button>\n * <Dropdown id=\"some-dropdown\" open={open} onOpenChange={onOpenChange}>\n * <DropdownHeading>Heading</DropdownHeading>\n * <DropdownList>\n * <DropdownItem>\n * <DropdownButton>Item</DropdownButton>\n * </DropdownItem>\n * </DropdownList>\n * </Dropdown>\n */\nexport const Dropdown = ({ placement = 'bottom-end', className, ref, ...rest }: DropdownProps) => {\n return <Popover className={clsx('bi-dropdown', className)} placement={placement} ref={ref} {...rest} />;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,MAAa,WAAW,CAAC,EAAE,YAAY,cAAc,WAAW,IAAK,GAAG,MAAqB,KAAK;AAChG,wBAAO,IAAC;EAAQ,WAAW,KAAK,eAAe,UAAU;EAAa;EAAgB;EAAK,GAAI;GAAQ;AACxG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { initPopover } from "./popover-
|
|
1
|
+
import { initPopover } from "./popover-CGNoywPj.js";
|
|
2
2
|
|
|
3
3
|
//#region src/vanilla/dropdown/index.ts
|
|
4
4
|
const initDropdown = ({ id, disableAutoPlacement = false, placement = "bottom", positionMiddleware = [] }) => {
|
|
@@ -12,4 +12,4 @@ const initDropdown = ({ id, disableAutoPlacement = false, placement = "bottom",
|
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
14
|
export { initDropdown };
|
|
15
|
-
//# sourceMappingURL=dropdown-
|
|
15
|
+
//# sourceMappingURL=dropdown-C1hpsZcN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-
|
|
1
|
+
{"version":3,"file":"dropdown-C1hpsZcN.js","names":[],"sources":["../src/vanilla/dropdown/index.ts"],"sourcesContent":["import type { Middleware, Placement } from '@floating-ui/dom';\nimport { initPopover } from '../popover';\n\nexport type InitDropdownOptions = {\n /** The id of the dropdown to initialize. The trigger element should have a `aria-controls` attribute with the same id. */\n id: string;\n /**\n * Placement of the dropdown relative to the trigger.\n * @default 'bottom'\n */\n placement?: Placement;\n /**\n * Additional middleware to use for positioning the dropdown.\n *\n * @example\n * Prevent the dropdown from overflowing the navbar by using the `size` middleware:\n * ```ts\n * positionMiddleware: [\n * size({\n * apply: ({ availableHeight, elements, ...state }) => {\n * const available = `${Math.max(0, availableHeight)}px`;\n * const maxHeight = state.placement.includes('top')\n * ? `calc(${available} - var(--bi-layout-navbar-height, 0))`\n * : available;\n * elements.floating.style.maxHeight = maxHeight;\n * },\n * padding,\n * })\n * ]}\n * ```\n */\n positionMiddleware?: Middleware[];\n /**\n * Whether to disable auto placement.\n * @default false\n */\n disableAutoPlacement?: boolean;\n};\n\nexport const initDropdown = ({\n id,\n disableAutoPlacement = false,\n placement = 'bottom',\n positionMiddleware = [],\n}: InitDropdownOptions) => {\n initPopover({ id, disableAutoPlacement, placement, positionMiddleware });\n};\n"],"mappings":";;;AAuCA,MAAa,eAAe,CAAC,EAC3B,IACA,uBAAuB,OACvB,YAAY,UACZ,qBAAqB,CAAE,GACH,KAAK;AACzB,aAAY;EAAE;EAAI;EAAsB;EAAW;CAAoB,EAAC;AACzE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button } from "./button-
|
|
1
|
+
import { Button } from "./button-fhd-JARc.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dropdown/dropdown-button.tsx
|
|
@@ -12,4 +12,4 @@ const DropdownButton = ({ ref,...rest }) => {
|
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
14
|
export { DropdownButton };
|
|
15
|
-
//# sourceMappingURL=dropdown-button-
|
|
15
|
+
//# sourceMappingURL=dropdown-button-Btuo7J5R.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-button-
|
|
1
|
+
{"version":3,"file":"dropdown-button-Btuo7J5R.js","names":[],"sources":["../src/components/dropdown/dropdown-button.tsx"],"sourcesContent":["import { Button, type ButtonProps } from '../button';\n\nexport type DropdownButtonProps = Omit<ButtonProps, 'variant'>;\n\nexport const DropdownButton = ({ ref, ...rest }: DropdownButtonProps) => {\n return <Button ref={ref} variant='text' {...rest} />;\n};\n"],"mappings":";;;;AAIA,MAAa,iBAAiB,CAAC,EAAE,IAAK,GAAG,MAA2B,KAAK;AACvE,wBAAO,IAAC;EAAY;EAAK,SAAQ;EAAO,GAAI;GAAQ;AACrD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PopoverTrigger } from "./popover-trigger-
|
|
1
|
+
import { PopoverTrigger } from "./popover-trigger-CjEKeJwY.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dropdown/dropdown-trigger.tsx
|
|
@@ -10,4 +10,4 @@ const DropdownTrigger = ({ ref,...rest }) => /* @__PURE__ */ jsx(PopoverTrigger,
|
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DropdownTrigger };
|
|
13
|
-
//# sourceMappingURL=dropdown-trigger-
|
|
13
|
+
//# sourceMappingURL=dropdown-trigger-DG-mnw2U.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-trigger-
|
|
1
|
+
{"version":3,"file":"dropdown-trigger-DG-mnw2U.js","names":[],"sources":["../src/components/dropdown/dropdown-trigger.tsx"],"sourcesContent":["import { PopoverTrigger, type PopoverTriggerProps } from '../popover';\n\nexport type DropdownTriggerProps = PopoverTriggerProps;\n\nexport const DropdownTrigger = ({ ref, ...rest }: DropdownTriggerProps) => (\n <PopoverTrigger variant='text' ref={ref} {...rest} />\n);\n"],"mappings":";;;;AAIA,MAAa,kBAAkB,CAAC,EAAE,IAAK,GAAG,MAA4B,qBACpE,IAAC;CAAe,SAAQ;CAAY;CAAK,GAAI;EAAQ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PopoverTriggerContext } from "./popover-trigger-context-
|
|
1
|
+
import { PopoverTriggerContext } from "./popover-trigger-context-CNUJbbBn.js";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dropdown/dropdown-trigger-context.tsx
|
|
@@ -22,4 +22,4 @@ const DropdownTriggerContext = ({ children }) => /* @__PURE__ */ jsx(PopoverTrig
|
|
|
22
22
|
|
|
23
23
|
//#endregion
|
|
24
24
|
export { DropdownTriggerContext };
|
|
25
|
-
//# sourceMappingURL=dropdown-trigger-context-
|
|
25
|
+
//# sourceMappingURL=dropdown-trigger-context-Ce6Z9VPK.js.map
|
package/dist/{dropdown-trigger-context-BWJr-7Sn.js.map → dropdown-trigger-context-Ce6Z9VPK.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-trigger-context-
|
|
1
|
+
{"version":3,"file":"dropdown-trigger-context-Ce6Z9VPK.js","names":[],"sources":["../src/components/dropdown/dropdown-trigger-context.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { PopoverTriggerContext } from '../popover';\n\nexport type DropdownTriggerContextProps = {\n children: ReactNode;\n};\n\n/**\n * DropdownTriggerContext component, use to wrap a DropdownTrigger and Dropdown.\n *\n * @example\n * <DropdownTriggerContext>\n * <DropdownTrigger>Dropdown</DropdownTrigger>\n * <Dropdown>\n * <DropdownHeading>Heading</DropdownHeading>\n * <DropdownList>\n * <DropdownItem>\n * <DropdownButton>Button</DropdownButton>\n * </DropdownItem>\n * </DropdownList>\n * </Dropdown>\n * </DropdownTriggerContext>\n */\nexport const DropdownTriggerContext = ({ children }: DropdownTriggerContextProps) => (\n <PopoverTriggerContext>{children}</PopoverTriggerContext>\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAuBA,MAAa,yBAAyB,CAAC,EAAE,UAAuC,qBAC9E,IAAC,yBAAuB,WAAiC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button } from "./button-
|
|
1
|
+
import { Button } from "./button-fhd-JARc.js";
|
|
2
2
|
import clsx from "clsx/lite";
|
|
3
3
|
import { BiIconFacebook, BiIconInstagram, BiIconLinkedin, BiIconX } from "@bi-digital/icons-react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -108,4 +108,4 @@ const Footer = ({ dark, copyRightText = "Handelshøyskolen BI", hideAccreditatio
|
|
|
108
108
|
|
|
109
109
|
//#endregion
|
|
110
110
|
export { Footer };
|
|
111
|
-
//# sourceMappingURL=footer-
|
|
111
|
+
//# sourceMappingURL=footer-CU7LdbPO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer-
|
|
1
|
+
{"version":3,"file":"footer-CU7LdbPO.js","names":[],"sources":["../src/components/footer/footer.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { BiIconFacebook, BiIconX, BiIconLinkedin, BiIconInstagram } from '@bi-digital/icons-react';\nimport { Button } from '../button';\n\nexport type FooterProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The text to display in the copyright section.\n * @default 'Handelshøyskolen BI'\n */\n copyRightText?: string;\n /**\n * Whether to hide the accreditation icons.\n * @default false\n */\n hideAccreditationIcons?: boolean;\n /**\n * Whether to hide the social media icons.\n * @default false\n */\n hideSocialMediaIcons?: boolean;\n /**\n * Whether to hide the copyright text.\n * @default false\n */\n hideCopyRight?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const Footer = ({\n dark,\n copyRightText = 'Handelshøyskolen BI',\n hideAccreditationIcons = false,\n hideSocialMediaIcons = false,\n hideCopyRight = false,\n className,\n children,\n ref,\n ...props\n}: FooterProps) => {\n return (\n <footer className={clsx('bi-footer', className)} data-dark={dark} ref={ref} {...props}>\n <div className='bi-footer--links-container'>{children}</div>\n {!hideAccreditationIcons && (\n <div className='bi-footer--accreditations'>\n <a\n aria-label='AACSB-link'\n target='_blank'\n href='https://www.aacsb.edu/accreditation'\n rel='noopener noreferrer'\n >\n <span className='bi-footer--aacsb' />\n </a>\n <a\n aria-label='Equis-link'\n target='_blank'\n href='https://www.efmdglobal.org/accreditations/business-schools/equis/'\n rel='noopener noreferrer'\n >\n <span className='bi-footer--equis' />\n </a>\n <a aria-label='AMBA-link' target='_blank' href='https://www.associationofmbas.com/' rel='noopener noreferrer'>\n <span className='bi-footer--amba' />\n </a>\n </div>\n )}\n {!hideSocialMediaIcons && (\n <div className='bi-footer--socials'>\n <Button size='large' variant='text' icon asChild dark={dark}>\n <a target='_blank' href='https://www.facebook.com/HandelshoyskolenBI/' rel='noopener noreferrer'>\n <BiIconFacebook title='BI Facebook' />\n </a>\n </Button>\n <Button size='large' variant='text' icon asChild dark={dark}>\n <a target='_blank' href='https://twitter.com/handelshoyskbi' rel='noopener noreferrer'>\n <BiIconX title='BI X' />\n </a>\n </Button>\n <Button size='large' variant='text' icon asChild dark={dark}>\n <a\n target='_blank'\n href='https://www.linkedin.com/school/bi-norwegian-business-school/'\n rel='noopener noreferrer'\n >\n <BiIconLinkedin title='BI LinkedIn' />\n </a>\n </Button>\n <Button size='large' variant='text' icon asChild dark={dark}>\n <a target='_blank' href='https://www.instagram.com/binorwegianbusinesschool/' rel='noopener noreferrer'>\n <BiIconInstagram title='BI Instagram' />\n </a>\n </Button>\n </div>\n )}\n {!hideCopyRight && <p className='bi-footer--copyright'>{`© ${new Date().getFullYear()} ${copyRightText}`}</p>}\n </footer>\n );\n};\n"],"mappings":";;;;;;AAkCA,MAAa,SAAS,CAAC,EACrB,MACA,gBAAgB,uBAChB,yBAAyB,OACzB,uBAAuB,OACvB,gBAAgB,OAChB,WACA,UACA,IACA,GAAG,OACS,KAAK;AACjB,wBACE,KAAC;EAAO,WAAW,KAAK,aAAa,UAAU;EAAE,aAAW;EAAW;EAAK,GAAI;;mBAC9E,IAAC;IAAI,WAAU;IAA8B;KAAe;IAC1D,0CACA,KAAC;IAAI,WAAU;;qBACb,IAAC;MACC,cAAW;MACX,QAAO;MACP,MAAK;MACL,KAAI;gCAEJ,IAAC,UAAK,WAAU,qBAAqB;OACnC;qBACJ,IAAC;MACC,cAAW;MACX,QAAO;MACP,MAAK;MACL,KAAI;gCAEJ,IAAC,UAAK,WAAU,qBAAqB;OACnC;qBACJ,IAAC;MAAE,cAAW;MAAY,QAAO;MAAS,MAAK;MAAqC,KAAI;gCACtF,IAAC,UAAK,WAAU,oBAAoB;OAClC;;KACA;IAEN,wCACA,KAAC;IAAI,WAAU;;qBACb,IAAC;MAAO,MAAK;MAAQ,SAAQ;MAAO;MAAK;MAAc;gCACrD,IAAC;OAAE,QAAO;OAAS,MAAK;OAA+C,KAAI;iCACzE,IAAC,kBAAe,OAAM,gBAAgB;QACpC;OACG;qBACT,IAAC;MAAO,MAAK;MAAQ,SAAQ;MAAO;MAAK;MAAc;gCACrD,IAAC;OAAE,QAAO;OAAS,MAAK;OAAqC,KAAI;iCAC/D,IAAC,WAAQ,OAAM,SAAS;QACtB;OACG;qBACT,IAAC;MAAO,MAAK;MAAQ,SAAQ;MAAO;MAAK;MAAc;gCACrD,IAAC;OACC,QAAO;OACP,MAAK;OACL,KAAI;iCAEJ,IAAC,kBAAe,OAAM,gBAAgB;QACpC;OACG;qBACT,IAAC;MAAO,MAAK;MAAQ,SAAQ;MAAO;MAAK;MAAc;gCACrD,IAAC;OAAE,QAAO;OAAS,MAAK;OAAsD,KAAI;iCAChF,IAAC,mBAAgB,OAAM,iBAAiB;QACtC;OACG;;KACL;IAEN,iCAAiB,IAAC;IAAE,WAAU;eAAyB,IAAI,qBAAI,QAAO,aAAa,CAAC,GAAG,cAAc;KAAM;;GACtG;AAEZ"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Middleware, Placement } from "@floating-ui/dom";
|
|
2
|
-
import "@oddbird/popover-polyfill";
|
|
3
2
|
|
|
4
3
|
//#region src/vanilla/popover/index.d.ts
|
|
5
4
|
type InitPopoverOptions = {
|
|
6
|
-
/** The id of the popover to initialize. The trigger element should have a `
|
|
5
|
+
/** The id of the popover to initialize. The trigger element should have a `aria-controls` attribute with the same id. */
|
|
7
6
|
id: string;
|
|
8
7
|
/**
|
|
9
8
|
* Placement of the popover relative to the trigger.
|
|
@@ -45,4 +44,4 @@ declare const initPopover: ({
|
|
|
45
44
|
}: InitPopoverOptions) => void;
|
|
46
45
|
//#endregion
|
|
47
46
|
export { InitPopoverOptions, initPopover };
|
|
48
|
-
//# sourceMappingURL=index-
|
|
47
|
+
//# sourceMappingURL=index-CRy7A5Iq.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { Middleware, Placement } from "@floating-ui/dom";
|
|
|
2
2
|
|
|
3
3
|
//#region src/vanilla/dropdown/index.d.ts
|
|
4
4
|
type InitDropdownOptions = {
|
|
5
|
-
/** The id of the dropdown to initialize. The trigger element should have a `
|
|
5
|
+
/** The id of the dropdown to initialize. The trigger element should have a `aria-controls` attribute with the same id. */
|
|
6
6
|
id: string;
|
|
7
7
|
/**
|
|
8
8
|
* Placement of the dropdown relative to the trigger.
|
|
@@ -44,4 +44,4 @@ declare const initDropdown: ({
|
|
|
44
44
|
}: InitDropdownOptions) => void;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { InitDropdownOptions, initDropdown };
|
|
47
|
-
//# sourceMappingURL=index-
|
|
47
|
+
//# sourceMappingURL=index-qXXUizvD.d.ts.map
|
package/dist/main.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect-D3y6bHpX.js";
|
|
2
2
|
import "./useMergeRefs-BTgz9pcs.js";
|
|
3
3
|
import "./types-BTJlwWCQ.js";
|
|
4
|
-
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, 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, 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, Spinner, SpinnerProps, Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, Textarea, TextareaProps, Textfield, TextfieldProps, UsePaginationProps, ValidationMessage, ValidationMessageProps, usePagination } from "./alert-footer-
|
|
4
|
+
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, 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, 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, Spinner, SpinnerProps, Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, Textarea, TextareaProps, Textfield, TextfieldProps, UsePaginationProps, ValidationMessage, ValidationMessageProps, usePagination } from "./alert-footer-BS8bENJI.js";
|
|
5
5
|
import { Context, DialogTriggerContext, DialogTriggerContextProps } from "./dialog-trigger-context-BP03jmAI.js";
|
|
6
6
|
import { DrawerTriggerContext, DrawerTriggerContextProps } from "./drawer-trigger-context-BDcc94cu.js";
|
|
7
|
-
import { PopoverTriggerContext, PopoverTriggerContextProps } from "./popover-trigger-context-
|
|
7
|
+
import { PopoverTriggerContext, PopoverTriggerContextProps } from "./popover-trigger-context-DQy9nKB2.js";
|
|
8
8
|
import { DropdownItem, DropdownItemProps } from "./dropdown-item-bMZ3-43Z.js";
|
|
9
9
|
import { DropdownList, DropdownListProps } from "./dropdown-list-DenWbmcv.js";
|
|
10
10
|
import { DropdownTriggerContext, DropdownTriggerContextProps } from "./dropdown-trigger-context-BabMM_7k.js";
|
|
11
11
|
import { FooterLinks, FooterLinksProps } from "./footer-links-sRD7teEv.js";
|
|
12
|
-
import { PaginationItem, PaginationItemProps } from "./pagination-item-
|
|
12
|
+
import { PaginationItem, PaginationItemProps } from "./pagination-item-hMN-34PX.js";
|
|
13
13
|
import { MergeRight } from "./types-CAwE6h3H.js";
|
|
14
14
|
export { 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, Chip, ChipProps, Context, Dialog, DialogCloseButton, DialogCloseButtonProps, DialogContent, DialogContentProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTrigger, DialogTriggerContext, DialogTriggerContextProps, DialogTriggerProps, Drawer, DrawerCloseButton, DrawerCloseButtonProps, DrawerContent, DrawerContentProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerTrigger, DrawerTriggerContext, DrawerTriggerContextProps, DrawerTriggerProps, Dropdown, DropdownButton, DropdownButtonProps, DropdownItem, DropdownItemProps, DropdownList, DropdownListProps, DropdownProps, DropdownTrigger, DropdownTriggerContext, DropdownTriggerContextProps, DropdownTriggerProps, Field, FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps, FieldDescription, FieldDescriptionProps, FieldProps, Fieldset, FieldsetDescription, FieldsetDescriptionProps, FieldsetLegend, FieldsetLegendProps, FieldsetProps, Footer, FooterLinks, FooterLinksProps, FooterProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Logo, LogoProps, MergeRight, Navbar, NavbarProps, Pagination, PaginationButton, PaginationButtonProps, PaginationItem, PaginationItemProps, PaginationProps, Popover, PopoverProps, PopoverTrigger, PopoverTriggerContext, PopoverTriggerContextProps, PopoverTriggerProps, Radio, RadioProps, Search, SearchProps, Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps, Spinner, SpinnerProps, Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, Textarea, TextareaProps, Textfield, TextfieldProps, UsePaginationProps, ValidationMessage, ValidationMessageProps, useIsomorphicLayoutEffect, usePagination };
|
package/dist/main.js
CHANGED
|
@@ -7,11 +7,11 @@ import { Badge } from "./badge-D9OVAKG8.js";
|
|
|
7
7
|
import "./badge-uRbNhCzA.js";
|
|
8
8
|
import { Spinner } from "./spinner-Ch5bEQBR.js";
|
|
9
9
|
import "./spinner-CPiGcSIc.js";
|
|
10
|
-
import { Button } from "./button-
|
|
10
|
+
import { Button } from "./button-fhd-JARc.js";
|
|
11
11
|
import "./button-vrN4Zwch.js";
|
|
12
12
|
import { Card } from "./card-QAnFhTk6.js";
|
|
13
13
|
import { CardActions } from "./card-actions-CIsnmxsm.js";
|
|
14
|
-
import { CardAction } from "./card-action-
|
|
14
|
+
import { CardAction } from "./card-action-D8M3_IVq.js";
|
|
15
15
|
import { CardContent } from "./card-content-DkEHp8mv.js";
|
|
16
16
|
import { CardHeader } from "./card-header-D-RMd4xS.js";
|
|
17
17
|
import { CardMedia } from "./card-media-DhU2_Ueq.js";
|
|
@@ -38,33 +38,33 @@ import { Dialog } from "./dialog-Msiu7H3h.js";
|
|
|
38
38
|
import { DialogContent } from "./dialog-content-BNHkYsxn.js";
|
|
39
39
|
import { DialogHeader } from "./dialog-header-CRcBLINN.js";
|
|
40
40
|
import { DialogFooter } from "./dialog-footer-B63OYnj7.js";
|
|
41
|
-
import { DialogTrigger } from "./dialog-trigger-
|
|
42
|
-
import { DialogCloseButton } from "./dialog-close-button-
|
|
41
|
+
import { DialogTrigger } from "./dialog-trigger-XPMx1psz.js";
|
|
42
|
+
import { DialogCloseButton } from "./dialog-close-button-BhzM8xy4.js";
|
|
43
43
|
import "./dialog-Cva1W11M.js";
|
|
44
44
|
import { Drawer } from "./drawer-DeggzxN8.js";
|
|
45
45
|
import { DrawerContent } from "./drawer-content-Cqz_MZFW.js";
|
|
46
46
|
import { DrawerHeader } from "./drawer-header-CS9x6xOi.js";
|
|
47
47
|
import { DrawerFooter } from "./drawer-footer-GbcH-B8w.js";
|
|
48
|
-
import { DrawerTrigger } from "./drawer-trigger-
|
|
48
|
+
import { DrawerTrigger } from "./drawer-trigger-AT7qYJPw.js";
|
|
49
49
|
import { DrawerTriggerContext } from "./drawer-trigger-context-EHdOLF0U.js";
|
|
50
|
-
import { DrawerCloseButton } from "./drawer-close-button-
|
|
50
|
+
import { DrawerCloseButton } from "./drawer-close-button-dDQvoj0O.js";
|
|
51
51
|
import "./drawer-D0EFrwju.js";
|
|
52
|
-
import { PopoverTriggerContext } from "./popover-trigger-context-
|
|
53
|
-
import { Popover } from "./popover-
|
|
54
|
-
import { PopoverTrigger } from "./popover-trigger-
|
|
52
|
+
import { PopoverTriggerContext } from "./popover-trigger-context-CNUJbbBn.js";
|
|
53
|
+
import { Popover } from "./popover-WJoHXecW.js";
|
|
54
|
+
import { PopoverTrigger } from "./popover-trigger-CjEKeJwY.js";
|
|
55
55
|
import "./popover-3oBuiK3l.js";
|
|
56
|
-
import { Dropdown } from "./dropdown-
|
|
57
|
-
import { DropdownButton } from "./dropdown-button-
|
|
56
|
+
import { Dropdown } from "./dropdown-BhdWlVMW.js";
|
|
57
|
+
import { DropdownButton } from "./dropdown-button-Btuo7J5R.js";
|
|
58
58
|
import { DropdownItem } from "./dropdown-item-yyt1nBlo.js";
|
|
59
59
|
import { DropdownList } from "./dropdown-list-BMkiVIDL.js";
|
|
60
|
-
import { DropdownTrigger } from "./dropdown-trigger-
|
|
61
|
-
import { DropdownTriggerContext } from "./dropdown-trigger-context-
|
|
60
|
+
import { DropdownTrigger } from "./dropdown-trigger-DG-mnw2U.js";
|
|
61
|
+
import { DropdownTriggerContext } from "./dropdown-trigger-context-Ce6Z9VPK.js";
|
|
62
62
|
import "./dropdown-mQ8x9_NH.js";
|
|
63
63
|
import { Fieldset } from "./fieldset-DemHknom.js";
|
|
64
64
|
import { FieldsetDescription } from "./fieldset-description-CqUMEhib.js";
|
|
65
65
|
import { FieldsetLegend } from "./fieldset-legend-C6D6hE4v.js";
|
|
66
66
|
import "./fieldset-BhCAsBCv.js";
|
|
67
|
-
import { Footer } from "./footer-
|
|
67
|
+
import { Footer } from "./footer-CU7LdbPO.js";
|
|
68
68
|
import { FooterLinks } from "./footer-links-BIUrxu38.js";
|
|
69
69
|
import "./footer-BThmhXy7.js";
|
|
70
70
|
import { Link } from "./link-lNn9wvQf.js";
|
|
@@ -74,19 +74,19 @@ import "./logo-Dx-VZMJu.js";
|
|
|
74
74
|
import { Navbar } from "./navbar-Dm9lM6Xr.js";
|
|
75
75
|
import "./navbar-DvT5z7E0.js";
|
|
76
76
|
import { Pagination } from "./pagination-u6Z1LYwY.js";
|
|
77
|
-
import { PaginationButton } from "./pagination-button-
|
|
77
|
+
import { PaginationButton } from "./pagination-button-CG_QfJHY.js";
|
|
78
78
|
import { PaginationItem } from "./pagination-item-DntsLLMC.js";
|
|
79
79
|
import "./pagination-DrIF_DVv.js";
|
|
80
80
|
import { Radio } from "./radio-C_Zbb4CF.js";
|
|
81
81
|
import "./radio-h9AAOfEn.js";
|
|
82
|
-
import { Search } from "./search-
|
|
82
|
+
import { Search } from "./search-Dg6xvCDB.js";
|
|
83
83
|
import "./search-D6IdbNO6.js";
|
|
84
84
|
import { Select } from "./select-B1e494BO.js";
|
|
85
85
|
import { SelectOption } from "./select-option-DUfDzvNN.js";
|
|
86
86
|
import { SelectOptgroup } from "./select-optgroup-D7Gd7ioS.js";
|
|
87
87
|
import "./select-Dg_OZVWF.js";
|
|
88
88
|
import { Tabs } from "./tabs-DzRc-Y8t.js";
|
|
89
|
-
import { Tab } from "./tab-
|
|
89
|
+
import { Tab } from "./tab-D-OGgeAb.js";
|
|
90
90
|
import { TabsList } from "./tabs-list-qH_cJgYi.js";
|
|
91
91
|
import { TabsPanel } from "./tabs-panel-DtHr9i79.js";
|
|
92
92
|
import "./tabs-DXmy9wEs.js";
|