@preply/ds-web-lib 9.1.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AlertBannerProvider-DdHf1KzM.js → AlertBannerProvider-DTx2Xp3V.js} +4 -5
- package/dist/{DropdownMenu.primitives-CyRRES7v.js → DropdownMenu.primitives-CqJE9k4D.js} +12 -12
- package/dist/{IconTile-CO0yr9Fr.js → IconTile-D1G7MljH.js} +40 -36
- package/dist/assets/Accordion.css +2 -2
- package/dist/assets/AlertBannerProvider.css +2 -2
- package/dist/assets/AlertDialog.css +2 -2
- package/dist/assets/Avatar.css +3 -3
- package/dist/assets/AvatarWithStatus.css +2 -2
- package/dist/assets/Badge.css +2 -2
- package/dist/assets/Box.css +3 -3
- package/dist/assets/BubbleCounter.css +1 -1
- package/dist/assets/Button.css +4 -4
- package/dist/assets/ButtonBase.css +4 -4
- package/dist/assets/Checkbox.css +1 -1
- package/dist/assets/Chips.css +2 -2
- package/dist/assets/ChipsPrimitive.css +2 -2
- package/dist/assets/CountryFlag.css +1 -1
- package/dist/assets/Dialog.css +9 -6
- package/dist/assets/Divider.css +1 -1
- package/dist/assets/DropdownMenu.css +2 -2
- package/dist/assets/FieldButton.css +3 -3
- package/dist/assets/FormControl.css +1 -1
- package/dist/assets/Heading.css +3 -3
- package/dist/assets/Icon.css +3 -3
- package/dist/assets/IconTile.css +1 -1
- package/dist/assets/InputContainer.css +2 -2
- package/dist/assets/LayoutFlex.css +1 -1
- package/dist/assets/LayoutFlexItem.css +1 -1
- package/dist/assets/Link.css +3 -3
- package/dist/assets/Loader.css +1 -1
- package/dist/assets/OnboardingTooltip.css +1 -1
- package/dist/assets/OnboardingTour.css +1 -1
- package/dist/assets/PreplyLogo.css +1 -1
- package/dist/assets/ProgressBar.css +1 -1
- package/dist/assets/ProgressSteps.css +1 -1
- package/dist/assets/Select.css +2 -2
- package/dist/assets/Slider.css +1 -1
- package/dist/assets/Spinner.css +3 -3
- package/dist/assets/Stars.css +3 -3
- package/dist/assets/Steps.css +2 -2
- package/dist/assets/Switch.css +1 -1
- package/dist/assets/Text.css +3 -3
- package/dist/assets/TextHighlighted.css +3 -3
- package/dist/assets/TextInline.css +3 -3
- package/dist/assets/Toast.css +2 -2
- package/dist/assets/Tooltip.css +1 -1
- package/dist/assets/align-self.css +1 -1
- package/dist/assets/exp-color.css +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/assets/layout-gap.css +3 -3
- package/dist/assets/layout-grid.css +3 -3
- package/dist/assets/layout-hide.css +1 -1
- package/dist/assets/layout-padding.css +3 -3
- package/dist/assets/layout-relative.css +1 -1
- package/dist/assets/text-accent.css +2 -2
- package/dist/assets/text-centered.css +1 -1
- package/dist/assets/text-weight.css +2 -2
- package/dist/components/AlertBanner/AlertBanner.d.ts.map +1 -1
- package/dist/components/AlertBanner/AlertBanner.js +3 -3
- package/dist/components/AlertBanner/AlertBannerProvider.d.ts +6 -3
- package/dist/components/AlertBanner/AlertBannerProvider.d.ts.map +1 -1
- package/dist/components/AlertBanner/AlertBannerProvider.js +1 -2
- package/dist/components/AlertBanner/primitives/AlertBannerAction.js +10 -6
- package/dist/components/AlertBanner/primitives/AlertBannerIcon.js +3 -3
- package/dist/components/AlertBanner/primitives/AlertBannerRoot.d.ts +1 -1
- package/dist/components/AlertBanner/primitives/AlertBannerRoot.d.ts.map +1 -1
- package/dist/components/AlertBanner/primitives/AlertBannerRoot.js +4 -4
- package/dist/components/AlertBanner/primitives/AlertBannerText.js +10 -6
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Badge/Badge.js +1 -2
- package/dist/components/CalloutBanner/CalloutBanner.js +0 -3
- package/dist/components/Dialog/Dialog.d.ts +28 -1
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.js +4 -7
- package/dist/components/Dialog/primitives/DialogRoot.js +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +2 -2
- package/dist/components/DropdownMenu/primitives/DropdownMenu.primitives.js +12 -12
- package/dist/components/DropdownMenu/primitives/DropdownMenuSelectItem.primitives.js +1 -1
- package/dist/components/IconTile/IconTile.js +9 -5
- package/dist/components/index.d.ts +20 -5
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +11 -11
- package/dist/index.js +11 -11
- package/dist/{useOpenInteractionType-CigEtzqy.js → useOpenInteractionType-DNYFqf-a.js} +3 -3
- package/package.json +12 -12
- package/dist/components/AlertBanner/index.d.ts +0 -4
- package/dist/components/AlertBanner/index.d.ts.map +0 -1
- package/dist/components/AlertBanner/index.js +0 -18
- package/dist/components/AlertBanner/primitives/index.d.ts +0 -5
- package/dist/components/AlertBanner/primitives/index.d.ts.map +0 -1
- package/dist/components/AlertBanner/primitives/index.js +0 -14
- package/dist/components/Badge/index.d.ts +0 -2
- package/dist/components/Badge/index.d.ts.map +0 -1
- package/dist/components/Badge/index.js +0 -4
- package/dist/components/CalloutBanner/index.d.ts +0 -3
- package/dist/components/CalloutBanner/index.d.ts.map +0 -1
- package/dist/components/CalloutBanner/index.js +0 -18
- package/dist/components/CalloutBanner/primitives/index.d.ts +0 -5
- package/dist/components/CalloutBanner/primitives/index.d.ts.map +0 -1
- package/dist/components/CalloutBanner/primitives/index.js +0 -16
- package/dist/components/Dialog/index.d.ts +0 -56
- package/dist/components/Dialog/index.d.ts.map +0 -1
- package/dist/components/Dialog/index.js +0 -38
- package/dist/components/Dialog/primitives/index.d.ts +0 -8
- package/dist/components/Dialog/primitives/index.d.ts.map +0 -1
- package/dist/components/Dialog/primitives/index.js +0 -17
- package/dist/components/DropdownMenu/primitives/index.d.ts +0 -3
- package/dist/components/DropdownMenu/primitives/index.d.ts.map +0 -1
- package/dist/components/DropdownMenu/primitives/index.js +0 -33
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@preply/ds-web-core";
|
|
3
3
|
import "react";
|
|
4
|
-
import { I } from "../../IconTile-
|
|
4
|
+
import { I } from "../../IconTile-D1G7MljH.js";
|
|
5
5
|
import "@preply/ds-visual-coverage-preply-component-names";
|
|
6
6
|
import "../Accordion/Accordion.js";
|
|
7
7
|
import "../AlertDialog/AlertDialog.js";
|
|
8
|
-
import "../../AlertBannerProvider-DdHf1KzM.js";
|
|
9
|
-
import "../AlertBanner/primitives/AlertBannerIcon.js";
|
|
10
8
|
import "../AlertBanner/primitives/AlertBannerRoot.js";
|
|
9
|
+
import "../AlertBanner/primitives/AlertBannerIcon.js";
|
|
10
|
+
import "../../AlertBannerProvider-DTx2Xp3V.js";
|
|
11
11
|
import "../Avatar/Avatar.js";
|
|
12
12
|
import "../AvatarWithStatus/AvatarWithStatus.js";
|
|
13
13
|
import "../Badge/Badge.js";
|
|
@@ -23,7 +23,12 @@ import "../Chips/SingleSelectChips.js";
|
|
|
23
23
|
import "../Chips/MultiSelectChips.js";
|
|
24
24
|
import "../Chips/DismissibleChips.js";
|
|
25
25
|
import "../OnboardingTour/OnboardingTour.js";
|
|
26
|
-
import "
|
|
26
|
+
import "@preply/ds-web-root";
|
|
27
|
+
import "../Dialog/primitives/DialogTitle.js";
|
|
28
|
+
import "../Dialog/primitives/DialogDescription.js";
|
|
29
|
+
import "../Dialog/primitives/DialogCloseButton.js";
|
|
30
|
+
import "../Dialog/primitives/DialogButtonStack.js";
|
|
31
|
+
import "../Dialog/DialogSteps.js";
|
|
27
32
|
import "../DropdownMenu/DropdownMenu.js";
|
|
28
33
|
import "../FieldButton/FieldButton.js";
|
|
29
34
|
import "../CountryFlag/CountryFlag.js";
|
|
@@ -59,7 +64,6 @@ import "../TextHighlighted/TextHighlighted.js";
|
|
|
59
64
|
import "../TextInline/TextInline.js";
|
|
60
65
|
import "../Toast/Toast.js";
|
|
61
66
|
import "../Tooltip/Tooltip.js";
|
|
62
|
-
import "@preply/ds-web-root";
|
|
63
67
|
export {
|
|
64
68
|
I as IconTile
|
|
65
69
|
};
|
|
@@ -1,21 +1,36 @@
|
|
|
1
1
|
export { Accordion, AccordionItem, AccordionHeader, AccordionContent, type AccordionProps, type AccordionItemProps, type AccordionHeaderProps, type AccordionContentProps, } from './Accordion/Accordion';
|
|
2
2
|
export { AlertDialog } from './AlertDialog/AlertDialog';
|
|
3
|
-
export { AlertBanner, type AlertBannerProps
|
|
4
|
-
export {
|
|
3
|
+
export { AlertBanner, type AlertBannerProps } from './AlertBanner/AlertBanner';
|
|
4
|
+
export { AlertBannerProvider } from './AlertBanner/AlertBannerProvider';
|
|
5
|
+
export { AlertBannerAction, type AlertBannerActionProps, } from './AlertBanner/primitives/AlertBannerAction';
|
|
6
|
+
export { AlertBannerIcon, type AlertBannerIconProps, AlertBannerPositiveIcon, AlertBannerWarningIcon, AlertBannerCriticalIcon, } from './AlertBanner/primitives/AlertBannerIcon';
|
|
7
|
+
export { AlertBannerRoot, type AlertBannerRootProps, } from './AlertBanner/primitives/AlertBannerRoot';
|
|
8
|
+
export { AlertBannerText, type AlertBannerTextProps, } from './AlertBanner/primitives/AlertBannerText';
|
|
5
9
|
export { Avatar } from './Avatar/Avatar';
|
|
6
10
|
export { AvatarWithStatus } from './AvatarWithStatus/AvatarWithStatus';
|
|
7
11
|
export { Badge } from './Badge/Badge';
|
|
8
12
|
export { Box } from './Box/Box';
|
|
9
13
|
export { BubbleCounter, type BubbleCounterProps } from './BubbleCounter/BubbleCounter';
|
|
10
14
|
export { Button } from './Button/Button';
|
|
11
|
-
export { CalloutBanner, type CalloutBannerProps } from './CalloutBanner';
|
|
12
|
-
export {
|
|
15
|
+
export { CalloutBanner, type CalloutBannerProps } from './CalloutBanner/CalloutBanner';
|
|
16
|
+
export { CalloutBannerDismissButton, type CalloutBannerDismissButtonProps, } from './CalloutBanner/primitives/CalloutBannerDismissButton';
|
|
17
|
+
export { CalloutBannerIcon, type CalloutBannerIconProps, CalloutBannerInfoIcon, CalloutBannerWarningIcon, CalloutBannerCriticalIcon, CalloutBannerPositiveIcon, } from './CalloutBanner/primitives/CalloutBannerIcon';
|
|
18
|
+
export { CalloutBannerRoot, type CalloutBannerRootProps, } from './CalloutBanner/primitives/CalloutBannerRoot';
|
|
19
|
+
export { CalloutBannerText, type CalloutBannerTextProps, } from './CalloutBanner/primitives/CalloutBannerText';
|
|
13
20
|
export { Checkbox, type CheckboxProps } from './Checkbox/Checkbox';
|
|
14
21
|
export { SingleSelectChips, type SingleSelectChipsProps, SingleSelectChipsItem, type SingleSelectChipsItemProps, } from './Chips/SingleSelectChips';
|
|
15
22
|
export { MultiSelectChips, type MultiSelectChipsProps, MultiSelectChipsItem, type MultiSelectChipsItemProps, } from './Chips/MultiSelectChips';
|
|
16
23
|
export { DismissibleChips, type DismissibleChipsProps, DismissibleChipsItem, type DismissibleChipsItemProps, } from './Chips/DismissibleChips';
|
|
17
24
|
export { createOnboardingTour } from './OnboardingTour/OnboardingTour';
|
|
18
|
-
export
|
|
25
|
+
export { Dialog, type DialogProps } from './Dialog/Dialog';
|
|
26
|
+
export { DialogRoot, type DialogRootProps } from './Dialog/primitives/DialogRoot';
|
|
27
|
+
export { DialogCloseButton, type DialogCloseButtonProps, } from './Dialog/primitives/DialogCloseButton';
|
|
28
|
+
export { DialogFooter, type DialogFooterProps } from './Dialog/primitives/DialogFooter';
|
|
29
|
+
export { DialogTitle, type DialogTitleProps } from './Dialog/primitives/DialogTitle';
|
|
30
|
+
export { DialogDescription, type DialogDescriptionProps, } from './Dialog/primitives/DialogDescription';
|
|
31
|
+
export { DialogActions, type DialogActionsProps } from './Dialog/primitives/DialogActions';
|
|
32
|
+
export { DialogButtonStack, type DialogButtonStackProps, } from './Dialog/primitives/DialogButtonStack';
|
|
33
|
+
export { DialogSteps, type DialogStepsProps, DialogStep, type DialogStepProps, DialogStepsActions, type DialogStepsActionsProps, DialogStepsNext, type DialogStepsNextProps, DialogStepsPrevious, type DialogStepsPreviousProps, } from './Dialog/DialogSteps';
|
|
19
34
|
export { Divider, type DividerProps } from './Divider/Divider';
|
|
20
35
|
export { DropdownMenu, type DropdownMenuProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownSubmenu, type DropdownSubmenuProps, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSelect, type DropdownMenuSelectProps, DropdownMenuSelectOption, type DropdownMenuSelectOptionProps, } from './DropdownMenu/DropdownMenu';
|
|
21
36
|
export { FieldButton, type FieldButtonProps } from './FieldButton/FieldButton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC7B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC7B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAEx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CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Accordion, AccordionContent, AccordionHeader, AccordionItem } from "./Accordion/Accordion.js";
|
|
2
2
|
import { AlertDialog } from "./AlertDialog/AlertDialog.js";
|
|
3
|
-
import { A } from "../AlertBannerProvider-DdHf1KzM.js";
|
|
4
3
|
import { AlertBanner } from "./AlertBanner/AlertBanner.js";
|
|
4
|
+
import { A } from "../AlertBannerProvider-DTx2Xp3V.js";
|
|
5
|
+
import { A as A2, a, I } from "../IconTile-D1G7MljH.js";
|
|
5
6
|
import { AlertBannerCriticalIcon, AlertBannerIcon, AlertBannerPositiveIcon, AlertBannerWarningIcon } from "./AlertBanner/primitives/AlertBannerIcon.js";
|
|
6
7
|
import { AlertBannerRoot } from "./AlertBanner/primitives/AlertBannerRoot.js";
|
|
7
|
-
import { A as A2, a, I } from "../IconTile-CO0yr9Fr.js";
|
|
8
8
|
import { Avatar } from "./Avatar/Avatar.js";
|
|
9
9
|
import { AvatarWithStatus } from "./AvatarWithStatus/AvatarWithStatus.js";
|
|
10
10
|
import { Badge } from "./Badge/Badge.js";
|
|
@@ -21,7 +21,15 @@ import { SingleSelectChips, SingleSelectChipsItem } from "./Chips/SingleSelectCh
|
|
|
21
21
|
import { MultiSelectChips, MultiSelectChipsItem } from "./Chips/MultiSelectChips.js";
|
|
22
22
|
import { DismissibleChips, DismissibleChipsItem } from "./Chips/DismissibleChips.js";
|
|
23
23
|
import { createOnboardingTour } from "./OnboardingTour/OnboardingTour.js";
|
|
24
|
-
import { Dialog } from "./Dialog/
|
|
24
|
+
import { Dialog } from "./Dialog/Dialog.js";
|
|
25
|
+
import { DialogRoot } from "./Dialog/primitives/DialogRoot.js";
|
|
26
|
+
import { DialogCloseButton } from "./Dialog/primitives/DialogCloseButton.js";
|
|
27
|
+
import { DialogFooter } from "./Dialog/primitives/DialogFooter.js";
|
|
28
|
+
import { DialogTitle } from "./Dialog/primitives/DialogTitle.js";
|
|
29
|
+
import { DialogDescription } from "./Dialog/primitives/DialogDescription.js";
|
|
30
|
+
import { DialogActions } from "./Dialog/primitives/DialogActions.js";
|
|
31
|
+
import { DialogButtonStack } from "./Dialog/primitives/DialogButtonStack.js";
|
|
32
|
+
import { DialogStep, DialogSteps, DialogStepsActions, DialogStepsNext, DialogStepsPrevious } from "./Dialog/DialogSteps.js";
|
|
25
33
|
import { Divider } from "./Divider/Divider.js";
|
|
26
34
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSelect, DropdownMenuSelectOption, DropdownSubmenu } from "./DropdownMenu/DropdownMenu.js";
|
|
27
35
|
import { FieldButton } from "./FieldButton/FieldButton.js";
|
|
@@ -63,14 +71,6 @@ import { IntlFormattedCurrency } from "./IntlFormatted/IntlFormattedCurrency.js"
|
|
|
63
71
|
import { IntlFormattedDate } from "./IntlFormatted/IntlFormattedDate.js";
|
|
64
72
|
import { IntlFormattedTime } from "./IntlFormatted/IntlFormattedTime.js";
|
|
65
73
|
import { usePortalElement } from "@preply/ds-web-root";
|
|
66
|
-
import { DialogActions } from "./Dialog/primitives/DialogActions.js";
|
|
67
|
-
import { DialogStep, DialogSteps, DialogStepsActions, DialogStepsNext, DialogStepsPrevious } from "./Dialog/DialogSteps.js";
|
|
68
|
-
import { DialogRoot } from "./Dialog/primitives/DialogRoot.js";
|
|
69
|
-
import { DialogCloseButton } from "./Dialog/primitives/DialogCloseButton.js";
|
|
70
|
-
import { DialogFooter } from "./Dialog/primitives/DialogFooter.js";
|
|
71
|
-
import { DialogTitle } from "./Dialog/primitives/DialogTitle.js";
|
|
72
|
-
import { DialogDescription } from "./Dialog/primitives/DialogDescription.js";
|
|
73
|
-
import { DialogButtonStack } from "./Dialog/primitives/DialogButtonStack.js";
|
|
74
74
|
export {
|
|
75
75
|
Accordion,
|
|
76
76
|
AccordionContent,
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Accordion, AccordionContent, AccordionHeader, AccordionItem } from "./components/Accordion/Accordion.js";
|
|
2
2
|
import { AlertDialog } from "./components/AlertDialog/AlertDialog.js";
|
|
3
|
-
import { A } from "./AlertBannerProvider-DdHf1KzM.js";
|
|
4
3
|
import { AlertBanner } from "./components/AlertBanner/AlertBanner.js";
|
|
4
|
+
import { A } from "./AlertBannerProvider-DTx2Xp3V.js";
|
|
5
|
+
import { A as A2, a, I } from "./IconTile-D1G7MljH.js";
|
|
5
6
|
import { AlertBannerCriticalIcon, AlertBannerIcon, AlertBannerPositiveIcon, AlertBannerWarningIcon } from "./components/AlertBanner/primitives/AlertBannerIcon.js";
|
|
6
7
|
import { AlertBannerRoot } from "./components/AlertBanner/primitives/AlertBannerRoot.js";
|
|
7
|
-
import { A as A2, a, I } from "./IconTile-CO0yr9Fr.js";
|
|
8
8
|
import { Avatar } from "./components/Avatar/Avatar.js";
|
|
9
9
|
import { AvatarWithStatus } from "./components/AvatarWithStatus/AvatarWithStatus.js";
|
|
10
10
|
import { Badge } from "./components/Badge/Badge.js";
|
|
@@ -21,7 +21,15 @@ import { SingleSelectChips, SingleSelectChipsItem } from "./components/Chips/Sin
|
|
|
21
21
|
import { MultiSelectChips, MultiSelectChipsItem } from "./components/Chips/MultiSelectChips.js";
|
|
22
22
|
import { DismissibleChips, DismissibleChipsItem } from "./components/Chips/DismissibleChips.js";
|
|
23
23
|
import { createOnboardingTour } from "./components/OnboardingTour/OnboardingTour.js";
|
|
24
|
-
import { Dialog } from "./components/Dialog/
|
|
24
|
+
import { Dialog } from "./components/Dialog/Dialog.js";
|
|
25
|
+
import { DialogRoot } from "./components/Dialog/primitives/DialogRoot.js";
|
|
26
|
+
import { DialogCloseButton } from "./components/Dialog/primitives/DialogCloseButton.js";
|
|
27
|
+
import { DialogFooter } from "./components/Dialog/primitives/DialogFooter.js";
|
|
28
|
+
import { DialogTitle } from "./components/Dialog/primitives/DialogTitle.js";
|
|
29
|
+
import { DialogDescription } from "./components/Dialog/primitives/DialogDescription.js";
|
|
30
|
+
import { DialogActions } from "./components/Dialog/primitives/DialogActions.js";
|
|
31
|
+
import { DialogButtonStack } from "./components/Dialog/primitives/DialogButtonStack.js";
|
|
32
|
+
import { DialogStep, DialogSteps, DialogStepsActions, DialogStepsNext, DialogStepsPrevious } from "./components/Dialog/DialogSteps.js";
|
|
25
33
|
import { Divider } from "./components/Divider/Divider.js";
|
|
26
34
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSelect, DropdownMenuSelectOption, DropdownSubmenu } from "./components/DropdownMenu/DropdownMenu.js";
|
|
27
35
|
import { FieldButton } from "./components/FieldButton/FieldButton.js";
|
|
@@ -63,14 +71,6 @@ import { IntlFormattedCurrency } from "./components/IntlFormatted/IntlFormattedC
|
|
|
63
71
|
import { IntlFormattedDate } from "./components/IntlFormatted/IntlFormattedDate.js";
|
|
64
72
|
import { IntlFormattedTime } from "./components/IntlFormatted/IntlFormattedTime.js";
|
|
65
73
|
import { usePortalElement } from "@preply/ds-web-root";
|
|
66
|
-
import { DialogActions } from "./components/Dialog/primitives/DialogActions.js";
|
|
67
|
-
import { DialogStep, DialogSteps, DialogStepsActions, DialogStepsNext, DialogStepsPrevious } from "./components/Dialog/DialogSteps.js";
|
|
68
|
-
import { DialogRoot } from "./components/Dialog/primitives/DialogRoot.js";
|
|
69
|
-
import { DialogCloseButton } from "./components/Dialog/primitives/DialogCloseButton.js";
|
|
70
|
-
import { DialogFooter } from "./components/Dialog/primitives/DialogFooter.js";
|
|
71
|
-
import { DialogTitle } from "./components/Dialog/primitives/DialogTitle.js";
|
|
72
|
-
import { DialogDescription } from "./components/Dialog/primitives/DialogDescription.js";
|
|
73
|
-
import { DialogButtonStack } from "./components/Dialog/primitives/DialogButtonStack.js";
|
|
74
74
|
export {
|
|
75
75
|
Accordion,
|
|
76
76
|
AccordionContent,
|
|
@@ -2857,9 +2857,9 @@ export {
|
|
|
2857
2857
|
useRole as d,
|
|
2858
2858
|
useClick as e,
|
|
2859
2859
|
useDismiss as f,
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2860
|
+
getTarget as g,
|
|
2861
|
+
useScrollLock as h,
|
|
2862
|
+
useInteractions as i,
|
|
2863
2863
|
COMPOSITE_KEYS as j,
|
|
2864
2864
|
inertValue as k,
|
|
2865
2865
|
FloatingPortal as l,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@preply/ds-web-lib",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
"usehooks-ts": "^3.1.1"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@preply/ds-core": "
|
|
38
|
-
"@preply/ds-media-icons": "
|
|
39
|
-
"@preply/ds-visual-coverage-preply-component-names": "
|
|
40
|
-
"@preply/ds-web-core": "
|
|
41
|
-
"@preply/ds-web-root": "
|
|
37
|
+
"@preply/ds-core": "10.0.0",
|
|
38
|
+
"@preply/ds-media-icons": "10.0.0",
|
|
39
|
+
"@preply/ds-visual-coverage-preply-component-names": "10.0.0",
|
|
40
|
+
"@preply/ds-web-core": "10.0.0",
|
|
41
|
+
"@preply/ds-web-root": "10.0.0",
|
|
42
42
|
"react": "^16 || ^18",
|
|
43
43
|
"react-dom": "^16 || ^18",
|
|
44
44
|
"react-intl": "^6.5.5"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@preply/ds-core": "
|
|
48
|
-
"@preply/ds-media-icons": "
|
|
49
|
-
"@preply/ds-visual-coverage-preply-component-names": "
|
|
50
|
-
"@preply/ds-web-core": "
|
|
51
|
-
"@preply/ds-web-root": "
|
|
47
|
+
"@preply/ds-core": "10.0.0",
|
|
48
|
+
"@preply/ds-media-icons": "10.0.0",
|
|
49
|
+
"@preply/ds-visual-coverage-preply-component-names": "10.0.0",
|
|
50
|
+
"@preply/ds-web-core": "10.0.0",
|
|
51
|
+
"@preply/ds-web-root": "10.0.0",
|
|
52
52
|
"@storybook/react-vite": "10.1.4",
|
|
53
53
|
"@testing-library/react": "16.3.0",
|
|
54
54
|
"@types/react-is": "^18.2.0",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"vite-plugin-svgr": "4.5.0",
|
|
65
65
|
"vitest-browser-react": "^0.1.1"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "dd93773dac396f5379d25904b46c1e416285dd0e"
|
|
68
68
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AlertBanner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,cAAc,cAAc,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { A } from "../../AlertBannerProvider-DdHf1KzM.js";
|
|
2
|
-
import { AlertBanner } from "./AlertBanner.js";
|
|
3
|
-
import { AlertBannerCriticalIcon, AlertBannerIcon, AlertBannerPositiveIcon, AlertBannerWarningIcon, alertBannerIconMap } from "./primitives/AlertBannerIcon.js";
|
|
4
|
-
import { AlertBannerContext, AlertBannerRoot } from "./primitives/AlertBannerRoot.js";
|
|
5
|
-
import { A as A2, a } from "../../IconTile-CO0yr9Fr.js";
|
|
6
|
-
export {
|
|
7
|
-
AlertBanner,
|
|
8
|
-
A2 as AlertBannerAction,
|
|
9
|
-
AlertBannerContext,
|
|
10
|
-
AlertBannerCriticalIcon,
|
|
11
|
-
AlertBannerIcon,
|
|
12
|
-
AlertBannerPositiveIcon,
|
|
13
|
-
A as AlertBannerProvider,
|
|
14
|
-
AlertBannerRoot,
|
|
15
|
-
a as AlertBannerText,
|
|
16
|
-
AlertBannerWarningIcon,
|
|
17
|
-
alertBannerIconMap
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AlertBanner/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AlertBannerCriticalIcon, AlertBannerIcon, AlertBannerPositiveIcon, AlertBannerWarningIcon, alertBannerIconMap } from "./AlertBannerIcon.js";
|
|
2
|
-
import { AlertBannerContext, AlertBannerRoot } from "./AlertBannerRoot.js";
|
|
3
|
-
import { A, a } from "../../../IconTile-CO0yr9Fr.js";
|
|
4
|
-
export {
|
|
5
|
-
A as AlertBannerAction,
|
|
6
|
-
AlertBannerContext,
|
|
7
|
-
AlertBannerCriticalIcon,
|
|
8
|
-
AlertBannerIcon,
|
|
9
|
-
AlertBannerPositiveIcon,
|
|
10
|
-
AlertBannerRoot,
|
|
11
|
-
a as AlertBannerText,
|
|
12
|
-
AlertBannerWarningIcon,
|
|
13
|
-
alertBannerIconMap
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CalloutBanner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,cAAc,cAAc,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CalloutBanner } from "./CalloutBanner.js";
|
|
2
|
-
import { CalloutBannerDismissButton } from "./primitives/CalloutBannerDismissButton.js";
|
|
3
|
-
import { CalloutBannerCriticalIcon, CalloutBannerIcon, CalloutBannerInfoIcon, CalloutBannerPositiveIcon, CalloutBannerWarningIcon, calloutBannerIconMap } from "./primitives/CalloutBannerIcon.js";
|
|
4
|
-
import { CalloutBannerContext, CalloutBannerRoot } from "./primitives/CalloutBannerRoot.js";
|
|
5
|
-
import { CalloutBannerText } from "./primitives/CalloutBannerText.js";
|
|
6
|
-
export {
|
|
7
|
-
CalloutBanner,
|
|
8
|
-
CalloutBannerContext,
|
|
9
|
-
CalloutBannerCriticalIcon,
|
|
10
|
-
CalloutBannerDismissButton,
|
|
11
|
-
CalloutBannerIcon,
|
|
12
|
-
CalloutBannerInfoIcon,
|
|
13
|
-
CalloutBannerPositiveIcon,
|
|
14
|
-
CalloutBannerRoot,
|
|
15
|
-
CalloutBannerText,
|
|
16
|
-
CalloutBannerWarningIcon,
|
|
17
|
-
calloutBannerIconMap
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CalloutBanner/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CalloutBannerDismissButton } from "./CalloutBannerDismissButton.js";
|
|
2
|
-
import { CalloutBannerCriticalIcon, CalloutBannerIcon, CalloutBannerInfoIcon, CalloutBannerPositiveIcon, CalloutBannerWarningIcon, calloutBannerIconMap } from "./CalloutBannerIcon.js";
|
|
3
|
-
import { CalloutBannerContext, CalloutBannerRoot } from "./CalloutBannerRoot.js";
|
|
4
|
-
import { CalloutBannerText } from "./CalloutBannerText.js";
|
|
5
|
-
export {
|
|
6
|
-
CalloutBannerContext,
|
|
7
|
-
CalloutBannerCriticalIcon,
|
|
8
|
-
CalloutBannerDismissButton,
|
|
9
|
-
CalloutBannerIcon,
|
|
10
|
-
CalloutBannerInfoIcon,
|
|
11
|
-
CalloutBannerPositiveIcon,
|
|
12
|
-
CalloutBannerRoot,
|
|
13
|
-
CalloutBannerText,
|
|
14
|
-
CalloutBannerWarningIcon,
|
|
15
|
-
calloutBannerIconMap
|
|
16
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { DialogSteps, DialogStepsProps, DialogStep, DialogStepProps, DialogStepsActions, DialogStepsActionsProps, DialogStepsNextProps, DialogStepsPreviousProps, DialogStepsNext, DialogStepsPrevious } from './DialogSteps';
|
|
2
|
-
import { DialogProps } from './Dialog';
|
|
3
|
-
import { DialogRoot, DialogRootProps, DialogCloseButton, DialogCloseButtonProps, DialogFooter, DialogFooterProps, DialogTitle, DialogTitleProps, DialogDescription, DialogDescriptionProps, DialogActions, DialogActionsProps, DialogButtonStack, DialogButtonStackProps } from './primitives';
|
|
4
|
-
export type { DialogProps, DialogActionsProps, DialogStepsProps, DialogStepProps, DialogStepsActionsProps, DialogStepsNextProps, DialogStepsPreviousProps, DialogRootProps, DialogCloseButtonProps, DialogFooterProps, DialogTitleProps, DialogDescriptionProps, DialogButtonStackProps, };
|
|
5
|
-
export { DialogActions, DialogSteps, DialogStep, DialogStepsActions, DialogStepsNext, DialogStepsPrevious, DialogRoot, DialogCloseButton, DialogFooter, DialogTitle, DialogDescription, DialogButtonStack, };
|
|
6
|
-
/**
|
|
7
|
-
* A modal dialog component that can be used to show content in an overlay.
|
|
8
|
-
*
|
|
9
|
-
* Composed of:
|
|
10
|
-
* - Dialog: The main component
|
|
11
|
-
* - Dialog.Actions: Footer actions with primary and secondary buttons
|
|
12
|
-
* - Dialog.Steps: Steps component for multi-step flows
|
|
13
|
-
* - Dialog.Step: Step component for each step
|
|
14
|
-
* - Dialog.StepsActions: Actions component for the steps
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* <Dialog
|
|
18
|
-
* open={isOpen}
|
|
19
|
-
* onClose={handleClose}
|
|
20
|
-
* title="Save Changes"
|
|
21
|
-
* description="Optional description"
|
|
22
|
-
* >
|
|
23
|
-
* Content
|
|
24
|
-
* <Dialog.Footer>
|
|
25
|
-
* <Dialog.ButtonStack>
|
|
26
|
-
* <Button onClick={handleCancel}>Cancel</Button>
|
|
27
|
-
* <Button onClick={handleSave}>Save</Button>
|
|
28
|
-
* </Dialog.ButtonStack>
|
|
29
|
-
* </Dialog.Footer>
|
|
30
|
-
* </Dialog>
|
|
31
|
-
*/
|
|
32
|
-
export declare const Dialog: import('react').FC<DialogProps> & {
|
|
33
|
-
Actions: ({ primaryButton, secondaryButton }: DialogActionsProps) => import("react").JSX.Element;
|
|
34
|
-
Steps: import('react').FC<import('../Steps/Steps').StepsProps> & {
|
|
35
|
-
Step: import('react').FC<import('../Steps/Steps').StepProps>;
|
|
36
|
-
Previous: import('react').ForwardRefExoticComponent<import('../Button/Button').Props & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
37
|
-
Next: import('react').ForwardRefExoticComponent<import('../Button/Button').Props & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
38
|
-
};
|
|
39
|
-
Step: import('react').FC<import('../Steps/Steps').StepProps>;
|
|
40
|
-
StepsActions: typeof DialogStepsActions;
|
|
41
|
-
StepsNext: import('react').ForwardRefExoticComponent<import('../Button/Button').Props & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
42
|
-
StepsPrevious: import('react').ForwardRefExoticComponent<import('../Button/Button').Props & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
43
|
-
Root: import('react').FC<DialogRootProps>;
|
|
44
|
-
CloseButton: import('react').ForwardRefExoticComponent<DialogCloseButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
45
|
-
Footer: import('react').FC<DialogFooterProps>;
|
|
46
|
-
Title: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLHeadingElement> & {
|
|
47
|
-
dataset?: import('@preply/ds-core').Dataset | undefined;
|
|
48
|
-
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
49
|
-
Description: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & {
|
|
50
|
-
dataset?: import('@preply/ds-core').Dataset | undefined;
|
|
51
|
-
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
52
|
-
ButtonStack: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
53
|
-
dataset?: import('@preply/ds-core').Dataset | undefined;
|
|
54
|
-
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
55
|
-
};
|
|
56
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.ts"],"names":[],"mappings":";AAAA,OAAO,EACH,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,wBAAwB,EACxB,eAAe,EACf,mBAAmB,EACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EAA6B,WAAW,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,EACH,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,sBAAsB,EACzB,MAAM,cAAc,CAAC;AAEtB,YAAY,EACR,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,wBAAwB,EACxB,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB,GACzB,CAAC;AAEF,OAAO,EACH,aAAa,EACb,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,iBAAiB,GACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAajB,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { DialogStepsPrevious, DialogStepsNext, DialogStepsActions, DialogStep, DialogSteps } from "./DialogSteps.js";
|
|
2
|
-
import { Dialog as Dialog$1 } from "./Dialog.js";
|
|
3
|
-
import { DialogActions } from "./primitives/DialogActions.js";
|
|
4
|
-
import { DialogButtonStack } from "./primitives/DialogButtonStack.js";
|
|
5
|
-
import { DialogCloseButton } from "./primitives/DialogCloseButton.js";
|
|
6
|
-
import { DialogDescription } from "./primitives/DialogDescription.js";
|
|
7
|
-
import { DialogFooter } from "./primitives/DialogFooter.js";
|
|
8
|
-
import { DialogRoot } from "./primitives/DialogRoot.js";
|
|
9
|
-
import { DialogTitle } from "./primitives/DialogTitle.js";
|
|
10
|
-
const Dialog = Object.assign(Dialog$1, {
|
|
11
|
-
Actions: DialogActions,
|
|
12
|
-
Steps: DialogSteps,
|
|
13
|
-
Step: DialogStep,
|
|
14
|
-
StepsActions: DialogStepsActions,
|
|
15
|
-
StepsNext: DialogStepsNext,
|
|
16
|
-
StepsPrevious: DialogStepsPrevious,
|
|
17
|
-
Root: DialogRoot,
|
|
18
|
-
CloseButton: DialogCloseButton,
|
|
19
|
-
Footer: DialogFooter,
|
|
20
|
-
Title: DialogTitle,
|
|
21
|
-
Description: DialogDescription,
|
|
22
|
-
ButtonStack: DialogButtonStack
|
|
23
|
-
});
|
|
24
|
-
export {
|
|
25
|
-
Dialog,
|
|
26
|
-
DialogActions,
|
|
27
|
-
DialogButtonStack,
|
|
28
|
-
DialogCloseButton,
|
|
29
|
-
DialogDescription,
|
|
30
|
-
DialogFooter,
|
|
31
|
-
DialogRoot,
|
|
32
|
-
DialogStep,
|
|
33
|
-
DialogSteps,
|
|
34
|
-
DialogStepsActions,
|
|
35
|
-
DialogStepsNext,
|
|
36
|
-
DialogStepsPrevious,
|
|
37
|
-
DialogTitle
|
|
38
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './DialogActions';
|
|
2
|
-
export * from './DialogButtonStack';
|
|
3
|
-
export * from './DialogCloseButton';
|
|
4
|
-
export * from './DialogDescription';
|
|
5
|
-
export * from './DialogFooter';
|
|
6
|
-
export * from './DialogRoot';
|
|
7
|
-
export * from './DialogTitle';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DialogActions } from "./DialogActions.js";
|
|
2
|
-
import { DialogButtonStack } from "./DialogButtonStack.js";
|
|
3
|
-
import { DialogCloseButton, DialogDefaultCloseButton } from "./DialogCloseButton.js";
|
|
4
|
-
import { DialogDescription } from "./DialogDescription.js";
|
|
5
|
-
import { DialogFooter } from "./DialogFooter.js";
|
|
6
|
-
import { DialogRoot } from "./DialogRoot.js";
|
|
7
|
-
import { DialogTitle } from "./DialogTitle.js";
|
|
8
|
-
export {
|
|
9
|
-
DialogActions,
|
|
10
|
-
DialogButtonStack,
|
|
11
|
-
DialogCloseButton,
|
|
12
|
-
DialogDefaultCloseButton,
|
|
13
|
-
DialogDescription,
|
|
14
|
-
DialogFooter,
|
|
15
|
-
DialogRoot,
|
|
16
|
-
DialogTitle
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { B, C, o, G, j, c, I, g, f, d, i, e, h, b, P, a, l, m, n, R, S, k, T } from "../../../DropdownMenu.primitives-CyRRES7v.js";
|
|
2
|
-
import { SelectOptionItem, SelectOptionLabelText, SelectRadioGroup, SelectRoot, SelectTrigger, SelectValue } from "./DropdownMenuSelectItem.primitives.js";
|
|
3
|
-
export {
|
|
4
|
-
B as Backdrop,
|
|
5
|
-
C as CheckboxItem,
|
|
6
|
-
o as CheckboxItemIndicator,
|
|
7
|
-
G as Group,
|
|
8
|
-
j as GroupLabel,
|
|
9
|
-
c as Item,
|
|
10
|
-
I as ItemContainer,
|
|
11
|
-
g as ItemDescription,
|
|
12
|
-
f as ItemLabel,
|
|
13
|
-
d as ItemLeadingElements,
|
|
14
|
-
i as ItemSubmenuIcon,
|
|
15
|
-
e as ItemTrailingElements,
|
|
16
|
-
h as ItemValue,
|
|
17
|
-
b as Popup,
|
|
18
|
-
P as Portal,
|
|
19
|
-
a as Positioner,
|
|
20
|
-
l as RadioGroup,
|
|
21
|
-
m as RadioItem,
|
|
22
|
-
n as RadioItemIndicator,
|
|
23
|
-
R as Root,
|
|
24
|
-
SelectOptionItem,
|
|
25
|
-
SelectOptionLabelText,
|
|
26
|
-
SelectRadioGroup,
|
|
27
|
-
SelectRoot,
|
|
28
|
-
SelectTrigger,
|
|
29
|
-
SelectValue,
|
|
30
|
-
S as SubmenuRoot,
|
|
31
|
-
k as SubmenuTrigger,
|
|
32
|
-
T as Trigger
|
|
33
|
-
};
|