yukit-web 0.2.8 → 0.3.0

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.
@@ -1,2 +1,2 @@
1
1
 
2
- 0d21fff52edb2d29ada183c662c58fc184cf6c7b {"key":"make-fetch-happen:request-cache:https://registry.npmjs.org/yukit-web","integrity":"sha512-zKFcaHK2CSp9wNN03H8rMzRd6zdjjKlm/IKAdgtqIJucFnY6kgNei8jZ3WwUBDiENuMMgPag0tDs9uXAyYTYBg==","time":1791197160731,"size":470493,"metadata":{"time":1791197160717,"url":"https://registry.npmjs.org/yukit-web","reqHeaders":{"accept":"application/json"},"resHeaders":{"cache-control":"public, max-age=300","content-encoding":"gzip","content-type":"application/json","date":"Mon, 05 Oct 2026 10:46:00 GMT","etag":"W/\"1151fb15d83ee6245c7b326fb4faa959\"","last-modified":"Mon, 05 Oct 2026 10:15:08 GMT","vary":"accept-encoding, accept"},"options":{"compress":true}}}
2
+ feb4b50818a9282d8a1297c06bee8ccd807190f7 {"key":"make-fetch-happen:request-cache:https://registry.npmjs.org/yukit-web","integrity":"sha512-Jd0nGm6SxXBAwvb0xl3wkExeapNlQRslDiJhrNtHyZ/iSHug3qxmV7GAcQk4GMTQbuSKyNxJ21rRT1yV4W03Lw==","time":1791370539224,"size":489296,"metadata":{"time":1791370539209,"url":"https://registry.npmjs.org/yukit-web","reqHeaders":{"accept":"application/json"},"resHeaders":{"cache-control":"public, max-age=300","content-encoding":"gzip","content-type":"application/json","date":"Wed, 07 Oct 2026 10:55:39 GMT","etag":"W/\"3702fbfef97ade0f83c10a42de80ea31\"","last-modified":"Tue, 06 Oct 2026 14:30:13 GMT","vary":"accept-encoding, accept"},"options":{"compress":true}}}
@@ -5,24 +5,24 @@
5
5
  4 silly config load:file:/builds/yurest/yurest-ui/dist/yukit-web/.npmrc
6
6
  5 silly config load:file:/root/.npmrc
7
7
  6 silly config load:file:/usr/local/etc/npmrc
8
- 7 verbose title npm view yukit-web@0.2.8 version
9
- 8 verbose argv "view" "yukit-web@0.2.8" "version"
10
- 9 verbose logfile logs-max:10 dir:/builds/yurest/yurest-ui/dist/yukit-web/.npm/_logs/2026-10-05T10_46_00_396Z-
11
- 10 verbose logfile /builds/yurest/yurest-ui/dist/yukit-web/.npm/_logs/2026-10-05T10_46_00_396Z-debug-0.log
8
+ 7 verbose title npm view yukit-web@0.3.0 version
9
+ 8 verbose argv "view" "yukit-web@0.3.0" "version"
10
+ 9 verbose logfile logs-max:10 dir:/builds/yurest/yurest-ui/dist/yukit-web/.npm/_logs/2026-10-07T10_55_38_800Z-
11
+ 10 verbose logfile /builds/yurest/yurest-ui/dist/yukit-web/.npm/_logs/2026-10-07T10_55_38_800Z-debug-0.log
12
12
  11 silly logfile done cleaning log files
13
- 12 http fetch GET 200 https://registry.npmjs.org/yukit-web 164ms (cache miss)
14
- 13 verbose stack Error: No match found for version 0.2.8
13
+ 12 http fetch GET 200 https://registry.npmjs.org/yukit-web 231ms (cache miss)
14
+ 13 verbose stack Error: No match found for version 0.3.0
15
15
  13 verbose stack at #getData (/usr/local/lib/node_modules/npm/lib/commands/view.js:192:27)
16
16
  13 verbose stack at async #viewPackage (/usr/local/lib/node_modules/npm/lib/commands/view.js:112:28)
17
17
  13 verbose stack at async View.exec (/usr/local/lib/node_modules/npm/lib/commands/view.js:70:5)
18
18
  13 verbose stack at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9)
19
19
  13 verbose stack at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5)
20
20
  14 verbose statusCode 404
21
- 15 verbose pkgid yukit-web@0.2.8
21
+ 15 verbose pkgid yukit-web@0.3.0
22
22
  16 error code E404
23
- 17 error 404 No match found for version 0.2.8
23
+ 17 error 404 No match found for version 0.3.0
24
24
  18 error 404
25
- 19 error 404 'yukit-web@0.2.8' is not in this registry.
25
+ 19 error 404 'yukit-web@0.3.0' is not in this registry.
26
26
  20 error 404
27
27
  21 error 404 Note that you can also install from a
28
28
  22 error 404 tarball, folder, http url, or git url.
@@ -32,4 +32,4 @@
32
32
  26 verbose npm v10.9.9
33
33
  27 verbose exit 1
34
34
  28 verbose code 1
