@sudobility/components 2.0.3 → 2.0.5

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.
@@ -14,6 +14,7 @@ interface DropdownProps {
14
14
  items: DropdownItem[];
15
15
  align?: 'left' | 'right';
16
16
  className?: string;
17
+ variant?: 'default' | 'bordered';
17
18
  }
18
19
  export declare const Dropdown: React.FC<DropdownProps>;
19
20
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../src/ui/dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,UAAU,aAAa;IACrB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAyE5C,CAAC"}
1
+ {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../src/ui/dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,UAAU,aAAa;IACrB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CAClC;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA4E5C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudobility/components",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "Reusable UI components and design system for mail box applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
@@ -47,7 +47,7 @@
47
47
  "@radix-ui/react-slot": "^1.0.0",
48
48
  "@radix-ui/react-switch": "^1.0.0",
49
49
  "@radix-ui/react-tabs": "^1.0.0",
50
- "@sudobility/design": "^1.0.25",
50
+ "@sudobility/design": "^1.0.26",
51
51
  "class-variance-authority": "^0.7.0",
52
52
  "clsx": "^2.1.1",
53
53
  "i18next": "^25.0.0",
@@ -61,32 +61,6 @@
61
61
  "tailwind-merge": "^3.0.0",
62
62
  "web-vitals": "^5.0.0"
63
63
  },
64
- "peerDependenciesMeta": {
65
- "@sudobility/design": {
66
- "optional": true
67
- },
68
- "react-helmet-async": {
69
- "optional": true
70
- },
71
- "react-i18next": {
72
- "optional": true
73
- },
74
- "i18next": {
75
- "optional": true
76
- },
77
- "react-router-dom": {
78
- "optional": true
79
- },
80
- "react-share": {
81
- "optional": true
82
- },
83
- "web-vitals": {
84
- "optional": true
85
- },
86
- "lucide-react": {
87
- "optional": true
88
- }
89
- },
90
64
  "devDependencies": {
91
65
  "@eslint/js": "^9.36.0",
92
66
  "@heroicons/react": "^2.0.0",
@@ -97,7 +71,7 @@
97
71
  "@radix-ui/react-slot": "^1.0.0",
98
72
  "@radix-ui/react-switch": "^1.0.0",
99
73
  "@radix-ui/react-tabs": "^1.0.0",
100
- "@sudobility/design": "^1.0.25",
74
+ "@sudobility/design": "^1.0.26",
101
75
  "@testing-library/dom": "^10.4.1",
102
76
  "@testing-library/jest-dom": "^6.8.0",
103
77
  "@testing-library/react": "^16.3.0",
@@ -143,6 +117,10 @@
143
117
  "url": "https://github.com/sudobility/components/issues"
144
118
  },
145
119
  "homepage": "https://github.com/sudobility/components#readme",
120
+ "optionalDependencies": {
121
+ "@rollup/rollup-linux-x64-gnu": "4.52.4",
122
+ "@rollup/rollup-linux-x64-musl": "4.52.4"
123
+ },
146
124
  "publishConfig": {
147
125
  "access": "restricted"
148
126
  }