@niagads/ui 0.1.2-alpha.0 → 0.1.4-alpha.0
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/HelpIcon.js +1 -1
- package/dist/HelpIcon.js.map +1 -1
- package/package.json +4 -3
package/dist/HelpIcon.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import e from"react";import{InformationCircleIcon as n,QuestionMarkCircleIcon as t,ExclamationCircleIcon as o}from"@heroicons/react/24/outline";import{Tooltip as r}from"./Tooltip.js";import
|
1
|
+
import e from"react";import{InformationCircleIcon as n,QuestionMarkCircleIcon as t,ExclamationCircleIcon as o}from"@heroicons/react/24/outline";import{Tooltip as r}from"./Tooltip.js";import{_get as i}from"./Common/dist/utils.js";const l=({anchorId:o,message:i,type:l})=>{const s="info"===l?e.createElement(n,{className:"inline-info-bubble"}):e.createElement(t,{className:"inline-info-bubble"});return e.createElement(r,{anchorId:`help-${o}`,content:i},s)},s=(n,t,o="question")=>e.createElement(l,{anchorId:n,message:t,type:o}),a={info:o,question:t,infoOutline:n},m=e=>{const n=i(e,a);if(null===n)throw Error("Error rendering field: invalid icon `"+e+"`");return n},c=(n,t,o,r)=>e.createElement("div",{className:"inline-flex"},n,s(r,o,t));export{l as HelpIcon,m as getIconElement,s as renderHelpIcon,c as renderWithHelpIcon};
|
2
2
|
//# sourceMappingURL=HelpIcon.js.map
|
package/dist/HelpIcon.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HelpIcon.js","sources":["../src/HelpIcon.tsx"],"sourcesContent":[null],"names":["HelpIcon","anchorId","message","type","icon","React","createElement","InformationCircleIcon","className","QuestionMarkCircleIcon","Tooltip","content","renderHelpIcon","ICONS","info","ExclamationCircleIcon","question","infoOutline","getIconElement","key","_get","Error","renderWithHelpIcon","textElement"],"mappings":"
|
1
|
+
{"version":3,"file":"HelpIcon.js","sources":["../src/HelpIcon.tsx"],"sourcesContent":[null],"names":["HelpIcon","anchorId","message","type","icon","React","createElement","InformationCircleIcon","className","QuestionMarkCircleIcon","Tooltip","content","renderHelpIcon","ICONS","info","ExclamationCircleIcon","question","infoOutline","getIconElement","key","_get","Error","renderWithHelpIcon","textElement"],"mappings":"qOAaO,MAAMA,EAAW,EAAGC,WAAUC,UAASC,WAC1C,MAAMC,EACO,SAATD,EACIE,EAAAC,cAACC,EAAqB,CAACC,UAAU,uBAEjCH,EAAAC,cAACG,EAAsB,CAACD,UAAU,uBAG1C,OACIH,EAACC,cAAAI,EAAQ,CAAAT,SAAU,QAAQA,IAAYU,QAAST,GAC3CE,EACK,EAILQ,EAAiB,CAC1BX,EACAC,EACAC,EAA4B,aAErBE,EAACC,cAAAN,EAAS,CAAAC,SAAUA,EAAUC,QAASA,EAASC,KAAMA,IAG3DU,EAAQ,CACVC,KAAMC,EACNC,SAAUP,EACVQ,YAAaV,GAQJW,EAAkBC,IAC3B,MAAMf,EAAOgB,EAAKD,EAAKN,GACvB,GAAa,OAATT,EACA,MAAMiB,MAAM,wCAA0CF,EAAM,KAEhE,OAAOf,CAAI,EAIFkB,EAAqB,CAC9BC,EACApB,EACAD,EACAD,IAGII,EAAAC,cAAA,MAAA,CAAKE,UAAU,eACVe,EACAX,EAAeX,EAAUC,EAASC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@niagads/ui",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.4-alpha.0",
|
4
4
|
"description": "NIAGADS Common UI React Component Library",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -22,11 +22,12 @@
|
|
22
22
|
"rollup-plugin-dts": "^6.1.1",
|
23
23
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
24
24
|
"rollup-plugin-postcss": "^4.0.2",
|
25
|
+
"style-inject": "^0.3.0",
|
25
26
|
"tailwindcss": "^4.0"
|
26
27
|
},
|
27
28
|
"dependencies": {
|
28
29
|
"@heroicons/react": "^2.2.0",
|
29
|
-
"@niagads/common": "^0.1.
|
30
|
+
"@niagads/common": "^0.1.4-alpha.0",
|
30
31
|
"react-tooltip": "^5.28.0"
|
31
32
|
},
|
32
33
|
"main": "dist/index.js",
|
@@ -37,5 +38,5 @@
|
|
37
38
|
"publishConfig": {
|
38
39
|
"access": "public"
|
39
40
|
},
|
40
|
-
"gitHead": "
|
41
|
+
"gitHead": "311bf881d2c281c93ec98c78ef0e68aca2260214"
|
41
42
|
}
|