phx-react 1.3.228 → 1.3.229
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.
|
@@ -430,7 +430,7 @@ var PHXMainWrap = function (_a) {
|
|
|
430
430
|
: 'text-gray-500 hover:bg-gray-200', 'mb-2 inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg'), href: item.path, onClick: function () { return handleClicked(item.path); } },
|
|
431
431
|
react_2["default"].createElement("span", { className: 'sr-only' }, item.name),
|
|
432
432
|
react_2["default"].createElement("span", { className: 'group relative cursor-pointer p-4 hover:fixed hover:z-10 hover:overflow-visible focus-visible:outline-none' },
|
|
433
|
-
react_2["default"].createElement(react_fontawesome_1.FontAwesomeIcon, { className: 'h-
|
|
433
|
+
react_2["default"].createElement(react_fontawesome_1.FontAwesomeIcon, { className: 'h-5 w-5', icon: item.image }),
|
|
434
434
|
react_2["default"].createElement("span", { className: 'invisible absolute left-full top-1/2 z-10 ml-[-1em] w-32 -translate-y-1/2 rounded bg-white p-2 text-xs font-medium text-black opacity-0 shadow-2xl drop-shadow-2xl transition-all group-hover:visible group-hover:block group-hover:opacity-100', role: 'tooltip' }, item.name)))))) : (react_2["default"].createElement("a", { key: item.name, className: classNames(item.current
|
|
435
435
|
? 'text-indigo-600 hover:bg-gray-200'
|
|
436
436
|
: 'text-gray-400 hover:bg-gray-200', 'mb-2 inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg'), href: item.path, onClick: function () { return handleClicked(item.path); } },
|
|
@@ -427,7 +427,7 @@ export var PHXMainWrap = function (_a) {
|
|
|
427
427
|
: 'text-gray-500 hover:bg-gray-200', 'mb-2 inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg'), href: item.path, onClick: function () { return handleClicked(item.path); } },
|
|
428
428
|
React.createElement("span", { className: 'sr-only' }, item.name),
|
|
429
429
|
React.createElement("span", { className: 'group relative cursor-pointer p-4 hover:fixed hover:z-10 hover:overflow-visible focus-visible:outline-none' },
|
|
430
|
-
React.createElement(FontAwesomeIcon, { className: 'h-
|
|
430
|
+
React.createElement(FontAwesomeIcon, { className: 'h-5 w-5', icon: item.image }),
|
|
431
431
|
React.createElement("span", { className: 'invisible absolute left-full top-1/2 z-10 ml-[-1em] w-32 -translate-y-1/2 rounded bg-white p-2 text-xs font-medium text-black opacity-0 shadow-2xl drop-shadow-2xl transition-all group-hover:visible group-hover:block group-hover:opacity-100', role: 'tooltip' }, item.name)))))) : (React.createElement("a", { key: item.name, className: classNames(item.current
|
|
432
432
|
? 'text-indigo-600 hover:bg-gray-200'
|
|
433
433
|
: 'text-gray-400 hover:bg-gray-200', 'mb-2 inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg'), href: item.path, onClick: function () { return handleClicked(item.path); } },
|