@bigbinary/neetoui 8.3.74 → 8.3.76
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/Callout.js +1 -0
- package/dist/Callout.js.map +1 -1
- package/dist/cjs/Callout.js +1 -0
- package/dist/cjs/Callout.js.map +1 -1
- package/dist/src/translations/hu.json +51 -0
- package/package.json +1 -1
package/dist/Callout.js
CHANGED
|
@@ -25,6 +25,7 @@ var Callout = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
25
25
|
var Icon = icon;
|
|
26
26
|
return /*#__PURE__*/jsxs("div", _objectSpread(_objectSpread({
|
|
27
27
|
ref: ref,
|
|
28
|
+
"data-testid": "callout-element",
|
|
28
29
|
className: classnames("neeto-ui-callout", _defineProperty({
|
|
29
30
|
"neeto-ui-callout--info": style === STYLES.info,
|
|
30
31
|
"neeto-ui-callout--warning": style === STYLES.warning,
|
package/dist/Callout.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.js","sources":["../src/components/Callout.jsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\n\nconst STYLES = {\n info: \"info\",\n warning: \"warning\",\n danger: \"danger\",\n success: \"success\",\n};\n\nconst Callout = forwardRef(\n (\n {\n icon = null,\n style = STYLES.info,\n className = \"\",\n children,\n ...otherProps\n },\n ref\n ) => {\n const Icon = icon;\n\n return (\n <div\n {...{ ref }}\n className={classnames(\"neeto-ui-callout\", {\n \"neeto-ui-callout--info\": style === STYLES.info,\n \"neeto-ui-callout--warning\": style === STYLES.warning,\n \"neeto-ui-callout--danger\": style === STYLES.danger,\n \"neeto-ui-callout--success\": style === STYLES.success,\n [className]: className,\n })}\n {...otherProps}\n >\n {icon && (\n <div className=\"neeto-ui-callout__icon\" data-testid=\"callout-icon\">\n <Icon />\n </div>\n )}\n {children}\n </div>\n );\n }\n);\n\nCallout.displayName = \"Callout\";\n\nCallout.propTypes = {\n /**\n * To specify the icon to be used in Callout component. By default, icons are based on the style of the Callout component. Passing false will hide the icon.\n */\n icon: PropTypes.elementType,\n /**\n * To specify the style of Callout component.\n */\n style: PropTypes.oneOf(Object.values(STYLES)),\n /**\n * To provide external classnames to Callout component.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered inside the Callout component.\n */\n children: PropTypes.node,\n};\n\nexport default Callout;\n"],"names":["STYLES","info","warning","danger","success","Callout","forwardRef","_ref","ref","_ref$icon","icon","_ref$style","style","_ref$className","className","children","otherProps","_objectWithoutProperties","_excluded","Icon","_jsxs","_objectSpread","classnames","_defineProperty","_jsx","displayName"],"mappings":";;;;;;;;;AAKA,IAAMA,MAAM,GAAG;AACbC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,MAAM,EAAE,QAAQ;AAChBC,EAAAA,OAAO,EAAE;AACX,CAAC;AAED,IAAMC,OAAO,gBAAGC,UAAU,CACxB,UAAAC,IAAA,EAQEC,GAAG,EACA;AAAA,EAAA,IAAAC,SAAA,GAAAF,IAAA,CAPDG,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAA,MAAA,GAAG,IAAI,GAAAA,SAAA;IAAAE,UAAA,GAAAJ,IAAA,CACXK,KAAK;AAALA,IAAAA,KAAK,GAAAD,UAAA,KAAA,MAAA,GAAGX,MAAM,CAACC,IAAI,GAAAU,UAAA;IAAAE,cAAA,GAAAN,IAAA,CACnBO,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,cAAA;IACdE,QAAQ,GAAAR,IAAA,CAARQ,QAAQ;AACLC,IAAAA,UAAU,GAAAC,wBAAA,CAAAV,IAAA,EAAAW,SAAA,CAAA;EAIf,IAAMC,IAAI,GAAGT,IAAI;AAEjB,EAAA,oBACEU,IAAA,CAAA,KAAA,EAAAC,aAAA,CAAAA,aAAA,CAAA;AACQb,IAAAA,GAAG,EAAHA,GAAG;
|
|
1
|
+
{"version":3,"file":"Callout.js","sources":["../src/components/Callout.jsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\n\nconst STYLES = {\n info: \"info\",\n warning: \"warning\",\n danger: \"danger\",\n success: \"success\",\n};\n\nconst Callout = forwardRef(\n (\n {\n icon = null,\n style = STYLES.info,\n className = \"\",\n children,\n ...otherProps\n },\n ref\n ) => {\n const Icon = icon;\n\n return (\n <div\n {...{ ref }}\n data-testid=\"callout-element\"\n className={classnames(\"neeto-ui-callout\", {\n \"neeto-ui-callout--info\": style === STYLES.info,\n \"neeto-ui-callout--warning\": style === STYLES.warning,\n \"neeto-ui-callout--danger\": style === STYLES.danger,\n \"neeto-ui-callout--success\": style === STYLES.success,\n [className]: className,\n })}\n {...otherProps}\n >\n {icon && (\n <div className=\"neeto-ui-callout__icon\" data-testid=\"callout-icon\">\n <Icon />\n </div>\n )}\n {children}\n </div>\n );\n }\n);\n\nCallout.displayName = \"Callout\";\n\nCallout.propTypes = {\n /**\n * To specify the icon to be used in Callout component. By default, icons are based on the style of the Callout component. Passing false will hide the icon.\n */\n icon: PropTypes.elementType,\n /**\n * To specify the style of Callout component.\n */\n style: PropTypes.oneOf(Object.values(STYLES)),\n /**\n * To provide external classnames to Callout component.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered inside the Callout component.\n */\n children: PropTypes.node,\n};\n\nexport default Callout;\n"],"names":["STYLES","info","warning","danger","success","Callout","forwardRef","_ref","ref","_ref$icon","icon","_ref$style","style","_ref$className","className","children","otherProps","_objectWithoutProperties","_excluded","Icon","_jsxs","_objectSpread","classnames","_defineProperty","_jsx","displayName"],"mappings":";;;;;;;;;AAKA,IAAMA,MAAM,GAAG;AACbC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,MAAM,EAAE,QAAQ;AAChBC,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AAA,EAAY,cAAc;AAAAC,MAAAA,QAAA,eAChES,GAAA,CAACL,IAAI,EAAA,EAAE;KACJ,CACN,EACAJ,QAAQ;AAAA,GAAA,CACN,CAAC;AAEV,CACF;AAEAV,OAAO,CAACoB,WAAW,GAAG,SAAS;;;;"}
|
package/dist/cjs/Callout.js
CHANGED
|
@@ -27,6 +27,7 @@ var Callout = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
27
27
|
var Icon = icon;
|
|
28
28
|
return /*#__PURE__*/jsxRuntime.jsxs("div", _objectSpread(_objectSpread({
|
|
29
29
|
ref: ref,
|
|
30
|
+
"data-testid": "callout-element",
|
|
30
31
|
className: classnames("neeto-ui-callout", _defineProperty({
|
|
31
32
|
"neeto-ui-callout--info": style === STYLES.info,
|
|
32
33
|
"neeto-ui-callout--warning": style === STYLES.warning,
|
package/dist/cjs/Callout.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.js","sources":["../../src/components/Callout.jsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\n\nconst STYLES = {\n info: \"info\",\n warning: \"warning\",\n danger: \"danger\",\n success: \"success\",\n};\n\nconst Callout = forwardRef(\n (\n {\n icon = null,\n style = STYLES.info,\n className = \"\",\n children,\n ...otherProps\n },\n ref\n ) => {\n const Icon = icon;\n\n return (\n <div\n {...{ ref }}\n className={classnames(\"neeto-ui-callout\", {\n \"neeto-ui-callout--info\": style === STYLES.info,\n \"neeto-ui-callout--warning\": style === STYLES.warning,\n \"neeto-ui-callout--danger\": style === STYLES.danger,\n \"neeto-ui-callout--success\": style === STYLES.success,\n [className]: className,\n })}\n {...otherProps}\n >\n {icon && (\n <div className=\"neeto-ui-callout__icon\" data-testid=\"callout-icon\">\n <Icon />\n </div>\n )}\n {children}\n </div>\n );\n }\n);\n\nCallout.displayName = \"Callout\";\n\nCallout.propTypes = {\n /**\n * To specify the icon to be used in Callout component. By default, icons are based on the style of the Callout component. Passing false will hide the icon.\n */\n icon: PropTypes.elementType,\n /**\n * To specify the style of Callout component.\n */\n style: PropTypes.oneOf(Object.values(STYLES)),\n /**\n * To provide external classnames to Callout component.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered inside the Callout component.\n */\n children: PropTypes.node,\n};\n\nexport default Callout;\n"],"names":["STYLES","info","warning","danger","success","Callout","forwardRef","_ref","ref","_ref$icon","icon","_ref$style","style","_ref$className","className","children","otherProps","_objectWithoutProperties","_excluded","Icon","_jsxs","_objectSpread","classnames","_defineProperty","_jsx","displayName"],"mappings":";;;;;;;;;;;AAKA,IAAMA,MAAM,GAAG;AACbC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,MAAM,EAAE,QAAQ;AAChBC,EAAAA,OAAO,EAAE;AACX,CAAC;AAED,IAAMC,OAAO,gBAAGC,gBAAU,CACxB,UAAAC,IAAA,EAQEC,GAAG,EACA;AAAA,EAAA,IAAAC,SAAA,GAAAF,IAAA,CAPDG,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAA,MAAA,GAAG,IAAI,GAAAA,SAAA;IAAAE,UAAA,GAAAJ,IAAA,CACXK,KAAK;AAALA,IAAAA,KAAK,GAAAD,UAAA,KAAA,MAAA,GAAGX,MAAM,CAACC,IAAI,GAAAU,UAAA;IAAAE,cAAA,GAAAN,IAAA,CACnBO,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,cAAA;IACdE,QAAQ,GAAAR,IAAA,CAARQ,QAAQ;AACLC,IAAAA,UAAU,GAAAC,wBAAA,CAAAV,IAAA,EAAAW,SAAA,CAAA;EAIf,IAAMC,IAAI,GAAGT,IAAI;AAEjB,EAAA,oBACEU,eAAA,CAAA,KAAA,EAAAC,aAAA,CAAAA,aAAA,CAAA;AACQb,IAAAA,GAAG,EAAHA,GAAG;
|
|
1
|
+
{"version":3,"file":"Callout.js","sources":["../../src/components/Callout.jsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\n\nconst STYLES = {\n info: \"info\",\n warning: \"warning\",\n danger: \"danger\",\n success: \"success\",\n};\n\nconst Callout = forwardRef(\n (\n {\n icon = null,\n style = STYLES.info,\n className = \"\",\n children,\n ...otherProps\n },\n ref\n ) => {\n const Icon = icon;\n\n return (\n <div\n {...{ ref }}\n data-testid=\"callout-element\"\n className={classnames(\"neeto-ui-callout\", {\n \"neeto-ui-callout--info\": style === STYLES.info,\n \"neeto-ui-callout--warning\": style === STYLES.warning,\n \"neeto-ui-callout--danger\": style === STYLES.danger,\n \"neeto-ui-callout--success\": style === STYLES.success,\n [className]: className,\n })}\n {...otherProps}\n >\n {icon && (\n <div className=\"neeto-ui-callout__icon\" data-testid=\"callout-icon\">\n <Icon />\n </div>\n )}\n {children}\n </div>\n );\n }\n);\n\nCallout.displayName = \"Callout\";\n\nCallout.propTypes = {\n /**\n * To specify the icon to be used in Callout component. By default, icons are based on the style of the Callout component. Passing false will hide the icon.\n */\n icon: PropTypes.elementType,\n /**\n * To specify the style of Callout component.\n */\n style: PropTypes.oneOf(Object.values(STYLES)),\n /**\n * To provide external classnames to Callout component.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered inside the Callout component.\n */\n children: PropTypes.node,\n};\n\nexport default Callout;\n"],"names":["STYLES","info","warning","danger","success","Callout","forwardRef","_ref","ref","_ref$icon","icon","_ref$style","style","_ref$className","className","children","otherProps","_objectWithoutProperties","_excluded","Icon","_jsxs","_objectSpread","classnames","_defineProperty","_jsx","displayName"],"mappings":";;;;;;;;;;;AAKA,IAAMA,MAAM,GAAG;AACbC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,MAAM,EAAE,QAAQ;AAChBC,EAAAA,OAAO,EAAE;AACX,CAAC;AAED,IAAM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AChES,cAAA,CAACL,IAAI,EAAA,EAAE;KACJ,CACN,EACAJ,QAAQ;AAAA,GAAA,CACN,CAAC;AAEV,CACF;AAEAV,OAAO,CAACoB,WAAW,GAAG,SAAS;;;;"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoui": {
|
|
3
|
+
"common": {
|
|
4
|
+
"timezone": "Időzóna",
|
|
5
|
+
"description": "Leírás"
|
|
6
|
+
},
|
|
7
|
+
"blockNavigation": {
|
|
8
|
+
"alertMessage": "Az oldal elhagyása esetén a nem mentett adatok elvesznek. Ezt a műveletet nem lehet visszavonni.",
|
|
9
|
+
"submitButtonLabel": "Maradj ezen az oldalon",
|
|
10
|
+
"cancelButtonLabel": "Elvetés és az oldal elhagyása",
|
|
11
|
+
"alertTitle": "Nem mentett változtatások vannak"
|
|
12
|
+
},
|
|
13
|
+
"actionBlock": {
|
|
14
|
+
"cancel": "Mégse",
|
|
15
|
+
"saveChanges": "Változások mentése"
|
|
16
|
+
},
|
|
17
|
+
"colorPicker": {
|
|
18
|
+
"recentlyUsed": "Legutóbb használt"
|
|
19
|
+
},
|
|
20
|
+
"datePicker": {
|
|
21
|
+
"today": "Ma"
|
|
22
|
+
},
|
|
23
|
+
"table": {
|
|
24
|
+
"moveColumnLeft": "Oszlop mozgatása balra",
|
|
25
|
+
"moveColumnRight": "Oszlop mozgatása jobbra",
|
|
26
|
+
"insertColRight": "Oszlop beszúrása jobbra",
|
|
27
|
+
"insertColLeft": "Oszlop beszúrása balra",
|
|
28
|
+
"columnInfo": "Oszlop információ",
|
|
29
|
+
"hideColumn": "Oszlop elrejtése",
|
|
30
|
+
"deleteColumn": "Oszlop törlése",
|
|
31
|
+
"ascending": "Növekvő",
|
|
32
|
+
"descending": "Csökkenő",
|
|
33
|
+
"freezeColumn": "Oszlop rögzítése",
|
|
34
|
+
"unFreezeColumn": "Oszlop feloldása",
|
|
35
|
+
"allRowsSelected": "Az összes sor ki van jelölve",
|
|
36
|
+
"addColumnInfo": "Oszlop információ hozzáadása",
|
|
37
|
+
"editColumnInfo": "Oszlop információ szerkesztése",
|
|
38
|
+
"clearSelection": "Kiválasztás törlése",
|
|
39
|
+
"info": "Táblázat információ",
|
|
40
|
+
"columnName": "Oszlop név"
|
|
41
|
+
},
|
|
42
|
+
"timePicker": {
|
|
43
|
+
"hours": "Órák",
|
|
44
|
+
"minutes": "Perc",
|
|
45
|
+
"seconds": "Másodpercek"
|
|
46
|
+
},
|
|
47
|
+
"treeSelect": {
|
|
48
|
+
"noOptions": "Nincsenek lehetőségek."
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|