35
- 29 error A complete log of this run can be found in: /builds/yurest/yurest-ui/dist/yukit-web/.npm/_logs/2026-10-05T10_46_00_396Z-debug-0.log
35
+ 29 error A complete log of this run can be found in: /builds/yurest/yurest-ui/dist/yukit-web/.npm/_logs/2026-10-07T10_55_38_800Z-debug-0.log
@@ -7,8 +7,8 @@
7
7
  6 silly config load:file:/usr/local/etc/npmrc
8
8
  7 verbose title npm publish
9
9
  8 verbose argv "publish" "--access" "public"
10
- 9 verbose logfile logs-max:10 dir:/builds/yurest/yurest-ui/dist/yukit-web/.npm/_logs/2026-10-05T10_46_00_810Z-
11
- 10 verbose logfile /builds/yurest/yurest-ui/dist/yukit-web/.npm/_logs/2026-10-05T10_46_00_810Z-debug-0.log
10
+ 9 verbose logfile logs-max:10 dir:/builds/yurest/yurest-ui/dist/yukit-web/.npm/_logs/2026-10-07T10_55_39_302Z-
11
+ 10 verbose logfile /builds/yurest/yurest-ui/dist/yukit-web/.npm/_logs/2026-10-07T10_55_39_302Z-debug-0.log
12
12
  11 silly logfile done cleaning log files
13
13
  12 verbose publish [ '.' ]
14
14
  13 silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912
package/README.md CHANGED
@@ -275,6 +275,7 @@ neither source silently overrides the other.
275
275
  | [Button](#button) | `yuw-button` | `YuwButtonComponent` |
276
276
  | **Form controls** | | |
277
277
  | [Input](#input) | `yuw-input` | `YuwInputComponent` |
278
+ | [Input file](#input-file) | `yuw-input-file` | `YuwInputFileComponent` |
278
279
  | [Textarea](#textarea) | `yuw-textarea` | `YuwTextareaComponent` |
279
280
  | [Search input](#search-input) | `yuw-search-input` | `YuwSearchInputComponent` |
280
281
  | [Password input](#password-input) | `yuw-password-input` | `YuwPasswordInputComponent` |
@@ -412,6 +413,62 @@ Single-line text field with addon slots and form integration.
412
413
 
413
414
  ---
414
415
 
416
+ ### Input file
417
+
418
+ File picker with two layouts. `avatar` (default) shows a `yuw-avatar` with the chosen image (or `src`) beside an upload button. `inline` is a full-width outline button with an upload icon; a chosen file replaces the button with one line showing its name, size and a remove icon, and several files collapse into one line (`countLabel(n)`) that opens a list with one removable row each — a popover from `md` up, a bottom sheet below. Removing never edits the value: the icon emits `removed` with the `File` and the consumer decides. The value is a `File[]`; writing `[]` or `null` clears the picker. All text comes from the consumer.
419
+
420
+ ```html
421
+ <yuw-input-file
422
+ [(value)]="files"
423
+ accept="image/*"
424
+ [src]="imageUrl"
425
+ [alt]="name"
426
+ [fallback]="initials"
427
+ uploadLabel="Upload photo"
428
+ />
429
+ <yuw-input-file
430
+ variant="inline"
431
+ multiple
432
+ [(value)]="files"
433
+ uploadLabel="Upload files"
434
+ removeLabel="Remove"
435
+ [countLabel]="countLabel"
436
+ (removed)="files.set(files().filter((f) => f !== $event))"
437
+ />
438
+ ```
439
+
440
+ #### Inputs
441
+
442
+ | Input | Type | Default |
443
+ | :------------ | :--------------------------------------------- | :---------- |
444
+ | `value` | `File[]` (two-way) | `[]` |
445
+ | `variant` | `'avatar'|'inline'` | `'avatar'` |
446
+ | `uploadLabel` | `string|undefined` | `undefined` |
447
+ | `removeLabel` | `string|undefined` (inline) | `undefined` |
448
+ | `countLabel` | `(count: number) => string` (inline, multiple) | `undefined` |
449
+ | `alt` | `string` (avatar) | `''` |
450
+ | `fallback` | `string|undefined` (avatar) | `undefined` |
451
+ | `src` | `string|undefined` (avatar) | `undefined` |
452
+ | `accept` | `string|undefined` | `undefined` |
453
+ | `multiple` | `boolean` | `false` |
454
+ | `size` | `'default'|'xs'|'sm'|'lg'` | `'default'` |
455
+ | `inputId` | `string|undefined` | `undefined` |
456
+ | `helperText` | `string|undefined` | `undefined` |
457
+ | `errorText` | `string|undefined` | `undefined` |
458
+ | `name` | `string|undefined` | `undefined` |
459
+ | `disabled` | `boolean` | `false` |
460
+ | `required` | `boolean` | `false` |
461
+ | `invalid` | `boolean` | `false` |
462
+ | `class` | `string` | `''` |
463
+
464
+ #### Outputs
465
+
466
+ | Output | Payload | Description |
467
+ | :-------- | :------ | :----------------------------------------- |
468
+ | `removed` | `File` | A remove icon was pressed (`inline` only). |
469
+
470
+ ---
471
+
415
472
  ### Textarea
416
473
 
417
474
  Multi-line text field. Auto-grows where `field-sizing` is supported.