@availity/app-icon
Advanced tools
Comparing version 1.6.2 to 1.6.3
@@ -5,2 +5,6 @@ # Changelog | ||
## [1.6.3](https://github.com/Availity/availity-react/compare/@availity/app-icon@1.6.2...@availity/app-icon@1.6.3) (2023-10-09) | ||
## [1.6.2](https://github.com/Availity/availity-react/compare/@availity/app-icon@1.6.1...@availity/app-icon@1.6.2) (2022-11-16) | ||
@@ -7,0 +11,0 @@ |
import React from 'react'; | ||
declare type AppIconProps = { | ||
type AppIconProps = { | ||
/** For src prop. the alt property for your image source is not found or is loading. */ | ||
@@ -5,0 +5,0 @@ alt?: string; |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var __create = Object.create; | ||
@@ -48,3 +49,10 @@ var __defProp = Object.defineProperty; | ||
}; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod)); | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
mod | ||
)); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
@@ -60,4 +68,4 @@ | ||
// src/AppIcon.tsx | ||
var import_react = __toESM(require("react")); | ||
var import_classnames = __toESM(require("classnames")); | ||
var import_jsx_runtime = require("react/jsx-runtime"); | ||
function AppIcon(_a) { | ||
@@ -89,14 +97,7 @@ var _b = _a, { | ||
}); | ||
return /* @__PURE__ */ import_react.default.createElement(Tag, __spreadProps(__spreadValues({}, props), { | ||
className: classes | ||
}), image ? /* @__PURE__ */ import_react.default.createElement("img", { | ||
className: "w-100 h-100 align-baseline", | ||
src: image, | ||
alt | ||
}) : children, branded && /* @__PURE__ */ import_react.default.createElement("span", { | ||
className: "caret" | ||
})); | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Tag, __spreadProps(__spreadValues({}, props), { className: classes, children: [ | ||
image ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { className: "w-100 h-100 align-baseline", src: image, alt }) : children, | ||
branded && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "caret" }) | ||
] })); | ||
} | ||
var AppIcon_default = AppIcon; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
{ | ||
"name": "@availity/app-icon", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"description": "Availity UI Kit application icon react component.", | ||
@@ -35,9 +35,9 @@ "keywords": [ | ||
"dependencies": { | ||
"classnames": "^2.3.1" | ||
"classnames": "^2.3.2" | ||
}, | ||
"devDependencies": { | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"tsup": "^5.12.7", | ||
"typescript": "^4.6.4" | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"tsup": "^7.2.0", | ||
"typescript": "^4.9.5" | ||
}, | ||
@@ -44,0 +44,0 @@ "peerDependencies": { |
@@ -6,3 +6,3 @@ { | ||
"test": { | ||
"executor": "@nrwl/jest:jest", | ||
"executor": "@nx/jest:jest", | ||
"outputs": ["coverage/app-icon"], | ||
@@ -15,4 +15,4 @@ "options": { "jestConfig": "packages/app-icon/jest.config.js", "passWithNoTests": true } | ||
"preset": "angular", | ||
"commitMessageFormat": "chore(${projectName}): release version ${version} [skip ci]", | ||
"tagPrefix": "@availity/${projectName}@", | ||
"commitMessageFormat": "chore({projectName}): release version ${version} [skip ci]", | ||
"tagPrefix": "@availity/{projectName}@", | ||
"baseBranch": "master" | ||
@@ -22,3 +22,3 @@ } | ||
"lint": { | ||
"executor": "@nrwl/linter:eslint", | ||
"executor": "@nx/linter:eslint", | ||
"options": { | ||
@@ -25,0 +25,0 @@ "eslintConfig": ".eslintrc.yaml", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21383
14
336
Updatedclassnames@^2.3.2