intelicoreact 1.6.10 → 1.6.11
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/Atomic/UI/Table/Partials/TdTitle.d.ts +5 -0
- package/dist/Atomic/UI/Table/Partials/TdTitle.js +1 -1
- package/dist/Atomic/UI/Table/Partials/TdTitle.js.map +1 -0
- package/dist/scss/_vars.scss +41 -0
- package/dist/scss/index.scss +4 -0
- package/dist/scss/main.scss +10 -2
- package/package.json +12 -15
- package/dist/index.d.ts +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,l=Array(e);r<e;r++)l[r]=t[r];return l}import{jsx as e,jsxs as r}from"react/jsx-runtime";import{useState as l}from"react";import n from"
|
|
1
|
+
function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,l=Array(e);r<e;r++)l[r]=t[r];return l}import{jsx as e,jsxs as r}from"react/jsx-runtime";import{useState as l}from"react";import n from"../../../../../Langs";import a from"../../Modal/Modal";import i from"../../Tag/Tag";import"../Table.scss";export default function(o){var s,c=o.locations,d=o.title,u=n[global.lng],m=(s=l(!1),function(t){if(Array.isArray(t))return t}(s)||function(t,e){var r,l,n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a=[],i=!0,o=!1;try{for(n=n.call(t);!(i=(r=n.next()).done)&&(a.push(r.value),a.length!==e);i=!0);}catch(t){o=!0,l=t}finally{try{i||null==n.return||n.return()}finally{if(o)throw l}}return a}}(s,2)||function(e,r){if(e){if("string"==typeof e)return t(e,2);var l=Object.prototype.toString.call(e).slice(8,-1);if("Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l)return Array.from(l);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return t(e,r)}}(s,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=m[0],b=m[1];return r("div",{className:"cards-table__title-box",children:[r("div",{className:"cards-table__title-box--left",children:[e("div",{className:"cards-table__title-box--title",children:u.titles[d]||d}),r("div",{className:"cards-table__title-box--tags",children:[r("span",{className:"mr5",children:[u.labels.locations.toUpperCase(),":"]}),null==c?void 0:c.map(function(t,r){return e(i,{label:t.label},r)})]})]}),r("div",{className:"cards-table__title-box--right",children:[e("span",{onClick:function(){return b(!0)},className:"cards-table__title-edit-btn mr5",children:u.buttons.edit}),e(a,{mode:"edit",closeModal:function(){return b(!1)},isOpen:f,title:u.titles.pingTree,size:"420",children:"test"}),e("span",{className:"cards-table__title-delete-btn",children:u.buttons.deletePingTree})]})]})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TdTitle.js","sourceRoot":"","sources":["../../../../../src/Atomic/UI/Table/Partials/TdTitle.js"],"names":[],"mappings":";;;AAAA,uDAAwC;AAExC,yEAAyC;AACzC,sEAAsC;AACtC,gEAAgC;AAEhC,yBAAuB;AAEvB,MAAM,OAAO,GAAG,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;IACvC,MAAM,GAAG,GAAG,eAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC9B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAE5C,OAAO,CACL,uCAAK,SAAS,EAAC,wBAAwB;QACrC,uCAAK,SAAS,EAAC,8BAA8B;YAC3C,uCAAK,SAAS,EAAC,+BAA+B,IAC3C,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,CACvB;YACN,uCAAK,SAAS,EAAC,8BAA8B;gBAC3C,wCAAM,SAAS,EAAC,KAAK;oBAAE,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE;wBAAS,EACjE,SAAS,aAAT,SAAS;gBAAT,SAAS,CAAE,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,CAC9B,8BAAC,aAAG,IAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,GAAI,CACtC,CAAC,CACE,CACF;QAEN,uCAAK,SAAS,EAAC,+BAA+B;YAC5C,wCACE,OAAO,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EAC9B,SAAS,EAAC,iCAAiC,IAE1C,GAAG,CAAC,OAAO,CAAC,IAAI,CACZ;YAEP,8BAAC,eAAK,IACJ,IAAI,EAAC,MAAM,EACX,UAAU,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAClC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAC1B,IAAI,EAAC,KAAK,WAGJ;YACR,wCAAM,SAAS,EAAC,+BAA+B,IAC5C,GAAG,CAAC,OAAO,CAAC,cAAc,CACtB,CACH,CACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
package/dist/scss/_vars.scss
CHANGED
|
@@ -61,3 +61,44 @@ $h4-lh: 1.18;
|
|
|
61
61
|
|
|
62
62
|
$txt: 14px;
|
|
63
63
|
$txt--lh: math.div(20, 14);
|
|
64
|
+
|
|
65
|
+
// Экспортируем все переменные и миксины для использования в других проектах
|
|
66
|
+
|
|
67
|
+
// Цвета
|
|
68
|
+
$primary-color: #3f51b5;
|
|
69
|
+
$secondary-color: #f50057;
|
|
70
|
+
$success-color: #4caf50;
|
|
71
|
+
$warning-color: #ff9800;
|
|
72
|
+
$error-color: #f44336;
|
|
73
|
+
$info-color: #2196f3;
|
|
74
|
+
$background-color: #ffffff;
|
|
75
|
+
$text-color: #212121;
|
|
76
|
+
$text-secondary-color: #757575;
|
|
77
|
+
|
|
78
|
+
// Отступы
|
|
79
|
+
$spacing-xs: 4px;
|
|
80
|
+
$spacing-sm: 8px;
|
|
81
|
+
$spacing-md: 16px;
|
|
82
|
+
$spacing-lg: 24px;
|
|
83
|
+
$spacing-xl: 32px;
|
|
84
|
+
|
|
85
|
+
// Шрифты
|
|
86
|
+
$font-family: "Roboto", sans-serif;
|
|
87
|
+
$font-size-xs: 12px;
|
|
88
|
+
$font-size-sm: 14px;
|
|
89
|
+
$font-size-md: 16px;
|
|
90
|
+
$font-size-lg: 18px;
|
|
91
|
+
$font-size-xl: 20px;
|
|
92
|
+
|
|
93
|
+
// Экспортируем переменные для использования вне этого файла
|
|
94
|
+
:export {
|
|
95
|
+
primaryColor: $primary-color;
|
|
96
|
+
secondaryColor: $secondary-color;
|
|
97
|
+
successColor: $success-color;
|
|
98
|
+
warningColor: $warning-color;
|
|
99
|
+
errorColor: $error-color;
|
|
100
|
+
infoColor: $info-color;
|
|
101
|
+
backgroundColor: $background-color;
|
|
102
|
+
textColor: $text-color;
|
|
103
|
+
textSecondaryColor: $text-secondary-color;
|
|
104
|
+
}
|
package/dist/scss/main.scss
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
@use "sass:meta";
|
|
2
2
|
@use "./fonts";
|
|
3
|
-
@use "
|
|
4
|
-
@use "
|
|
3
|
+
@use "./vars";
|
|
4
|
+
@use "./mixins";
|
|
5
|
+
|
|
6
|
+
// Если нужно использовать anme, используем через переменную для возможности переопределения
|
|
7
|
+
$use-anme: true !default;
|
|
8
|
+
|
|
9
|
+
@if $use-anme {
|
|
10
|
+
@use "anme/scss/anme-vars";
|
|
11
|
+
@use "anme/scss/styles.scss";
|
|
12
|
+
}
|
|
5
13
|
|
|
6
14
|
body {
|
|
7
15
|
margin: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intelicoreact",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Andrey Isakov",
|
|
6
6
|
"license": "ISC",
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
"import": "./dist/index.js",
|
|
15
15
|
"require": "./dist/index.js"
|
|
16
16
|
},
|
|
17
|
+
"./scss": {
|
|
18
|
+
"sass": "./dist/scss/index.scss"
|
|
19
|
+
},
|
|
20
|
+
"./scss/*": {
|
|
21
|
+
"sass": "./dist/scss/*.scss"
|
|
22
|
+
},
|
|
17
23
|
"./types": {
|
|
18
24
|
"types": "./dist/types/index.d.ts",
|
|
19
25
|
"import": "./dist/types/index.js",
|
|
@@ -38,18 +44,10 @@
|
|
|
38
44
|
"types": "dist/index.d.ts",
|
|
39
45
|
"typesVersions": {
|
|
40
46
|
"*": {
|
|
41
|
-
"types": [
|
|
42
|
-
|
|
43
|
-
],
|
|
44
|
-
"
|
|
45
|
-
"./dist/types/*.d.ts"
|
|
46
|
-
],
|
|
47
|
-
"types/declaration/*": [
|
|
48
|
-
"./dist/types/declaration/*.d.ts"
|
|
49
|
-
],
|
|
50
|
-
"dist/*": [
|
|
51
|
-
"./dist/*"
|
|
52
|
-
]
|
|
47
|
+
"types": [ "./dist/types/index.d.ts" ],
|
|
48
|
+
"types/*": [ "./dist/types/*.d.ts" ],
|
|
49
|
+
"types/declaration/*": [ "./dist/types/declaration/*.d.ts" ],
|
|
50
|
+
"dist/*": [ "./dist/*" ]
|
|
53
51
|
}
|
|
54
52
|
},
|
|
55
53
|
"files": [
|
|
@@ -73,8 +71,7 @@
|
|
|
73
71
|
"react-chartjs-2": "4.1.0",
|
|
74
72
|
"react-dom": "18.3.1",
|
|
75
73
|
"react-feather": "2.0.10",
|
|
76
|
-
"react-input-mask": "2.0.4"
|
|
77
|
-
"yup": "^1.6.1"
|
|
74
|
+
"react-input-mask": "2.0.4"
|
|
78
75
|
},
|
|
79
76
|
"devDependencies": {
|
|
80
77
|
"@swc/core": "1.11.21",
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './types';
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qBAAqB;AACrB,kDAAwB;AAExB,4CAA4C;AAC5C,MAAM"}
|