Skip to content

Commit 2016aff

Browse files
authored
Merge pull request #158 from unoforge/changes
Improve dropdown and refactor Tabs
2 parents ceba621 + 0f4a3d3 commit 2016aff

File tree

18 files changed

+195
-108
lines changed

18 files changed

+195
-108
lines changed

examples/with-tailwind/ui/dropdown/index.html

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

examples/with-tailwind/ui/dropdown/main.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import { Dropdown } from "./../../../../packages/dropdown/src/index"
1+
import { Dropdown } from "./../../../../packages/dropdown/"
22
import "./../../main"
33

4-
new Dropdown("[data-drop-down-1]")
4+
new Dropdown("[data-drop-down-1]",{
5+
preventCloseFromInside:true
6+
})
57
new Dropdown("[data-drop-down-2]")
68
new Dropdown(
79
"[data-drop-down-3]",
@@ -22,6 +24,6 @@ new Dropdown("[data-drop-down-6]",
2224
)
2325

2426
new Dropdown("[data-sub-demo]", {
25-
triggerStrategy: "hover",
27+
// triggerStrategy: "hover",
2628
placement: "right-start"
2729
})

package-lock.json

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/accordion/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@flexilla/accordion",
33
"private": false,
4-
"version": "2.2.1",
4+
"version": "2.2.2",
55
"type": "module",
66
"description": "A versatile and interactive accordion component for creating collapsible sections in web applications, conserving space and improving user experience",
77
"publishConfig": {
@@ -37,7 +37,7 @@
3737
},
3838
"dependencies": {
3939
"@flexilla/manager": "latest",
40-
"@flexilla/utilities": "^2.3.0"
40+
"@flexilla/utilities": "^2.4.0"
4141
},
4242
"devDependencies": {
4343
"typescript": "^5.8.3",

packages/dismissible/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@flexilla/dismissible",
33
"private": false,
4-
"version": "2.0.11",
4+
"version": "2.0.12",
55
"type": "module",
66
"description": "A lightweight JavaScript component that automatically makes a component dismissible for easy user interaction.",
77
"publishConfig": {

packages/dropdown/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@flexilla/dropdown",
33
"private": false,
4-
"version": "2.2.2",
4+
"version": "2.2.3",
55
"type": "module",
66
"description": "Utilities package for flexilla library",
77
"publishConfig": {

0 commit comments

Comments
 (0)