phx-react 1.3.1499 → 1.3.1500

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.
@@ -9,9 +9,7 @@ function PHXDescriptionListInTooltip(_a) {
9
9
  var items = _a.items, trigger = _a.trigger, _b = _a.type, type = _b === void 0 ? 'default' : _b, tooltipClassName = _a.tooltipClassName;
10
10
  return (react_1.default.createElement(ToolTip_1.default, { content: react_1.default.createElement("div", { className: (0, types_1.classNames)('min-w-[200px] whitespace-normal bg-white px-2', type === 'border' && 'rounded-lg border border-gray-200 shadow-sm', tooltipClassName) },
11
11
  react_1.default.createElement("div", { className: 'grid grid-cols-[max-content_1fr] gap-x-4 gap-y-1' }, items.map(function (item, index) { return (react_1.default.createElement("div", { key: index, className: 'contents' },
12
- react_1.default.createElement("dt", { className: 'whitespace-nowrap text-[13px] leading-5 text-gray-600' },
13
- item.title,
14
- ":"),
12
+ react_1.default.createElement("dt", { className: 'whitespace-nowrap text-[13px] leading-5 text-gray-600' }, item.title),
15
13
  react_1.default.createElement("dd", { className: 'whitespace-normal break-words text-[13px] font-medium leading-5 text-gray-800' }, item.description || ''))); }))), contentClassName: 'max-w-[24rem]' }, trigger));
16
14
  }
17
15
  //# sourceMappingURL=DescriptionListInTooltip.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DescriptionListInTooltip.js","sourceRoot":"","sources":["../../../../src/components/DescriptionListInTooltip/DescriptionListInTooltip.tsx"],"names":[],"mappings":";;AAiBA,kEAiCC;;AAlDD,wDAAwC;AACxC,kCAAqC;AACrC,uEAA2C;AAe3C,SAAgB,2BAA2B,CAAC,EAKT;QAJjC,KAAK,WAAA,EACL,OAAO,aAAA,EACP,YAAgB,EAAhB,IAAI,mBAAG,SAAS,KAAA,EAChB,gBAAgB,sBAAA;IAEhB,OAAO,CACL,8BAAC,iBAAU,IACT,OAAO,EACL,uCACE,SAAS,EAAE,IAAA,kBAAU,EACnB,+CAA+C,EAC/C,IAAI,KAAK,QAAQ,IAAI,6CAA6C,EAClE,gBAAgB,CACjB;YAED,uCAAK,SAAS,EAAC,kDAAkD,IAC9D,KAAK,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,KAAK,IAAK,OAAA,CAC1B,uCAAK,GAAG,EAAE,KAAK,EAAE,SAAS,EAAC,UAAU;gBACnC,sCAAI,SAAS,EAAC,uDAAuD;oBAAE,IAAI,CAAC,KAAK;wBAAO;gBACxF,sCAAI,SAAS,EAAC,+EAA+E,IAC1F,IAAI,CAAC,WAAW,IAAI,EAAE,CACpB,CACD,CACP,EAP2B,CAO3B,CAAC,CACE,CACF,EAER,gBAAgB,EAAC,eAAe,IAE/B,OAAO,CACG,CACd,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"DescriptionListInTooltip.js","sourceRoot":"","sources":["../../../../src/components/DescriptionListInTooltip/DescriptionListInTooltip.tsx"],"names":[],"mappings":";;AAiBA,kEAiCC;;AAlDD,wDAAwC;AACxC,kCAAqC;AACrC,uEAA2C;AAe3C,SAAgB,2BAA2B,CAAC,EAKT;QAJjC,KAAK,WAAA,EACL,OAAO,aAAA,EACP,YAAgB,EAAhB,IAAI,mBAAG,SAAS,KAAA,EAChB,gBAAgB,sBAAA;IAEhB,OAAO,CACL,8BAAC,iBAAU,IACT,OAAO,EACL,uCACE,SAAS,EAAE,IAAA,kBAAU,EACnB,+CAA+C,EAC/C,IAAI,KAAK,QAAQ,IAAI,6CAA6C,EAClE,gBAAgB,CACjB;YAED,uCAAK,SAAS,EAAC,kDAAkD,IAC9D,KAAK,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,KAAK,IAAK,OAAA,CAC1B,uCAAK,GAAG,EAAE,KAAK,EAAE,SAAS,EAAC,UAAU;gBACnC,sCAAI,SAAS,EAAC,uDAAuD,IAAE,IAAI,CAAC,KAAK,CAAM;gBACvF,sCAAI,SAAS,EAAC,+EAA+E,IAC1F,IAAI,CAAC,WAAW,IAAI,EAAE,CACpB,CACD,CACP,EAP2B,CAO3B,CAAC,CACE,CACF,EAER,gBAAgB,EAAC,eAAe,IAE/B,OAAO,CACG,CACd,CAAA;AACH,CAAC"}
