@scouterna/ui-webc 0.2.9 → 1.0.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.
Files changed (104) hide show
  1. package/dist/cjs/{index-M8pbc2b8.js → index-D42maJcS.js} +455 -9
  2. package/dist/cjs/index-D42maJcS.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/scout-bottom-bar-item.cjs.entry.js +3 -2
  5. package/dist/cjs/scout-bottom-bar-item.entry.cjs.js.map +1 -1
  6. package/dist/cjs/scout-bottom-bar.cjs.entry.js +3 -2
  7. package/dist/cjs/scout-bottom-bar.entry.cjs.js.map +1 -1
  8. package/dist/cjs/scout-button.cjs.entry.js +3 -2
  9. package/dist/cjs/scout-button.entry.cjs.js.map +1 -1
  10. package/dist/cjs/scout-card.cjs.entry.js +19 -0
  11. package/dist/cjs/scout-card.entry.cjs.js.map +1 -0
  12. package/dist/cjs/scout-field.cjs.entry.js +47 -0
  13. package/dist/cjs/scout-field.entry.cjs.js.map +1 -0
  14. package/dist/cjs/scout-input.cjs.entry.js +72 -0
  15. package/dist/cjs/scout-input.entry.cjs.js.map +1 -0
  16. package/dist/cjs/ui-webc.cjs.js +2 -2
  17. package/dist/collection/collection-manifest.json +4 -1
  18. package/dist/collection/components/bottom-bar/bottom-bar.js +2 -1
  19. package/dist/collection/components/bottom-bar/bottom-bar.js.map +1 -1
  20. package/dist/collection/components/bottom-bar-item/bottom-bar-item.js +2 -1
  21. package/dist/collection/components/bottom-bar-item/bottom-bar-item.js.map +1 -1
  22. package/dist/collection/components/button/button.js +2 -1
  23. package/dist/collection/components/button/button.js.map +1 -1
  24. package/dist/collection/components/card/card.css +8 -0
  25. package/dist/collection/components/card/card.js +23 -0
  26. package/dist/collection/components/card/card.js.map +1 -0
  27. package/dist/collection/components/field/field.css +26 -0
  28. package/dist/collection/components/field/field.js +119 -0
  29. package/dist/collection/components/field/field.js.map +1 -0
  30. package/dist/collection/components/input/input.css +15 -0
  31. package/dist/collection/components/input/input.js +259 -0
  32. package/dist/collection/components/input/input.js.map +1 -0
  33. package/dist/components/index.js +1 -1
  34. package/dist/components/{p-CMd0pUms.js → p-MfRr-Vl1.js} +448 -10
  35. package/dist/components/p-MfRr-Vl1.js.map +1 -0
  36. package/dist/components/scout-bottom-bar-item.js +4 -3
  37. package/dist/components/scout-bottom-bar-item.js.map +1 -1
  38. package/dist/components/scout-bottom-bar.js +4 -3
  39. package/dist/components/scout-bottom-bar.js.map +1 -1
  40. package/dist/components/scout-button.js +4 -3
  41. package/dist/components/scout-button.js.map +1 -1
  42. package/dist/components/scout-card.d.ts +11 -0
  43. package/dist/components/scout-card.js +39 -0
  44. package/dist/components/scout-card.js.map +1 -0
  45. package/dist/components/scout-field.d.ts +11 -0
  46. package/dist/components/scout-field.js +72 -0
  47. package/dist/components/scout-field.js.map +1 -0
  48. package/dist/components/scout-input.d.ts +11 -0
  49. package/dist/components/scout-input.js +99 -0
  50. package/dist/components/scout-input.js.map +1 -0
  51. package/dist/custom-elements.json +405 -3
  52. package/dist/esm/{index-BKWL7m90.js → index-DByXnE9g.js} +455 -10
  53. package/dist/esm/index-DByXnE9g.js.map +1 -0
  54. package/dist/esm/loader.js +3 -3
  55. package/dist/esm/scout-bottom-bar-item.entry.js +3 -2
  56. package/dist/esm/scout-bottom-bar-item.entry.js.map +1 -1
  57. package/dist/esm/scout-bottom-bar.entry.js +3 -2
  58. package/dist/esm/scout-bottom-bar.entry.js.map +1 -1
  59. package/dist/esm/scout-button.entry.js +3 -2
  60. package/dist/esm/scout-button.entry.js.map +1 -1
  61. package/dist/esm/scout-card.entry.js +17 -0
  62. package/dist/esm/scout-card.entry.js.map +1 -0
  63. package/dist/esm/scout-field.entry.js +45 -0
  64. package/dist/esm/scout-field.entry.js.map +1 -0
  65. package/dist/esm/scout-input.entry.js +70 -0
  66. package/dist/esm/scout-input.entry.js.map +1 -0
  67. package/dist/esm/ui-webc.js +3 -3
  68. package/dist/types/components/card/card.d.ts +6 -0
  69. package/dist/types/components/field/field.d.ts +23 -0
  70. package/dist/types/components/input/input.d.ts +47 -0
  71. package/dist/types/components.d.ts +152 -0
  72. package/dist/ui-webc/p-383736c1.entry.js +2 -0
  73. package/dist/ui-webc/p-383736c1.entry.js.map +1 -0
  74. package/dist/ui-webc/{p-5a234307.entry.js → p-99329c64.entry.js} +2 -2
  75. package/dist/ui-webc/p-99329c64.entry.js.map +1 -0
  76. package/dist/ui-webc/p-9b7c270d.entry.js +2 -0
  77. package/dist/ui-webc/p-9b7c270d.entry.js.map +1 -0
  78. package/dist/ui-webc/p-DByXnE9g.js +3 -0
  79. package/dist/ui-webc/p-DByXnE9g.js.map +1 -0
  80. package/dist/ui-webc/p-c0c3a4af.entry.js +2 -0
  81. package/dist/ui-webc/p-c0c3a4af.entry.js.map +1 -0
  82. package/dist/ui-webc/p-e7602729.entry.js +2 -0
  83. package/dist/ui-webc/p-e7602729.entry.js.map +1 -0
  84. package/dist/ui-webc/p-fb926c68.entry.js +2 -0
  85. package/dist/ui-webc/p-fb926c68.entry.js.map +1 -0
  86. package/dist/ui-webc/scout-bottom-bar-item.entry.esm.js.map +1 -1
  87. package/dist/ui-webc/scout-bottom-bar.entry.esm.js.map +1 -1
  88. package/dist/ui-webc/scout-button.entry.esm.js.map +1 -1
  89. package/dist/ui-webc/scout-card.entry.esm.js.map +1 -0
  90. package/dist/ui-webc/scout-field.entry.esm.js.map +1 -0
  91. package/dist/ui-webc/scout-input.entry.esm.js.map +1 -0
  92. package/dist/ui-webc/ui-webc.css +13 -1
  93. package/dist/ui-webc/ui-webc.esm.js +1 -1
  94. package/package.json +2 -5
  95. package/dist/cjs/index-M8pbc2b8.js.map +0 -1
  96. package/dist/components/p-CMd0pUms.js.map +0 -1
  97. package/dist/esm/index-BKWL7m90.js.map +0 -1
  98. package/dist/ui-webc/p-2b13b5cd.entry.js +0 -2
  99. package/dist/ui-webc/p-2b13b5cd.entry.js.map +0 -1
  100. package/dist/ui-webc/p-5a234307.entry.js.map +0 -1
  101. package/dist/ui-webc/p-BKWL7m90.js +0 -3
  102. package/dist/ui-webc/p-BKWL7m90.js.map +0 -1
  103. package/dist/ui-webc/p-d1aadf34.entry.js +0 -2
  104. package/dist/ui-webc/p-d1aadf34.entry.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-11-21T21:44:45",
