@1001-digital/components 2.0.1 → 2.0.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1001-digital/components",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "sideEffects": [
@@ -13,9 +13,12 @@
13
13
  "files": [
14
14
  "src"
15
15
  ],
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
16
19
  "peerDependencies": {
17
20
  "vue": "^3.5.0",
18
- "@1001-digital/styles": "^2.0.0"
21
+ "@1001-digital/styles": "^2.1.0"
19
22
  },
20
23
  "dependencies": {
21
24
  "@iconify/vue": "^5.0.0",
@@ -7,7 +7,7 @@
7
7
  <slot name="trigger" />
8
8
  <Icon
9
9
  class="dropdown-sub-icon"
10
- type="chevron-right"
10
+ name="chevron-right"
11
11
  />
12
12
  </DropdownMenuSubTrigger>
13
13
 
@@ -9,6 +9,7 @@
9
9
  position: relative;
10
10
  display: flex;
11
11
  align-items: center;
12
+ gap: var(--border-width);
12
13
 
13
14
  & :deep(input + .icon) {
14
15
  position: absolute;
@@ -42,7 +43,6 @@
42
43
  + input,
43
44
  + button,
44
45
  + a {
45
- margin-inline-start: calc(-1 * var(--border-width));
46
46
  border-start-start-radius: 0 !important;
47
47
  border-end-start-radius: 0 !important;
48
48
  }
@@ -72,7 +72,7 @@ watch(isLargeScreen, (lg) => {
72
72
  })
73
73
 
74
74
  // Swipe gesture handling
75
- const EDGE_WIDTH = 30
75
+ const EDGE_WIDTH = 100
76
76
  const SNAP_THRESHOLD = 0.3
77
77
 
78
78
  let cleanupSwipe: (() => void) | undefined