braid-design-system 33.13.0 → 33.14.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/CHANGELOG.md +22 -0
- package/dist/index.d.mts +203 -240
- package/dist/index.d.ts +203 -240
- package/dist/lib/components/Dialog/Dialog.cjs +4 -1
- package/dist/lib/components/Dialog/Dialog.mjs +4 -1
- package/dist/lib/components/Inline/Inline.playroom.cjs +6 -1
- package/dist/lib/components/Inline/Inline.playroom.mjs +6 -1
- package/dist/lib/components/MenuItem/MenuItemLink.playroom.cjs +4 -1
- package/dist/lib/components/MenuItem/MenuItemLink.playroom.mjs +4 -1
- package/dist/lib/components/MenuRenderer/MenuRenderer.cjs +1 -1
- package/dist/lib/components/MenuRenderer/MenuRenderer.mjs +1 -1
- package/dist/lib/components/Stepper/Stepper.cjs +1 -0
- package/dist/lib/components/Stepper/Stepper.mjs +1 -0
- package/dist/lib/components/Strong/Strong.cjs +6 -1
- package/dist/lib/components/Strong/Strong.mjs +6 -1
- package/dist/lib/components/TextDropdown/TextDropdown.playroom.cjs +3 -3
- package/dist/lib/components/TextDropdown/TextDropdown.playroom.mjs +3 -3
- package/dist/lib/components/TooltipRenderer/TooltipRenderer.cjs +11 -4
- package/dist/lib/components/TooltipRenderer/TooltipRenderer.css.cjs +6 -0
- package/dist/lib/components/TooltipRenderer/TooltipRenderer.css.mjs +6 -0
- package/dist/lib/components/TooltipRenderer/TooltipRenderer.mjs +11 -4
- package/dist/lib/components/icons/IconArrow/IconArrow.cjs +4 -1
- package/dist/lib/components/icons/IconArrow/IconArrow.mjs +4 -1
- package/dist/lib/components/icons/IconAttachment/IconAttachmentSvg.cjs +5 -1
- package/dist/lib/components/icons/IconAttachment/IconAttachmentSvg.mjs +5 -1
- package/dist/lib/components/icons/IconBluetooth/IconBluetoothSvg.cjs +5 -1
- package/dist/lib/components/icons/IconBluetooth/IconBluetoothSvg.mjs +5 -1
- package/dist/lib/components/icons/IconBulletList/IconBulletListSvg.cjs +5 -1
- package/dist/lib/components/icons/IconBulletList/IconBulletListSvg.mjs +5 -1
- package/dist/lib/components/icons/IconCareer/IconCareer.cjs +4 -1
- package/dist/lib/components/icons/IconCareer/IconCareer.mjs +4 -1
- package/dist/lib/components/icons/IconCareer/IconCareerActiveSvg.cjs +5 -1
- package/dist/lib/components/icons/IconCareer/IconCareerActiveSvg.mjs +5 -1
- package/dist/lib/components/icons/IconChecklist/IconChecklistSvg.cjs +5 -1
- package/dist/lib/components/icons/IconChecklist/IconChecklistSvg.mjs +5 -1
- package/dist/lib/components/icons/IconCoverLetter/IconCoverLetterSvg.cjs +5 -1
- package/dist/lib/components/icons/IconCoverLetter/IconCoverLetterSvg.mjs +5 -1
- package/dist/lib/components/icons/IconCreditCard/IconCreditCardSvg.cjs +5 -1
- package/dist/lib/components/icons/IconCreditCard/IconCreditCardSvg.mjs +5 -1
- package/dist/lib/components/icons/IconEducation/IconEducationSvg.cjs +5 -1
- package/dist/lib/components/icons/IconEducation/IconEducationSvg.mjs +5 -1
- package/dist/lib/components/icons/IconEnlarge/IconEnlarge.cjs +4 -1
- package/dist/lib/components/icons/IconEnlarge/IconEnlarge.mjs +4 -1
- package/dist/lib/components/icons/IconExperience/IconExperienceSvg.cjs +5 -1
- package/dist/lib/components/icons/IconExperience/IconExperienceSvg.mjs +5 -1
- package/dist/lib/components/icons/IconHeart/IconHeartActiveSvg.cjs +5 -1
- package/dist/lib/components/icons/IconHeart/IconHeartActiveSvg.mjs +5 -1
- package/dist/lib/components/icons/IconLinkBroken/IconLinkBrokenSvg.cjs +5 -1
- package/dist/lib/components/icons/IconLinkBroken/IconLinkBrokenSvg.mjs +5 -1
- package/dist/lib/components/icons/IconMicrophone/IconMicrophoneSvg.cjs +5 -1
- package/dist/lib/components/icons/IconMicrophone/IconMicrophoneSvg.mjs +5 -1
- package/dist/lib/components/icons/IconNewWindow/IconNewWindowSvg.cjs +5 -1
- package/dist/lib/components/icons/IconNewWindow/IconNewWindowSvg.mjs +5 -1
- package/dist/lib/components/icons/IconNotification/IconNotificationSvg.cjs +5 -1
- package/dist/lib/components/icons/IconNotification/IconNotificationSvg.mjs +5 -1
- package/dist/lib/components/icons/IconNumberedList/IconNumberedListSvg.cjs +5 -1
- package/dist/lib/components/icons/IconNumberedList/IconNumberedListSvg.mjs +5 -1
- package/dist/lib/components/icons/IconPersonAdd/IconPersonAddSvg.cjs +5 -1
- package/dist/lib/components/icons/IconPersonAdd/IconPersonAddSvg.mjs +5 -1
- package/dist/lib/components/icons/IconRecommended/IconRecommendedSvg.cjs +5 -1
- package/dist/lib/components/icons/IconRecommended/IconRecommendedSvg.mjs +5 -1
- package/dist/lib/components/icons/IconSentiment/IconSentimentSvg.cjs +5 -1
- package/dist/lib/components/icons/IconSentiment/IconSentimentSvg.mjs +5 -1
- package/dist/lib/components/icons/IconSocialGitHub/IconSocialGitHubSvg.cjs +5 -1
- package/dist/lib/components/icons/IconSocialGitHub/IconSocialGitHubSvg.mjs +5 -1
- package/dist/lib/components/icons/IconSocialMedium/IconSocialMediumSvg.cjs +5 -1
- package/dist/lib/components/icons/IconSocialMedium/IconSocialMediumSvg.mjs +5 -1
- package/dist/lib/components/icons/IconSocialTiktok/IconSocialTiktokSvg.cjs +5 -1
- package/dist/lib/components/icons/IconSocialTiktok/IconSocialTiktokSvg.mjs +5 -1
- package/dist/lib/components/icons/IconStar/IconStarActiveSvg.cjs +5 -1
- package/dist/lib/components/icons/IconStar/IconStarActiveSvg.mjs +5 -1
- package/dist/lib/components/icons/IconStatistics/IconStatisticsSvg.cjs +5 -1
- package/dist/lib/components/icons/IconStatistics/IconStatisticsSvg.mjs +5 -1
- package/dist/lib/components/icons/IconSubCategory/IconSubCategorySvg.cjs +5 -1
- package/dist/lib/components/icons/IconSubCategory/IconSubCategorySvg.mjs +5 -1
- package/dist/lib/components/icons/IconThumb/IconThumb.cjs +4 -1
- package/dist/lib/components/icons/IconThumb/IconThumb.mjs +4 -1
- package/dist/lib/components/icons/IconVisibility/IconVisibility.cjs +4 -1
- package/dist/lib/components/icons/IconVisibility/IconVisibility.mjs +4 -1
- package/dist/lib/components/icons/IconVisibility/IconVisibilitySvg.cjs +5 -1
- package/dist/lib/components/icons/IconVisibility/IconVisibilitySvg.mjs +5 -1
- package/dist/lib/components/private/Popover/Popover.cjs +16 -6
- package/dist/lib/components/private/Popover/Popover.mjs +16 -6
- package/package.json +1 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconLinkBrokenSvg = ({
|
|
3
|
+
const IconLinkBrokenSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconLinkBrokenSvg = ({
|
|
2
|
+
const IconLinkBrokenSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconMicrophoneSvg = ({
|
|
3
|
+
const IconMicrophoneSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconMicrophoneSvg = ({
|
|
2
|
+
const IconMicrophoneSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconNewWindowSvg = ({
|
|
3
|
+
const IconNewWindowSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconNewWindowSvg = ({
|
|
2
|
+
const IconNewWindowSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconNotificationSvg = ({
|
|
3
|
+
const IconNotificationSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconNotificationSvg = ({
|
|
2
|
+
const IconNotificationSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconNumberedListSvg = ({
|
|
3
|
+
const IconNumberedListSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconNumberedListSvg = ({
|
|
2
|
+
const IconNumberedListSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconPersonAddSvg = ({
|
|
3
|
+
const IconPersonAddSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconPersonAddSvg = ({
|
|
2
|
+
const IconPersonAddSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconRecommendedSvg = ({
|
|
3
|
+
const IconRecommendedSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconRecommendedSvg = ({
|
|
2
|
+
const IconRecommendedSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconSentimentSvg = ({
|
|
3
|
+
const IconSentimentSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconSentimentSvg = ({
|
|
2
|
+
const IconSentimentSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconSocialGitHubSvg = ({
|
|
3
|
+
const IconSocialGitHubSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconSocialGitHubSvg = ({
|
|
2
|
+
const IconSocialGitHubSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconSocialMediumSvg = ({
|
|
3
|
+
const IconSocialMediumSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconSocialMediumSvg = ({
|
|
2
|
+
const IconSocialMediumSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconSocialTiktokSvg = ({
|
|
3
|
+
const IconSocialTiktokSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconSocialTiktokSvg = ({
|
|
2
|
+
const IconSocialTiktokSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconStarActiveSvg = ({
|
|
3
|
+
const IconStarActiveSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconStarActiveSvg = ({
|
|
2
|
+
const IconStarActiveSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconStatisticsSvg = ({
|
|
3
|
+
const IconStatisticsSvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconStatisticsSvg = ({
|
|
2
|
+
const IconStatisticsSvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconSubCategorySvg = ({
|
|
3
|
+
const IconSubCategorySvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconSubCategorySvg = ({
|
|
2
|
+
const IconSubCategorySvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4,7 +4,10 @@ const lib_components_Box_Box_cjs = require("../../Box/Box.cjs");
|
|
|
4
4
|
const lib_components_icons_IconContainer_cjs = require("../IconContainer.cjs");
|
|
5
5
|
const lib_components_icons_IconThumb_IconThumbSvg_cjs = require("./IconThumbSvg.cjs");
|
|
6
6
|
const lib_components_icons_IconThumb_IconThumb_css_cjs = require("./IconThumb.css.cjs");
|
|
7
|
-
const IconThumb = ({
|
|
7
|
+
const IconThumb = ({
|
|
8
|
+
direction = "up",
|
|
9
|
+
...props
|
|
10
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(lib_components_icons_IconContainer_cjs.IconContainer, { ...props, children: ({ className, ...svgProps }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
8
11
|
lib_components_Box_Box_cjs.Box,
|
|
9
12
|
{
|
|
10
13
|
component: lib_components_icons_IconThumb_IconThumbSvg_cjs.IconThumbSvg,
|
|
@@ -3,7 +3,10 @@ import { Box } from "../../Box/Box.mjs";
|
|
|
3
3
|
import { IconContainer } from "../IconContainer.mjs";
|
|
4
4
|
import { IconThumbSvg } from "./IconThumbSvg.mjs";
|
|
5
5
|
import { root, down } from "./IconThumb.css.mjs";
|
|
6
|
-
const IconThumb = ({
|
|
6
|
+
const IconThumb = ({
|
|
7
|
+
direction = "up",
|
|
8
|
+
...props
|
|
9
|
+
}) => /* @__PURE__ */ jsx(IconContainer, { ...props, children: ({ className, ...svgProps }) => /* @__PURE__ */ jsx(
|
|
7
10
|
Box,
|
|
8
11
|
{
|
|
9
12
|
component: IconThumbSvg,
|
|
@@ -4,7 +4,10 @@ const lib_components_Box_Box_cjs = require("../../Box/Box.cjs");
|
|
|
4
4
|
const lib_components_icons_IconContainer_cjs = require("../IconContainer.cjs");
|
|
5
5
|
const lib_components_icons_IconVisibility_IconVisibilityHiddenSvg_cjs = require("./IconVisibilityHiddenSvg.cjs");
|
|
6
6
|
const lib_components_icons_IconVisibility_IconVisibilitySvg_cjs = require("./IconVisibilitySvg.cjs");
|
|
7
|
-
const IconVisibility = ({
|
|
7
|
+
const IconVisibility = ({
|
|
8
|
+
hidden,
|
|
9
|
+
...props
|
|
10
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(lib_components_icons_IconContainer_cjs.IconContainer, { ...props, children: (svgProps) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
8
11
|
lib_components_Box_Box_cjs.Box,
|
|
9
12
|
{
|
|
10
13
|
component: hidden ? lib_components_icons_IconVisibility_IconVisibilityHiddenSvg_cjs.IconVisibilityHiddenSvg : lib_components_icons_IconVisibility_IconVisibilitySvg_cjs.IconVisibilitySvg,
|
|
@@ -3,7 +3,10 @@ import { Box } from "../../Box/Box.mjs";
|
|
|
3
3
|
import { IconContainer } from "../IconContainer.mjs";
|
|
4
4
|
import { IconVisibilityHiddenSvg } from "./IconVisibilityHiddenSvg.mjs";
|
|
5
5
|
import { IconVisibilitySvg } from "./IconVisibilitySvg.mjs";
|
|
6
|
-
const IconVisibility = ({
|
|
6
|
+
const IconVisibility = ({
|
|
7
|
+
hidden,
|
|
8
|
+
...props
|
|
9
|
+
}) => /* @__PURE__ */ jsx(IconContainer, { ...props, children: (svgProps) => /* @__PURE__ */ jsx(
|
|
7
10
|
Box,
|
|
8
11
|
{
|
|
9
12
|
component: hidden ? IconVisibilityHiddenSvg : IconVisibilitySvg,
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const IconVisibilitySvg = ({
|
|
3
|
+
const IconVisibilitySvg = ({
|
|
4
|
+
title,
|
|
5
|
+
titleId,
|
|
6
|
+
...props
|
|
7
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4
8
|
"svg",
|
|
5
9
|
{
|
|
6
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const IconVisibilitySvg = ({
|
|
2
|
+
const IconVisibilitySvg = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs(
|
|
3
7
|
"svg",
|
|
4
8
|
{
|
|
5
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14,14 +14,24 @@ const _interopDefaultCompat = (e) => e && typeof e === "object" && "default" in
|
|
|
14
14
|
const dedent__default = /* @__PURE__ */ _interopDefaultCompat(dedent);
|
|
15
15
|
const positionMap = {
|
|
16
16
|
top: {
|
|
17
|
-
|
|
17
|
+
start: "top-start",
|
|
18
18
|
center: "top",
|
|
19
|
-
|
|
19
|
+
end: "top-end"
|
|
20
20
|
},
|
|
21
21
|
bottom: {
|
|
22
|
-
|
|
22
|
+
start: "bottom-start",
|
|
23
23
|
center: "bottom",
|
|
24
|
-
|
|
24
|
+
end: "bottom-end"
|
|
25
|
+
},
|
|
26
|
+
left: {
|
|
27
|
+
start: "left-start",
|
|
28
|
+
center: "left",
|
|
29
|
+
end: "left-end"
|
|
30
|
+
},
|
|
31
|
+
right: {
|
|
32
|
+
start: "right-start",
|
|
33
|
+
center: "right",
|
|
34
|
+
end: "right-end"
|
|
25
35
|
}
|
|
26
36
|
};
|
|
27
37
|
function getFloatingUiPosition(placement, align) {
|
|
@@ -33,7 +43,7 @@ const PopoverContent = react.forwardRef(
|
|
|
33
43
|
({
|
|
34
44
|
id,
|
|
35
45
|
role,
|
|
36
|
-
align = "
|
|
46
|
+
align = "start",
|
|
37
47
|
width = "content",
|
|
38
48
|
placement = "bottom",
|
|
39
49
|
lockPlacement = false,
|
|
@@ -137,7 +147,7 @@ const PopoverContent = react.forwardRef(
|
|
|
137
147
|
}
|
|
138
148
|
}, lib_components_private_animationTimeout_cjs.animationTimeout);
|
|
139
149
|
}, [open, enterFocusRef]);
|
|
140
|
-
const resolvedPlacement = floatingUiEvaluatedPosition?.
|
|
150
|
+
const resolvedPlacement = floatingUiEvaluatedPosition?.split("-")[0] ?? "bottom";
|
|
141
151
|
react.useEffect(() => {
|
|
142
152
|
if (onPlacementChange) {
|
|
143
153
|
onPlacementChange({
|
|
@@ -11,14 +11,24 @@ import { backdrop, delayVisibility, invertPlacement, animation } from "./Popover
|
|
|
11
11
|
import { normalizeResponsiveValue } from "../../../css/atoms/sprinkles.css.mjs";
|
|
12
12
|
const positionMap = {
|
|
13
13
|
top: {
|
|
14
|
-
|
|
14
|
+
start: "top-start",
|
|
15
15
|
center: "top",
|
|
16
|
-
|
|
16
|
+
end: "top-end"
|
|
17
17
|
},
|
|
18
18
|
bottom: {
|
|
19
|
-
|
|
19
|
+
start: "bottom-start",
|
|
20
20
|
center: "bottom",
|
|
21
|
-
|
|
21
|
+
end: "bottom-end"
|
|
22
|
+
},
|
|
23
|
+
left: {
|
|
24
|
+
start: "left-start",
|
|
25
|
+
center: "left",
|
|
26
|
+
end: "left-end"
|
|
27
|
+
},
|
|
28
|
+
right: {
|
|
29
|
+
start: "right-start",
|
|
30
|
+
center: "right",
|
|
31
|
+
end: "right-end"
|
|
22
32
|
}
|
|
23
33
|
};
|
|
24
34
|
function getFloatingUiPosition(placement, align) {
|
|
@@ -30,7 +40,7 @@ const PopoverContent = forwardRef(
|
|
|
30
40
|
({
|
|
31
41
|
id,
|
|
32
42
|
role,
|
|
33
|
-
align = "
|
|
43
|
+
align = "start",
|
|
34
44
|
width = "content",
|
|
35
45
|
placement = "bottom",
|
|
36
46
|
lockPlacement = false,
|
|
@@ -134,7 +144,7 @@ const PopoverContent = forwardRef(
|
|
|
134
144
|
}
|
|
135
145
|
}, animationTimeout);
|
|
136
146
|
}, [open, enterFocusRef]);
|
|
137
|
-
const resolvedPlacement = floatingUiEvaluatedPosition?.
|
|
147
|
+
const resolvedPlacement = floatingUiEvaluatedPosition?.split("-")[0] ?? "bottom";
|
|
138
148
|
useEffect(() => {
|
|
139
149
|
if (onPlacementChange) {
|
|
140
150
|
onPlacementChange({
|