infinity-forge 7.7.4 → 7.7.6

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.
Files changed (53) hide show
  1. package/dist/system/context/container.d.ts +2 -1
  2. package/dist/system/context/container.js +2 -2
  3. package/dist/system/context/container.js.map +1 -1
  4. package/dist/ui/components/carousel/carousel-lib/modules/grid.d.ts +5 -0
  5. package/dist/ui/components/carousel/carousel-lib/modules/grid.js +144 -0
  6. package/dist/ui/components/carousel/carousel-lib/modules/grid.js.map +1 -0
  7. package/dist/ui/components/carousel/carousel-lib/modules/index.d.ts +7 -6
  8. package/dist/ui/components/carousel/carousel-lib/modules/index.js +1 -0
  9. package/dist/ui/components/carousel/carousel-lib/modules/index.js.map +1 -1
  10. package/dist/ui/components/carousel/index.js +1 -1
  11. package/dist/ui/components/carousel/index.js.map +1 -1
  12. package/dist/ui/components/form/checkbox/index.d.ts +1 -0
  13. package/dist/ui/components/form/checkbox/index.js.map +1 -1
  14. package/dist/ui/components/form/drag-and-drop/index.d.ts +9 -3
  15. package/dist/ui/components/form/drag-and-drop/index.js +43 -12
  16. package/dist/ui/components/form/drag-and-drop/index.js.map +1 -1
  17. package/dist/ui/components/form/handler/dynamic_form_handler/styles.js +1 -1
  18. package/dist/ui/components/form/handler/dynamic_form_handler/styles.js.map +1 -1
  19. package/dist/ui/components/form/input-file/component.d.ts +19 -2
  20. package/dist/ui/components/form/input-file/component.js +1 -1
  21. package/dist/ui/components/form/input-file/component.js.map +1 -1
  22. package/dist/ui/components/form/input-file/hooks/use-file.js +3 -2
  23. package/dist/ui/components/form/input-file/hooks/use-file.js.map +1 -1
  24. package/dist/ui/components/form/input-file/render-files/component.js +2 -36
  25. package/dist/ui/components/form/input-file/render-files/component.js.map +1 -1
  26. package/dist/ui/components/form/input-file/render-files/file-item/index.js +5 -4
  27. package/dist/ui/components/form/input-file/render-files/file-item/index.js.map +1 -1
  28. package/dist/ui/components/form/input-file/render-files/file-item/styles.d.ts +2 -1
  29. package/dist/ui/components/form/input-file/render-files/file-item/styles.js +4 -3
  30. package/dist/ui/components/form/input-file/render-files/file-item/styles.js.map +1 -1
  31. package/dist/ui/components/form/input-manager/component.d.ts +2 -1
  32. package/dist/ui/components/form/input-manager/component.js +17 -6
  33. package/dist/ui/components/form/input-manager/component.js.map +1 -1
  34. package/dist/ui/components/form/interfaces.d.ts +2 -13
  35. package/dist/ui/components/form/text-editor/react-quill.css +922 -0
  36. package/dist/ui/components/modal/component.js +2 -2
  37. package/dist/ui/components/modal/component.js.map +1 -1
  38. package/dist/ui/components/modal/styles.js +1 -1
  39. package/dist/ui/components/modal/styles.js.map +1 -1
  40. package/dist/ui/hooks/use-query/context.d.ts +1 -1
  41. package/dist/ui/hooks/use-query/context.js +2 -18
  42. package/dist/ui/hooks/use-query/context.js.map +1 -1
  43. package/dist/ui/hooks/use-query/interfaces.d.ts +4 -1
  44. package/dist/ui/hooks/use-query/store.js +16 -6
  45. package/dist/ui/hooks/use-query/store.js.map +1 -1
  46. package/dist/ui/styles/fonts.css +768 -0
  47. package/dist/ui/styles/reset.css +351 -0
  48. package/dist/ui/utils/file/load-file.d.ts +1 -1
  49. package/dist/ui/utils/file/upload-file.d.ts +1 -1
  50. package/package.json +4 -2
  51. package/dist/ui/components/form/input-file/render-files/styles.d.ts +0 -1
  52. package/dist/ui/components/form/input-file/render-files/styles.js +0 -14
  53. package/dist/ui/components/form/input-file/render-files/styles.js.map +0 -1