2
+ "timestamp": "2025-11-22T22:58:05",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.38.1",
@@ -10,7 +10,7 @@
10
10
  "filePath": "src/components/bottom-bar/bottom-bar.tsx",
11
11
  "encapsulation": "shadow",
12
12
  "tag": "scout-bottom-bar",
13
- "readme": "# scout-button\n\n\n",
13
+ "readme": "# scout-bottom-bar\n\n\n",
14
14
  "docs": "The bottom bar component is used in the Jamboree26 app to provide\nnavigation at the bottom of the screen.",
15
15
  "docsTags": [],
16
16
  "usage": {},
@@ -29,7 +29,7 @@
29
29
  "filePath": "src/components/bottom-bar-item/bottom-bar-item.tsx",
30
30
  "encapsulation": "shadow",
31
31
  "tag": "scout-bottom-bar-item",
32
- "readme": "# scout-button\n\n\n",
32
+ "readme": "# scout-bottom-bar-item\n\n\n",
33
33
  "docs": "A bottom bar item used within the bottom bar for navigation. Should not be\nused outside of a bottom bar.",
34
34
  "docsTags": [],
35
35
  "usage": {},
@@ -339,6 +339,398 @@
339
339
  "dependents": [],
340
340
  "dependencies": [],
341
341
  "dependencyGraph": {}
