@fattureincloud/fic-design-system 0.19.43 → 0.19.44

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,6 @@
1
+ export declare const text: (_name: string, value: string) => string;
2
+ export declare const boolean: (_name: string, value: boolean) => boolean;
3
+ export declare const number: (_name: string, value: number) => number;
4
+ export declare const object: <T>(_name: string, value: T) => T;
5
+ export declare const array: <T>(_name: string, value: T[]) => T[];
6
+ export declare const select: <T>(_name: string, _options: unknown, value: T) => T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fattureincloud/fic-design-system",
3
- "version": "0.19.43",
3
+ "version": "0.19.44",
4
4
  "description": "Fatture in Cloud and Danea design system",
5
5
  "repository": "git@bitbucket.org:fattureincloud/design-system.git",
6
6
  "license": "MIT",
@@ -11,15 +11,16 @@
11
11
  "dist"
12
12
  ],
13
13
  "devDependencies": {
14
- "@babel/core": "^7.5.5",
14
+ "@babel/core": "^7.29.7",
15
+ "@babel/preset-env": "^7.29.7",
16
+ "@babel/preset-typescript": "^7.29.7",
15
17
  "@rollup/plugin-commonjs": "^21.0.1",
16
18
  "@rollup/plugin-node-resolve": "^13.1.1",
17
19
  "@rollup/plugin-typescript": "^8.3.0",
18
- "@storybook/addon-actions": "^6.4.9",
19
- "@storybook/addon-essentials": "^6.4.9",
20
- "@storybook/addon-knobs": "^6.4.0",
21
- "@storybook/react": "^6.4.9",
22
- "@storybook/theming": "^6.4.9",
20
+ "@storybook/addon-actions": "^7.6.24",
21
+ "@storybook/addon-essentials": "^7.6.24",
22
+ "@storybook/react": "^7.6.24",
23
+ "@storybook/react-webpack5": "^7.6.24",
23
24
  "@types/lodash": "^4.14.138",
24
25
  "@types/react-datepicker": "^4.3.4",
25
26
  "@types/react-modal": "^3.10.4",
@@ -43,10 +44,11 @@
43
44
  "pretty-quick": "^2.0.1",
44
45
  "react": "^17.0.2",
45
46
  "react-dom": "^17.0.2",
46
- "rollup": "^2.60.0",
47
+ "rollup": "^2.80.0",
47
48
  "rollup-plugin-filesize": "^9.1.1",
48
49
  "rollup-plugin-peer-deps-external": "^2.2.4",
49
50
  "rollup-plugin-terser": "^7.0.2",
51
+ "storybook": "^7.6.24",
50
52
  "tslib": "^2.3.1",
51
53
  "typescript": "~4.4.0"
52
54
  },
@@ -70,7 +72,7 @@
70
72
  "date-fns": "^2.28.0",
71
73
  "graphql": "^16.8.1",
72
74
  "libphonenumber-js": "^1.10.18",
73
- "lodash": "^4.17.21",
75
+ "lodash": "^4.18.1",
74
76
  "react-beautiful-dnd": "^13.1.1",
75
77
  "react-content-loader": "^6.1.0",
76
78
  "react-datepicker": "^4.6.0",
@@ -79,7 +81,7 @@
79
81
  "react-infinite-scroll-component": "^6.1.0",
80
82
  "react-is": "^17.0.2",
81
83
  "react-modal": "^3.11.1",
82
- "react-popper": "^2.2.4",
84
+ "react-popper": "^2.3.0",
83
85
  "react-select": "^4.3.1",
84
86
  "react-table": "^7.7.0",
85
87
  "react-toastify": "^6.0.8",
@@ -97,9 +99,9 @@
97
99
  "styled-components": "5.3.1"
98
100
  },
99
101
  "scripts": {
100
- "storybook": "start-storybook -s ./static -p 9001",
102
+ "storybook": "storybook dev -s ./static -p 9001",
101
103
  "build": "rollup -c",
102
- "build-storybook": "build-storybook -c .storybook",
104
+ "build-storybook": "storybook build -c .storybook",
103
105
  "precommit": "pretty-quick --staged",
104
106
  "fix": "eslint --fix src/**/*.{ts,tsx}",
105
107
  "prepare": "husky install"
@@ -112,6 +114,177 @@
112
114
  },
113
115
  "packageManager": "yarn@3.1.1",
