@kubex/zinc 1.1.11 → 1.1.13
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/dist/custom-elements.json +540 -1
- package/dist/vscode.html-custom-data.json +103 -0
- package/dist/web-types.json +236 -1
- package/dist/zn.d.ts +122 -0
- package/dist/zn.min.css +1 -1
- package/dist/zn.min.js +404 -353
- package/docs/pages/components/channel-tile.md +168 -0
- package/package.json +1 -1
- package/scss/themes/_typography.scss +1 -0
- package/src/components/button/button.scss +4 -0
- package/src/components/channel-tile/channel-tile.component.ts +280 -0
- package/src/components/channel-tile/channel-tile.scss +197 -0
- package/src/components/channel-tile/index.ts +12 -0
- package/src/components/page/page.scss +1 -1
- package/src/components/tooltip/tooltip.scss +2 -2
- package/src/events/events.ts +2 -0
- package/src/events/zn-accept.ts +7 -0
- package/src/events/zn-reject.ts +7 -0
- package/src/zinc.ts +1 -0
|
@@ -2559,6 +2559,545 @@
|
|
|
2559
2559
|
}
|
|
2560
2560
|
]
|
|
2561
2561
|
},
|
|
2562
|
+
{
|
|
2563
|
+
"kind": "javascript-module",
|
|
2564
|
+
"path": "components/channel-tile/channel-tile.js",
|
|
2565
|
+
"declarations": [
|
|
2566
|
+
{
|
|
2567
|
+
"kind": "class",
|
|
2568
|
+
"description": "",
|
|
2569
|
+
"name": "ZnChannelTile",
|
|
2570
|
+
"cssProperties": [
|
|
2571
|
+
{
|
|
2572
|
+
"description": "Resolved accent color (set from the `color` property).",
|
|
2573
|
+
"name": "--channel-tile-color"
|
|
2574
|
+
}
|
|
2575
|
+
],
|
|
2576
|
+
"cssParts": [
|
|
2577
|
+
{
|
|
2578
|
+
"description": "The component's base wrapper.",
|
|
2579
|
+
"name": "base"
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
"description": "The progress indicator (incoming countdown overlay or active progress bar).",
|
|
2583
|
+
"name": "progress"
|
|
2584
|
+
}
|
|
2585
|
+
],
|
|
2586
|
+
"slots": [
|
|
2587
|
+
{
|
|
2588
|
+
"description": "Replaces the leading icon in the active state.",
|
|
2589
|
+
"name": "leading"
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"description": "Action content for the available state (e.g. a form). Falls back to a default accept button.",
|
|
2593
|
+
"name": "action"
|
|
2594
|
+
},
|
|
2595
|
+
{
|
|
2596
|
+
"description": "Trailing content (e.g. status badges) in the active state.",
|
|
2597
|
+
"name": "footer"
|
|
2598
|
+
}
|
|
2599
|
+
],
|
|
2600
|
+
"members": [
|
|
2601
|
+
{
|
|
2602
|
+
"kind": "field",
|
|
2603
|
+
"name": "available",
|
|
2604
|
+
"type": {
|
|
2605
|
+
"text": "boolean"
|
|
2606
|
+
},
|
|
2607
|
+
"default": "false",
|
|
2608
|
+
"description": "Renders the empty/available face instead of the active face.",
|
|
2609
|
+
"attribute": "available",
|
|
2610
|
+
"reflects": true
|
|
2611
|
+
},
|
|
2612
|
+
{
|
|
2613
|
+
"kind": "field",
|
|
2614
|
+
"name": "incoming",
|
|
2615
|
+
"type": {
|
|
2616
|
+
"text": "boolean"
|
|
2617
|
+
},
|
|
2618
|
+
"default": "false",
|
|
2619
|
+
"description": "(Available only) the tile is reserving an incoming item awaiting acceptance.",
|
|
2620
|
+
"attribute": "incoming",
|
|
2621
|
+
"reflects": true
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
"kind": "field",
|
|
2625
|
+
"name": "variant",
|
|
2626
|
+
"type": {
|
|
2627
|
+
"text": "string"
|
|
2628
|
+
},
|
|
2629
|
+
"default": "''",
|
|
2630
|
+
"description": "Free-form grouping/theming key (reflected so consumers can query/style by it).",
|
|
2631
|
+
"attribute": "variant",
|
|
2632
|
+
"reflects": true
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"kind": "field",
|
|
2636
|
+
"name": "header",
|
|
2637
|
+
"type": {
|
|
2638
|
+
"text": "string"
|
|
2639
|
+
},
|
|
2640
|
+
"default": "''",
|
|
2641
|
+
"description": "Top-bar text (e.g. brand).",
|
|
2642
|
+
"attribute": "header"
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"kind": "field",
|
|
2646
|
+
"name": "icon",
|
|
2647
|
+
"type": {
|
|
2648
|
+
"text": "string"
|
|
2649
|
+
},
|
|
2650
|
+
"default": "''",
|
|
2651
|
+
"description": "Leading icon (active state).",
|
|
2652
|
+
"attribute": "icon"
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"kind": "field",
|
|
2656
|
+
"name": "color",
|
|
2657
|
+
"type": {
|
|
2658
|
+
"text": "ChannelTileColor"
|
|
2659
|
+
},
|
|
2660
|
+
"default": "'default'",
|
|
2661
|
+
"description": "Accent color driving the leading icon and `--channel-tile-color`.",
|
|
2662
|
+
"attribute": "color",
|
|
2663
|
+
"reflects": true
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"kind": "field",
|
|
2667
|
+
"name": "title",
|
|
2668
|
+
"type": {
|
|
2669
|
+
"text": "string"
|
|
2670
|
+
},
|
|
2671
|
+
"default": "''",
|
|
2672
|
+
"description": "Primary line. Defaults to \"Available\" in the available state when unset.",
|
|
2673
|
+
"attribute": "title"
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
"kind": "field",
|
|
2677
|
+
"name": "subtitle",
|
|
2678
|
+
"type": {
|
|
2679
|
+
"text": "string"
|
|
2680
|
+
},
|
|
2681
|
+
"default": "''",
|
|
2682
|
+
"description": "Secondary line.",
|
|
2683
|
+
"attribute": "subtitle"
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"kind": "field",
|
|
2687
|
+
"name": "progress",
|
|
2688
|
+
"type": {
|
|
2689
|
+
"text": "number"
|
|
2690
|
+
},
|
|
2691
|
+
"default": "0",
|
|
2692
|
+
"description": "(Active only) progress bar fill, 0–100.",
|
|
2693
|
+
"attribute": "progress"
|
|
2694
|
+
},
|
|
2695
|
+
{
|
|
2696
|
+
"kind": "field",
|
|
2697
|
+
"name": "progressColor",
|
|
2698
|
+
"type": {
|
|
2699
|
+
"text": "string"
|
|
2700
|
+
},
|
|
2701
|
+
"default": "''",
|
|
2702
|
+
"description": "(Active only) CSS color for the progress bar fill.",
|
|
2703
|
+
"attribute": "progress-color"
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
"kind": "field",
|
|
2707
|
+
"name": "fid",
|
|
2708
|
+
"type": {
|
|
2709
|
+
"text": "string"
|
|
2710
|
+
},
|
|
2711
|
+
"default": "''",
|
|
2712
|
+
"description": "Identifier carried in `zn-accept` / `zn-reject` event details.",
|
|
2713
|
+
"attribute": "fid"
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
"kind": "field",
|
|
2717
|
+
"name": "acceptUri",
|
|
2718
|
+
"type": {
|
|
2719
|
+
"text": "string"
|
|
2720
|
+
},
|
|
2721
|
+
"default": "''",
|
|
2722
|
+
"description": "(Available only) when set, accepting fetches this URI unless `zn-accept` is canceled.",
|
|
2723
|
+
"attribute": "accept-uri"
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
"kind": "field",
|
|
2727
|
+
"name": "reservedUntil",
|
|
2728
|
+
"type": {
|
|
2729
|
+
"text": "number"
|
|
2730
|
+
},
|
|
2731
|
+
"default": "0",
|
|
2732
|
+
"description": "(Available/incoming) epoch (seconds or millis) at which the reservation window ends.",
|
|
2733
|
+
"attribute": "reserved-until"
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"kind": "field",
|
|
2737
|
+
"name": "autoAcceptDelay",
|
|
2738
|
+
"type": {
|
|
2739
|
+
"text": "number"
|
|
2740
|
+
},
|
|
2741
|
+
"default": "0",
|
|
2742
|
+
"description": "(Available/incoming) auto-accept window length in milliseconds.",
|
|
2743
|
+
"attribute": "auto-accept-delay"
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"kind": "field",
|
|
2747
|
+
"name": "rejectable",
|
|
2748
|
+
"type": {
|
|
2749
|
+
"text": "boolean"
|
|
2750
|
+
},
|
|
2751
|
+
"default": "false",
|
|
2752
|
+
"description": "(Available/incoming) whether a reject control is offered.",
|
|
2753
|
+
"attribute": "rejectable",
|
|
2754
|
+
"reflects": true
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
"kind": "field",
|
|
2758
|
+
"name": "acceptIcon",
|
|
2759
|
+
"type": {
|
|
2760
|
+
"text": "string"
|
|
2761
|
+
},
|
|
2762
|
+
"default": "'plus@lu'",
|
|
2763
|
+
"description": "Icon for the built-in accept button.",
|
|
2764
|
+
"attribute": "accept-icon"
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"kind": "field",
|
|
2768
|
+
"name": "acceptGaid",
|
|
2769
|
+
"type": {
|
|
2770
|
+
"text": "string"
|
|
2771
|
+
},
|
|
2772
|
+
"default": "''",
|
|
2773
|
+
"description": "Optional analytics id forwarded to the built-in accept button.",
|
|
2774
|
+
"attribute": "accept-gaid"
|
|
2775
|
+
},
|
|
2776
|
+
{
|
|
2777
|
+
"kind": "field",
|
|
2778
|
+
"name": "rejectIcon",
|
|
2779
|
+
"type": {
|
|
2780
|
+
"text": "string"
|
|
2781
|
+
},
|
|
2782
|
+
"default": "'call_end'",
|
|
2783
|
+
"description": "Icon for the reject control.",
|
|
2784
|
+
"attribute": "reject-icon"
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"kind": "field",
|
|
2788
|
+
"name": "rejectLabel",
|
|
2789
|
+
"type": {
|
|
2790
|
+
"text": "string"
|
|
2791
|
+
},
|
|
2792
|
+
"default": "'Reject'",
|
|
2793
|
+
"description": "Accessible label for the reject control.",
|
|
2794
|
+
"attribute": "reject-label"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"kind": "field",
|
|
2798
|
+
"name": "_tickInterval",
|
|
2799
|
+
"type": {
|
|
2800
|
+
"text": "number | undefined"
|
|
2801
|
+
},
|
|
2802
|
+
"privacy": "private"
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"kind": "field",
|
|
2806
|
+
"name": "_autoAcceptFired",
|
|
2807
|
+
"type": {
|
|
2808
|
+
"text": "string"
|
|
2809
|
+
},
|
|
2810
|
+
"privacy": "private",
|
|
2811
|
+
"default": "''"
|
|
2812
|
+
},
|
|
2813
|
+
{
|
|
2814
|
+
"kind": "method",
|
|
2815
|
+
"name": "_isCountingDown",
|
|
2816
|
+
"privacy": "private",
|
|
2817
|
+
"return": {
|
|
2818
|
+
"type": {
|
|
2819
|
+
"text": "boolean"
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
"kind": "method",
|
|
2825
|
+
"name": "_startTicker",
|
|
2826
|
+
"privacy": "private"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"kind": "method",
|
|
2830
|
+
"name": "_stopTicker",
|
|
2831
|
+
"privacy": "private"
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"kind": "method",
|
|
2835
|
+
"name": "_maybeAutoAccept",
|
|
2836
|
+
"privacy": "private"
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
"kind": "method",
|
|
2840
|
+
"name": "_accept",
|
|
2841
|
+
"privacy": "private",
|
|
2842
|
+
"return": {
|
|
2843
|
+
"type": {
|
|
2844
|
+
"text": "void"
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"kind": "method",
|
|
2850
|
+
"name": "_reservedUntilMs",
|
|
2851
|
+
"privacy": "private",
|
|
2852
|
+
"return": {
|
|
2853
|
+
"type": {
|
|
2854
|
+
"text": "number"
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
"kind": "method",
|
|
2860
|
+
"name": "_countdownPercent",
|
|
2861
|
+
"privacy": "private",
|
|
2862
|
+
"return": {
|
|
2863
|
+
"type": {
|
|
2864
|
+
"text": "number"
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
"kind": "field",
|
|
2870
|
+
"name": "_handleReject",
|
|
2871
|
+
"privacy": "private"
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"kind": "field",
|
|
2875
|
+
"name": "_handleClick",
|
|
2876
|
+
"privacy": "private"
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"kind": "method",
|
|
2880
|
+
"name": "_renderLeading",
|
|
2881
|
+
"privacy": "private"
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
"kind": "method",
|
|
2885
|
+
"name": "_renderAvailableAction",
|
|
2886
|
+
"privacy": "private"
|
|
2887
|
+
}
|
|
2888
|
+
],
|
|
2889
|
+
"events": [
|
|
2890
|
+
{
|
|
2891
|
+
"description": "Emitted when an available tile is accepted (click or auto-accept). Cancelable — call `preventDefault()` to suppress the built-in `accept-uri` fetch.",
|
|
2892
|
+
"name": "zn-accept"
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
"description": "Emitted when the reject control is pressed.",
|
|
2896
|
+
"name": "zn-reject"
|
|
2897
|
+
}
|
|
2898
|
+
],
|
|
2899
|
+
"attributes": [
|
|
2900
|
+
{
|
|
2901
|
+
"name": "available",
|
|
2902
|
+
"type": {
|
|
2903
|
+
"text": "boolean"
|
|
2904
|
+
},
|
|
2905
|
+
"default": "false",
|
|
2906
|
+
"description": "Renders the empty/available face instead of the active face.",
|
|
2907
|
+
"fieldName": "available"
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
"name": "incoming",
|
|
2911
|
+
"type": {
|
|
2912
|
+
"text": "boolean"
|
|
2913
|
+
},
|
|
2914
|
+
"default": "false",
|
|
2915
|
+
"description": "(Available only) the tile is reserving an incoming item awaiting acceptance.",
|
|
2916
|
+
"fieldName": "incoming"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"name": "variant",
|
|
2920
|
+
"type": {
|
|
2921
|
+
"text": "string"
|
|
2922
|
+
},
|
|
2923
|
+
"default": "''",
|
|
2924
|
+
"description": "Free-form grouping/theming key (reflected so consumers can query/style by it).",
|
|
2925
|
+
"fieldName": "variant"
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"name": "header",
|
|
2929
|
+
"type": {
|
|
2930
|
+
"text": "string"
|
|
2931
|
+
},
|
|
2932
|
+
"default": "''",
|
|
2933
|
+
"description": "Top-bar text (e.g. brand).",
|
|
2934
|
+
"fieldName": "header"
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
"name": "icon",
|
|
2938
|
+
"type": {
|
|
2939
|
+
"text": "string"
|
|
2940
|
+
},
|
|
2941
|
+
"default": "''",
|
|
2942
|
+
"description": "Leading icon (active state).",
|
|
2943
|
+
"fieldName": "icon"
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
"name": "color",
|
|
2947
|
+
"type": {
|
|
2948
|
+
"text": "ChannelTileColor"
|
|
2949
|
+
},
|
|
2950
|
+
"default": "'default'",
|
|
2951
|
+
"description": "Accent color driving the leading icon and `--channel-tile-color`.",
|
|
2952
|
+
"fieldName": "color"
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"name": "title",
|
|
2956
|
+
"type": {
|
|
2957
|
+
"text": "string"
|
|
2958
|
+
},
|
|
2959
|
+
"default": "''",
|
|
2960
|
+
"description": "Primary line. Defaults to \"Available\" in the available state when unset.",
|
|
2961
|
+
"fieldName": "title"
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
"name": "subtitle",
|
|
2965
|
+
"type": {
|
|
2966
|
+
"text": "string"
|
|
2967
|
+
},
|
|
2968
|
+
"default": "''",
|
|
2969
|
+
"description": "Secondary line.",
|
|
2970
|
+
"fieldName": "subtitle"
|
|
2971
|
+
},
|
|
2972
|
+
{
|
|
2973
|
+
"name": "progress",
|
|
2974
|
+
"type": {
|
|
2975
|
+
"text": "number"
|
|
2976
|
+
},
|
|
2977
|
+
"default": "0",
|
|
2978
|
+
"description": "(Active only) progress bar fill, 0–100.",
|
|
2979
|
+
"fieldName": "progress"
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"name": "progress-color",
|
|
2983
|
+
"type": {
|
|
2984
|
+
"text": "string"
|
|
2985
|
+
},
|
|
2986
|
+
"default": "''",
|
|
2987
|
+
"description": "(Active only) CSS color for the progress bar fill.",
|
|
2988
|
+
"fieldName": "progressColor"
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
"name": "fid",
|
|
2992
|
+
"type": {
|
|
2993
|
+
"text": "string"
|
|
2994
|
+
},
|
|
2995
|
+
"default": "''",
|
|
2996
|
+
"description": "Identifier carried in `zn-accept` / `zn-reject` event details.",
|
|
2997
|
+
"fieldName": "fid"
|
|
2998
|
+
},
|
|
2999
|
+
{
|
|
3000
|
+
"name": "accept-uri",
|
|
3001
|
+
"type": {
|
|
3002
|
+
"text": "string"
|
|
3003
|
+
},
|
|
3004
|
+
"default": "''",
|
|
3005
|
+
"description": "(Available only) when set, accepting fetches this URI unless `zn-accept` is canceled.",
|
|
3006
|
+
"fieldName": "acceptUri"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"name": "reserved-until",
|
|
3010
|
+
"type": {
|
|
3011
|
+
"text": "number"
|
|
3012
|
+
},
|
|
3013
|
+
"default": "0",
|
|
3014
|
+
"description": "(Available/incoming) epoch (seconds or millis) at which the reservation window ends.",
|
|
3015
|
+
"fieldName": "reservedUntil"
|
|
3016
|
+
},
|
|
3017
|
+
{
|
|
3018
|
+
"name": "auto-accept-delay",
|
|
3019
|
+
"type": {
|
|
3020
|
+
"text": "number"
|
|
3021
|
+
},
|
|
3022
|
+
"default": "0",
|
|
3023
|
+
"description": "(Available/incoming) auto-accept window length in milliseconds.",
|
|
3024
|
+
"fieldName": "autoAcceptDelay"
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
"name": "rejectable",
|
|
3028
|
+
"type": {
|
|
3029
|
+
"text": "boolean"
|
|
3030
|
+
},
|
|
3031
|
+
"default": "false",
|
|
3032
|
+
"description": "(Available/incoming) whether a reject control is offered.",
|
|
3033
|
+
"fieldName": "rejectable"
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
"name": "accept-icon",
|
|
3037
|
+
"type": {
|
|
3038
|
+
"text": "string"
|
|
3039
|
+
},
|
|
3040
|
+
"default": "'plus@lu'",
|
|
3041
|
+
"description": "Icon for the built-in accept button.",
|
|
3042
|
+
"fieldName": "acceptIcon"
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"name": "accept-gaid",
|
|
3046
|
+
"type": {
|
|
3047
|
+
"text": "string"
|
|
3048
|
+
},
|
|
3049
|
+
"default": "''",
|
|
3050
|
+
"description": "Optional analytics id forwarded to the built-in accept button.",
|
|
3051
|
+
"fieldName": "acceptGaid"
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"name": "reject-icon",
|
|
3055
|
+
"type": {
|
|
3056
|
+
"text": "string"
|
|
3057
|
+
},
|
|
3058
|
+
"default": "'call_end'",
|
|
3059
|
+
"description": "Icon for the reject control.",
|
|
3060
|
+
"fieldName": "rejectIcon"
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"name": "reject-label",
|
|
3064
|
+
"type": {
|
|
3065
|
+
"text": "string"
|
|
3066
|
+
},
|
|
3067
|
+
"default": "'Reject'",
|
|
3068
|
+
"description": "Accessible label for the reject control.",
|
|
3069
|
+
"fieldName": "rejectLabel"
|
|
3070
|
+
}
|
|
3071
|
+
],
|
|
3072
|
+
"superclass": {
|
|
3073
|
+
"name": "ZincElement",
|
|
3074
|
+
"module": "/src/internal/zinc-element"
|
|
3075
|
+
},
|
|
3076
|
+
"summary": "A channel/queue slot tile with two faces: an active (occupied) state\nshowing an in-progress item, and an available (empty) state advertising\ncapacity — optionally reserving an incoming item with an auto-accept countdown.",
|
|
3077
|
+
"tagNameWithoutPrefix": "channel-tile",
|
|
3078
|
+
"tagName": "zn-channel-tile",
|
|
3079
|
+
"customElement": true,
|
|
3080
|
+
"jsDoc": "/**\n * @summary A channel/queue slot tile with two faces: an active (occupied) state\n * showing an in-progress item, and an available (empty) state advertising\n * capacity — optionally reserving an incoming item with an auto-accept countdown.\n * @documentation https://zinc.style/components/channel-tile\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-icon\n *\n * @event zn-accept - Emitted when an available tile is accepted (click or auto-accept).\n * Cancelable — call `preventDefault()` to suppress the built-in `accept-uri` fetch.\n * @event zn-reject - Emitted when the reject control is pressed.\n *\n * @slot leading - Replaces the leading icon in the active state.\n * @slot action - Action content for the available state (e.g. a form). Falls back to a default accept button.\n * @slot footer - Trailing content (e.g. status badges) in the active state.\n *\n * @csspart base - The component's base wrapper.\n * @csspart progress - The progress indicator (incoming countdown overlay or active progress bar).\n *\n * @cssproperty --channel-tile-color - Resolved accent color (set from the `color` property).\n */",
|
|
3081
|
+
"documentation": "https://zinc.style/components/channel-tile",
|
|
3082
|
+
"status": "experimental",
|
|
3083
|
+
"since": "1.0",
|
|
3084
|
+
"dependencies": [
|
|
3085
|
+
"zn-button",
|
|
3086
|
+
"zn-icon"
|
|
3087
|
+
]
|
|
3088
|
+
}
|
|
3089
|
+
],
|
|
3090
|
+
"exports": [
|
|
3091
|
+
{
|
|
3092
|
+
"kind": "js",
|
|
3093
|
+
"name": "default",
|
|
3094
|
+
"declaration": {
|
|
3095
|
+
"name": "ZnChannelTile",
|
|
3096
|
+
"module": "components/channel-tile/channel-tile.js"
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
]
|
|
3100
|
+
},
|
|
2562
3101
|
{
|
|
2563
3102
|
"kind": "javascript-module",
|
|
2564
3103
|
"path": "components/chart/chart.js",
|
|
@@ -36368,7 +36907,7 @@
|
|
|
36368
36907
|
"package": {
|
|
36369
36908
|
"name": "@kubex/zinc",
|
|
36370
36909
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
36371
|
-
"version": "1.1.
|
|
36910
|
+
"version": "1.1.13",
|
|
36372
36911
|
"author": "",
|
|
36373
36912
|
"license": "MIT"
|
|
36374
36913
|
}
|
|
@@ -324,6 +324,109 @@
|
|
|
324
324
|
}
|
|
325
325
|
]
|
|
326
326
|
},
|
|
327
|
+
{
|
|
328
|
+
"name": "zn-channel-tile",
|
|
329
|
+
"description": "A channel/queue slot tile with two faces: an active (occupied) state\nshowing an in-progress item, and an available (empty) state advertising\ncapacity — optionally reserving an incoming item with an auto-accept countdown.\n---\n\n\n### **Events:**\n - **zn-accept** - Emitted when an available tile is accepted (click or auto-accept). Cancelable — call `preventDefault()` to suppress the built-in `accept-uri` fetch.\n- **zn-reject** - Emitted when the reject control is pressed.\n\n### **Slots:**\n - **leading** - Replaces the leading icon in the active state.\n- **action** - Action content for the available state (e.g. a form). Falls back to a default accept button.\n- **footer** - Trailing content (e.g. status badges) in the active state.\n\n### **CSS Properties:**\n - **--channel-tile-color** - Resolved accent color (set from the `color` property). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **progress** - The progress indicator (incoming countdown overlay or active progress bar).",
|
|
330
|
+
"attributes": [
|
|
331
|
+
{
|
|
332
|
+
"name": "available",
|
|
333
|
+
"description": "Renders the empty/available face instead of the active face.",
|
|
334
|
+
"values": []
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"name": "incoming",
|
|
338
|
+
"description": "(Available only) the tile is reserving an incoming item awaiting acceptance.",
|
|
339
|
+
"values": []
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "variant",
|
|
343
|
+
"description": "Free-form grouping/theming key (reflected so consumers can query/style by it).",
|
|
344
|
+
"values": []
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "header",
|
|
348
|
+
"description": "Top-bar text (e.g. brand).",
|
|
349
|
+
"values": []
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "icon",
|
|
353
|
+
"description": "Leading icon (active state).",
|
|
354
|
+
"values": []
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "color",
|
|
358
|
+
"description": "Accent color driving the leading icon and `--channel-tile-color`.",
|
|
359
|
+
"values": [{ "name": "ChannelTileColor" }]
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "title",
|
|
363
|
+
"description": "Primary line. Defaults to \"Available\" in the available state when unset.",
|
|
364
|
+
"values": []
|
|
365
|
+
},
|
|
366
|
+
{ "name": "subtitle", "description": "Secondary line.", "values": [] },
|
|
367
|
+
{
|
|
368
|
+
"name": "progress",
|
|
369
|
+
"description": "(Active only) progress bar fill, 0–100.",
|
|
370
|
+
"values": []
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "progress-color",
|
|
374
|
+
"description": "(Active only) CSS color for the progress bar fill.",
|
|
375
|
+
"values": []
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "fid",
|
|
379
|
+
"description": "Identifier carried in `zn-accept` / `zn-reject` event details.",
|
|
380
|
+
"values": []
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "accept-uri",
|
|
384
|
+
"description": "(Available only) when set, accepting fetches this URI unless `zn-accept` is canceled.",
|
|
385
|
+
"values": []
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "reserved-until",
|
|
389
|
+
"description": "(Available/incoming) epoch (seconds or millis) at which the reservation window ends.",
|
|
390
|
+
"values": []
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "auto-accept-delay",
|
|
394
|
+
"description": "(Available/incoming) auto-accept window length in milliseconds.",
|
|
395
|
+
"values": []
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "rejectable",
|
|
399
|
+
"description": "(Available/incoming) whether a reject control is offered.",
|
|
400
|
+
"values": []
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "accept-icon",
|
|
404
|
+
"description": "Icon for the built-in accept button.",
|
|
405
|
+
"values": []
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "accept-gaid",
|
|
409
|
+
"description": "Optional analytics id forwarded to the built-in accept button.",
|
|
410
|
+
"values": []
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "reject-icon",
|
|
414
|
+
"description": "Icon for the reject control.",
|
|
415
|
+
"values": []
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"name": "reject-label",
|
|
419
|
+
"description": "Accessible label for the reject control.",
|
|
420
|
+
"values": []
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
"references": [
|
|
424
|
+
{
|
|
425
|
+
"name": "Documentation",
|
|
426
|
+
"url": "https://zinc.style/components/channel-tile"
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
},
|
|
327
430
|
{
|
|
328
431
|
"name": "zn-chart",
|
|
329
432
|
"description": "Chart component powered by Apache ECharts.\n---\n\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|