@appcorp/shadcn 1.0.13 → 1.0.14

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.
@@ -112,7 +112,7 @@ var EnhancedTable = function (_a) {
112
112
  return (_a = MAP[String(c)]) !== null && _a !== void 0 ? _a : COMPONENT_TYPE.TEXT;
113
113
  };
114
114
  var normalizedType = normalizeComponentType(col.componentType);
115
- if (col.key === "action") {
115
+ if (normalizedType === COMPONENT_TYPE.ACTIONS) {
116
116
  return (react_1.default.createElement(dropdown_menu_1.DropdownMenu, null,
117
117
  react_1.default.createElement(dropdown_menu_1.DropdownMenuTrigger, { asChild: true },
118
118
  react_1.default.createElement(button_1.Button, { variant: "ghost", size: "icon" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/shadcn",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "scripts": {
5
5
  "build:next": "next build",
6
6
  "build:storybook": "storybook build -c .storybook -o .out",