@versini/ui-dropdown 1.1.1 → 1.1.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.
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-dropdown v1.1.
|
|
2
|
+
@versini/ui-dropdown v1.1.2
|
|
3
3
|
© 2025 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
try {
|
|
6
6
|
if (!window.__VERSINI_UI_DROPDOWN__) {
|
|
7
7
|
window.__VERSINI_UI_DROPDOWN__ = {
|
|
8
|
-
version: "1.1.
|
|
9
|
-
buildTime: "12/15/2025
|
|
8
|
+
version: "1.1.2",
|
|
9
|
+
buildTime: "12/15/2025 07:44 PM EST",
|
|
10
10
|
homepage: "https://www.npmjs.com/package/@versini/ui-dropdown",
|
|
11
11
|
license: "MIT",
|
|
12
12
|
};
|
|
@@ -42,6 +42,7 @@ import { getDisplayName } from "./utilities.js";
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
const CONTENT_CLASS = "z-[60] rounded-md bg-surface-light shadow-sm shadow-border-dark outline-hidden p-3 sm:p-2";
|
|
45
|
+
const SUB_CONTENT_CLASS = "z-[60] rounded-md bg-surface-light shadow-sm shadow-border-dark outline-hidden p-3 sm:p-2 mx-3";
|
|
45
46
|
const SUB_TRIGGER_CLASS = clsx("flex items-center flex-row justify-between", "w-full", "m-0 first:mt-0 mt-2 sm:mt-1 px-2 py-1", "rounded-md border border-transparent", "text-left text-base select-none cursor-pointer", "outline-hidden focus:border focus:border-border-medium focus:bg-surface-lighter focus:underline", "disabled:cursor-not-allowed disabled:text-copy-medium", "data-[highlighted]:bg-surface-lighter data-[highlighted]:border-border-medium data-[highlighted]:underline", "data-[state=open]:bg-surface-lighter");
|
|
46
47
|
/**
|
|
47
48
|
* Convert Radix placement format to our simplified format.
|
|
@@ -143,7 +144,7 @@ const DropdownMenuSub = ({ label, children, disabled = false, sideOffset = 2, al
|
|
|
143
144
|
}),
|
|
144
145
|
/*#__PURE__*/ jsx(Portal, {
|
|
145
146
|
children: /*#__PURE__*/ jsx(SubContent, {
|
|
146
|
-
className:
|
|
147
|
+
className: SUB_CONTENT_CLASS,
|
|
147
148
|
sideOffset: sideOffset,
|
|
148
149
|
alignOffset: alignOffset,
|
|
149
150
|
children: children
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-dropdown v1.1.
|
|
2
|
+
@versini/ui-dropdown v1.1.2
|
|
3
3
|
© 2025 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
try {
|
|
6
6
|
if (!window.__VERSINI_UI_DROPDOWN__) {
|
|
7
7
|
window.__VERSINI_UI_DROPDOWN__ = {
|
|
8
|
-
version: "1.1.
|
|
9
|
-
buildTime: "12/15/2025
|
|
8
|
+
version: "1.1.2",
|
|
9
|
+
buildTime: "12/15/2025 07:44 PM EST",
|
|
10
10
|
homepage: "https://www.npmjs.com/package/@versini/ui-dropdown",
|
|
11
11
|
license: "MIT",
|
|
12
12
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-dropdown v1.1.
|
|
2
|
+
@versini/ui-dropdown v1.1.2
|
|
3
3
|
© 2025 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
try {
|
|
6
6
|
if (!window.__VERSINI_UI_DROPDOWN__) {
|
|
7
7
|
window.__VERSINI_UI_DROPDOWN__ = {
|
|
8
|
-
version: "1.1.
|
|
9
|
-
buildTime: "12/15/2025
|
|
8
|
+
version: "1.1.2",
|
|
9
|
+
buildTime: "12/15/2025 07:44 PM EST",
|
|
10
10
|
homepage: "https://www.npmjs.com/package/@versini/ui-dropdown",
|
|
11
11
|
license: "MIT",
|
|
12
12
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-dropdown v1.1.
|
|
2
|
+
@versini/ui-dropdown v1.1.2
|
|
3
3
|
© 2025 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
try {
|
|
6
6
|
if (!window.__VERSINI_UI_DROPDOWN__) {
|
|
7
7
|
window.__VERSINI_UI_DROPDOWN__ = {
|
|
8
|
-
version: "1.1.
|
|
9
|
-
buildTime: "12/15/2025
|
|
8
|
+
version: "1.1.2",
|
|
9
|
+
buildTime: "12/15/2025 07:44 PM EST",
|
|
10
10
|
homepage: "https://www.npmjs.com/package/@versini/ui-dropdown",
|
|
11
11
|
license: "MIT",
|
|
12
12
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-dropdown v1.1.
|
|
2
|
+
@versini/ui-dropdown v1.1.2
|
|
3
3
|
© 2025 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
try {
|
|
6
6
|
if (!window.__VERSINI_UI_DROPDOWN__) {
|
|
7
7
|
window.__VERSINI_UI_DROPDOWN__ = {
|
|
8
|
-
version: "1.1.
|
|
9
|
-
buildTime: "12/15/2025
|
|
8
|
+
version: "1.1.2",
|
|
9
|
+
buildTime: "12/15/2025 07:44 PM EST",
|
|
10
10
|
homepage: "https://www.npmjs.com/package/@versini/ui-dropdown",
|
|
11
11
|
license: "MIT",
|
|
12
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-dropdown",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"sideEffects": [
|
|
51
51
|
"**/*.css"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "699b13029f1d14089c1875bc50f049c1c7b9859a"
|
|
54
54
|
}
|