@@ -0,0 +1,351 @@
1
+ *,
2
+ *::before,
3
+ *::after {
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ button,
8
+ a {
9
+ outline: unset !important;
10
+ cursor: pointer;
11
+ }
12
+
13
+ html {
14
+ font-family: sans-serif;
15
+ line-height: 1.15;
16
+ -webkit-text-size-adjust: 100%;
17
+ -ms-text-size-adjust: 100%;
18
+ -ms-overflow-style: scrollbar;
19
+ -webkit-tap-highlight-color: transparent;
20
+ }
21
+
22
+ .row {
23
+ display: flex;
24
+ gap: 15px;
25
+ }
26
+
27
+ @-ms-viewport {
28
+ width: device-width;
29
+ }
30
+
31
+ article,
32
+ aside,
33
+ dialog,
34
+ figcaption,
35
+ figure,
36
+ footer,
37
+ header,
38
+ hgroup,
39
+ main,
40
+ nav,
41
+ section {
42
+ display: block;
43
+ }
44
+
45
+ body {
46
+ margin: 0;
47
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
48
+ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
49
+ font-size: 1rem;
50
+ font-weight: normal;
51
+ line-height: 1.5;
52
+ color: #212529;
53
+ text-align: left;
54
+ background-color: #fff;
55
+ }
56
+
57
+ [tabindex='-1']:focus {
58
+ outline: none !important;
59
+ }
60
+
61
+ hr {
62
+ box-sizing: content-box;
63
+ height: 0;
64
+ overflow: visible;
65
+ }
66
+
67
+ h1,
68
+ h2,
69
+ h3,
70
+ h4,
71
+ h5,
72
+ h6 {
73
+ margin-top: 0;
74
+ margin-bottom: 0.5rem;
75
+ }
76
+
77
+ p {
78
+ margin-top: 0;
79
+ margin-bottom: 1rem;
80
+ }
81
+
82
+ abbr[title],
83
+ abbr[data-original-title] {
84
+ text-decoration: underline;
85
+ -webkit-text-decoration: underline dotted;
86
+ text-decoration: underline dotted;
87
+ cursor: help;
88
+ border-bottom: 0;
89
+ }
90
+ address {
91
+ margin-bottom: 1rem;
92
+ font-style: normal;
93
+ line-height: inherit;
94
+ }
95
+ ol,
96
+ ul,
97
+ dl {
98
+ margin-top: 0;
99
+ margin-bottom: 1rem;
100
+ }
101
+ ol ol,
102
+ ul ul,
103
+ ol ul,
104
+ ul ol {
105
+ margin-bottom: 0;
106
+ }
107
+ dt {
108
+ font-weight: bold;
109
+ }
110
+ dd {
111
+ margin-bottom: 0.5rem;
112
+ margin-left: 0;
113
+ }
114
+ blockquote {
115
+ margin: 0 0 1rem;
116
+ }
117
+ dfn {
118
+ font-style: italic;
119
+ }
120
+ b,
121
+ strong {
122
+ font-weight: bolder;
123
+ }
124
+ small {
125
+ font-size: 80%;
126
+ }
127
+ sub,
128
+ sup {
129
+ position: relative;
130
+ font-size: 75%;
131
+ line-height: 0;
132
+ vertical-align: baseline;
133
+ }
134
+ sub {
135
+ bottom: -0.25em;
136
+ }
137
+ sup {
138
+ top: -0.5em;
139
+ }
140
+
141
+ a {
142
+ color: #007bff;
143
+ text-decoration: none;
144
+ background-color: transparent;
145
+ -webkit-text-decoration-skip: objects;
146
+ }
147
+ a:hover {
148
+ color: #0056b3;
149
+ text-decoration: underline;
150
+ }
151
+
152
+ a:not([href]):not([tabindex]) {
153
+ text-decoration: none;
154
+ }
155
+ a:not([href]):not([tabindex]):focus,
156
+ a:not([href]):not([tabindex]):hover {
157
+ text-decoration: none;
158
+ }
159
+ a:not([href]):not([tabindex]):focus {
160
+ outline: 0;
161
+ }
162
+
163
+ pre,
164
+ code,
165
+ kbd,
166
+ samp {
167
+ font-family: monospace, monospace;
168
+ font-size: 1em;
169
+ }
170
+ pre {
171
+ margin-top: 0;
172
+
173
+ margin-bottom: 1rem;
174
+ overflow: auto;
175
+ -ms-overflow-style: scrollbar;
176
+ }
177
+
178
+ figure {
179
+ margin: 0 0 1rem;
180
+ }
181
+
182
+ img {
183
+ vertical-align: middle;
184
+ border-style: none;
185
+ }
186
+ svg:not(:root) {
187
+ overflow: hidden;
188
+ }
189
+
190
+ a,
191
+ area,
192
+ button,
193
+ [role='button'],
194
+ input:not([type='range']),
195
+ label,
196
+ select,
197
+ summary,
198
+ textarea {
199
+ -ms-touch-action: manipulation;
200
+ touch-action: manipulation;
201
+ }
202
+
203
+ table {
204
+ border-collapse: collapse;
205
+ }
206
+ caption {
207
+ padding-top: 0.75rem;
208
+ padding-bottom: 0.75rem;
209
+ color: #868e96;
210
+ text-align: left;
211
+ caption-side: bottom;
212
+ }
213
+ th {
214
+ text-align: inherit;
215
+ }
216
+
217
+ label {
218
+ display: inline-block;
219
+ margin-bottom: 0.5rem;
220
+ }
221
+
222
+ button {
223
+ border-radius: 0;
224
+ }
225
+
226
+ button:focus {
227
+ outline: 1px dotted;
228
+ outline: 5px auto -webkit-focus-ring-color;
229
+ }
230
+ input,
231
+ button,
232
+ select,
233
+ optgroup,
234
+ textarea {
235
+ margin: 0;
236
+ font-family: inherit;
237
+ font-size: inherit;
238
+ line-height: inherit;
239
+ }
240
+ button,
241
+ input {
242
+ overflow: visible;
243
+ }
244
+ button,
245
+ select {
246
+ text-transform: none;
247
+ }
248
+
249
+ button,
250
+ html [type='button'],
251
+ [type='reset'],
252
+ [type='submit'] {
253
+ -webkit-appearance: button;
254
+ }
255
+
256
+ button::-moz-focus-inner,
257
+ [type='button']::-moz-focus-inner,
258
+ [type='reset']::-moz-focus-inner,
259
+ [type='submit']::-moz-focus-inner {
260
+ padding: 0;
261
+ border-style: none;
262
+ }
263
+ input[type='radio'],
264
+ input[type='checkbox'] {
265
+ box-sizing: border-box;
266
+ padding: 0;
267
+ }
268
+ input[type='date'],
269
+ input[type='time'],
270
+ input[type='datetime-local'],
271
+ input[type='month'] {
272
+ -webkit-appearance: listbox;
273
+ }
274
+ textarea {
275
+ overflow: auto;
276
+ resize: vertical;
277
+ }
278
+ fieldset {
279
+ min-width: 0;
280
+ padding: 0;
281
+ margin: 0;
282
+ border: 0;
283
+ }
284
+
285
+ legend {
286
+ display: block;
287
+ width: 100%;
288
+ max-width: 100%;
289
+ padding: 0;
290
+ margin-bottom: 0.5rem;
291
+ font-size: 1.5rem;
292
+ line-height: inherit;
293
+ color: inherit;
294
+ white-space: normal;
295
+ }
296
+ progress {
297
+ vertical-align: baseline;
298
+ }
299
+
300
+ [type='number']::-webkit-inner-spin-button,
301
+ [type='number']::-webkit-outer-spin-button {
302
+ height: auto;
303
+ }
304
+ [type='search'] {
305
+ outline-offset: -2px;
306
+ -webkit-appearance: none;
307
+ }
308
+
309
+ [type='search']::-webkit-search-cancel-button,
310
+ [type='search']::-webkit-search-decoration {
311
+ -webkit-appearance: none;
312
+ }
313
+
314
+ ::-webkit-file-upload-button {
315
+ font: inherit;
316
+ -webkit-appearance: button;
317
+ }
318
+
319
+ output {
320
+ display: inline-block;
321
+ }
322
+ summary {
323
+ display: list-item;
324
+ }
325
+ template {
326
+ display: none;
327
+ }
328
+
329
+ [hidden] {
330
+ display: none !important;
331
+ }
332
+
333
+ ul,
334
+ ul li {
335
+ list-style-type: none;
336
+ padding-left: 0;
337
+ }
338
+
339
+ @keyframes placeHolderShimmer {
340
+ 0% {
341
+ background-position: 0px 0;
342
+ }
343
+ 100% {
344
+ background-position: 100vw 0;
345
+ }
346
+ }
347
+
348
+ #__next {
349
+ position: relative;
350
+ z-index: 1;
351
+ }
@@ -1,6 +1,6 @@
1
1
  interface ILoadFile {
2
2
  fileName?: string;
3
- FileIds: number[];
3
+ FileIds: (string | number)[];
4
4
  }
