@visns-studio/visns-components 4.5.13 → 4.6.1

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.
@@ -265,6 +265,8 @@ function Field({
265
265
  'copytoclipboard',
266
266
  'date',
267
267
  'datetime',
268
+ 'dropdown',
269
+ 'dropdown-ajax',
268
270
  'dynamicdata',
269
271
  'file',
270
272
  'gallery',
@@ -1365,6 +1367,8 @@ function Field({
1365
1367
  'copytoclipboard',
1366
1368
  'date',
1367
1369
  'datetime',
1370
+ 'dropdown',
1371
+ 'dropdown-ajax',
1368
1372
  'dynamicdata',
1369
1373
  'file',
1370
1374
  'gallery',
@@ -1064,6 +1064,7 @@ function Form({
1064
1064
  !field.multi
1065
1065
  ) {
1066
1066
  const relationTypes = [
1067
+ 'dropdown-ajax',
1067
1068
  'multi-dropdown',
1068
1069
  'multi-dropdown-ajax',
1069
1070
  'async-dropdown-ajax',
@@ -655,7 +655,11 @@ function GenericDetail({
655
655
  <GenericDynamic
656
656
  data={data}
657
657
  fetchData={handleReload}
658
- label={data.task_template.label}
658
+ label={
659
+ data.task_template
660
+ ? data.task_template.label
661
+ : ''
662
+ }
659
663
  multiple={false}
660
664
  originalData={data}
661
665
  primaryKey={activeTabConfig.setting.key}
@@ -207,9 +207,9 @@
207
207
  .crmtitle {
208
208
  border: none;
209
209
  min-height: auto;
210
- padding: 5px 20px;
210
+ padding: 10px 20px;
211
211
  margin: 0;
212
- background: var(--primary-color);
212
+ background: var(--tertiary-color);
213
213
  border-radius: var(--br);
214
214
  border: 1px solid rgba(var(--item-color-rgb), 1.15);
215
215
  position: relative;
@@ -217,26 +217,22 @@
217
217
  align-items: center;
218
218
 
219
219
  h1 {
220
- color: var(--background-color);
221
220
  font-weight: 700;
222
- font-size: 1.15em;
221
+ font-size: 1.45em;
223
222
  margin: 0;
224
223
  padding: 0.65rem 0;
225
- display: flex;
226
- align-items: center;
227
- gap: 0.25rem;
228
224
 
229
225
  a {
230
226
  text-decoration: none;
231
227
  color: var(--secondary-color);
228
+ font-weight: 300;
232
229
  }
233
230
 
234
231
  svg {
235
- color: rgba(var(--tertiary-color-rgb), 0.5);
232
+ color: rgba(var(--primary-color-rgb), 0.5);
236
233
  position: relative;
237
- top: 0;
238
- margin: 0 0.5rem;
239
- max-width: 15px;
234
+ top: 2px;
235
+ margin: 0 0.25rem;
240
236
  }
241
237
  }
242
238
  }
package/package.json CHANGED
@@ -11,10 +11,10 @@
11
11
  "akar-icons": "^1.9.31",
12
12
  "array-move": "^4.0.0",
13
13
  "awesome-debounce-promise": "^2.1.0",
14
- "axios": "^1.7.2",
14
+ "axios": "^1.7.3",
15
15
  "dayjs": "^1.11.12",
16
16
  "file-saver": "^2.0.5",
17
- "framer-motion": "^11.3.19",
17
+ "framer-motion": "^11.3.21",
18
18
  "html-react-parser": "^5.1.12",
19
19
  "lodash": "^4.17.21",
20
20
  "lodash.debounce": "^4.0.8",
@@ -41,7 +41,7 @@
41
41
  "react-to-print": "^2.15.1",
42
42
  "react-toastify": "^10.0.5",
43
43
  "react-toggle": "^4.1.3",
44
- "react-tooltip": "^5.27.1",
44
+ "react-tooltip": "^5.28.0",
45
45
  "react-window": "^1.8.10",
46
46
  "reactjs-popup": "^2.0.6",
47
47
  "truncate": "^3.0.0",
@@ -58,7 +58,7 @@
58
58
  "react-dom": "^17.0.1"
59
59
  },
60
60
  "name": "@visns-studio/visns-components",
61
- "version": "4.5.13",
61
+ "version": "4.6.1",
62
62
  "description": "Various packages to assist in the development of our Custom Applications.",
63
63
  "main": "index.js",
64
64
  "scripts": {