@timeax/service-builder 0.1.1 → 0.1.2

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/index.js CHANGED
@@ -10084,6 +10084,7 @@ var Panel = React27.forwardRef(function Panel2({
10084
10084
  width: size.width != null ? `${size.width}px` : void 0,
10085
10085
  height: size.height != null ? `${size.height}px` : void 0
10086
10086
  };
10087
+ const panelWidth = size.width != null ? `${size.width}px` : panelRef.current ? `${Math.round(panelRef.current.getBoundingClientRect().width)}px` : void 0;
10087
10088
  const offsetStyle = maintainPosition ? {
10088
10089
  ...offsets.left != null ? { left: `${offsets.left}px` } : null,
10089
10090
  ...offsets.top != null ? { top: `${offsets.top}px` } : null,
@@ -10102,6 +10103,8 @@ var Panel = React27.forwardRef(function Panel2({
10102
10103
  ...sizeStyle,
10103
10104
  ...offsetStyle,
10104
10105
  ...edgeStrokeStyle,
10106
+ // expose custom property for children
10107
+ ["--panel-width"]: panelWidth,
10105
10108
  touchAction: resizable ? "none" : void 0,
10106
10109
  cursor: resizable ? cursor : void 0
10107
10110
  },
@@ -11286,7 +11289,7 @@ function IncludesList({ className, children }) {
11286
11289
  function IncludesItem({ title, badge, actions, className }) {
11287
11290
  return /* @__PURE__ */ jsxs33("div", { className: cn("flex items-center justify-between rounded-md p-2", "bg-gray-50 dark:bg-gray-800/50", className), children: [
11288
11291
  /* @__PURE__ */ jsxs33("div", { className: "flex min-w-0 items-center gap-2", children: [
11289
- /* @__PURE__ */ jsx50("span", { className: "truncate text-sm text-gray-800 dark:text-gray-200", children: title }),
11292
+ /* @__PURE__ */ jsx50("span", { title, className: "max-w-[calc(var(--panel-width)-11rem)] truncate text-sm text-gray-800 dark:text-gray-200", children: title }),
11290
11293
  badge
11291
11294
  ] }),
11292
11295
  !!actions?.length && /* @__PURE__ */ jsx50("div", { className: "flex items-center gap-2", children: actions.map((a, idx) => /* @__PURE__ */ jsx50(IncludesIconAction, { ...a }, idx)) })
@@ -17453,7 +17456,7 @@ var policiesByBranch = {
17453
17456
  var services = {
17454
17457
  1001: {
17455
17458
  id: 1001,
17456
- name: "Instagram Followers \u2022 Fast",
17459
+ name: "Instagram Followers this shidshjs dcsh sojf dso sodhs jhdv sdh vshfdv sohfdv sohfs fhso fhsof sihfi \u2022 Fast",
17457
17460
  rate: 1.25,
17458
17461
  min: 50,
17459
17462
  max: 5e4,