@visns-studio/visns-components 4.0.7 → 4.0.8

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.
@@ -0,0 +1,146 @@
1
+ /* Form Styling */
2
+
3
+ .formItem {
4
+ width: 50%;
5
+ padding: 0.35em;
6
+ position: relative;
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ .formItem .fi__label {
11
+ position: relative;
12
+ display: block;
13
+ }
14
+
15
+ .fi__span {
16
+ position: absolute;
17
+ transition: all 200ms;
18
+ opacity: 0.8;
19
+ left: 0;
20
+ padding: 19px 20px;
21
+ transform-origin: top left;
22
+ cursor: text;
23
+ }
24
+
25
+ .fi__toggletxt {
26
+ position: relative;
27
+ left: 5px;
28
+ font-size: 0.95em;
29
+ top: -5px;
30
+ }
31
+
32
+ input:not(:placeholder-shown) + .fi__span,
33
+ textarea:not(:placeholder-shown) + .fi__span,
34
+ select:not(:placeholder-shown) + .fi__span {
35
+ transform: translateY(-40%) translateX(10px) scale(0.75);
36
+ opacity: 1;
37
+ padding: 0 4px;
38
+ background: var(--tertiary-color);
39
+ font-weight: 300;
40
+ border-radius: var(--br);
41
+ }
42
+
43
+ .prefocus {
44
+ transform: translateY(-40%) translateX(10px) scale(0.75) !important;
45
+ opacity: 1 !important;
46
+ padding: 0 4px !important;
47
+ background: var(--tertiary-color) !important;
48
+ z-index: 500;
49
+ font-weight: 300;
50
+ border-radius: var(--br);
51
+ top: 0;
52
+ }
53
+
54
+ .formItem textarea,
55
+ .formItem select,
56
+ .formItem
57
+ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
58
+ [type='checkbox']
59
+ ):not(.inovua-react-toolkit-combo-box__input):not(
60
+ .inovua-react-toolkit-date-input__input
61
+ ):not(.inovua-react-toolkit-text-input__input):not(
62
+ .inovua-react-toolkit-numeric-input__input
63
+ ) {
64
+ background: var(--item-color);
65
+ border-radius: var(--br);
66
+ border: 1px solid transparent;
67
+ padding: 1rem;
68
+ outline: none;
69
+ width: 100%;
70
+ box-sizing: border-box;
71
+ color: var(--paragraph-color);
72
+ transition: box-shadow 0.15s linear;
73
+ }
74
+
75
+ .formItem textarea:hover,
76
+ .formItem select:hover,
77
+ .formItem
78
+ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
79
+ [type='checkbox']
80
+ ):not(.inovua-react-toolkit-combo-box__input):not(
81
+ .inovua-react-toolkit-date-input__input
82
+ ):not(.inovua-react-toolkit-numeric-input__input):hover {
83
+ border: 1px solid rgba(var(--highlight-color), 0.85);
84
+ transition: border 0.15s linear;
85
+ }
86
+
87
+ .formItem textarea:focus,
88
+ .formItem select:focus,
89
+ .formItem
90
+ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
91
+ [type='checkbox']
92
+ ):not(.inovua-react-toolkit-combo-box__input):not(
93
+ .inovua-react-toolkit-date-input__input
94
+ ):not(.inovua-react-toolkit-numeric-input__input):focus {
95
+ border: 1px solid rgba(var(--highlight-color), 0.85);
96
+ }
97
+
98
+ input[type='file'] {
99
+ background: var(--item-color) !important;
100
+ border-radius: var (--br) !important;
101
+ border: 1px solid transparent !important;
102
+ padding: 0.8rem !important;
103
+ outline: none !important;
104
+ width: 100% !important;
105
+ box-sizing: border-box !important;
106
+ color: var(--paragraph-color) !important;
107
+ transition: box-shadow 0.15s linear !important;
108
+ }
109
+
110
+ input[type='file']:focus {
111
+ border: 1px solid var(--highlight-color);
112
+ }
113
+
114
+ input[type='file']:hover {
115
+ border: 1px solid var(--highlight-color);
116
+ }
117
+
118
+ /* Signature styling */
119
+ .signaturePlaceholder {
120
+ border: 1px solid #ccc;
121
+ border-radius: var(--br);
122
+ padding: 10px;
123
+ background: var(--item-color);
124
+ text-align: center;
125
+ }
126
+
127
+ .signatureImage {
128
+ max-width: 100%;
129
+ max-height: 50px;
130
+ margin-bottom: 10px;
131
+ }
132
+
133
+ .signButton {
134
+ background: var(--primary-color);
135
+ color: var(--secondary-color);
136
+ padding: 0.5rem 1rem;
137
+ border: none;
138
+ border-radius: var(--br);
139
+ cursor: pointer;
140
+ transition: background 0.3s;
141
+ }
142
+
143
+ .signButton:hover {
144
+ background: var(--secondary-color);
145
+ color: var(--primary-color);
146
+ }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@inovua/reactdatagrid-community": "^5.10.2",
4
- "@nivo/bar": "^0.86.0",
5
- "@nivo/core": "^0.86.0",
6
- "@nivo/line": "^0.86.0",
7
- "@nivo/pie": "^0.86.0",
4
+ "@nivo/bar": "^0.87.0",
5
+ "@nivo/core": "^0.87.0",
6
+ "@nivo/line": "^0.87.0",
7
+ "@nivo/pie": "^0.87.0",
8
8
  "@tinymce/tinymce-react": "^5.0.1",
9
9
  "add": "^2.0.6",
10
10
  "akar-icons": "^1.9.31",
@@ -34,6 +34,7 @@
34
34
  "react-quill": "^2.0.0",
35
35
  "react-reveal": "^1.2.2",
36
36
  "react-select": "^5.8.0",
37
+ "react-signature-pad-wrapper": "^3.4.0",
37
38
  "react-slugify": "^3.0.3",
38
39
  "react-sortable-hoc": "^2.0.0",
39
40
  "react-to-print": "^2.15.1",
@@ -56,7 +57,7 @@
56
57
  "react-dom": "^17.0.1"
57
58
  },
58
59
  "name": "@visns-studio/visns-components",
59
- "version": "4.0.7",
60
+ "version": "4.0.8",
60
61
  "description": "Various packages to assist in the development of our Custom Applications.",
61
62
  "main": "index.js",
62
63
  "scripts": {