@sudobility/components 2.0.3 → 2.0.6

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.6",
4
4
  "description": "Reusable UI components and design system for mail box applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
@@ -39,19 +39,19 @@
39
39
  ],
40
40
  "author": "John Q Huang",
41
41
  "peerDependencies": {
42
- "@heroicons/react": "^2.0.0",
43
- "@radix-ui/react-alert-dialog": "^1.0.0",
44
- "@radix-ui/react-dialog": "^1.0.0",
45
- "@radix-ui/react-label": "^2.0.0",
46
- "@radix-ui/react-select": "^2.0.0",
47
- "@radix-ui/react-slot": "^1.0.0",
48
- "@radix-ui/react-switch": "^1.0.0",
49
- "@radix-ui/react-tabs": "^1.0.0",
50
- "@sudobility/design": "^1.0.25",
51
- "class-variance-authority": "^0.7.0",
42
+ "@heroicons/react": "^2.2.0",
43
+ "@radix-ui/react-alert-dialog": "^1.1.15",
44
+ "@radix-ui/react-dialog": "^1.1.15",
45
+ "@radix-ui/react-label": "^2.1.7",
46
+ "@radix-ui/react-select": "^2.2.6",
47
+ "@radix-ui/react-slot": "^1.2.3",
48
+ "@radix-ui/react-switch": "^1.2.6",
49
+ "@radix-ui/react-tabs": "^1.1.13",
50
+ "@sudobility/design": "^1.0.27",
51
+ "class-variance-authority": "^0.7.1",
52
52
  "clsx": "^2.1.1",
53
53
  "i18next": "^25.0.0",
54
- "lucide-react": "^0.400.0 || ^0.500.0 || ^0.545.0",
54
+ "lucide-react": "^0.548.0",
55
55
  "react": "^18.0.0 || ^19.0.0",
56
56
  "react-dom": "^18.0.0 || ^19.0.0",
57
57
  "react-helmet-async": "^2.0.0",
@@ -61,65 +61,39 @@
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
- "@eslint/js": "^9.36.0",
92
- "@heroicons/react": "^2.0.0",
93
- "@radix-ui/react-alert-dialog": "^1.0.0",
94
- "@radix-ui/react-dialog": "^1.0.0",
95
- "@radix-ui/react-label": "^2.0.0",
96
- "@radix-ui/react-select": "^2.0.0",
97
- "@radix-ui/react-slot": "^1.0.0",
98
- "@radix-ui/react-switch": "^1.0.0",
99
- "@radix-ui/react-tabs": "^1.0.0",
100
- "@sudobility/design": "^1.0.25",
65
+ "@eslint/js": "^9.38.0",
66
+ "@heroicons/react": "^2.2.0",
67
+ "@radix-ui/react-alert-dialog": "^1.1.15",
68
+ "@radix-ui/react-dialog": "^1.1.15",
69
+ "@radix-ui/react-label": "^2.1.7",
70
+ "@radix-ui/react-select": "^2.2.6",
71
+ "@radix-ui/react-slot": "^1.2.3",
72
+ "@radix-ui/react-switch": "^1.2.6",
73
+ "@radix-ui/react-tabs": "^1.1.13",
74
+ "@sudobility/design": "^1.0.27",
101
75
  "@testing-library/dom": "^10.4.1",
102
- "@testing-library/jest-dom": "^6.8.0",
76
+ "@testing-library/jest-dom": "^6.9.1",
103
77
  "@testing-library/react": "^16.3.0",
104
- "@types/node": "^24.7.1",
105
- "@types/react": "^19.1.13",
106
- "@types/react-dom": "^19.1.9",
78
+ "@types/node": "^24.9.1",
79
+ "@types/react": "^19.2.2",
80
+ "@types/react-dom": "^19.2.2",
107
81
  "@typescript-eslint/eslint-plugin": "^8.44.1",
108
82
  "@typescript-eslint/parser": "^8.44.1",
109
- "@vitejs/plugin-react": "^5.0.3",
83
+ "@vitejs/plugin-react": "^5.1.0",
110
84
  "ajv": "^8.17.1",
111
- "autoprefixer": "^10.0.0",
112
- "class-variance-authority": "^0.7.0",
85
+ "autoprefixer": "^10.4.21",
86
+ "class-variance-authority": "^0.7.1",
113
87
  "clsx": "^2.1.1",
114
- "eslint": "^9.36.0",
88
+ "eslint": "^9.38.0",
115
89
  "eslint-config-prettier": "^10.1.8",
116
90
  "eslint-plugin-prettier": "^5.5.4",
117
91
  "eslint-plugin-react-hooks": "^7.0.0",
118
92
  "eslint-plugin-react-refresh": "^0.4.0",
119
93
  "i18next": "^25.6.0",
120
94
  "jsdom": "^26.1.0",
121
- "lucide-react": "^0.545.0",
122
- "postcss": "^8.0.0",
95
+ "lucide-react": "^0.548.0",
96
+ "postcss": "^8.5.6",
123
97
  "prettier": "^3.6.2",
124
98
  "react": "^19.0.0",
125
99
  "react-dom": "^19.0.0",
@@ -128,9 +102,9 @@
128
102
  "react-router-dom": "^7.9.4",
129
103
  "react-share": "^5.2.2",
130
104
  "tailwind-merge": "^3.3.1",
131
- "tailwindcss": "^4.1.13",
132
- "typescript": "^5.0.0",
133
- "vite": "^7.1.7",
105
+ "tailwindcss": "^4.1.16",
106
+ "typescript": "^5.9.3",
107
+ "vite": "^7.1.12",
134
108
  "vite-plugin-dts": "^4.5.4",
135
109
  "vitest": "^3.2.4",
136
110
  "web-vitals": "^5.1.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.5",
122
+ "@rollup/rollup-linux-x64-musl": "4.52.5"
123
+ },
146
124
  "publishConfig": {
147
125
  "access": "restricted"
148
126
  }