@pontive/pontkit-core 1.36.0 → 1.37.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.
package/catalog.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.36.0",
2
+ "version": "1.37.0",
3
3
  "elements": [
4
4
  {
5
5
  "tag": "pont-otp-resend",
@@ -2347,6 +2347,1980 @@
2347
2347
  }
2348
2348
  ],
2349
2349
  "insertion_presets": {}
2350
+ },
2351
+ {
2352
+ "tag": "pont2-otp-resend",
2353
+ "label": "OTP Resend",
2354
+ "description": "Countdown that reveals a resend button which fires a flow event.",
2355
+ "category": "buttons",
2356
+ "container": false,
2357
+ "is_field": false,
2358
+ "is_trigger": true,
2359
+ "requires_condition": null,
2360
+ "attributes": [
2361
+ {
2362
+ "key": "duration",
2363
+ "type": "number",
2364
+ "label": "Countdown Seconds",
2365
+ "default": 60
2366
+ },
2367
+ {
2368
+ "key": "event",
2369
+ "type": "event",
2370
+ "label": "Resend Flow Event",
2371
+ "description": "Loginflow event fired when the resend button is clicked."
2372
+ },
2373
+ {
2374
+ "key": "label",
2375
+ "type": "string",
2376
+ "label": "Resend Button Label"
2377
+ },
2378
+ {
2379
+ "key": "countdown-text",
2380
+ "type": "string",
2381
+ "label": "Countdown Text",
2382
+ "description": "Text displayed before the remaining time."
2383
+ }
2384
+ ],
2385
+ "insertion_presets": {}
2386
+ },
2387
+ {
2388
+ "tag": "pont2-passkey-button",
2389
+ "label": "Passkey Button",
2390
+ "description": "Starts passkey authentication.",
2391
+ "category": "buttons",
2392
+ "container": false,
2393
+ "is_field": false,
2394
+ "is_trigger": true,
2395
+ "requires_condition": "passkeys",
2396
+ "attributes": [
2397
+ {
2398
+ "key": "variant",
2399
+ "type": "enum",
2400
+ "label": "Variant",
2401
+ "options": [
2402
+ "default",
2403
+ "secondary",
2404
+ "outline",
2405
+ "ghost"
2406
+ ],
2407
+ "default": "secondary"
2408
+ },
2409
+ {
2410
+ "key": "size",
2411
+ "type": "enum",
2412
+ "label": "Size",
2413
+ "options": [
2414
+ "xs",
2415
+ "sm",
2416
+ "default",
2417
+ "lg"
2418
+ ],
2419
+ "default": "default"
2420
+ },
2421
+ {
2422
+ "key": "content",
2423
+ "type": "enum",
2424
+ "label": "Button Content",
2425
+ "options": [
2426
+ "icon",
2427
+ "icon-label",
2428
+ "label"
2429
+ ],
2430
+ "default": "label"
2431
+ },
2432
+ {
2433
+ "key": "icon-align",
2434
+ "type": "enum",
2435
+ "label": "Icon Position",
2436
+ "options": [
2437
+ "start",
2438
+ "end"
2439
+ ],
2440
+ "default": "start"
2441
+ },
2442
+ {
2443
+ "key": "label",
2444
+ "type": "string",
2445
+ "label": "Label",
2446
+ "default": "Continue with Passkey"
2447
+ },
2448
+ {
2449
+ "key": "event",
2450
+ "type": "event",
2451
+ "label": "Flow Event",
2452
+ "description": "Loginflow event fired on click."
2453
+ },
2454
+ {
2455
+ "key": "disabled",
2456
+ "type": "boolean",
2457
+ "label": "Disabled",
2458
+ "default": false
2459
+ },
2460
+ {
2461
+ "key": "loading",
2462
+ "type": "boolean",
2463
+ "label": "Loading",
2464
+ "default": false
2465
+ }
2466
+ ],
2467
+ "insertion_presets": {
2468
+ "label": "Continue with Passkey",
2469
+ "event": "signin_with_passkey"
2470
+ }
2471
+ },
2472
+ {
2473
+ "tag": "pont2-provider-button",
2474
+ "label": "Single Provider Button",
2475
+ "description": "One social sign-in button.",
2476
+ "category": "buttons",
2477
+ "container": false,
2478
+ "is_field": false,
2479
+ "is_trigger": true,
2480
+ "requires_condition": "oauth",
2481
+ "attributes": [
2482
+ {
2483
+ "key": "provider",
2484
+ "type": "enum",
2485
+ "label": "Provider",
2486
+ "required": true,
2487
+ "options": [
2488
+ "apple",
2489
+ "discord",
2490
+ "facebook",
2491
+ "github",
2492
+ "google",
2493
+ "linkedin",
2494
+ "meta",
2495
+ "microsoft",
2496
+ "x"
2497
+ ]
2498
+ },
2499
+ {
2500
+ "key": "variant",
2501
+ "type": "enum",
2502
+ "label": "Variant",
2503
+ "options": [
2504
+ "default",
2505
+ "secondary",
2506
+ "outline",
2507
+ "ghost"
2508
+ ],
2509
+ "default": "outline"
2510
+ },
2511
+ {
2512
+ "key": "size",
2513
+ "type": "enum",
2514
+ "label": "Size",
2515
+ "options": [
2516
+ "xs",
2517
+ "sm",
2518
+ "default",
2519
+ "lg"
2520
+ ],
2521
+ "default": "default"
2522
+ },
2523
+ {
2524
+ "key": "content",
2525
+ "type": "enum",
2526
+ "label": "Button Content",
2527
+ "options": [
2528
+ "icon",
2529
+ "icon-label",
2530
+ "label"
2531
+ ],
2532
+ "default": "icon-label"
2533
+ },
2534
+ {
2535
+ "key": "icon-align",
2536
+ "type": "enum",
2537
+ "label": "Icon Position",
2538
+ "options": [
2539
+ "start",
2540
+ "end"
2541
+ ],
2542
+ "default": "start"
2543
+ },
2544
+ {
2545
+ "key": "prompt",
2546
+ "type": "string",
2547
+ "label": "Label Prefix",
2548
+ "description": "Text prepended to the provider name in the default label. Ignored when a label is set explicitly.",
2549
+ "default": "Continue with"
2550
+ },
2551
+ {
2552
+ "key": "label",
2553
+ "type": "string",
2554
+ "label": "Label"
2555
+ },
2556
+ {
2557
+ "key": "event",
2558
+ "type": "event",
2559
+ "label": "Flow Event",
2560
+ "description": "Event identifier forwarded to the authentication service on click."
2561
+ },
2562
+ {
2563
+ "key": "disabled",
2564
+ "type": "boolean",
2565
+ "label": "Disabled",
2566
+ "default": false
2567
+ },
2568
+ {
2569
+ "key": "loading",
2570
+ "type": "boolean",
2571
+ "label": "Loading",
2572
+ "default": false
2573
+ }
2574
+ ],
2575
+ "insertion_presets": {
2576
+ "provider": "google"
2577
+ }
2578
+ },
2579
+ {
2580
+ "tag": "pont2-provider-field",
2581
+ "label": "Social Providers",
2582
+ "description": "Grid of social sign-in buttons.",
2583
+ "category": "buttons",
2584
+ "container": false,
2585
+ "is_field": false,
2586
+ "is_trigger": true,
2587
+ "requires_condition": "oauth",
2588
+ "attributes": [
2589
+ {
2590
+ "key": "providers",
2591
+ "type": "json",
2592
+ "label": "Providers",
2593
+ "description": "JSON array of \"apple\", \"discord\", \"facebook\", \"github\", \"google\", \"linkedin\", \"meta\", \"microsoft\", \"x\".",
2594
+ "default": []
2595
+ },
2596
+ {
2597
+ "key": "content",
2598
+ "type": "enum",
2599
+ "label": "Button Content",
2600
+ "options": [
2601
+ "icon",
2602
+ "icon-label",
2603
+ "label"
2604
+ ]
2605
+ },
2606
+ {
2607
+ "key": "variant",
2608
+ "type": "enum",
2609
+ "label": "Variant",
2610
+ "options": [
2611
+ "default",
2612
+ "secondary",
2613
+ "outline",
2614
+ "ghost"
2615
+ ]
2616
+ },
2617
+ {
2618
+ "key": "size",
2619
+ "type": "enum",
2620
+ "label": "Size",
2621
+ "options": [
2622
+ "xs",
2623
+ "sm",
2624
+ "default",
2625
+ "lg"
2626
+ ]
2627
+ },
2628
+ {
2629
+ "key": "prompt",
2630
+ "type": "string",
2631
+ "label": "Label Prefix"
2632
+ },
2633
+ {
2634
+ "key": "icon-align",
2635
+ "type": "enum",
2636
+ "label": "Icon Position",
2637
+ "options": [
2638
+ "start",
2639
+ "end"
2640
+ ]
2641
+ },
2642
+ {
2643
+ "key": "label",
2644
+ "type": "string",
2645
+ "label": "Label"
2646
+ },
2647
+ {
2648
+ "key": "disabled",
2649
+ "type": "boolean",
2650
+ "label": "Disabled",
2651
+ "default": false
2652
+ },
2653
+ {
2654
+ "key": "loading",
2655
+ "type": "boolean",
2656
+ "label": "Loading",
2657
+ "default": false
2658
+ },
2659
+ {
2660
+ "key": "event",
2661
+ "type": "event",
2662
+ "label": "Flow Event",
2663
+ "description": "Event passed to each of the provider buttons."
2664
+ },
2665
+ {
2666
+ "key": "overrides",
2667
+ "type": "json",
2668
+ "label": "Provider Overrides",
2669
+ "description": "JSON array of provider-specific prop overrides.",
2670
+ "default": []
2671
+ }
2672
+ ],
2673
+ "insertion_presets": {
2674
+ "providers": "[\"google\"]"
2675
+ }
2676
+ },
2677
+ {
2678
+ "tag": "pont2-submit-button",
2679
+ "label": "Submit Button",
2680
+ "description": "Validates the form, collects field data, and fires the flow event.",
2681
+ "category": "buttons",
2682
+ "container": false,
2683
+ "is_field": false,
2684
+ "is_trigger": true,
2685
+ "requires_condition": null,
2686
+ "attributes": [
2687
+ {
2688
+ "key": "variant",
2689
+ "type": "enum",
2690
+ "label": "Variant",
2691
+ "options": [
2692
+ "default",
2693
+ "secondary",
2694
+ "outline",
2695
+ "ghost"
2696
+ ],
2697
+ "default": "default"
2698
+ },
2699
+ {
2700
+ "key": "size",
2701
+ "type": "enum",
2702
+ "label": "Size",
2703
+ "options": [
2704
+ "xs",
2705
+ "sm",
2706
+ "default",
2707
+ "lg"
2708
+ ],
2709
+ "default": "default"
2710
+ },
2711
+ {
2712
+ "key": "content",
2713
+ "type": "enum",
2714
+ "label": "Button Content",
2715
+ "options": [
2716
+ "icon",
2717
+ "icon-label",
2718
+ "label"
2719
+ ],
2720
+ "default": "label"
2721
+ },
2722
+ {
2723
+ "key": "icon-align",
2724
+ "type": "enum",
2725
+ "label": "Icon Position",
2726
+ "options": [
2727
+ "start",
2728
+ "end"
2729
+ ],
2730
+ "default": "end"
2731
+ },
2732
+ {
2733
+ "key": "label",
2734
+ "type": "string",
2735
+ "label": "Label",
2736
+ "default": "Submit"
2737
+ },
2738
+ {
2739
+ "key": "event",
2740
+ "type": "event",
2741
+ "label": "Flow Event",
2742
+ "description": "Loginflow event fired on submit.",
2743
+ "required": true
2744
+ },
2745
+ {
2746
+ "key": "disabled",
2747
+ "type": "boolean",
2748
+ "label": "Disabled",
2749
+ "default": false
2750
+ },
2751
+ {
2752
+ "key": "loading",
2753
+ "type": "boolean",
2754
+ "label": "Loading",
2755
+ "default": false
2756
+ }
2757
+ ],
2758
+ "insertion_presets": {
2759
+ "label": "Continue",
2760
+ "event": "signin_with_password"
2761
+ }
2762
+ },
2763
+ {
2764
+ "tag": "pont2-alert",
2765
+ "label": "Alert",
2766
+ "description": "Inline status message.",
2767
+ "category": "feedback",
2768
+ "container": false,
2769
+ "is_field": false,
2770
+ "is_trigger": false,
2771
+ "requires_condition": null,
2772
+ "attributes": [
2773
+ {
2774
+ "key": "status",
2775
+ "type": "enum",
2776
+ "label": "Status",
2777
+ "options": [
2778
+ "default",
2779
+ "error",
2780
+ "warning",
2781
+ "success",
2782
+ "info"
2783
+ ],
2784
+ "default": "default"
2785
+ },
2786
+ {
2787
+ "key": "heading",
2788
+ "type": "string",
2789
+ "label": "Title",
2790
+ "description": "Defaults to a title derived from the status."
2791
+ },
2792
+ {
2793
+ "key": "description",
2794
+ "type": "string",
2795
+ "label": "Description"
2796
+ },
2797
+ {
2798
+ "key": "icon",
2799
+ "type": "boolean",
2800
+ "label": "Show Icon",
2801
+ "default": false
2802
+ }
2803
+ ],
2804
+ "insertion_presets": {}
2805
+ },
2806
+ {
2807
+ "tag": "pont2-countdown",
2808
+ "label": "Countdown Redirect",
2809
+ "description": "Counts down and redirects the browser.",
2810
+ "category": "feedback",
2811
+ "container": false,
2812
+ "is_field": false,
2813
+ "is_trigger": false,
2814
+ "requires_condition": null,
2815
+ "attributes": [
2816
+ {
2817
+ "key": "content",
2818
+ "type": "string",
2819
+ "label": "Text"
2820
+ },
2821
+ {
2822
+ "key": "duration",
2823
+ "type": "number",
2824
+ "label": "Seconds",
2825
+ "default": 5
2826
+ },
2827
+ {
2828
+ "key": "redirect-url",
2829
+ "type": "url",
2830
+ "label": "Redirect URL"
2831
+ },
2832
+ {
2833
+ "key": "id",
2834
+ "type": "string",
2835
+ "label": "ID"
2836
+ }
2837
+ ],
2838
+ "insertion_presets": {}
2839
+ },
2840
+ {
2841
+ "tag": "pont2-confirm-field",
2842
+ "label": "Confirm Password Field",
2843
+ "description": "Must match the paired password field.",
2844
+ "category": "fields",
2845
+ "container": false,
2846
+ "is_field": true,
2847
+ "is_trigger": false,
2848
+ "requires_condition": null,
2849
+ "attributes": [
2850
+ {
2851
+ "key": "input-id",
2852
+ "type": "string",
2853
+ "label": "Input ID",
2854
+ "description": "ID given to the input part, forwarded to its inner input element."
2855
+ },
2856
+ {
2857
+ "key": "name",
2858
+ "type": "string",
2859
+ "label": "Field Name",
2860
+ "description": "Key used in the submitted form data.",
2861
+ "default": "confirm"
2862
+ },
2863
+ {
2864
+ "key": "value",
2865
+ "type": "string",
2866
+ "label": "Default Value"
2867
+ },
2868
+ {
2869
+ "key": "label",
2870
+ "type": "string",
2871
+ "label": "Label",
2872
+ "default": "Confirm Password"
2873
+ },
2874
+ {
2875
+ "key": "placeholder",
2876
+ "type": "string",
2877
+ "label": "Placeholder"
2878
+ },
2879
+ {
2880
+ "key": "description",
2881
+ "type": "string",
2882
+ "label": "Description"
2883
+ },
2884
+ {
2885
+ "key": "variant",
2886
+ "type": "enum",
2887
+ "label": "Variant",
2888
+ "description": "When \"toggle\", renders a hide/show visibility button.",
2889
+ "options": [
2890
+ "toggle",
2891
+ "simple"
2892
+ ],
2893
+ "default": "toggle"
2894
+ },
2895
+ {
2896
+ "key": "mark",
2897
+ "type": "string",
2898
+ "label": "Label Mark",
2899
+ "description": "Custom text used in the mark part of the field label."
2900
+ },
2901
+ {
2902
+ "key": "caret",
2903
+ "type": "boolean",
2904
+ "label": "Show Required Asterisk",
2905
+ "default": false
2906
+ },
2907
+ {
2908
+ "key": "autocomplete",
2909
+ "type": "string",
2910
+ "label": "Autocomplete",
2911
+ "description": "HTML autocomplete hint forwarded to the inner input element."
2912
+ },
2913
+ {
2914
+ "key": "disabled",
2915
+ "type": "boolean",
2916
+ "label": "Disabled",
2917
+ "default": false
2918
+ },
2919
+ {
2920
+ "key": "required",
2921
+ "type": "boolean",
2922
+ "label": "Required",
2923
+ "default": false
2924
+ },
2925
+ {
2926
+ "key": "pair",
2927
+ "type": "string",
2928
+ "label": "Paired Field Selector",
2929
+ "description": "CSS selector for the paired password field element.",
2930
+ "default": "pont2-password-field"
2931
+ },
2932
+ {
2933
+ "key": "validation",
2934
+ "type": "enum",
2935
+ "label": "Validation Depth",
2936
+ "description": "Only enforces the required check when \"simple\".",
2937
+ "options": [
2938
+ "default",
2939
+ "simple"
2940
+ ],
2941
+ "default": "default"
2942
+ },
2943
+ {
2944
+ "key": "required-error",
2945
+ "type": "string",
2946
+ "label": "Required Error Message"
2947
+ },
2948
+ {
2949
+ "key": "match-error",
2950
+ "type": "string",
2951
+ "label": "Mismatch Error Message"
2952
+ }
2953
+ ],
2954
+ "insertion_presets": {
2955
+ "name": "confirm",
2956
+ "required": true
2957
+ }
2958
+ },
2959
+ {
2960
+ "tag": "pont2-email-field",
2961
+ "label": "Email Field",
2962
+ "description": "Email input with format validation.",
2963
+ "category": "fields",
2964
+ "container": false,
2965
+ "is_field": true,
2966
+ "is_trigger": false,
2967
+ "requires_condition": null,
2968
+ "attributes": [
2969
+ {
2970
+ "key": "input-id",
2971
+ "type": "string",
2972
+ "label": "Input ID",
2973
+ "description": "ID given to the input part, forwarded to its inner input element."
2974
+ },
2975
+ {
2976
+ "key": "name",
2977
+ "type": "string",
2978
+ "label": "Field Name",
2979
+ "description": "Key used in the submitted form data.",
2980
+ "default": "email"
2981
+ },
2982
+ {
2983
+ "key": "value",
2984
+ "type": "string",
2985
+ "label": "Default Value"
2986
+ },
2987
+ {
2988
+ "key": "label",
2989
+ "type": "string",
2990
+ "label": "Label",
2991
+ "default": "Email"
2992
+ },
2993
+ {
2994
+ "key": "placeholder",
2995
+ "type": "string",
2996
+ "label": "Placeholder"
2997
+ },
2998
+ {
2999
+ "key": "description",
3000
+ "type": "string",
3001
+ "label": "Description"
3002
+ },
3003
+ {
3004
+ "key": "mark",
3005
+ "type": "string",
3006
+ "label": "Label Mark",
3007
+ "description": "Custom text used in the mark part of the field label."
3008
+ },
3009
+ {
3010
+ "key": "caret",
3011
+ "type": "boolean",
3012
+ "label": "Show Required Asterisk",
3013
+ "default": false
3014
+ },
3015
+ {
3016
+ "key": "autocomplete",
3017
+ "type": "string",
3018
+ "label": "Autocomplete",
3019
+ "description": "HTML autocomplete hint forwarded to the inner input element."
3020
+ },
3021
+ {
3022
+ "key": "disabled",
3023
+ "type": "boolean",
3024
+ "label": "Disabled",
3025
+ "default": false
3026
+ },
3027
+ {
3028
+ "key": "required",
3029
+ "type": "boolean",
3030
+ "label": "Required",
3031
+ "default": false
3032
+ },
3033
+ {
3034
+ "key": "pattern",
3035
+ "type": "string",
3036
+ "label": "Format Pattern",
3037
+ "description": "Regex pattern used to validate the email format."
3038
+ },
3039
+ {
3040
+ "key": "validation",
3041
+ "type": "enum",
3042
+ "label": "Validation Depth",
3043
+ "description": "Only enforces the required check when \"simple\".",
3044
+ "options": [
3045
+ "default",
3046
+ "simple"
3047
+ ],
3048
+ "default": "default"
3049
+ },
3050
+ {
3051
+ "key": "required-error",
3052
+ "type": "string",
3053
+ "label": "Required Error Message"
3054
+ },
3055
+ {
3056
+ "key": "format-error",
3057
+ "type": "string",
3058
+ "label": "Format Error Message"
3059
+ }
3060
+ ],
3061
+ "insertion_presets": {
3062
+ "name": "email",
3063
+ "required": true
3064
+ }
3065
+ },
3066
+ {
3067
+ "tag": "pont2-identifier-field",
3068
+ "label": "Identifier Field",
3069
+ "description": "Combined email / username / phone login identifier input.",
3070
+ "category": "fields",
3071
+ "container": false,
3072
+ "is_field": true,
3073
+ "is_trigger": false,
3074
+ "requires_condition": null,
3075
+ "attributes": [
3076
+ {
3077
+ "key": "input-id",
3078
+ "type": "string",
3079
+ "label": "Input ID",
3080
+ "description": "ID given to the input part, forwarded to its inner input element."
3081
+ },
3082
+ {
3083
+ "key": "name",
3084
+ "type": "string",
3085
+ "label": "Field Name",
3086
+ "description": "Key used in the submitted form data.",
3087
+ "default": "login_id"
3088
+ },
3089
+ {
3090
+ "key": "value",
3091
+ "type": "string",
3092
+ "label": "Default Value"
3093
+ },
3094
+ {
3095
+ "key": "identifiers",
3096
+ "type": "json",
3097
+ "label": "Accepted Identifiers",
3098
+ "description": "JSON array of \"email\", \"phone\", \"username\".",
3099
+ "default": []
3100
+ },
3101
+ {
3102
+ "key": "label",
3103
+ "type": "string",
3104
+ "label": "Label",
3105
+ "description": "Defaults to a label derived from the accepted identifiers."
3106
+ },
3107
+ {
3108
+ "key": "placeholder",
3109
+ "type": "string",
3110
+ "label": "Placeholder"
3111
+ },
3112
+ {
3113
+ "key": "description",
3114
+ "type": "string",
3115
+ "label": "Description"
3116
+ },
3117
+ {
3118
+ "key": "mark",
3119
+ "type": "string",
3120
+ "label": "Label Mark",
3121
+ "description": "Custom text used in the mark part of the field label."
3122
+ },
3123
+ {
3124
+ "key": "caret",
3125
+ "type": "boolean",
3126
+ "label": "Show Required Asterisk",
3127
+ "default": false
3128
+ },
3129
+ {
3130
+ "key": "autocomplete",
3131
+ "type": "string",
3132
+ "label": "Autocomplete",
3133
+ "description": "HTML autocomplete hint forwarded to the inner input element."
3134
+ },
3135
+ {
3136
+ "key": "disabled",
3137
+ "type": "boolean",
3138
+ "label": "Disabled",
3139
+ "default": false
3140
+ },
3141
+ {
3142
+ "key": "required",
3143
+ "type": "boolean",
3144
+ "label": "Required",
3145
+ "default": false
3146
+ },
3147
+ {
3148
+ "key": "validation",
3149
+ "type": "enum",
3150
+ "label": "Validation Depth",
3151
+ "description": "Only enforces the required check when \"simple\".",
3152
+ "options": [
3153
+ "default",
3154
+ "simple"
3155
+ ],
3156
+ "default": "default"
3157
+ },
3158
+ {
3159
+ "key": "required-error",
3160
+ "type": "string",
3161
+ "label": "Required Error Message"
3162
+ }
3163
+ ],
3164
+ "insertion_presets": {
3165
+ "name": "login_id",
3166
+ "required": true
3167
+ }
3168
+ },
3169
+ {
3170
+ "tag": "pont2-name-field",
3171
+ "label": "Name Field",
3172
+ "description": "Person-name input.",
3173
+ "category": "fields",
3174
+ "container": false,
3175
+ "is_field": true,
3176
+ "is_trigger": false,
3177
+ "requires_condition": null,
3178
+ "attributes": [
3179
+ {
3180
+ "key": "input-id",
3181
+ "type": "string",
3182
+ "label": "Input ID",
3183
+ "description": "ID given to the input part, forwarded to its inner input element."
3184
+ },
3185
+ {
3186
+ "key": "name",
3187
+ "type": "string",
3188
+ "label": "Field Name",
3189
+ "description": "Key used in the submitted form data.",
3190
+ "default": "name"
3191
+ },
3192
+ {
3193
+ "key": "value",
3194
+ "type": "string",
3195
+ "label": "Default Value"
3196
+ },
3197
+ {
3198
+ "key": "label",
3199
+ "type": "string",
3200
+ "label": "Label",
3201
+ "default": "Name"
3202
+ },
3203
+ {
3204
+ "key": "placeholder",
3205
+ "type": "string",
3206
+ "label": "Placeholder"
3207
+ },
3208
+ {
3209
+ "key": "description",
3210
+ "type": "string",
3211
+ "label": "Description"
3212
+ },
3213
+ {
3214
+ "key": "mark",
3215
+ "type": "string",
3216
+ "label": "Label Mark",
3217
+ "description": "Custom text used in the mark part of the field label."
3218
+ },
3219
+ {
3220
+ "key": "caret",
3221
+ "type": "boolean",
3222
+ "label": "Show Required Asterisk",
3223
+ "default": false
3224
+ },
3225
+ {
3226
+ "key": "autocomplete",
3227
+ "type": "string",
3228
+ "label": "Autocomplete",
3229
+ "description": "HTML autocomplete hint forwarded to the inner input element."
3230
+ },
3231
+ {
3232
+ "key": "disabled",
3233
+ "type": "boolean",
3234
+ "label": "Disabled",
3235
+ "default": false
3236
+ },
3237
+ {
3238
+ "key": "required",
3239
+ "type": "boolean",
3240
+ "label": "Required",
3241
+ "default": false
3242
+ },
3243
+ {
3244
+ "key": "minlength",
3245
+ "type": "number",
3246
+ "label": "Min Length"
3247
+ },
3248
+ {
3249
+ "key": "maxlength",
3250
+ "type": "number",
3251
+ "label": "Max Length"
3252
+ },
3253
+ {
3254
+ "key": "pattern",
3255
+ "type": "string",
3256
+ "label": "Format Pattern",
3257
+ "description": "Regex pattern used to validate the name format."
3258
+ },
3259
+ {
3260
+ "key": "validation",
3261
+ "type": "enum",
3262
+ "label": "Validation Depth",
3263
+ "description": "Only enforces the required check when \"simple\".",
3264
+ "options": [
3265
+ "default",
3266
+ "simple"
3267
+ ],
3268
+ "default": "default"
3269
+ },
3270
+ {
3271
+ "key": "required-error",
3272
+ "type": "string",
3273
+ "label": "Required Error Message"
3274
+ },
3275
+ {
3276
+ "key": "minlength-error",
3277
+ "type": "string",
3278
+ "label": "Min Length Error Message"
3279
+ },
3280
+ {
3281
+ "key": "maxlength-error",
3282
+ "type": "string",
3283
+ "label": "Max Length Error Message"
3284
+ },
3285
+ {
3286
+ "key": "format-error",
3287
+ "type": "string",
3288
+ "label": "Format Error Message"
3289
+ }
3290
+ ],
3291
+ "insertion_presets": {
3292
+ "name": "name"
3293
+ }
3294
+ },
3295
+ {
3296
+ "tag": "pont2-otp-field",
3297
+ "label": "One-Time Code",
3298
+ "description": "Segmented code input with optional auto-submit and resend.",
3299
+ "category": "fields",
3300
+ "container": false,
3301
+ "is_field": true,
3302
+ "is_trigger": true,
3303
+ "requires_condition": null,
3304
+ "attributes": [
3305
+ {
3306
+ "key": "required",
3307
+ "type": "boolean",
3308
+ "label": "Required",
3309
+ "default": false
3310
+ },
3311
+ {
3312
+ "key": "required-error",
3313
+ "type": "string",
3314
+ "label": "Required Error Message"
3315
+ },
3316
+ {
3317
+ "key": "incomplete-error",
3318
+ "type": "string",
3319
+ "label": "Incomplete Error Message"
3320
+ },
3321
+ {
3322
+ "key": "layout",
3323
+ "type": "enum",
3324
+ "label": "Variant",
3325
+ "options": [
3326
+ "digits_only",
3327
+ "with_spacing",
3328
+ "with_separator",
3329
+ "simple"
3330
+ ],
3331
+ "default": "digits_only"
3332
+ },
3333
+ {
3334
+ "key": "length",
3335
+ "type": "number",
3336
+ "label": "Code Length",
3337
+ "default": 6
3338
+ },
3339
+ {
3340
+ "key": "name",
3341
+ "type": "string",
3342
+ "label": "Data Key",
3343
+ "description": "Key used for the code in the submitted data.",
3344
+ "default": "code"
3345
+ },
3346
+ {
3347
+ "key": "disabled",
3348
+ "type": "boolean",
3349
+ "label": "Disabled",
3350
+ "default": false
3351
+ },
3352
+ {
3353
+ "key": "auto-submit",
3354
+ "type": "boolean",
3355
+ "label": "Auto-Submit",
3356
+ "description": "When set, fires the flow event directly on completion instead of behaving as a form field.",
3357
+ "default": false
3358
+ },
3359
+ {
3360
+ "key": "event",
3361
+ "type": "event",
3362
+ "label": "Flow Event",
3363
+ "description": "Loginflow event fired on completion when auto-submit is set."
3364
+ },
3365
+ {
3366
+ "key": "id",
3367
+ "type": "string",
3368
+ "label": "ID"
3369
+ }
3370
+ ],
3371
+ "insertion_presets": {
3372
+ "name": "code",
3373
+ "auto-submit": true,
3374
+ "event": "verify_code"
3375
+ }
3376
+ },
3377
+ {
3378
+ "tag": "pont2-password-field",
3379
+ "label": "Password Field",
3380
+ "description": "Password input with visibility toggle, strength rules, and optional forgot-password link.",
3381
+ "category": "fields",
3382
+ "container": false,
3383
+ "is_field": true,
3384
+ "is_trigger": true,
3385
+ "requires_condition": "password",
3386
+ "attributes": [
3387
+ {
3388
+ "key": "input-id",
3389
+ "type": "string",
3390
+ "label": "Input ID",
3391
+ "description": "ID given to the input part, forwarded to its inner input element."
3392
+ },
3393
+ {
3394
+ "key": "name",
3395
+ "type": "string",
3396
+ "label": "Field Name",
3397
+ "description": "Key used in the submitted form data.",
3398
+ "default": "password"
3399
+ },
3400
+ {
3401
+ "key": "value",
3402
+ "type": "string",
3403
+ "label": "Default Value"
3404
+ },
3405
+ {
3406
+ "key": "label",
3407
+ "type": "string",
3408
+ "label": "Label",
3409
+ "default": "Password"
3410
+ },
3411
+ {
3412
+ "key": "placeholder",
3413
+ "type": "string",
3414
+ "label": "Placeholder"
3415
+ },
3416
+ {
3417
+ "key": "description",
3418
+ "type": "string",
3419
+ "label": "Description"
3420
+ },
3421
+ {
3422
+ "key": "variant",
3423
+ "type": "enum",
3424
+ "label": "Variant",
3425
+ "description": "When \"toggle\", renders a hide/show visibility button.",
3426
+ "options": [
3427
+ "toggle",
3428
+ "simple"
3429
+ ],
3430
+ "default": "toggle"
3431
+ },
3432
+ {
3433
+ "key": "mark",
3434
+ "type": "string",
3435
+ "label": "Label Mark",
3436
+ "description": "Custom text used in the mark part of the field label."
3437
+ },
3438
+ {
3439
+ "key": "caret",
3440
+ "type": "boolean",
3441
+ "label": "Show Required Asterisk",
3442
+ "default": false
3443
+ },
3444
+ {
3445
+ "key": "autocomplete",
3446
+ "type": "string",
3447
+ "label": "Autocomplete",
3448
+ "description": "HTML autocomplete hint forwarded to the inner input element."
3449
+ },
3450
+ {
3451
+ "key": "disabled",
3452
+ "type": "boolean",
3453
+ "label": "Disabled",
3454
+ "default": false
3455
+ },
3456
+ {
3457
+ "key": "required",
3458
+ "type": "boolean",
3459
+ "label": "Required",
3460
+ "default": false
3461
+ },
3462
+ {
3463
+ "key": "minlength",
3464
+ "type": "number",
3465
+ "label": "Min Length"
3466
+ },
3467
+ {
3468
+ "key": "maxlength",
3469
+ "type": "number",
3470
+ "label": "Max Length"
3471
+ },
3472
+ {
3473
+ "key": "rules",
3474
+ "type": "json",
3475
+ "label": "Strength Rules",
3476
+ "description": "JSON array of rules (\"uppercase\", \"lowercase\", \"number\", \"special\", or {pattern, error}).",
3477
+ "default": [
3478
+ {
3479
+ "name": "uppercase",
3480
+ "error": "Must contain an uppercase letter."
3481
+ },
3482
+ {
3483
+ "name": "lowercase",
3484
+ "error": "Must contain a lowercase letter."
3485
+ },
3486
+ {
3487
+ "name": "number",
3488
+ "error": "Must contain a number."
3489
+ },
3490
+ {
3491
+ "name": "special",
3492
+ "error": "Must contain a special character."
3493
+ }
3494
+ ]
3495
+ },
3496
+ {
3497
+ "key": "validation",
3498
+ "type": "enum",
3499
+ "label": "Validation Depth",
3500
+ "description": "Only enforces the required check when \"simple\".",
3501
+ "options": [
3502
+ "default",
3503
+ "simple"
3504
+ ],
3505
+ "default": "default"
3506
+ },
3507
+ {
3508
+ "key": "required-error",
3509
+ "type": "string",
3510
+ "label": "Required Error Message"
3511
+ },
3512
+ {
3513
+ "key": "minlength-error",
3514
+ "type": "string",
3515
+ "label": "Min Length Error Message"
3516
+ },
3517
+ {
3518
+ "key": "maxlength-error",
3519
+ "type": "string",
3520
+ "label": "Max Length Error Message"
3521
+ },
3522
+ {
3523
+ "key": "format-error",
3524
+ "type": "string",
3525
+ "label": "Format Error Message"
3526
+ },
3527
+ {
3528
+ "key": "forgot",
3529
+ "type": "boolean",
3530
+ "label": "Show Forgot Link",
3531
+ "default": false
3532
+ },
3533
+ {
3534
+ "key": "forgot-label",
3535
+ "type": "string",
3536
+ "label": "Forgot Link Label"
3537
+ },
3538
+ {
3539
+ "key": "forgot-event",
3540
+ "type": "event",
3541
+ "label": "Forgot Flow Event"
3542
+ }
3543
+ ],
3544
+ "insertion_presets": {
3545
+ "name": "password",
3546
+ "required": true
3547
+ }
3548
+ },
3549
+ {
3550
+ "tag": "pont2-phone-field",
3551
+ "label": "Phone Field",
3552
+ "description": "Phone-number input with format validation.",
3553
+ "category": "fields",
3554
+ "container": false,
3555
+ "is_field": true,
3556
+ "is_trigger": false,
3557
+ "requires_condition": null,
3558
+ "attributes": [
3559
+ {
3560
+ "key": "input-id",
3561
+ "type": "string",
3562
+ "label": "Input ID",
3563
+ "description": "ID given to the input part, forwarded to its inner input element."
3564
+ },
3565
+ {
3566
+ "key": "name",
3567
+ "type": "string",
3568
+ "label": "Field Name",
3569
+ "description": "Key used in the submitted form data.",
3570
+ "default": "phone"
3571
+ },
3572
+ {
3573
+ "key": "value",
3574
+ "type": "string",
3575
+ "label": "Default Value"
3576
+ },
3577
+ {
3578
+ "key": "label",
3579
+ "type": "string",
3580
+ "label": "Label",
3581
+ "default": "Phone"
3582
+ },
3583
+ {
3584
+ "key": "placeholder",
3585
+ "type": "string",
3586
+ "label": "Placeholder"
3587
+ },
3588
+ {
3589
+ "key": "description",
3590
+ "type": "string",
3591
+ "label": "Description"
3592
+ },
3593
+ {
3594
+ "key": "mark",
3595
+ "type": "string",
3596
+ "label": "Label Mark",
3597
+ "description": "Custom text used in the mark part of the field label."
3598
+ },
3599
+ {
3600
+ "key": "caret",
3601
+ "type": "boolean",
3602
+ "label": "Show Required Asterisk",
3603
+ "default": false
3604
+ },
3605
+ {
3606
+ "key": "autocomplete",
3607
+ "type": "string",
3608
+ "label": "Autocomplete",
3609
+ "description": "HTML autocomplete hint forwarded to the inner input element."
3610
+ },
3611
+ {
3612
+ "key": "disabled",
3613
+ "type": "boolean",
3614
+ "label": "Disabled",
3615
+ "default": false
3616
+ },
3617
+ {
3618
+ "key": "required",
3619
+ "type": "boolean",
3620
+ "label": "Required",
3621
+ "default": false
3622
+ },
3623
+ {
3624
+ "key": "pattern",
3625
+ "type": "string",
3626
+ "label": "Format Pattern",
3627
+ "description": "Regex pattern used to validate the phone format."
3628
+ },
3629
+ {
3630
+ "key": "validation",
3631
+ "type": "enum",
3632
+ "label": "Validation Depth",
3633
+ "description": "Only enforces the required check when \"simple\".",
3634
+ "options": [
3635
+ "default",
3636
+ "simple"
3637
+ ],
3638
+ "default": "default"
3639
+ },
3640
+ {
3641
+ "key": "required-error",
3642
+ "type": "string",
3643
+ "label": "Required Error Message"
3644
+ },
3645
+ {
3646
+ "key": "format-error",
3647
+ "type": "string",
3648
+ "label": "Format Error Message"
3649
+ }
3650
+ ],
3651
+ "insertion_presets": {
3652
+ "name": "phone"
3653
+ }
3654
+ },
3655
+ {
3656
+ "tag": "pont2-scope-list",
3657
+ "label": "Scope List",
3658
+ "description": "One checkbox per permission an app asks for on the consent screen; submits the ticked scopes space-separated.",
3659
+ "category": "fields",
3660
+ "container": false,
3661
+ "is_field": true,
3662
+ "is_trigger": false,
3663
+ "requires_condition": null,
3664
+ "attributes": [
3665
+ {
3666
+ "key": "name",
3667
+ "type": "string",
3668
+ "label": "Field Name",
3669
+ "description": "Key used in the submitted form data.",
3670
+ "default": "scope"
3671
+ },
3672
+ {
3673
+ "key": "scopes",
3674
+ "type": "string",
3675
+ "label": "Scopes JSON",
3676
+ "description": "[{scope, label, granted, required}]. Every row starts ticked; a required row cannot be unticked."
3677
+ },
3678
+ {
3679
+ "key": "disabled",
3680
+ "type": "boolean",
3681
+ "label": "Disabled",
3682
+ "default": false
3683
+ }
3684
+ ],
3685
+ "insertion_presets": {
3686
+ "name": "scope"
3687
+ }
3688
+ },
3689
+ {
3690
+ "tag": "pont2-username-field",
3691
+ "label": "Username Field",
3692
+ "description": "Username input (lowercase letters, numbers, underscores).",
3693
+ "category": "fields",
3694
+ "container": false,
3695
+ "is_field": true,
3696
+ "is_trigger": false,
3697
+ "requires_condition": null,
3698
+ "attributes": [
3699
+ {
3700
+ "key": "input-id",
3701
+ "type": "string",
3702
+ "label": "Input ID",
3703
+ "description": "ID given to the input part, forwarded to its inner input element."
3704
+ },
3705
+ {
3706
+ "key": "name",
3707
+ "type": "string",
3708
+ "label": "Field Name",
3709
+ "description": "Key used in the submitted form data.",
3710
+ "default": "username"
3711
+ },
3712
+ {
3713
+ "key": "value",
3714
+ "type": "string",
3715
+ "label": "Default Value"
3716
+ },
3717
+ {
3718
+ "key": "label",
3719
+ "type": "string",
3720
+ "label": "Label",
3721
+ "default": "Username"
3722
+ },
3723
+ {
3724
+ "key": "placeholder",
3725
+ "type": "string",
3726
+ "label": "Placeholder"
3727
+ },
3728
+ {
3729
+ "key": "description",
3730
+ "type": "string",
3731
+ "label": "Description"
3732
+ },
3733
+ {
3734
+ "key": "mark",
3735
+ "type": "string",
3736
+ "label": "Label Mark",
3737
+ "description": "Custom text used in the mark part of the field label."
3738
+ },
3739
+ {
3740
+ "key": "caret",
3741
+ "type": "boolean",
3742
+ "label": "Show Required Asterisk",
3743
+ "default": false
3744
+ },
3745
+ {
3746
+ "key": "autocomplete",
3747
+ "type": "string",
3748
+ "label": "Autocomplete",
3749
+ "description": "HTML autocomplete hint forwarded to the inner input element."
3750
+ },
3751
+ {
3752
+ "key": "disabled",
3753
+ "type": "boolean",
3754
+ "label": "Disabled",
3755
+ "default": false
3756
+ },
3757
+ {
3758
+ "key": "required",
3759
+ "type": "boolean",
3760
+ "label": "Required",
3761
+ "default": false
3762
+ },
3763
+ {
3764
+ "key": "minlength",
3765
+ "type": "number",
3766
+ "label": "Min Length"
3767
+ },
3768
+ {
3769
+ "key": "maxlength",
3770
+ "type": "number",
3771
+ "label": "Max Length"
3772
+ },
3773
+ {
3774
+ "key": "pattern",
3775
+ "type": "string",
3776
+ "label": "Format Pattern",
3777
+ "description": "Regex pattern used to validate the username format."
3778
+ },
3779
+ {
3780
+ "key": "validation",
3781
+ "type": "enum",
3782
+ "label": "Validation Depth",
3783
+ "description": "Only enforces the required check when \"simple\".",
3784
+ "options": [
3785
+ "default",
3786
+ "simple"
3787
+ ],
3788
+ "default": "default"
3789
+ },
3790
+ {
3791
+ "key": "required-error",
3792
+ "type": "string",
3793
+ "label": "Required Error Message"
3794
+ },
3795
+ {
3796
+ "key": "minlength-error",
3797
+ "type": "string",
3798
+ "label": "Min Length Error Message"
3799
+ },
3800
+ {
3801
+ "key": "maxlength-error",
3802
+ "type": "string",
3803
+ "label": "Max Length Error Message"
3804
+ },
3805
+ {
3806
+ "key": "format-error",
3807
+ "type": "string",
3808
+ "label": "Format Error Message"
3809
+ }
3810
+ ],
3811
+ "insertion_presets": {
3812
+ "name": "username"
3813
+ }
3814
+ },
3815
+ {
3816
+ "tag": "pont2-container",
3817
+ "label": "Container",
3818
+ "description": "Flexbox group for nesting elements.",
3819
+ "category": "layout",
3820
+ "container": true,
3821
+ "is_field": false,
3822
+ "is_trigger": false,
3823
+ "requires_condition": null,
3824
+ "attributes": [
3825
+ {
3826
+ "key": "id",
3827
+ "type": "string",
3828
+ "label": "ID"
3829
+ },
3830
+ {
3831
+ "key": "type",
3832
+ "type": "enum",
3833
+ "label": "Direction",
3834
+ "options": [
3835
+ "flex_column",
3836
+ "flex_row"
3837
+ ],
3838
+ "default": "flex_column"
3839
+ }
3840
+ ],
3841
+ "insertion_presets": {}
3842
+ },
3843
+ {
3844
+ "tag": "pont2-divider",
3845
+ "label": "Divider",
3846
+ "description": "Separator line with optional label (e.g. \"OR\").",
3847
+ "category": "layout",
3848
+ "container": false,
3849
+ "is_field": false,
3850
+ "is_trigger": false,
3851
+ "requires_condition": null,
3852
+ "attributes": [
3853
+ {
3854
+ "key": "label",
3855
+ "type": "string",
3856
+ "label": "Label"
3857
+ }
3858
+ ],
3859
+ "insertion_presets": {}
3860
+ },
3861
+ {
3862
+ "tag": "pont2-gap",
3863
+ "label": "Spacer",
3864
+ "description": "Fixed vertical or horizontal spacing.",
3865
+ "category": "layout",
3866
+ "container": false,
3867
+ "is_field": false,
3868
+ "is_trigger": false,
3869
+ "requires_condition": null,
3870
+ "attributes": [
3871
+ {
3872
+ "key": "size",
3873
+ "type": "string",
3874
+ "label": "Size",
3875
+ "default": "8px"
3876
+ },
3877
+ {
3878
+ "key": "type",
3879
+ "type": "enum",
3880
+ "label": "Direction",
3881
+ "options": [
3882
+ "vertical",
3883
+ "horizontal"
3884
+ ],
3885
+ "default": "vertical"
3886
+ },
3887
+ {
3888
+ "key": "id",
3889
+ "type": "string",
3890
+ "label": "ID"
3891
+ }
3892
+ ],
3893
+ "insertion_presets": {}
3894
+ },
3895
+ {
3896
+ "tag": "pont2-header",
3897
+ "label": "Header",
3898
+ "description": "Heading group with alignment and gap.",
3899
+ "category": "layout",
3900
+ "container": true,
3901
+ "is_field": false,
3902
+ "is_trigger": false,
3903
+ "requires_condition": null,
3904
+ "attributes": [
3905
+ {
3906
+ "key": "align",
3907
+ "type": "enum",
3908
+ "label": "Alignment",
3909
+ "options": [
3910
+ "start",
3911
+ "center",
3912
+ "end"
3913
+ ],
3914
+ "default": "center"
3915
+ }
3916
+ ],
3917
+ "insertion_presets": {}
3918
+ },
3919
+ {
3920
+ "tag": "pont2-edit-identifier",
3921
+ "label": "Edit Identifier",
3922
+ "description": "Shows the current identifier with an edit button that fires a flow event.",
3923
+ "category": "navigation",
3924
+ "container": false,
3925
+ "is_field": false,
3926
+ "is_trigger": true,
3927
+ "requires_condition": null,
3928
+ "attributes": [
3929
+ {
3930
+ "key": "identifier",
3931
+ "type": "string",
3932
+ "label": "Identifier",
3933
+ "description": "Identifier value displayed next to the edit action."
3934
+ },
3935
+ {
3936
+ "key": "event",
3937
+ "type": "event",
3938
+ "label": "Flow Event",
3939
+ "description": "Loginflow event fired on click."
3940
+ }
3941
+ ],
3942
+ "insertion_presets": {}
3943
+ },
3944
+ {
3945
+ "tag": "pont2-external-link",
3946
+ "label": "External Link",
3947
+ "description": "Link to a page outside the flow, opened in a new tab. Renders nothing unless href is an absolute http(s) URL; never calls the flow.",
3948
+ "category": "navigation",
3949
+ "container": false,
3950
+ "is_field": false,
3951
+ "is_trigger": false,
3952
+ "requires_condition": null,
3953
+ "attributes": [
3954
+ {
3955
+ "key": "href",
3956
+ "type": "string",
3957
+ "label": "URL",
3958
+ "description": "Absolute http(s) URL, typically a placeholder such as {{consent_privacy_policy_url}}. Empty or any other scheme renders nothing."
3959
+ },
3960
+ {
3961
+ "key": "label",
3962
+ "type": "string",
3963
+ "label": "Link Label",
3964
+ "description": "Link text. Falls back to the URL when empty."
3965
+ }
3966
+ ],
3967
+ "insertion_presets": {}
3968
+ },
3969
+ {
3970
+ "tag": "pont2-link",
3971
+ "label": "Link",
3972
+ "description": "Inline prompt + link that fires a flow event.",
3973
+ "category": "navigation",
3974
+ "container": false,
3975
+ "is_field": false,
3976
+ "is_trigger": true,
3977
+ "requires_condition": null,
3978
+ "attributes": [
3979
+ {
3980
+ "key": "label",
3981
+ "type": "string",
3982
+ "label": "Link Label"
3983
+ },
3984
+ {
3985
+ "key": "prompt",
3986
+ "type": "string",
3987
+ "label": "Prompt Text"
3988
+ },
3989
+ {
3990
+ "key": "service",
3991
+ "type": "enum",
3992
+ "label": "Service",
3993
+ "description": "Service which handles the event on click.",
3994
+ "options": [
3995
+ "auth",
3996
+ "other"
3997
+ ],
3998
+ "default": "auth"
3999
+ },
4000
+ {
4001
+ "key": "event",
4002
+ "type": "event",
4003
+ "label": "Flow Event",
4004
+ "description": "Loginflow event fired on click."
4005
+ },
4006
+ {
4007
+ "key": "disabled",
4008
+ "type": "boolean",
4009
+ "label": "Disabled",
4010
+ "default": false
4011
+ },
4012
+ {
4013
+ "key": "loading",
4014
+ "type": "boolean",
4015
+ "label": "Loading",
4016
+ "default": false
4017
+ }
4018
+ ],
4019
+ "insertion_presets": {
4020
+ "label": "Sign up",
4021
+ "event": "switch_to_signup"
4022
+ }
4023
+ },
4024
+ {
4025
+ "tag": "pont2-subtitle",
4026
+ "label": "Subtitle",
4027
+ "description": "Supporting text under the title.",
4028
+ "category": "typography",
4029
+ "container": false,
4030
+ "is_field": false,
4031
+ "is_trigger": false,
4032
+ "requires_condition": null,
4033
+ "attributes": [
4034
+ {
4035
+ "key": "id",
4036
+ "type": "string",
4037
+ "label": "ID"
4038
+ },
4039
+ {
4040
+ "key": "content",
4041
+ "type": "string",
4042
+ "label": "Text",
4043
+ "required": true
4044
+ }
4045
+ ],
4046
+ "insertion_presets": {
4047
+ "content": "Sign in to continue"
4048
+ }
4049
+ },
4050
+ {
4051
+ "tag": "pont2-title",
4052
+ "label": "Title",
4053
+ "description": "Screen heading.",
4054
+ "category": "typography",
4055
+ "container": false,
4056
+ "is_field": false,
4057
+ "is_trigger": false,
4058
+ "requires_condition": null,
4059
+ "attributes": [
4060
+ {
4061
+ "key": "id",
4062
+ "type": "string",
4063
+ "label": "ID"
4064
+ },
4065
+ {
4066
+ "key": "content",
4067
+ "type": "string",
4068
+ "label": "Text",
4069
+ "required": true
4070
+ }
4071
+ ],
4072
+ "insertion_presets": {
4073
+ "content": "Welcome"
4074
+ }
4075
+ },
4076
+ {
4077
+ "tag": "pont2-logo",
4078
+ "label": "Logo",
4079
+ "description": "Brand logo. image-url-dark, when set, is shown in the dark theme; otherwise image-url is, and it may use a {{theme}} placeholder for light/dark variants.",
4080
+ "category": "visuals",
4081
+ "container": false,
4082
+ "is_field": false,
4083
+ "is_trigger": false,
4084
+ "requires_condition": null,
4085
+ "attributes": [
4086
+ {
4087
+ "key": "id",
4088
+ "type": "string",
4089
+ "label": "ID"
4090
+ },
4091
+ {
4092
+ "key": "image-url",
4093
+ "type": "url",
4094
+ "label": "Image URL",
4095
+ "required": true
4096
+ },
4097
+ {
4098
+ "key": "image-url-dark",
4099
+ "type": "url",
4100
+ "label": "Dark Image URL"
4101
+ },
4102
+ {
4103
+ "key": "align",
4104
+ "type": "enum",
4105
+ "label": "Alignment",
4106
+ "options": [
4107
+ "start",
4108
+ "center",
4109
+ "end"
4110
+ ],
4111
+ "default": "center"
4112
+ },
4113
+ {
4114
+ "key": "width",
4115
+ "type": "string",
4116
+ "label": "Width"
4117
+ },
4118
+ {
4119
+ "key": "height",
4120
+ "type": "string",
4121
+ "label": "Height"
4122
+ }
4123
+ ],
4124
+ "insertion_presets": {}
4125
+ },
4126
+ {
4127
+ "tag": "pont2-watermark",
4128
+ "label": "Watermark",
4129
+ "description": "\"Powered by\" PontKit badge.",
4130
+ "category": "visuals",
4131
+ "container": false,
4132
+ "is_field": false,
4133
+ "is_trigger": false,
4134
+ "requires_condition": null,
4135
+ "attributes": [
4136
+ {
4137
+ "key": "variant",
4138
+ "type": "enum",
4139
+ "label": "Variant",
4140
+ "options": [
4141
+ "brand",
4142
+ "theme",
4143
+ "muted"
4144
+ ],
4145
+ "default": "brand"
4146
+ },
4147
+ {
4148
+ "key": "logo-align",
4149
+ "type": "enum",
4150
+ "label": "Logo Position",
4151
+ "options": [
4152
+ "start",
4153
+ "end"
4154
+ ],
4155
+ "default": "end"
4156
+ },
4157
+ {
4158
+ "key": "label",
4159
+ "type": "string",
4160
+ "label": "Label"
4161
+ }
4162
+ ],
4163
+ "insertion_presets": {}
4164
+ },
4165
+ {
4166
+ "tag": "pont2-qr-code",
4167
+ "label": "QR Code",
4168
+ "description": "Renders a QR code from a setup URI.",
4169
+ "category": "display",
4170
+ "container": false,
4171
+ "is_field": false,
4172
+ "is_trigger": false,
4173
+ "requires_condition": null,
4174
+ "attributes": [
4175
+ {
4176
+ "key": "url",
4177
+ "type": "string",
4178
+ "label": "Setup URI"
4179
+ },
4180
+ {
4181
+ "key": "timeout",
4182
+ "type": "number",
4183
+ "label": "Obscure After Seconds",
4184
+ "default": 10
4185
+ },
4186
+ {
4187
+ "key": "reveal-label",
4188
+ "type": "string",
4189
+ "label": "Show QR Code Button"
4190
+ },
4191
+ {
4192
+ "key": "disabled",
4193
+ "type": "boolean",
4194
+ "label": "Disabled",
4195
+ "default": false
4196
+ },
4197
+ {
4198
+ "key": "error-correction",
4199
+ "type": "enum",
4200
+ "label": "Error Correction",
4201
+ "options": [
4202
+ "L",
4203
+ "M",
4204
+ "Q",
4205
+ "H"
4206
+ ],
4207
+ "default": "M"
4208
+ }
4209
+ ],
4210
+ "insertion_presets": {}
4211
+ },
4212
+ {
4213
+ "tag": "pont2-secret",
4214
+ "label": "Secret",
4215
+ "description": "Displays a copyable setup secret with issuer and account metadata.",
4216
+ "category": "display",
4217
+ "container": false,
4218
+ "is_field": false,
4219
+ "is_trigger": false,
4220
+ "requires_condition": null,
4221
+ "attributes": [
4222
+ {
4223
+ "key": "title-text",
4224
+ "type": "string",
4225
+ "label": "Title"
4226
+ },
4227
+ {
4228
+ "key": "secret",
4229
+ "type": "string",
4230
+ "label": "Secret"
4231
+ },
4232
+ {
4233
+ "key": "issuer",
4234
+ "type": "string",
4235
+ "label": "Issuer"
4236
+ },
4237
+ {
4238
+ "key": "account",
4239
+ "type": "string",
4240
+ "label": "Account"
4241
+ },
4242
+ {
4243
+ "key": "secret-label",
4244
+ "type": "string",
4245
+ "label": "Secret Label"
4246
+ },
4247
+ {
4248
+ "key": "issuer-label",
4249
+ "type": "string",
4250
+ "label": "Issuer Label"
4251
+ },
4252
+ {
4253
+ "key": "account-label",
4254
+ "type": "string",
4255
+ "label": "Account Label"
4256
+ },
4257
+ {
4258
+ "key": "copied-text",
4259
+ "type": "string",
4260
+ "label": "Copied Text"
4261
+ },
4262
+ {
4263
+ "key": "disabled",
4264
+ "type": "boolean",
4265
+ "label": "Disabled",
4266
+ "default": false
4267
+ }
4268
+ ],
4269
+ "insertion_presets": {}
4270
+ },
4271
+ {
4272
+ "tag": "pont2-recovery-codes",
4273
+ "label": "Recovery Codes",
4274
+ "description": "Displays one-time recovery codes with copy and download controls.",
4275
+ "category": "display",
4276
+ "container": false,
4277
+ "is_field": false,
4278
+ "is_trigger": false,
4279
+ "requires_condition": null,
4280
+ "attributes": [
4281
+ {
4282
+ "key": "title-text",
4283
+ "type": "string",
4284
+ "label": "Title"
4285
+ },
4286
+ {
4287
+ "key": "description",
4288
+ "type": "string",
4289
+ "label": "Subtitle"
4290
+ },
4291
+ {
4292
+ "key": "codes",
4293
+ "type": "json",
4294
+ "label": "Codes JSON"
4295
+ },
4296
+ {
4297
+ "key": "empty-text",
4298
+ "type": "string",
4299
+ "label": "Empty Text"
4300
+ },
4301
+ {
4302
+ "key": "copy-label",
4303
+ "type": "string",
4304
+ "label": "Copy Label"
4305
+ },
4306
+ {
4307
+ "key": "download-label",
4308
+ "type": "string",
4309
+ "label": "Download Label"
4310
+ },
4311
+ {
4312
+ "key": "copied-text",
4313
+ "type": "string",
4314
+ "label": "Copied Text"
4315
+ },
4316
+ {
4317
+ "key": "disabled",
4318
+ "type": "boolean",
4319
+ "label": "Disabled",
4320
+ "default": false
4321
+ }
4322
+ ],
4323
+ "insertion_presets": {}
2350
4324
  }
2351
4325
  ]
2352
4326
  }