5
5
  export declare function loadFile(data: ILoadFile, tokenName?: string): Promise<void>;
6
6
  export {};
@@ -4,7 +4,7 @@ type UploadFileParams = {
4
4
  upload?: UploadOptions;
5
5
  };
6
6
  export type FileSystemType = {
7
- id: number;
7
+ id: number | string;
8
8
  url: string;
9
9
  title: string;
10
10
  length: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "7.7.4",
3
+ "version": "7.7.6",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index",
6
6
  "module": "./dist/index",
@@ -50,6 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@dnd-kit/core": "^6.3.1",
53
+ "@dnd-kit/modifiers": "^9.0.0",
53
54
  "@dnd-kit/sortable": "^10.0.0",
54
55
  "@dnd-kit/utilities": "^3.2.2",
55
56
  "@next/third-parties": "^15.1.6",
@@ -67,5 +68,6 @@
67
68
  "styled-components": "^6.1.15",
68
69
  "yup": "^1.6.1",
69
70
  "zustand": "^5.0.2"
70
- }
71
+ },
72
+ "packageManager": "pnpm@10.6.3+sha512.bb45e34d50a9a76e858a95837301bfb6bd6d35aea2c5d52094fa497a467c43f5c440103ce2511e9e0a2f89c3d6071baac3358fc68ac6fb75e2ceb3d2736065e6"
71
73
  }
@@ -1 +0,0 @@
1
- export declare const FileCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, never>> & string;
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __importDefault = (this && this.__importDefault) || function (mod) {
7
- return (mod && mod.__esModule) ? mod : { "default": mod };
8
- };
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.FileCard = void 0;
11
- var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.FileCard = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n padding: 15px;\n border-radius: 10px;\n border: 1px solid #aaa;\n"], ["\n width: 100%;\n padding: 15px;\n border-radius: 10px;\n border: 1px solid #aaa;\n"])));
13
- var templateObject_1;
14
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/input-file/render-files/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,QAAQ,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,4JAAA,yFAKpC,KAAA"}