@@ -5,9 +5,7 @@ export function PHXDescriptionListInTooltip(_a) {
5
5
  var items = _a.items, trigger = _a.trigger, _b = _a.type, type = _b === void 0 ? 'default' : _b, tooltipClassName = _a.tooltipClassName;
6
6
  return (React.createElement(PHXTooltip, { content: React.createElement("div", { className: classNames('min-w-[200px] whitespace-normal bg-white px-2', type === 'border' && 'rounded-lg border border-gray-200 shadow-sm', tooltipClassName) },
7
7
  React.createElement("div", { className: 'grid grid-cols-[max-content_1fr] gap-x-4 gap-y-1' }, items.map(function (item, index) { return (React.createElement("div", { key: index, className: 'contents' },
8
- React.createElement("dt", { className: 'whitespace-nowrap text-[13px] leading-5 text-gray-600' },
9
- item.title,
10
- ":"),
8
+ React.createElement("dt", { className: 'whitespace-nowrap text-[13px] leading-5 text-gray-600' }, item.title),
11
9
  React.createElement("dd", { className: 'whitespace-normal break-words text-[13px] font-medium leading-5 text-gray-800' }, item.description || ''))); }))), contentClassName: 'max-w-[24rem]' }, trigger));
12
10
  }
13
11
  //# sourceMappingURL=DescriptionListInTooltip.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DescriptionListInTooltip.js","sourceRoot":"","sources":["../../../../src/components/DescriptionListInTooltip/DescriptionListInTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,UAAU,MAAM,oBAAoB,CAAA;AAe3C,MAAM,UAAU,2BAA2B,CAAC,EAKT;QAJjC,KAAK,WAAA,EACL,OAAO,aAAA,EACP,YAAgB,EAAhB,IAAI,mBAAG,SAAS,KAAA,EAChB,gBAAgB,sBAAA;IAEhB,OAAO,CACL,oBAAC,UAAU,IACT,OAAO,EACL,6BACE,SAAS,EAAE,UAAU,CACnB,+CAA+C,EAC/C,IAAI,KAAK,QAAQ,IAAI,6CAA6C,EAClE,gBAAgB,CACjB;YAED,6BAAK,SAAS,EAAC,kDAAkD,IAC9D,KAAK,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,KAAK,IAAK,OAAA,CAC1B,6BAAK,GAAG,EAAE,KAAK,EAAE,SAAS,EAAC,UAAU;gBACnC,4BAAI,SAAS,EAAC,uDAAuD;oBAAE,IAAI,CAAC,KAAK;wBAAO;gBACxF,4BAAI,SAAS,EAAC,+EAA+E,IAC1F,IAAI,CAAC,WAAW,IAAI,EAAE,CACpB,CACD,CACP,EAP2B,CAO3B,CAAC,CACE,CACF,EAER,gBAAgB,EAAC,eAAe,IAE/B,OAAO,CACG,CACd,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"DescriptionListInTooltip.js","sourceRoot":"","sources":["../../../../src/components/DescriptionListInTooltip/DescriptionListInTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,UAAU,MAAM,oBAAoB,CAAA;AAe3C,MAAM,UAAU,2BAA2B,CAAC,EAKT;QAJjC,KAAK,WAAA,EACL,OAAO,aAAA,EACP,YAAgB,EAAhB,IAAI,mBAAG,SAAS,KAAA,EAChB,gBAAgB,sBAAA;IAEhB,OAAO,CACL,oBAAC,UAAU,IACT,OAAO,EACL,6BACE,SAAS,EAAE,UAAU,CACnB,+CAA+C,EAC/C,IAAI,KAAK,QAAQ,IAAI,6CAA6C,EAClE,gBAAgB,CACjB;YAED,6BAAK,SAAS,EAAC,kDAAkD,IAC9D,KAAK,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,KAAK,IAAK,OAAA,CAC1B,6BAAK,GAAG,EAAE,KAAK,EAAE,SAAS,EAAC,UAAU;gBACnC,4BAAI,SAAS,EAAC,uDAAuD,IAAE,IAAI,CAAC,KAAK,CAAM;gBACvF,4BAAI,SAAS,EAAC,+EAA+E,IAC1F,IAAI,CAAC,WAAW,IAAI,EAAE,CACpB,CACD,CACP,EAP2B,CAO3B,CAAC,CACE,CACF,EAER,gBAAgB,EAAC,eAAe,IAE/B,OAAO,CACG,CACd,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phx-react",
3
- "version": "1.3.1499",
3
+ "version": "1.3.1500",
4
4
  "description": "PHX REACT",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",