@rikstv/shared-components 1.1.90 → 1.1.91
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/components/list/CheckmarkListItem.d.ts +1 -0
- package/dist/components/list/CheckmarkListItem.js +5 -1
- package/dist/components/list/CrossmarkListItem.d.ts +1 -0
- package/dist/components/list/CrossmarkListItem.js +5 -1
- package/dist/components/list/OrderedListItem.d.ts +1 -0
- package/dist/components/list/OrderedListItem.js +5 -1
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ const CheckmarkListItem = ({
|
|
|
14
14
|
color,
|
|
15
15
|
style,
|
|
16
16
|
className = "",
|
|
17
|
+
innerClassName = "",
|
|
17
18
|
children,
|
|
18
19
|
...rest
|
|
19
20
|
}) => {
|
|
@@ -26,7 +27,10 @@ const CheckmarkListItem = ({
|
|
|
26
27
|
className: `rds-list__item__checkmark ${className}`,
|
|
27
28
|
"data-testid": "rds-list-item--check",
|
|
28
29
|
...rest,
|
|
29
|
-
children
|
|
30
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
31
|
+
className: `${innerClassName}`,
|
|
32
|
+
children
|
|
33
|
+
})
|
|
30
34
|
});
|
|
31
35
|
};
|
|
32
36
|
export { CheckmarkListItem as C, getMarkColor as g };
|
|
@@ -5,6 +5,7 @@ const CrossmarkListItem = ({
|
|
|
5
5
|
color,
|
|
6
6
|
style,
|
|
7
7
|
className = "",
|
|
8
|
+
innerClassName = "",
|
|
8
9
|
children,
|
|
9
10
|
...rest
|
|
10
11
|
}) => {
|
|
@@ -17,7 +18,10 @@ const CrossmarkListItem = ({
|
|
|
17
18
|
className: `rds-list__item__crossmark ${className}`,
|
|
18
19
|
"data-testid": "rds-list-item--cross",
|
|
19
20
|
...rest,
|
|
20
|
-
children
|
|
21
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
22
|
+
className: `${innerClassName}`,
|
|
23
|
+
children
|
|
24
|
+
})
|
|
21
25
|
});
|
|
22
26
|
};
|
|
23
27
|
export { CrossmarkListItem as C };
|
|
@@ -2,6 +2,7 @@ import { j as jsx } from "../core/RiksTV.js";
|
|
|
2
2
|
var OrderedListItem$1 = /* @__PURE__ */ (() => '.rds-list__item__ordered{display:flex;margin-bottom:var(--list-item__spacing);counter-increment:listCounter}.rds-list__item__ordered:last-child{margin:0}.rds-list__item__ordered:before{content:counter(listCounter) ".";display:block;width:1em;flex-shrink:0;margin-right:1rem;text-align:center;color:currentColor}\n')();
|
|
3
3
|
const OrderedListItem = ({
|
|
4
4
|
className = "",
|
|
5
|
+
innerClassName = "",
|
|
5
6
|
children,
|
|
6
7
|
...rest
|
|
7
8
|
}) => {
|
|
@@ -9,7 +10,10 @@ const OrderedListItem = ({
|
|
|
9
10
|
className: `rds-list__item__ordered ${className}`,
|
|
10
11
|
"data-testid": "rds-ordered-list-item",
|
|
11
12
|
...rest,
|
|
12
|
-
children
|
|
13
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
14
|
+
className: `${innerClassName}`,
|
|
15
|
+
children
|
|
16
|
+
})
|
|
13
17
|
});
|
|
14
18
|
};
|
|
15
19
|
export { OrderedListItem as O };
|