@scm-manager/ui-core 3.4.2-20240820-125924 → 3.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-manager/ui-core",
3
- "version": "3.4.2-20240820-125924",
3
+ "version": "3.4.2",
4
4
  "main": "./src/index.ts",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -27,7 +27,6 @@ import classNames from "classnames";
27
27
 
28
28
  type Props = React.HTMLProps<HTMLElement> & {
29
29
  children?: string;
30
- type?: string;
31
30
  };
32
31
 
33
32
  /**
@@ -42,11 +41,11 @@ type Props = React.HTMLProps<HTMLElement> & {
42
41
  * @see https://bulma.io/documentation/elements/icon/
43
42
  * @see https://fontawesome.com/search?o=r&m=free
44
43
  */
45
- const Icon = React.forwardRef<HTMLElement, Props>(({ children, className, type = "fas", ...props }, ref) => {
44
+ const Icon = React.forwardRef<HTMLElement, Props>(({ children, className, ...props }, ref) => {
46
45
  return (
47
46
  <span className={classNames(className, "icon")} aria-hidden="true" {...props} ref={ref}>
48
47
  <i
49
- className={classNames(`${type} fa-fw fa-${children}`, {
48
+ className={classNames(`fas fa-fw fa-${children}`, {
50
49
  "fa-xs": className?.includes("is-small"),
51
50
  "fa-lg": className?.includes("is-medium"),
52
51
  "fa-2x": className?.includes("is-large"),