114
116
  "resolutions": {
115
- "@types/react": "^17.0.37"
117
+ "@types/react": "^17.0.37",
118
+ "tough-cookie@~2.5.0": "4.1.4",
119
+ "fast-loops@^1.1.3": "1.1.4",
120
+ "body-parser@1.20.1": "1.20.8",
121
+ "serve-static@1.15.0": "1.16.3",
122
+ "express@^4.17.1": "4.22.3",
123
+ "store2@^2.12.0": "2.14.4",
124
+ "path-to-regexp@0.1.7": "0.1.13",
125
+ "ip@^2.0.0": "2.0.1",
126
+ "word-wrap@^1.2.3": "1.2.5",
127
+ "word-wrap@~1.2.3": "1.2.5",
128
+ "cookie@0.5.0": "0.7.2",
129
+ "@babel/runtime@^7.0.0": "7.29.10",
130
+ "@babel/runtime@^7.1.2": "7.29.10",
131
+ "@babel/runtime@^7.12.0": "7.29.10",
132
+ "@babel/runtime@^7.12.5": "7.29.10",
133
+ "@babel/runtime@^7.13.8": "7.29.10",
134
+ "@babel/runtime@^7.15.4": "7.29.10",
135
+ "@babel/runtime@^7.17.8": "7.29.10",
136
+ "@babel/runtime@^7.18.3": "7.29.10",
137
+ "@babel/runtime@^7.21.0": "7.29.10",
138
+ "@babel/runtime@^7.4.4": "7.29.10",
139
+ "@babel/runtime@^7.5.0": "7.29.10",
140
+ "@babel/runtime@^7.5.5": "7.29.10",
141
+ "@babel/runtime@^7.7.2": "7.29.10",
142
+ "@babel/runtime@^7.7.6": "7.29.10",
143
+ "@babel/runtime@^7.8.4": "7.29.10",
144
+ "@babel/runtime@^7.8.7": "7.29.10",
145
+ "@babel/runtime@^7.9.2": "7.29.10",
146
+ "@babel/helpers@^7.12.5": "7.29.10",
147
+ "@babel/helpers@^7.22.0": "7.29.10",
148
+ "cross-spawn@^6.0.0": "6.0.6",
149
+ "brace-expansion@^2.0.1": "2.1.7",
150
+ "on-headers@~1.0.2": "1.1.0",
151
+ "form-data@^3.0.0": "3.0.5",
152
+ "send@0.18.0": "0.19.2",
153
+ "nanoid@^3.3.1": "3.3.20",
154
+ "min-document@^2.19.0": "2.19.2",
155
+ "js-yaml@^3.13.1": "3.15.2",
156
+ "semver@2 || 3 || 4 || 5": "5.7.2",
157
+ "semver@^5.4.1": "5.7.2",
158
+ "semver@^5.5.0": "5.7.2",
159
+ "semver@^5.6.0": "5.7.2",
160
+ "qs@6.11.0": "6.16.1",
161
+ "qs@^6.10.0": "6.16.1",
162
+ "qs@~6.5.2": "6.16.1",
163
+ "minimatch@^5.0.1": "5.1.9",
164
+ "flatted@^3.1.0": "3.4.4",
165
+ "handlebars@^4.7.7": "4.7.10",
166
+ "picomatch@^2.0.4": "2.3.2",
167
+ "picomatch@^2.2.1": "2.3.2",
168
+ "picomatch@^2.2.2": "2.3.2",
169
+ "picomatch@^2.3.0": "2.3.2",
170
+ "picomatch@^2.3.1": "2.3.2",
171
+ "yaml@^1.10.0": "1.10.3",
172
+ "yaml@^1.10.2": "1.10.3",
173
+ "yaml@^1.7.2": "1.10.3",
174
+ "lodash@^4.17.15": "4.18.1",
175
+ "lodash@^4.17.19": "4.18.1",
176
+ "lodash@^4.17.20": "4.18.1",
177
+ "lodash@^4.17.21": "4.18.1",
178
+ "@babel/traverse@^7.1.6": "7.29.10",
179
+ "@babel/traverse@^7.12.11": "7.29.10",
180
+ "@babel/traverse@^7.12.9": "7.29.10",
181
+ "@babel/traverse@^7.13.0": "7.29.10",
182
+ "@babel/traverse@^7.20.5": "7.29.10",
183
+ "@babel/traverse@^7.22.1": "7.29.10",
184
+ "@babel/traverse@^7.4.5": "7.29.10",
185
+ "ws@^8.2.3": "8.22.0",
186
+ "@babel/plugin-transform-modules-systemjs@^7.22.3": "7.29.8",
187
+ "@babel/core@7.12.9": "7.29.7",
188
+ "@babel/core@^7.1.0": "7.29.7",
189
+ "@babel/core@^7.12.10": "7.29.7",
190
+ "@babel/core@^7.12.3": "7.29.7",
191
+ "@babel/core@^7.5.5": "7.29.7",
192
+ "@babel/core@^7.7.5": "7.29.7",
193
+ "browserslist@^4.12.0": "4.29.3",
194
+ "browserslist@^4.14.5": "4.29.3",
195
+ "browserslist@^4.21.3": "4.29.3",
196
+ "browserslist@^4.21.5": "4.29.3",
197
+ "proxy-addr@~2.0.7": "2.0.8",
198
+ "compression@^1.7.4": "1.8.2",
199
+ "tar@^6.0.2": "7.5.21",
200
+ "tar@^6.1.0": "7.5.21",
201
+ "tar@^6.1.11": "7.5.21",
202
+ "tar@^6.1.2": "7.5.21",
203
+ "braces@^2.3.1": "3.0.3",
204
+ "braces@^2.3.2": "3.0.3",
205
+ "micromatch@^3.1.10": "4.0.8",
206
+ "micromatch@^3.1.4": "4.0.8",
207
+ "trim@0.0.1": "0.0.3",
208
+ "trim-newlines@^1.0.0": "3.0.1",
209
+ "js-cookie@^2.2.1": "3.0.8",
210
+ "postcss-selector-parser@^6.0.0": "7.1.6",
211
+ "postcss-selector-parser@^6.0.2": "7.1.6",
212
+ "@tootallnate/once@^1.1.2": "2.0.1",
213
+ "ajv@^8.0.1": "8.20.0",
214
+ "postcss@^7.0.14": "8.5.30",
215
+ "postcss@^7.0.26": "8.5.30",
216
+ "postcss@^7.0.32": "8.5.30",
217
+ "postcss@^7.0.36": "8.5.30",
218
+ "postcss@^7.0.5": "8.5.30",
219
+ "postcss@^7.0.6": "8.5.30",
220
+ "form-data@~2.3.2": "2.5.6",
221
+ "@tootallnate/once@1": "2.0.1",
222
+ "@tootallnate/once@2": "2.0.1",
223
+ "ajv@^6.1.0": "6.15.0",
224
+ "ajv@^6.10.0": "6.15.0",
225
+ "ajv@^6.10.2": "6.15.0",
226
+ "ajv@^6.12.2": "6.15.0",
227
+ "ajv@^6.12.4": "6.15.0",
228
+ "ajv@^6.12.5": "6.15.0",
229
+ "bn.js@^5.0.0": "5.2.5",
230
+ "bn.js@^5.1.1": "5.2.5",
231
+ "brace-expansion@^1.1.7": "1.1.21",
232
+ "braces@^3.0.2": "3.0.3",
233
+ "braces@~3.0.2": "3.0.3",
234
+ "browserify-sign@^4.0.0": "4.2.6",
235
+ "cipher-base@^1.0.0": "1.0.7",
236
+ "cipher-base@^1.0.1": "1.0.7",
237
+ "cipher-base@^1.0.3": "1.0.7",
238
+ "cross-spawn@^7.0.0": "7.0.6",
239
+ "cross-spawn@^7.0.2": "7.0.6",
240
+ "cross-spawn@^7.0.3": "7.0.6",
241
+ "elliptic@^6.5.3": "6.6.1",
242
+ "http-cache-semantics@^4.1.0": "4.3.0",
243
+ "micromatch@^4.0.2": "4.0.8",
244
+ "micromatch@^4.0.4": "4.0.8",
245
+ "micromatch@^4.0.5": "4.0.8",
246
+ "minimatch@^3.0.2": "3.1.5",
247
+ "minimatch@^3.0.4": "3.1.5",
248
+ "minimatch@^3.1.1": "3.1.5",
249
+ "minimatch@^3.1.2": "3.1.5",
250
+ "pbkdf2@^3.0.3": "3.1.7",
251
+ "semver@^6.0.0": "6.3.1",
252
+ "semver@^6.1.1": "6.3.1",
253
+ "semver@^6.1.2": "6.3.1",
254
+ "semver@^6.3.0": "6.3.1",
255
+ "sha.js@^2.4.0": "2.4.12",
256
+ "sha.js@^2.4.8": "2.4.12",
257
+ "semver@^7.1.1": "7.8.5",
258
+ "semver@^7.2.1": "7.8.5",
259
+ "semver@^7.3.2": "7.8.5",
260
+ "semver@^7.3.4": "7.8.5",
261
+ "semver@^7.3.5": "7.8.5",
262
+ "glob-parent@^3.1.0": "5.1.2",
263
+ "ansi-regex@^2.0.0": "3.0.1",
264
+ "serialize-javascript@^4.0.0": "7.1.2",
265
+ "serialize-javascript@^5.0.1": "7.1.2",
266
+ "serialize-javascript@^6.0.1": "7.1.2",
267
+ "pacote@^11.2.7": "21.5.1",
268
+ "uri-js@^4.2.2": "npm:uri-js-replace@1.0.1",
269
+ "socks@^2.6.2": "2.8.10",
270
+ "@types/babel__traverse@*": "7.20.5",
271
+ "@types/babel__traverse@^7.18.0": "7.20.5",
272
+ "tar@^6.2.1": "7.5.21",
273
+ "uuid@^9.0.0": "11.1.1",
274
+ "esbuild@^0.18.0": "0.28.2",
275
+ "webpack-dev-middleware@^6.1.1": "7.4.6",
276
+ "glob@^7.1.3": "10.5.0",
277
+ "glob@^7.1.4": "10.5.0",
278
+ "glob@^7.1.6": "10.5.0",
279
+ "glob@^8.0.1": "10.5.0",
280
+ "puppeteer-core@^2.1.1": "file:./tools/puppeteer-core-stub",
281
+ "debug@2.6.9": "4.4.3",
282
+ "debug@4": "4.4.3",
283
+ "debug@^4.0.1": "4.4.3",
284
+ "debug@^4.1.0": "4.4.3",
285
+ "debug@^4.1.1": "4.4.3",
286
+ "debug@^4.3.1": "4.4.3",
287
+ "debug@^4.3.3": "4.4.3",
288
+ "debug@^4.3.4": "4.4.3"
116
289
  }
117
290
  }