@bigbinary/neeto-folders-frontend 2.2.3 → 2.2.4

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/dist/.ready CHANGED
@@ -1 +1 @@
1
- Built at 2026-11-11T18:28:30.731Z
1
+ Built at 2026-11-16T07:48:42.982Z
@@ -86,13 +86,16 @@ var AccessPill = function AccessPill(_ref) {
86
86
 
87
87
  var ACCESS_TYPES = [{
88
88
  value: "only_me",
89
- icon: lucideReact.Lock
89
+ icon: lucideReact.Lock,
90
+ dataTestId: "only-me"
90
91
  }, {
91
92
  value: "workspace",
92
- icon: lucideReact.Globe
93
+ icon: lucideReact.Globe,
94
+ dataTestId: "workspace"
93
95
  }, {
94
96
  value: "restricted",
95
- icon: lucideReact.Users
97
+ icon: lucideReact.Users,
98
+ dataTestId: "restricted"
96
99
  }];
97
100
  var CAPABILITIES = ["view", "manage"];
98
101
  var DEFAULT_CAPABILITY = "manage";
@@ -131,13 +134,15 @@ var AccessTypeCards = function AccessTypeCards(_ref) {
131
134
  onValueChange: onChange,
132
135
  children: ACCESS_TYPES.map(function (_ref2) {
133
136
  var type = _ref2.value,
134
- Icon = _ref2.icon;
137
+ Icon = _ref2.icon,
138
+ dataTestId = _ref2.dataTestId;
135
139
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
136
140
  className: classNames("flex w-full cursor-pointer items-start justify-between gap-3 rounded-md border p-3", type === value ? "border-foreground ring-foreground ring-1" : "border-border"),
137
141
  onClick: function onClick(event) {
138
142
  return handleCardClick(event, type);
139
143
  },
140
144
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.RadioGroup.Item, {
145
+ dataTestId: dataTestId,
141
146
  value: type,
142
147
  helpText: t("access.dialog.descriptions.".concat(descriptionKey(type)), {
143
148
  name: ownerName
@@ -1077,6 +1082,7 @@ var AddEditPane = function AddEditPane(_ref) {
1077
1082
  className: "w-full space-y-5",
1078
1083
  children: [/*#__PURE__*/jsxRuntime.jsx(formik.Input, {
1079
1084
  required: true,
1085
+ dataTestId: "folder-name",
1080
1086
  label: t("folders.name"),
1081
1087
  name: "name",
1082
1088
  ref: setFocusField
@@ -2215,14 +2221,17 @@ var FolderTile = function FolderTile(_ref) {
2215
2221
  var menuItems = [{
2216
2222
  key: "edit",
2217
2223
  label: t("common.edit"),
2224
+ "data-testid": "edit-menu-item",
2218
2225
  onClick: actionCallback(actions.onEdit)
2219
2226
  }, {
2220
2227
  key: "move",
2221
2228
  label: t("common.moveToFolder"),
2229
+ "data-testid": "move-to-folder-menu-item",
2222
2230
  onClick: actionCallback(actions.onMove)
2223
2231
  }, {
2224
2232
  key: "delete",
2225
2233
  label: t("common.delete"),
2234
+ "data-testid": "delete-menu-item",
2226
2235
  onClick: actionCallback(actions.onDelete)
2227
2236
  }];
2228
2237
  var metaInfo = [];