@axos-web-dev/shared-components 0.0.63 → 0.0.64
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/BulletItem/BulletItem.d.ts +2 -1
- package/dist/BulletItem/BulletItem.js +2 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/ImageLink/ImageLinkSet.js +1 -1
- package/dist/SetContainer/SetContainer.js +1 -1
- package/dist/StepItem/StepItem.d.ts +1 -1
- package/dist/StepItemSet/StepItemSet.js +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import { QuaternaryTypes } from '../utils';
|
|
2
3
|
|
|
3
4
|
export interface BulletItemProps extends PropsWithChildren {
|
|
4
5
|
id: string;
|
|
5
|
-
variant?:
|
|
6
|
+
variant?: QuaternaryTypes;
|
|
6
7
|
icon?: {
|
|
7
8
|
src: string;
|
|
8
9
|
altText?: string;
|
|
@@ -10,6 +10,7 @@ import "../icons/CheckIcon/CheckIcon.css.js";
|
|
|
10
10
|
/* empty css */
|
|
11
11
|
import { vars } from "../themes/axos.css.js";
|
|
12
12
|
import { bulletIcon } from "./BulletItem.css.js";
|
|
13
|
+
import { getVariant } from "../utils/getVariant.js";
|
|
13
14
|
const BulletItem = (props) => {
|
|
14
15
|
const iconCheckVariant = /* @__PURE__ */ new Map([
|
|
15
16
|
[
|
|
@@ -44,7 +45,7 @@ const BulletItem = (props) => {
|
|
|
44
45
|
],
|
|
45
46
|
[void 0, /* @__PURE__ */ jsx(SvgCheckCircleLight, { height: 18, width: 18 })]
|
|
46
47
|
]);
|
|
47
|
-
const Icon = iconCheckVariant.get(props.variant);
|
|
48
|
+
const Icon = iconCheckVariant.get(getVariant(props.variant));
|
|
48
49
|
return /* @__PURE__ */ jsxs("li", { className: listItem, children: [
|
|
49
50
|
/* @__PURE__ */ jsx("span", { className: bulletIcon, children: Icon }),
|
|
50
51
|
/* @__PURE__ */ jsx("div", { children: props.children })
|
package/dist/Carousel/index.js
CHANGED
|
@@ -12,11 +12,11 @@ import SvgQuoteIconYellow from "../icons/QuoteIconYellow.js";
|
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
|
+
import { getVariant } from "../utils/getVariant.js";
|
|
15
16
|
import "../Accordion/Accordion.js";
|
|
16
17
|
import "../Accordion/Accordion.css.js";
|
|
17
18
|
import "../AlertBanner/AlertBanner.css.js";
|
|
18
19
|
import "../Modal/contextApi/store.js";
|
|
19
|
-
import { getVariant } from "../utils/getVariant.js";
|
|
20
20
|
import clsx from "clsx";
|
|
21
21
|
import React, { useEffect, Children, cloneElement } from "react";
|
|
22
22
|
import "../Button/Button.css.js";
|
|
@@ -8,8 +8,8 @@ import "../icons/CheckIcon/CheckIcon.css.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { Chevron } from "../Chevron/index.js";
|
|
12
11
|
import { getVariant } from "../utils/getVariant.js";
|
|
12
|
+
import { Chevron } from "../Chevron/index.js";
|
|
13
13
|
import "clsx";
|
|
14
14
|
import { Button } from "../Button/Button.js";
|
|
15
15
|
import "../Button/Button.css.js";
|
|
@@ -8,11 +8,11 @@ import "../icons/CheckIcon/CheckIcon.css.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
|
+
import { getVariant } from "../utils/getVariant.js";
|
|
11
12
|
import "../Accordion/Accordion.js";
|
|
12
13
|
import "../Accordion/Accordion.css.js";
|
|
13
14
|
import "../AlertBanner/AlertBanner.css.js";
|
|
14
15
|
import "../Modal/contextApi/store.js";
|
|
15
|
-
import { getVariant } from "../utils/getVariant.js";
|
|
16
16
|
import clsx from "clsx";
|
|
17
17
|
import "react";
|
|
18
18
|
import "../Button/Button.css.js";
|
|
@@ -20,7 +20,7 @@ const StepItemSet = ({
|
|
|
20
20
|
}) => {
|
|
21
21
|
const variant = getVariant(fullVariant);
|
|
22
22
|
return /* @__PURE__ */ jsx("section", { className: `${bs_section({ variant })}`, id: `id_${id}`, children: /* @__PURE__ */ jsxs("div", { className: `${bs_wrapper} containment`, children: [
|
|
23
|
-
title || description && /* @__PURE__ */ jsxs("div", { className: "text_center", children: [
|
|
23
|
+
(title || description) && /* @__PURE__ */ jsxs("div", { className: "text_center", children: [
|
|
24
24
|
/* @__PURE__ */ jsxs(
|
|
25
25
|
"svg",
|
|
26
26
|
{
|