@launchpad-ui/popover
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -9,3 +9,3 @@ // ../../scripts/react-shim.js | ||
import { animated, Spring } from "@react-spring/web"; | ||
import cx from "classnames"; | ||
import cx from "clsx"; | ||
import { isFunction, isNil } from "lodash-es"; | ||
@@ -12,0 +12,0 @@ import { |
@@ -37,3 +37,3 @@ var __create = Object.create; | ||
var import_web = require("@react-spring/web"); | ||
var import_classnames = __toESM(require("classnames")); | ||
var import_clsx = __toESM(require("clsx")); | ||
var import_lodash_es = require("lodash-es"); | ||
@@ -165,3 +165,3 @@ var import_react = require("react"); | ||
ref: this.refHandlers.target, | ||
className: (0, import_classnames.default)("Popover-target", targetClassName, { | ||
className: (0, import_clsx.default)("Popover-target", targetClassName, { | ||
"Popover-target--active": isOpen, | ||
@@ -204,3 +204,3 @@ "Popover-target--disabled": isTargetDisabled | ||
const { isOpen } = this.state; | ||
const classes = (0, import_classnames.default)("Popover", popoverClassName); | ||
const classes = (0, import_clsx.default)("Popover", popoverClassName); | ||
let handlers = {}; | ||
@@ -217,3 +217,3 @@ if (interactionKind === "hover") { | ||
const popoverContent = /* @__PURE__ */ React.createElement("div", { | ||
className: (0, import_classnames.default)("Popover-content", { | ||
className: (0, import_clsx.default)("Popover-content", { | ||
"Popover-content--restrict-width": restrictWidth | ||
@@ -220,0 +220,0 @@ }, popoverContentClassName) |
{ | ||
"name": "@launchpad-ui/popover", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"publishConfig": { | ||
@@ -30,7 +30,7 @@ "access": "public" | ||
"@floating-ui/dom": "^0.5.2", | ||
"@launchpad-ui/overlay": "~0.1.2", | ||
"@launchpad-ui/overlay": "~0.1.3", | ||
"@launchpad-ui/tokens": "~0.1.4", | ||
"@react-aria/focus": "^3.6.0", | ||
"@react-spring/web": "^9.4.5", | ||
"classnames": "^2.3.1", | ||
"clsx": "^1.1.1", | ||
"lodash-es": "^4.17.21", | ||
@@ -37,0 +37,0 @@ "uuid": "^8.3.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
91459
+ Addedclsx@^1.1.1
- Removedclassnames@^2.3.1
- Removedclassnames@2.5.1(transitive)
Updated@launchpad-ui/overlay@~0.1.3