@tipp/ui 2.1.24 → 2.1.25

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.
Files changed (65) hide show
  1. package/dist/app/index.cjs.map +1 -1
  2. package/dist/app/index.js +1 -1
  3. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  4. package/dist/app/platform/edit-coaching-time.js +1 -1
  5. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  6. package/dist/app/platform/edit-service-type.js +1 -1
  7. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  8. package/dist/app/platform/goal-manage-card-edit.js +1 -1
  9. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  10. package/dist/app/platform/on-offline-radio-card.js +1 -1
  11. package/dist/app/platform/reservation-card.cjs.map +1 -1
  12. package/dist/app/platform/reservation-card.js +1 -1
  13. package/dist/app/platform/session-card.cjs.map +1 -1
  14. package/dist/app/platform/session-card.js +1 -1
  15. package/dist/chunk-4OWVGO4Q.js +359 -0
  16. package/dist/chunk-4OWVGO4Q.js.map +1 -0
  17. package/dist/chunk-5JWXURRT.js +371 -0
  18. package/dist/chunk-5JWXURRT.js.map +1 -0
  19. package/dist/chunk-5V3HBI7J.js +363 -0
  20. package/dist/chunk-5V3HBI7J.js.map +1 -0
  21. package/dist/chunk-65AXEA2I.js +362 -0
  22. package/dist/chunk-65AXEA2I.js.map +1 -0
  23. package/dist/chunk-7PMPVRQ7.js +361 -0
  24. package/dist/chunk-7PMPVRQ7.js.map +1 -0
  25. package/dist/chunk-A3ZVKMWK.js +364 -0
  26. package/dist/chunk-A3ZVKMWK.js.map +1 -0
  27. package/dist/chunk-AZO6RISE.js +371 -0
  28. package/dist/chunk-AZO6RISE.js.map +1 -0
  29. package/dist/chunk-DV2L5NBN.js +64 -0
  30. package/dist/chunk-DV2L5NBN.js.map +1 -0
  31. package/dist/chunk-EDGTAXYO.js +363 -0
  32. package/dist/chunk-EDGTAXYO.js.map +1 -0
  33. package/dist/chunk-FHCRGIFR.js +362 -0
  34. package/dist/chunk-FHCRGIFR.js.map +1 -0
  35. package/dist/chunk-FRBDP5QD.js +363 -0
  36. package/dist/chunk-FRBDP5QD.js.map +1 -0
  37. package/dist/chunk-LAED566B.js +364 -0
  38. package/dist/chunk-LAED566B.js.map +1 -0
  39. package/dist/chunk-LWN767FK.js +363 -0
  40. package/dist/chunk-LWN767FK.js.map +1 -0
  41. package/dist/chunk-MCODG3QE.js +360 -0
  42. package/dist/chunk-MCODG3QE.js.map +1 -0
  43. package/dist/chunk-OICCEZIQ.js +196 -0
  44. package/dist/chunk-OICCEZIQ.js.map +1 -0
  45. package/dist/chunk-RBSUJ7YF.js +357 -0
  46. package/dist/chunk-RBSUJ7YF.js.map +1 -0
  47. package/dist/chunk-TJMSZLL7.js +364 -0
  48. package/dist/chunk-TJMSZLL7.js.map +1 -0
  49. package/dist/chunk-UHE622OE.js +363 -0
  50. package/dist/chunk-UHE622OE.js.map +1 -0
  51. package/dist/chunk-X2AXJ6Z5.js +364 -0
  52. package/dist/chunk-X2AXJ6Z5.js.map +1 -0
  53. package/dist/chunk-ZYX24XDH.js +364 -0
  54. package/dist/chunk-ZYX24XDH.js.map +1 -0
  55. package/dist/index.cjs +11 -2
  56. package/dist/index.cjs.map +1 -1
  57. package/dist/index.js +1 -1
  58. package/dist/molecules/index.cjs +11 -2
  59. package/dist/molecules/index.cjs.map +1 -1
  60. package/dist/molecules/index.js +1 -1
  61. package/dist/molecules/tag-selector.cjs +11 -2
  62. package/dist/molecules/tag-selector.cjs.map +1 -1
  63. package/dist/molecules/tag-selector.js +1 -1
  64. package/package.json +1 -1
  65. package/src/molecules/tag-selector.tsx +15 -6
package/dist/index.js CHANGED
@@ -117,7 +117,7 @@ import {
117
117
  } from "./chunk-N3DAYFXZ.js";
118
118
  import {
119
119
  TagSelector
120
- } from "./chunk-OKESBH7U.js";
120
+ } from "./chunk-FRBDP5QD.js";
121
121
  import {
122
122
  TimeSelect
123
123
  } from "./chunk-5VWEW4M2.js";
@@ -2137,6 +2137,10 @@ var import_react25 = require("react");
2137
2137
  var import_react_icons5 = require("@radix-ui/react-icons");
2138
2138
  var import_jsx_runtime45 = require("react/jsx-runtime");
2139
2139
  var OPTION_HEIGHT = 32;
2140
+ var stopDefaultEvents = (e) => {
2141
+ e.preventDefault();
2142
+ e.stopPropagation();
2143
+ };
2140
2144
  var DefaultDropdownContainer = (props) => {
2141
2145
  return props.children;
2142
2146
  };
@@ -2239,7 +2243,7 @@ function TagSelector(props) {
2239
2243
  const key = e.key;
2240
2244
  switch (key) {
2241
2245
  case "ArrowDown": {
2242
- e.preventDefault();
2246
+ stopDefaultEvents(e);
2243
2247
  let newFocus = 0;
2244
2248
  if (typeof focusIndex === "number") {
2245
2249
  newFocus = focusIndex + 1 >= options.length ? 0 : focusIndex + 1;
@@ -2249,7 +2253,7 @@ function TagSelector(props) {
2249
2253
  break;
2250
2254
  }
2251
2255
  case "ArrowUp": {
2252
- e.preventDefault();
2256
+ stopDefaultEvents(e);
2253
2257
  let newFocus = 0;
2254
2258
  if (typeof focusIndex === "number") {
2255
2259
  newFocus = focusIndex - 1 < 0 ? options.length - 1 : focusIndex - 1;
@@ -2259,6 +2263,7 @@ function TagSelector(props) {
2259
2263
  break;
2260
2264
  }
2261
2265
  case "Enter":
2266
+ stopDefaultEvents(e);
2262
2267
  setValue("");
2263
2268
  if (focusIndex !== null) {
2264
2269
  toggleItem((_a = filteredOptions[focusIndex]) == null ? void 0 : _a.id);
@@ -2270,6 +2275,7 @@ function TagSelector(props) {
2270
2275
  }
2271
2276
  break;
2272
2277
  case "Escape":
2278
+ stopDefaultEvents(e);
2273
2279
  setOpen(false);
2274
2280
  break;
2275
2281
  }
@@ -2388,6 +2394,9 @@ function TagSelector(props) {
2388
2394
  onTouchMove: stopPropagationTouch,
2389
2395
  onWheel: stopPropagationWheel,
2390
2396
  sticky: "always",
2397
+ style: {
2398
+ pointerEvents: "fill"
2399
+ },
2391
2400
  children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2392
2401
  DropdownContainer,
2393
2402
  {