342
+ },
343
+ {
344
+ "filePath": "src/components/card/card.tsx",
345
+ "encapsulation": "shadow",
346
+ "tag": "scout-card",
347
+ "readme": "# scout-card\n\n\n",
348
+ "docs": "A general surface to hold various types of content.",
349
+ "docsTags": [],
350
+ "usage": {},
351
+ "props": [],
352
+ "methods": [],
353
+ "events": [],
354
+ "listeners": [],
355
+ "styles": [],
356
+ "slots": [],
357
+ "parts": [],
358
+ "dependents": [],
359
+ "dependencies": [],
360
+ "dependencyGraph": {}
361
+ },
362
+ {
363
+ "filePath": "src/components/field/field.tsx",
364
+ "encapsulation": "scoped",
365
+ "tag": "scout-field",
366
+ "readme": "# scout-field\n",
367
+ "docs": "",
368
+ "docsTags": [],
369
+ "usage": {},
370
+ "props": [
371
+ {
372
+ "name": "helpText",
373
+ "type": "string",
374
+ "complexType": {
375
+ "original": "string",
376
+ "resolved": "string",
377
+ "references": {}
378
+ },
379
+ "mutable": false,
380
+ "attr": "help-text",
381
+ "reflectToAttr": false,
382
+ "docs": "Help text shown below the field.",
383
+ "docsTags": [],
384
+ "values": [
385
+ {
386
+ "type": "string"
387
+ }
388
+ ],
389
+ "optional": true,
390
+ "required": false,
391
+ "getter": false,
392
+ "setter": false
393
+ },
394
+ {
395
+ "name": "label",
396
+ "type": "string",
397
+ "complexType": {
398
+ "original": "string",
399
+ "resolved": "string",
400
+ "references": {}
401
+ },
402
+ "mutable": false,
403
+ "attr": "label",
404
+ "reflectToAttr": false,
405
+ "docs": "Label shown above the field.",
406
+ "docsTags": [],
407
+ "values": [
408
+ {
409
+ "type": "string"
410
+ }
411
+ ],
412
+ "optional": false,
413
+ "required": true,
414
+ "getter": false,
415
+ "setter": false
416
+ }
417
+ ],
418
+ "methods": [],
419
+ "events": [],
420
+ "listeners": [
421
+ {
422
+ "event": "_fieldId",
423
+ "capture": false,
424
+ "passive": false
425
+ },
426
+ {
427
+ "event": "scoutInputChange",
428
+ "capture": false,
429
+ "passive": false
430
+ },
431
+ {
432
+ "event": "scoutBlur",
433
+ "capture": false,
434
+ "passive": false
435
+ }
436
+ ],
437
+ "styles": [],
438
+ "slots": [],
439
+ "parts": [],
440
+ "dependents": [],
441
+ "dependencies": [],
442
+ "dependencyGraph": {}
443
+ },
444
+ {
445
+ "filePath": "src/components/input/input.tsx",
446
+ "encapsulation": "scoped",
447
+ "tag": "scout-input",
448
+ "readme": "# scout-input\n",
449
+ "docs": "",
450
+ "docsTags": [],
451
+ "usage": {},
452
+ "props": [
453
+ {
454
+ "name": "disabled",
455
+ "type": "boolean",
456
+ "complexType": {
457
+ "original": "boolean",
458
+ "resolved": "boolean",
459
+ "references": {}
460
+ },
461
+ "mutable": false,
462
+ "attr": "disabled",
463
+ "reflectToAttr": false,
464
+ "docs": "Whether the input is disabled. Disabled inputs are not editable, excluded\nfrom tab order and are not validated.",
465
+ "docsTags": [
466
+ {
467
+ "name": "default",
468
+ "text": "false"
469
+ }
470
+ ],
471
+ "default": "false",
472
+ "values": [
473
+ {
474
+ "type": "boolean"
475
+ }
476
+ ],
477
+ "optional": false,
478
+ "required": false,
479
+ "getter": false,
480
+ "setter": false
481
+ },
482
+ {
483
+ "name": "inputmode",
484
+ "type": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\" | string & {}",
485
+ "complexType": {
486
+ "original": "InputMode",
487
+ "resolved": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\" | string & {}",
488
+ "references": {
489
+ "InputMode": {
490
+ "location": "local",
491
+ "path": "/home/runner/work/j26-web-components/j26-web-components/packages/ui-webc/src/components/input/input.tsx",
492
+ "id": "src/components/input/input.tsx::InputMode"
493
+ }
494
+ }
495
+ },
496
+ "mutable": false,
497
+ "attr": "inputmode",
498
+ "reflectToAttr": false,
499
+ "docs": "Input mode hints for devices with dynamic keyboards.",
500
+ "docsTags": [],
501
+ "values": [
502
+ {
503
+ "value": "decimal",
504
+ "type": "string"
505
+ },
506
+ {
507
+ "value": "email",
508
+ "type": "string"
509
+ },
510
+ {
511
+ "value": "none",
512
+ "type": "string"
513
+ },
514
+ {
515
+ "value": "numeric",
516
+ "type": "string"
517
+ },
518
+ {
519
+ "value": "search",
520
+ "type": "string"
521
+ },
522
+ {
523
+ "value": "tel",
524
+ "type": "string"
525
+ },
526
+ {
527
+ "value": "text",
528
+ "type": "string"
529
+ },
530
+ {
531
+ "value": "url",
532
+ "type": "string"
533
+ },
534
+ {
535
+ "type": "string & {}"
536
+ }
537
+ ],
538
+ "optional": true,
539
+ "required": false,
540
+ "getter": false,
541
+ "setter": false
542
+ },
543
+ {
544
+ "name": "pattern",
545
+ "type": "string",
546
+ "complexType": {
547
+ "original": "string",
548
+ "resolved": "string",
549
+ "references": {}
550
+ },
551
+ "mutable": false,
552
+ "attr": "pattern",
553
+ "reflectToAttr": false,
554
+ "docs": "Regex pattern for input validation.",
555
+ "docsTags": [],
556
+ "values": [
557
+ {
558
+ "type": "string"
559
+ }
560
+ ],
561
+ "optional": true,
562
+ "required": false,
563
+ "getter": false,
564
+ "setter": false
565
+ },
566
+ {
567
+ "name": "type",
568
+ "type": "\"email\" | \"number\" | \"password\" | \"tel\" | \"text\" | \"url\" | string & {}",
569
+ "complexType": {
570
+ "original": "InputType",
571
+ "resolved": "\"email\" | \"number\" | \"password\" | \"tel\" | \"text\" | \"url\" | string & {}",
572
+ "references": {
573
+ "InputType": {
574
+ "location": "local",
575
+ "path": "/home/runner/work/j26-web-components/j26-web-components/packages/ui-webc/src/components/input/input.tsx",
576
+ "id": "src/components/input/input.tsx::InputType"
577
+ }
578
+ }
579
+ },
580
+ "mutable": false,
581
+ "attr": "type",
582
+ "reflectToAttr": false,
583
+ "docs": "Type of input element. If you need a number input, read the accessibility\nsection of this MDN article first:\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/number#accessibility",
584
+ "docsTags": [
585
+ {
586
+ "name": "default",
587
+ "text": "\"text\""
588
+ }
589
+ ],
590
+ "default": "\"text\"",
591
+ "values": [
592
+ {
593
+ "value": "email",
594
+ "type": "string"
595
+ },
596
+ {
597
+ "value": "number",
598
+ "type": "string"
599
+ },
600
+ {
601
+ "value": "password",
602
+ "type": "string"
603
+ },
604
+ {
605
+ "value": "tel",
606
+ "type": "string"
607
+ },
608
+ {
609
+ "value": "text",
610
+ "type": "string"
611
+ },
612
+ {
613
+ "value": "url",
614
+ "type": "string"
615
+ },
616
+ {
617
+ "type": "string & {}"
618
+ }
619
+ ],
620
+ "optional": false,
621
+ "required": false,
622
+ "getter": false,
623
+ "setter": false
624
+ },
625
+ {
626
+ "name": "validate",
627
+ "type": "(value: string) => string",
628
+ "complexType": {
629
+ "original": "(value: string) => string | null",
630
+ "resolved": "(value: string) => string",
631
+ "references": {}
632
+ },
633
+ "mutable": false,
634
+ "reflectToAttr": false,
635
+ "docs": "Custom validation function run on top of the implicit validation performed\nby the browser. Return a string with the validation message to mark the\ninput as invalid, or null to mark it as valid.",
636
+ "docsTags": [],
637
+ "values": [
638
+ {
639
+ "type": "(value: string) => string"
640
+ }
641
+ ],
642
+ "optional": true,
643
+ "required": false,
644
+ "getter": false,
645
+ "setter": false
646
+ },
647
+ {
648
+ "name": "value",
649
+ "type": "string",
650
+ "complexType": {
651
+ "original": "string",
652
+ "resolved": "string",
653
+ "references": {}
654
+ },
655
+ "mutable": false,
656
+ "attr": "value",
657
+ "reflectToAttr": false,
658
+ "docs": "Value of the input element, in case you want to control it yourself.",
659
+ "docsTags": [
660
+ {
661
+ "name": "default",
662
+ "text": "\"\""
663
+ }
664
+ ],
665
+ "default": "\"\"",
666
+ "values": [
667
+ {
668
+ "type": "string"
669
+ }
670
+ ],
671
+ "optional": false,
672
+ "required": false,
673
+ "getter": false,
674
+ "setter": false
675
+ }
676
+ ],
677
+ "methods": [],
678
+ "events": [
679
+ {
680
+ "event": "_fieldId",
681
+ "detail": "string",
682
+ "bubbles": true,
683
+ "complexType": {
684
+ "original": "string",
685
+ "resolved": "string",
686
+ "references": {}
687
+ },
688
+ "cancelable": true,
689
+ "composed": true,
690
+ "docs": "Internal event used for form field association.",
691
+ "docsTags": []
692
+ },
693
+ {
694
+ "event": "scoutBlur",
695
+ "detail": "void",
696
+ "bubbles": true,
697
+ "complexType": {
698
+ "original": "void",
699
+ "resolved": "void",
700
+ "references": {}
701
+ },
702
+ "cancelable": true,
703
+ "composed": true,
704
+ "docs": "",
705
+ "docsTags": []
706
+ },
707
+ {
708
+ "event": "scoutInputChange",
709
+ "detail": "{ value: string; element: HTMLInputElement; }",
710
+ "bubbles": true,
711
+ "complexType": {
712
+ "original": "{\n value: string;\n element: HTMLInputElement;\n }",
713
+ "resolved": "{ value: string; element: HTMLInputElement; }",
714
+ "references": {
715
+ "HTMLInputElement": {
716
+ "location": "global",
717
+ "id": "global::HTMLInputElement"
718
+ }
719
+ }
720
+ },
721
+ "cancelable": true,
722
+ "composed": true,
723
+ "docs": "",
724
+ "docsTags": []
725
+ }
726
+ ],
727
+ "listeners": [],
728
+ "styles": [],
729
+ "slots": [],
730
+ "parts": [],
731
+ "dependents": [],
732
+ "dependencies": [],
733
+ "dependencyGraph": {}
342
734
  }
343
735
  ],
344
736
  "typeLibrary": {
@@ -351,6 +743,16 @@
351
743
  "declaration": "export type Variant = \"primary\" | \"outlined\" | \"text\" | \"caution\" | \"danger\";",
352
744
  "docstring": "",
353
745
  "path": "src/components/button/button.tsx"
746
+ },
747
+ "src/components/input/input.tsx::InputType": {
748
+ "declaration": "export type InputType =\n | \"text\"\n | \"password\"\n | \"email\"\n | \"number\"\n | \"tel\"\n | \"url\"\n // Hack to suggest above value but still allow any other string value\n | (string & {});",
749
+ "docstring": "",
750
+ "path": "src/components/input/input.tsx"
751
+ },
752
+ "src/components/input/input.tsx::InputMode": {
753
+ "declaration": "export type InputMode =\n | \"none\"\n | \"text\"\n | \"decimal\"\n | \"numeric\"\n | \"tel\"\n | \"search\"\n | \"email\"\n | \"url\"\n // Hack to suggest above value but still allow any other string value\n | (string & {});",
754
+ "docstring": "",
755
+ "path": "src/components/input/input.tsx"
354
756
  }
355
757
  }
356
758
  }