@f-ewald/components 1.25.0 → 1.27.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/README.md +7 -3
- package/custom-elements.json +1390 -181
- package/dist/calendar-day.d.ts +33 -0
- package/dist/calendar-day.d.ts.map +1 -0
- package/dist/calendar-day.js +280 -0
- package/dist/calendar-day.js.map +1 -0
- package/dist/calendar-timeline-base.d.ts +43 -0
- package/dist/calendar-timeline-base.d.ts.map +1 -0
- package/dist/calendar-timeline-base.js +113 -0
- package/dist/calendar-timeline-base.js.map +1 -0
- package/dist/calendar-week.d.ts +37 -0
- package/dist/calendar-week.d.ts.map +1 -0
- package/dist/calendar-week.js +315 -0
- package/dist/calendar-week.js.map +1 -0
- package/dist/comment-composer.d.ts +15 -1
- package/dist/comment-composer.d.ts.map +1 -1
- package/dist/comment-composer.js +25 -3
- package/dist/comment-composer.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/modal-dialog.d.ts +49 -0
- package/dist/modal-dialog.d.ts.map +1 -0
- package/dist/modal-dialog.js +287 -0
- package/dist/modal-dialog.js.map +1 -0
- package/dist/toast-notification.d.ts +14 -0
- package/dist/toast-notification.d.ts.map +1 -1
- package/dist/toast-notification.js +23 -8
- package/dist/toast-notification.js.map +1 -1
- package/dist/tokens.css +15 -3
- package/dist/tokens.d.ts +9 -8
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +43 -15
- package/dist/tokens.js.map +1 -1
- package/dist/ui-button.d.ts +2 -0
- package/dist/ui-button.d.ts.map +1 -1
- package/dist/ui-button.js +9 -1
- package/dist/ui-button.js.map +1 -1
- package/dist/utils/calendar.d.ts +41 -0
- package/dist/utils/calendar.d.ts.map +1 -1
- package/dist/utils/calendar.js +74 -0
- package/dist/utils/calendar.js.map +1 -1
- package/docs/calendar-day.md +70 -0
- package/docs/calendar-week.md +69 -0
- package/docs/comment-composer.md +5 -1
- package/docs/modal-dialog.md +66 -0
- package/docs/toast-notification.md +23 -0
- package/docs/ui-button.md +1 -0
- package/llms.txt +108 -3
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -2659,6 +2659,301 @@
|
|
|
2659
2659
|
}
|
|
2660
2660
|
]
|
|
2661
2661
|
},
|
|
2662
|
+
{
|
|
2663
|
+
"kind": "javascript-module",
|
|
2664
|
+
"path": "src/calendar-day.ts",
|
|
2665
|
+
"declarations": [
|
|
2666
|
+
{
|
|
2667
|
+
"kind": "class",
|
|
2668
|
+
"description": "A single day rendered as an hourly time grid — a Google-Calendar-style\nview distinct from `calendar-month`'s whole-day table. Declarative\n`calendar-entry` children with a time-of-day in `start`/`end` (e.g.\n`start=\"2026-03-05T09:00\"`) render as positioned/sized blocks; entries\nwith only a date (no time) render in an all-day band above the grid.\nOverlapping timed entries stack into side-by-side columns; overlapping\nall-day/multi-day entries stack into lanes, same as `calendar-month`.\nRead-only.\n\nShares its slotted-entry observation, resolution, and hover/focus\ninteraction sync with `calendar-week` via `CalendarTimelineBase`.",
|
|
2669
|
+
"name": "CalendarDay",
|
|
2670
|
+
"slots": [
|
|
2671
|
+
{
|
|
2672
|
+
"description": "Declarative `calendar-entry` elements to render for this day.",
|
|
2673
|
+
"name": ""
|
|
2674
|
+
}
|
|
2675
|
+
],
|
|
2676
|
+
"members": [
|
|
2677
|
+
{
|
|
2678
|
+
"kind": "field",
|
|
2679
|
+
"name": "date",
|
|
2680
|
+
"type": {
|
|
2681
|
+
"text": "string"
|
|
2682
|
+
},
|
|
2683
|
+
"description": "The day shown, `\"YYYY-MM-DD\"`.",
|
|
2684
|
+
"attribute": "date",
|
|
2685
|
+
"reflects": true
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
"kind": "method",
|
|
2689
|
+
"name": "_renderAllDayLane",
|
|
2690
|
+
"privacy": "private",
|
|
2691
|
+
"parameters": [
|
|
2692
|
+
{
|
|
2693
|
+
"name": "laned",
|
|
2694
|
+
"type": {
|
|
2695
|
+
"text": "LanedEntry[]"
|
|
2696
|
+
}
|
|
2697
|
+
},
|
|
2698
|
+
{
|
|
2699
|
+
"name": "lane",
|
|
2700
|
+
"type": {
|
|
2701
|
+
"text": "number"
|
|
2702
|
+
}
|
|
2703
|
+
}
|
|
2704
|
+
],
|
|
2705
|
+
"description": "Renders one lane's stacked all-day bars, given the entries assigned to it."
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"kind": "method",
|
|
2709
|
+
"name": "_renderTimedEntry",
|
|
2710
|
+
"privacy": "private",
|
|
2711
|
+
"parameters": [
|
|
2712
|
+
{
|
|
2713
|
+
"name": "entry",
|
|
2714
|
+
"type": {
|
|
2715
|
+
"text": "LanedEntry"
|
|
2716
|
+
}
|
|
2717
|
+
},
|
|
2718
|
+
{
|
|
2719
|
+
"name": "laneCount",
|
|
2720
|
+
"type": {
|
|
2721
|
+
"text": "number"
|
|
2722
|
+
}
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"name": "dayStart",
|
|
2726
|
+
"type": {
|
|
2727
|
+
"text": "Date"
|
|
2728
|
+
}
|
|
2729
|
+
},
|
|
2730
|
+
{
|
|
2731
|
+
"name": "dayEnd",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "Date"
|
|
2734
|
+
}
|
|
2735
|
+
}
|
|
2736
|
+
],
|
|
2737
|
+
"description": "Renders a positioned/sized block for one timed entry, clamped to this day's bounds."
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
"kind": "field",
|
|
2741
|
+
"name": "entryElements",
|
|
2742
|
+
"type": {
|
|
2743
|
+
"text": "CalendarEntry[]"
|
|
2744
|
+
},
|
|
2745
|
+
"privacy": "protected",
|
|
2746
|
+
"readonly": true,
|
|
2747
|
+
"inheritedFrom": {
|
|
2748
|
+
"name": "CalendarTimelineBase",
|
|
2749
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2750
|
+
}
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
"kind": "field",
|
|
2754
|
+
"name": "entriesVersion",
|
|
2755
|
+
"type": {
|
|
2756
|
+
"text": "number"
|
|
2757
|
+
},
|
|
2758
|
+
"privacy": "protected",
|
|
2759
|
+
"default": "0",
|
|
2760
|
+
"description": "Bumped when entry elements, attributes, or slotted text change to force a re-render.",
|
|
2761
|
+
"inheritedFrom": {
|
|
2762
|
+
"name": "CalendarTimelineBase",
|
|
2763
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2764
|
+
}
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"kind": "field",
|
|
2768
|
+
"name": "entriesObserver",
|
|
2769
|
+
"type": {
|
|
2770
|
+
"text": "MutationObserver | undefined"
|
|
2771
|
+
},
|
|
2772
|
+
"privacy": "private",
|
|
2773
|
+
"inheritedFrom": {
|
|
2774
|
+
"name": "CalendarTimelineBase",
|
|
2775
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2776
|
+
}
|
|
2777
|
+
},
|
|
2778
|
+
{
|
|
2779
|
+
"kind": "method",
|
|
2780
|
+
"name": "handleSlotChange",
|
|
2781
|
+
"privacy": "protected",
|
|
2782
|
+
"return": {
|
|
2783
|
+
"type": {
|
|
2784
|
+
"text": "void"
|
|
2785
|
+
}
|
|
2786
|
+
},
|
|
2787
|
+
"description": "Re-renders when declarative `calendar-entry` children are added or removed.",
|
|
2788
|
+
"inheritedFrom": {
|
|
2789
|
+
"name": "CalendarTimelineBase",
|
|
2790
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2791
|
+
}
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
"kind": "method",
|
|
2795
|
+
"name": "resolveTimedEntriesFor",
|
|
2796
|
+
"privacy": "protected",
|
|
2797
|
+
"return": {
|
|
2798
|
+
"type": {
|
|
2799
|
+
"text": "ResolvedTimedEntry[]"
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
"parameters": [
|
|
2803
|
+
{
|
|
2804
|
+
"name": "rangeStart",
|
|
2805
|
+
"type": {
|
|
2806
|
+
"text": "Date"
|
|
2807
|
+
}
|
|
2808
|
+
},
|
|
2809
|
+
{
|
|
2810
|
+
"name": "rangeEnd",
|
|
2811
|
+
"type": {
|
|
2812
|
+
"text": "Date"
|
|
2813
|
+
}
|
|
2814
|
+
}
|
|
2815
|
+
],
|
|
2816
|
+
"description": "Reads, resolves, and filters slotted entries to those overlapping `[rangeStart, rangeEnd]`.",
|
|
2817
|
+
"inheritedFrom": {
|
|
2818
|
+
"name": "CalendarTimelineBase",
|
|
2819
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2820
|
+
}
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
"kind": "method",
|
|
2824
|
+
"name": "entryKey",
|
|
2825
|
+
"privacy": "protected",
|
|
2826
|
+
"return": {
|
|
2827
|
+
"type": {
|
|
2828
|
+
"text": "string"
|
|
2829
|
+
}
|
|
2830
|
+
},
|
|
2831
|
+
"parameters": [
|
|
2832
|
+
{
|
|
2833
|
+
"name": "entry",
|
|
2834
|
+
"type": {
|
|
2835
|
+
"text": "LanedEntry"
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
],
|
|
2839
|
+
"description": "Current render key shared by an entry's rendered cells/blocks.",
|
|
2840
|
+
"inheritedFrom": {
|
|
2841
|
+
"name": "CalendarTimelineBase",
|
|
2842
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2843
|
+
}
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"kind": "method",
|
|
2847
|
+
"name": "setEntryInteraction",
|
|
2848
|
+
"privacy": "protected",
|
|
2849
|
+
"return": {
|
|
2850
|
+
"type": {
|
|
2851
|
+
"text": "void"
|
|
2852
|
+
}
|
|
2853
|
+
},
|
|
2854
|
+
"parameters": [
|
|
2855
|
+
{
|
|
2856
|
+
"name": "entryKey",
|
|
2857
|
+
"type": {
|
|
2858
|
+
"text": "string"
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
{
|
|
2862
|
+
"name": "className",
|
|
2863
|
+
"type": {
|
|
2864
|
+
"text": "string"
|
|
2865
|
+
}
|
|
2866
|
+
},
|
|
2867
|
+
{
|
|
2868
|
+
"name": "active",
|
|
2869
|
+
"type": {
|
|
2870
|
+
"text": "boolean"
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
],
|
|
2874
|
+
"description": "Toggles one interaction class on every rendered element belonging to an entry.",
|
|
2875
|
+
"inheritedFrom": {
|
|
2876
|
+
"name": "CalendarTimelineBase",
|
|
2877
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2878
|
+
}
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"kind": "method",
|
|
2882
|
+
"name": "syncEntryInteractions",
|
|
2883
|
+
"privacy": "protected",
|
|
2884
|
+
"return": {
|
|
2885
|
+
"type": {
|
|
2886
|
+
"text": "void"
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
"description": "Reconciles classes against the links actually hovered or focused after a render.",
|
|
2890
|
+
"inheritedFrom": {
|
|
2891
|
+
"name": "CalendarTimelineBase",
|
|
2892
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2893
|
+
}
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"kind": "method",
|
|
2897
|
+
"name": "renderEntryLink",
|
|
2898
|
+
"privacy": "protected",
|
|
2899
|
+
"parameters": [
|
|
2900
|
+
{
|
|
2901
|
+
"name": "entry",
|
|
2902
|
+
"type": {
|
|
2903
|
+
"text": "LanedEntry"
|
|
2904
|
+
}
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"name": "accessibleText",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "string"
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
2912
|
+
],
|
|
2913
|
+
"description": "Renders a transparent full-cell link without wrapping the visible text.",
|
|
2914
|
+
"inheritedFrom": {
|
|
2915
|
+
"name": "CalendarTimelineBase",
|
|
2916
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
],
|
|
2920
|
+
"attributes": [
|
|
2921
|
+
{
|
|
2922
|
+
"name": "date",
|
|
2923
|
+
"type": {
|
|
2924
|
+
"text": "string"
|
|
2925
|
+
},
|
|
2926
|
+
"description": "The day shown, `\"YYYY-MM-DD\"`.",
|
|
2927
|
+
"fieldName": "date"
|
|
2928
|
+
}
|
|
2929
|
+
],
|
|
2930
|
+
"superclass": {
|
|
2931
|
+
"name": "CalendarTimelineBase",
|
|
2932
|
+
"module": "/src/calendar-timeline-base.js"
|
|
2933
|
+
},
|
|
2934
|
+
"tagName": "calendar-day",
|
|
2935
|
+
"customElement": true
|
|
2936
|
+
}
|
|
2937
|
+
],
|
|
2938
|
+
"exports": [
|
|
2939
|
+
{
|
|
2940
|
+
"kind": "js",
|
|
2941
|
+
"name": "CalendarDay",
|
|
2942
|
+
"declaration": {
|
|
2943
|
+
"name": "CalendarDay",
|
|
2944
|
+
"module": "src/calendar-day.ts"
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
"kind": "custom-element-definition",
|
|
2949
|
+
"name": "calendar-day",
|
|
2950
|
+
"declaration": {
|
|
2951
|
+
"name": "CalendarDay",
|
|
2952
|
+
"module": "src/calendar-day.ts"
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
]
|
|
2956
|
+
},
|
|
2662
2957
|
{
|
|
2663
2958
|
"kind": "javascript-module",
|
|
2664
2959
|
"path": "src/calendar-entry.ts",
|
|
@@ -2912,38 +3207,361 @@
|
|
|
2912
3207
|
"text": "Date"
|
|
2913
3208
|
}
|
|
2914
3209
|
}
|
|
2915
|
-
],
|
|
2916
|
-
"description": "Finds the laned entry (if any) covering `date` in a given lane."
|
|
3210
|
+
],
|
|
3211
|
+
"description": "Finds the laned entry (if any) covering `date` in a given lane."
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
"kind": "method",
|
|
3215
|
+
"name": "_segmentClass",
|
|
3216
|
+
"privacy": "private",
|
|
3217
|
+
"return": {
|
|
3218
|
+
"type": {
|
|
3219
|
+
"text": "string"
|
|
3220
|
+
}
|
|
3221
|
+
},
|
|
3222
|
+
"parameters": [
|
|
3223
|
+
{
|
|
3224
|
+
"name": "entry",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "LanedEntry"
|
|
3227
|
+
}
|
|
3228
|
+
},
|
|
3229
|
+
{
|
|
3230
|
+
"name": "date",
|
|
3231
|
+
"type": {
|
|
3232
|
+
"text": "Date"
|
|
3233
|
+
}
|
|
3234
|
+
}
|
|
3235
|
+
],
|
|
3236
|
+
"description": "Classifies one day of an entry so only the outer endpoints are rounded."
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
"kind": "method",
|
|
3240
|
+
"name": "_entryKey",
|
|
3241
|
+
"privacy": "private",
|
|
3242
|
+
"return": {
|
|
3243
|
+
"type": {
|
|
3244
|
+
"text": "string"
|
|
3245
|
+
}
|
|
3246
|
+
},
|
|
3247
|
+
"parameters": [
|
|
3248
|
+
{
|
|
3249
|
+
"name": "entry",
|
|
3250
|
+
"type": {
|
|
3251
|
+
"text": "LanedEntry"
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
3254
|
+
],
|
|
3255
|
+
"description": "Current render key shared by an entry's title and body cells."
|
|
3256
|
+
},
|
|
3257
|
+
{
|
|
3258
|
+
"kind": "method",
|
|
3259
|
+
"name": "_setEntryInteraction",
|
|
3260
|
+
"privacy": "private",
|
|
3261
|
+
"return": {
|
|
3262
|
+
"type": {
|
|
3263
|
+
"text": "void"
|
|
3264
|
+
}
|
|
3265
|
+
},
|
|
3266
|
+
"parameters": [
|
|
3267
|
+
{
|
|
3268
|
+
"name": "entryKey",
|
|
3269
|
+
"type": {
|
|
3270
|
+
"text": "string"
|
|
3271
|
+
}
|
|
3272
|
+
},
|
|
3273
|
+
{
|
|
3274
|
+
"name": "className",
|
|
3275
|
+
"type": {
|
|
3276
|
+
"text": "string"
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"name": "active",
|
|
3281
|
+
"type": {
|
|
3282
|
+
"text": "boolean"
|
|
3283
|
+
}
|
|
3284
|
+
}
|
|
3285
|
+
],
|
|
3286
|
+
"description": "Toggles one interaction class on every rendered cell belonging to an entry."
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
"kind": "method",
|
|
3290
|
+
"name": "_syncEntryInteractions",
|
|
3291
|
+
"privacy": "private",
|
|
3292
|
+
"return": {
|
|
3293
|
+
"type": {
|
|
3294
|
+
"text": "void"
|
|
3295
|
+
}
|
|
3296
|
+
},
|
|
3297
|
+
"description": "Reconciles classes against the links actually hovered or focused after a render."
|
|
3298
|
+
},
|
|
3299
|
+
{
|
|
3300
|
+
"kind": "method",
|
|
3301
|
+
"name": "_renderEntryLink",
|
|
3302
|
+
"privacy": "private",
|
|
3303
|
+
"parameters": [
|
|
3304
|
+
{
|
|
3305
|
+
"name": "entry",
|
|
3306
|
+
"type": {
|
|
3307
|
+
"text": "LanedEntry"
|
|
3308
|
+
}
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
"name": "accessibleText",
|
|
3312
|
+
"type": {
|
|
3313
|
+
"text": "string"
|
|
3314
|
+
}
|
|
3315
|
+
}
|
|
3316
|
+
],
|
|
3317
|
+
"description": "Renders a transparent full-cell link without wrapping the visible text."
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
"kind": "method",
|
|
3321
|
+
"name": "_entryBodyText",
|
|
3322
|
+
"privacy": "private",
|
|
3323
|
+
"return": {
|
|
3324
|
+
"type": {
|
|
3325
|
+
"text": "string"
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
"parameters": [
|
|
3329
|
+
{
|
|
3330
|
+
"name": "entry",
|
|
3331
|
+
"type": {
|
|
3332
|
+
"text": "LanedEntry"
|
|
3333
|
+
}
|
|
3334
|
+
},
|
|
3335
|
+
{
|
|
3336
|
+
"name": "showFooter",
|
|
3337
|
+
"type": {
|
|
3338
|
+
"text": "boolean"
|
|
3339
|
+
}
|
|
3340
|
+
}
|
|
3341
|
+
],
|
|
3342
|
+
"description": "Joins the event title, details, and visible footer for tooltips and accessible link names."
|
|
3343
|
+
},
|
|
3344
|
+
{
|
|
3345
|
+
"kind": "method",
|
|
3346
|
+
"name": "_renderEntryBody",
|
|
3347
|
+
"privacy": "private",
|
|
3348
|
+
"parameters": [
|
|
3349
|
+
{
|
|
3350
|
+
"name": "entry",
|
|
3351
|
+
"type": {
|
|
3352
|
+
"text": "LanedEntry"
|
|
3353
|
+
}
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
"name": "showFooter",
|
|
3357
|
+
"type": {
|
|
3358
|
+
"text": "boolean"
|
|
3359
|
+
}
|
|
3360
|
+
},
|
|
3361
|
+
{
|
|
3362
|
+
"name": "detailLineClamp",
|
|
3363
|
+
"type": {
|
|
3364
|
+
"text": "number"
|
|
3365
|
+
}
|
|
3366
|
+
},
|
|
3367
|
+
{
|
|
3368
|
+
"name": "showTitleFallback",
|
|
3369
|
+
"default": "false"
|
|
3370
|
+
}
|
|
3371
|
+
],
|
|
3372
|
+
"description": "Renders the shared details body, with the footer reserved at its bottom edge."
|
|
3373
|
+
},
|
|
3374
|
+
{
|
|
3375
|
+
"kind": "method",
|
|
3376
|
+
"name": "_renderEntryBodyCell",
|
|
3377
|
+
"privacy": "private",
|
|
3378
|
+
"parameters": [
|
|
3379
|
+
{
|
|
3380
|
+
"name": "entry",
|
|
3381
|
+
"type": {
|
|
3382
|
+
"text": "LanedEntry"
|
|
3383
|
+
}
|
|
3384
|
+
},
|
|
3385
|
+
{
|
|
3386
|
+
"name": "bodyRows",
|
|
3387
|
+
"type": {
|
|
3388
|
+
"text": "number"
|
|
3389
|
+
}
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
"name": "reachesEventEnd",
|
|
3393
|
+
"type": {
|
|
3394
|
+
"text": "boolean"
|
|
3395
|
+
}
|
|
3396
|
+
},
|
|
3397
|
+
{
|
|
3398
|
+
"name": "showTitleFallback",
|
|
3399
|
+
"default": "false"
|
|
3400
|
+
}
|
|
3401
|
+
],
|
|
3402
|
+
"description": "Renders a row-spanning body cell with whole-line detail and footer budgets."
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"kind": "method",
|
|
3406
|
+
"name": "_renderLaneCell",
|
|
3407
|
+
"privacy": "private",
|
|
3408
|
+
"parameters": [
|
|
3409
|
+
{
|
|
3410
|
+
"name": "laned",
|
|
3411
|
+
"type": {
|
|
3412
|
+
"text": "LanedEntry[]"
|
|
3413
|
+
}
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"name": "lane",
|
|
3417
|
+
"type": {
|
|
3418
|
+
"text": "number"
|
|
3419
|
+
}
|
|
3420
|
+
},
|
|
3421
|
+
{
|
|
3422
|
+
"name": "date",
|
|
3423
|
+
"type": {
|
|
3424
|
+
"text": "Date"
|
|
3425
|
+
}
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"name": "monthStart",
|
|
3429
|
+
"type": {
|
|
3430
|
+
"text": "Date"
|
|
3431
|
+
}
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
"name": "monthEnd",
|
|
3435
|
+
"type": {
|
|
3436
|
+
"text": "Date"
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
],
|
|
3440
|
+
"description": "Renders a lane's title/body cell, skips rows covered by a body rowspan, or emits an empty spacer."
|
|
3441
|
+
}
|
|
3442
|
+
],
|
|
3443
|
+
"attributes": [
|
|
3444
|
+
{
|
|
3445
|
+
"name": "year",
|
|
3446
|
+
"type": {
|
|
3447
|
+
"text": "number"
|
|
3448
|
+
},
|
|
3449
|
+
"description": "Calendar year, e.g. `2026`.",
|
|
3450
|
+
"fieldName": "year"
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"name": "month",
|
|
3454
|
+
"type": {
|
|
3455
|
+
"text": "number"
|
|
3456
|
+
},
|
|
3457
|
+
"default": "1",
|
|
3458
|
+
"description": "Calendar month, 1-12 (January = 1).",
|
|
3459
|
+
"fieldName": "month"
|
|
3460
|
+
}
|
|
3461
|
+
],
|
|
3462
|
+
"superclass": {
|
|
3463
|
+
"name": "LitElement",
|
|
3464
|
+
"package": "lit"
|
|
3465
|
+
},
|
|
3466
|
+
"tagName": "calendar-month",
|
|
3467
|
+
"customElement": true
|
|
3468
|
+
}
|
|
3469
|
+
],
|
|
3470
|
+
"exports": [
|
|
3471
|
+
{
|
|
3472
|
+
"kind": "js",
|
|
3473
|
+
"name": "CalendarMonth",
|
|
3474
|
+
"declaration": {
|
|
3475
|
+
"name": "CalendarMonth",
|
|
3476
|
+
"module": "src/calendar-month.ts"
|
|
3477
|
+
}
|
|
3478
|
+
},
|
|
3479
|
+
{
|
|
3480
|
+
"kind": "custom-element-definition",
|
|
3481
|
+
"name": "calendar-month",
|
|
3482
|
+
"declaration": {
|
|
3483
|
+
"name": "CalendarMonth",
|
|
3484
|
+
"module": "src/calendar-month.ts"
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
]
|
|
3488
|
+
},
|
|
3489
|
+
{
|
|
3490
|
+
"kind": "javascript-module",
|
|
3491
|
+
"path": "src/calendar-timeline-base.ts",
|
|
3492
|
+
"declarations": [
|
|
3493
|
+
{
|
|
3494
|
+
"kind": "class",
|
|
3495
|
+
"description": "Shared base for the hour-grid calendar views, `calendar-day` and\n`calendar-week` — not a registered custom element itself. Holds what both\nneed identically: observing declarative `calendar-entry` children for live\nupdates, resolving them into time-aware entries, and syncing hover/focus\ninteraction classes on rendered entry bars/links. Pure date/geometry math\n(parsing, lane assignment) stays in `utils/calendar.ts` per this\ncodebase's existing convention; this class holds only the parts that need\nto be instance state on a `LitElement` (observers, cached query results).\n\nSubclasses must render a default `<slot",
|
|
3496
|
+
"name": "CalendarTimelineBase",
|
|
3497
|
+
"members": [
|
|
3498
|
+
{
|
|
3499
|
+
"kind": "field",
|
|
3500
|
+
"name": "entryElements",
|
|
3501
|
+
"type": {
|
|
3502
|
+
"text": "CalendarEntry[]"
|
|
3503
|
+
},
|
|
3504
|
+
"privacy": "protected",
|
|
3505
|
+
"readonly": true
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "field",
|
|
3509
|
+
"name": "entriesVersion",
|
|
3510
|
+
"type": {
|
|
3511
|
+
"text": "number"
|
|
3512
|
+
},
|
|
3513
|
+
"privacy": "protected",
|
|
3514
|
+
"default": "0",
|
|
3515
|
+
"description": "Bumped when entry elements, attributes, or slotted text change to force a re-render."
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"kind": "field",
|
|
3519
|
+
"name": "entriesObserver",
|
|
3520
|
+
"type": {
|
|
3521
|
+
"text": "MutationObserver | undefined"
|
|
3522
|
+
},
|
|
3523
|
+
"privacy": "private"
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"kind": "method",
|
|
3527
|
+
"name": "handleSlotChange",
|
|
3528
|
+
"privacy": "protected",
|
|
3529
|
+
"return": {
|
|
3530
|
+
"type": {
|
|
3531
|
+
"text": "void"
|
|
3532
|
+
}
|
|
3533
|
+
},
|
|
3534
|
+
"description": "Re-renders when declarative `calendar-entry` children are added or removed."
|
|
2917
3535
|
},
|
|
2918
3536
|
{
|
|
2919
3537
|
"kind": "method",
|
|
2920
|
-
"name": "
|
|
2921
|
-
"privacy": "
|
|
3538
|
+
"name": "resolveTimedEntriesFor",
|
|
3539
|
+
"privacy": "protected",
|
|
2922
3540
|
"return": {
|
|
2923
3541
|
"type": {
|
|
2924
|
-
"text": "
|
|
3542
|
+
"text": "ResolvedTimedEntry[]"
|
|
2925
3543
|
}
|
|
2926
3544
|
},
|
|
2927
3545
|
"parameters": [
|
|
2928
3546
|
{
|
|
2929
|
-
"name": "
|
|
3547
|
+
"name": "rangeStart",
|
|
2930
3548
|
"type": {
|
|
2931
|
-
"text": "
|
|
3549
|
+
"text": "Date"
|
|
2932
3550
|
}
|
|
2933
3551
|
},
|
|
2934
3552
|
{
|
|
2935
|
-
"name": "
|
|
3553
|
+
"name": "rangeEnd",
|
|
2936
3554
|
"type": {
|
|
2937
3555
|
"text": "Date"
|
|
2938
3556
|
}
|
|
2939
3557
|
}
|
|
2940
3558
|
],
|
|
2941
|
-
"description": "
|
|
3559
|
+
"description": "Reads, resolves, and filters slotted entries to those overlapping `[rangeStart, rangeEnd]`."
|
|
2942
3560
|
},
|
|
2943
3561
|
{
|
|
2944
3562
|
"kind": "method",
|
|
2945
|
-
"name": "
|
|
2946
|
-
"privacy": "
|
|
3563
|
+
"name": "entryKey",
|
|
3564
|
+
"privacy": "protected",
|
|
2947
3565
|
"return": {
|
|
2948
3566
|
"type": {
|
|
2949
3567
|
"text": "string"
|
|
@@ -2957,12 +3575,12 @@
|
|
|
2957
3575
|
}
|
|
2958
3576
|
}
|
|
2959
3577
|
],
|
|
2960
|
-
"description": "Current render key shared by an entry's
|
|
3578
|
+
"description": "Current render key shared by an entry's rendered cells/blocks."
|
|
2961
3579
|
},
|
|
2962
3580
|
{
|
|
2963
3581
|
"kind": "method",
|
|
2964
|
-
"name": "
|
|
2965
|
-
"privacy": "
|
|
3582
|
+
"name": "setEntryInteraction",
|
|
3583
|
+
"privacy": "protected",
|
|
2966
3584
|
"return": {
|
|
2967
3585
|
"type": {
|
|
2968
3586
|
"text": "void"
|
|
@@ -2988,12 +3606,12 @@
|
|
|
2988
3606
|
}
|
|
2989
3607
|
}
|
|
2990
3608
|
],
|
|
2991
|
-
"description": "Toggles one interaction class on every rendered
|
|
3609
|
+
"description": "Toggles one interaction class on every rendered element belonging to an entry."
|
|
2992
3610
|
},
|
|
2993
3611
|
{
|
|
2994
3612
|
"kind": "method",
|
|
2995
|
-
"name": "
|
|
2996
|
-
"privacy": "
|
|
3613
|
+
"name": "syncEntryInteractions",
|
|
3614
|
+
"privacy": "protected",
|
|
2997
3615
|
"return": {
|
|
2998
3616
|
"type": {
|
|
2999
3617
|
"text": "void"
|
|
@@ -3003,8 +3621,8 @@
|
|
|
3003
3621
|
},
|
|
3004
3622
|
{
|
|
3005
3623
|
"kind": "method",
|
|
3006
|
-
"name": "
|
|
3007
|
-
"privacy": "
|
|
3624
|
+
"name": "renderEntryLink",
|
|
3625
|
+
"privacy": "protected",
|
|
3008
3626
|
"parameters": [
|
|
3009
3627
|
{
|
|
3010
3628
|
"name": "entry",
|
|
@@ -3020,16 +3638,55 @@
|
|
|
3020
3638
|
}
|
|
3021
3639
|
],
|
|
3022
3640
|
"description": "Renders a transparent full-cell link without wrapping the visible text."
|
|
3641
|
+
}
|
|
3642
|
+
],
|
|
3643
|
+
"superclass": {
|
|
3644
|
+
"name": "LitElement",
|
|
3645
|
+
"package": "lit"
|
|
3646
|
+
},
|
|
3647
|
+
"customElement": true
|
|
3648
|
+
}
|
|
3649
|
+
],
|
|
3650
|
+
"exports": [
|
|
3651
|
+
{
|
|
3652
|
+
"kind": "js",
|
|
3653
|
+
"name": "CalendarTimelineBase",
|
|
3654
|
+
"declaration": {
|
|
3655
|
+
"name": "CalendarTimelineBase",
|
|
3656
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3657
|
+
}
|
|
3658
|
+
}
|
|
3659
|
+
]
|
|
3660
|
+
},
|
|
3661
|
+
{
|
|
3662
|
+
"kind": "javascript-module",
|
|
3663
|
+
"path": "src/calendar-week.ts",
|
|
3664
|
+
"declarations": [
|
|
3665
|
+
{
|
|
3666
|
+
"kind": "class",
|
|
3667
|
+
"description": "Sunday-through-Saturday week rendered as one shared hourly time grid — the\nseven-day sibling of `calendar-day`. Unlike `calendar-year` composing 12\n`calendar-month` children, this is its own independent 7-column layout\n(not 7 nested `<calendar-day>` elements): a single hour gutter is drawn\nonce, and multi-day/all-day entries span the days they cover as one\ncontinuous bar in a shared all-day band, since lanes for that band are\nassigned once across the whole visible week (unlike `calendar-month`'s\ndocumented per-instance lane limitation). Timed entries stack into\nside-by-side columns independently per day, same as `calendar-day`.\nRead-only.\n\nShares its slotted-entry observation, resolution, and hover/focus\ninteraction sync with `calendar-day` via `CalendarTimelineBase`.",
|
|
3668
|
+
"name": "CalendarWeek",
|
|
3669
|
+
"slots": [
|
|
3670
|
+
{
|
|
3671
|
+
"description": "Declarative `calendar-entry` elements to render for this week.",
|
|
3672
|
+
"name": ""
|
|
3673
|
+
}
|
|
3674
|
+
],
|
|
3675
|
+
"members": [
|
|
3676
|
+
{
|
|
3677
|
+
"kind": "field",
|
|
3678
|
+
"name": "date",
|
|
3679
|
+
"type": {
|
|
3680
|
+
"text": "string"
|
|
3681
|
+
},
|
|
3682
|
+
"description": "Any date within the displayed week (`\"YYYY-MM-DD\"`) — the week runs Sunday through Saturday.",
|
|
3683
|
+
"attribute": "date",
|
|
3684
|
+
"reflects": true
|
|
3023
3685
|
},
|
|
3024
3686
|
{
|
|
3025
3687
|
"kind": "method",
|
|
3026
|
-
"name": "
|
|
3688
|
+
"name": "_renderAllDayEntry",
|
|
3027
3689
|
"privacy": "private",
|
|
3028
|
-
"return": {
|
|
3029
|
-
"type": {
|
|
3030
|
-
"text": "string"
|
|
3031
|
-
}
|
|
3032
|
-
},
|
|
3033
3690
|
"parameters": [
|
|
3034
3691
|
{
|
|
3035
3692
|
"name": "entry",
|
|
@@ -3038,17 +3695,23 @@
|
|
|
3038
3695
|
}
|
|
3039
3696
|
},
|
|
3040
3697
|
{
|
|
3041
|
-
"name": "
|
|
3698
|
+
"name": "weekStart",
|
|
3042
3699
|
"type": {
|
|
3043
|
-
"text": "
|
|
3700
|
+
"text": "Date"
|
|
3701
|
+
}
|
|
3702
|
+
},
|
|
3703
|
+
{
|
|
3704
|
+
"name": "weekEnd",
|
|
3705
|
+
"type": {
|
|
3706
|
+
"text": "Date"
|
|
3044
3707
|
}
|
|
3045
3708
|
}
|
|
3046
3709
|
],
|
|
3047
|
-
"description": "
|
|
3710
|
+
"description": "Renders one all-day/multi-day bar, spanning the visible-week columns it covers."
|
|
3048
3711
|
},
|
|
3049
3712
|
{
|
|
3050
3713
|
"kind": "method",
|
|
3051
|
-
"name": "
|
|
3714
|
+
"name": "_renderTimedEntry",
|
|
3052
3715
|
"privacy": "private",
|
|
3053
3716
|
"parameters": [
|
|
3054
3717
|
{
|
|
@@ -3058,135 +3721,266 @@
|
|
|
3058
3721
|
}
|
|
3059
3722
|
},
|
|
3060
3723
|
{
|
|
3061
|
-
"name": "
|
|
3724
|
+
"name": "laneCount",
|
|
3062
3725
|
"type": {
|
|
3063
|
-
"text": "
|
|
3726
|
+
"text": "number"
|
|
3064
3727
|
}
|
|
3065
3728
|
},
|
|
3066
3729
|
{
|
|
3067
|
-
"name": "
|
|
3730
|
+
"name": "dayStart",
|
|
3068
3731
|
"type": {
|
|
3069
|
-
"text": "
|
|
3732
|
+
"text": "Date"
|
|
3070
3733
|
}
|
|
3071
3734
|
},
|
|
3072
3735
|
{
|
|
3073
|
-
"name": "
|
|
3074
|
-
"
|
|
3736
|
+
"name": "dayEnd",
|
|
3737
|
+
"type": {
|
|
3738
|
+
"text": "Date"
|
|
3739
|
+
}
|
|
3075
3740
|
}
|
|
3076
3741
|
],
|
|
3077
|
-
"description": "Renders
|
|
3742
|
+
"description": "Renders a positioned/sized block for one timed entry, clamped to `day`'s bounds."
|
|
3078
3743
|
},
|
|
3079
3744
|
{
|
|
3080
3745
|
"kind": "method",
|
|
3081
|
-
"name": "
|
|
3746
|
+
"name": "_renderDayColumn",
|
|
3082
3747
|
"privacy": "private",
|
|
3083
3748
|
"parameters": [
|
|
3084
3749
|
{
|
|
3085
|
-
"name": "
|
|
3750
|
+
"name": "day",
|
|
3086
3751
|
"type": {
|
|
3087
|
-
"text": "
|
|
3752
|
+
"text": "Date"
|
|
3088
3753
|
}
|
|
3089
3754
|
},
|
|
3090
3755
|
{
|
|
3091
|
-
"name": "
|
|
3756
|
+
"name": "timedWeek",
|
|
3092
3757
|
"type": {
|
|
3093
|
-
"text": "
|
|
3758
|
+
"text": "ResolvedTimedEntry[]"
|
|
3094
3759
|
}
|
|
3095
3760
|
},
|
|
3096
3761
|
{
|
|
3097
|
-
"name": "
|
|
3762
|
+
"name": "todayIso",
|
|
3098
3763
|
"type": {
|
|
3099
|
-
"text": "
|
|
3764
|
+
"text": "string"
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
],
|
|
3768
|
+
"description": "Renders one day's hour column: grid lines plus its own independently laned timed entries."
|
|
3769
|
+
},
|
|
3770
|
+
{
|
|
3771
|
+
"kind": "field",
|
|
3772
|
+
"name": "entryElements",
|
|
3773
|
+
"type": {
|
|
3774
|
+
"text": "CalendarEntry[]"
|
|
3775
|
+
},
|
|
3776
|
+
"privacy": "protected",
|
|
3777
|
+
"readonly": true,
|
|
3778
|
+
"inheritedFrom": {
|
|
3779
|
+
"name": "CalendarTimelineBase",
|
|
3780
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
"kind": "field",
|
|
3785
|
+
"name": "entriesVersion",
|
|
3786
|
+
"type": {
|
|
3787
|
+
"text": "number"
|
|
3788
|
+
},
|
|
3789
|
+
"privacy": "protected",
|
|
3790
|
+
"default": "0",
|
|
3791
|
+
"description": "Bumped when entry elements, attributes, or slotted text change to force a re-render.",
|
|
3792
|
+
"inheritedFrom": {
|
|
3793
|
+
"name": "CalendarTimelineBase",
|
|
3794
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3795
|
+
}
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"kind": "field",
|
|
3799
|
+
"name": "entriesObserver",
|
|
3800
|
+
"type": {
|
|
3801
|
+
"text": "MutationObserver | undefined"
|
|
3802
|
+
},
|
|
3803
|
+
"privacy": "private",
|
|
3804
|
+
"inheritedFrom": {
|
|
3805
|
+
"name": "CalendarTimelineBase",
|
|
3806
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3807
|
+
}
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
"kind": "method",
|
|
3811
|
+
"name": "handleSlotChange",
|
|
3812
|
+
"privacy": "protected",
|
|
3813
|
+
"return": {
|
|
3814
|
+
"type": {
|
|
3815
|
+
"text": "void"
|
|
3816
|
+
}
|
|
3817
|
+
},
|
|
3818
|
+
"description": "Re-renders when declarative `calendar-entry` children are added or removed.",
|
|
3819
|
+
"inheritedFrom": {
|
|
3820
|
+
"name": "CalendarTimelineBase",
|
|
3821
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3822
|
+
}
|
|
3823
|
+
},
|
|
3824
|
+
{
|
|
3825
|
+
"kind": "method",
|
|
3826
|
+
"name": "resolveTimedEntriesFor",
|
|
3827
|
+
"privacy": "protected",
|
|
3828
|
+
"return": {
|
|
3829
|
+
"type": {
|
|
3830
|
+
"text": "ResolvedTimedEntry[]"
|
|
3831
|
+
}
|
|
3832
|
+
},
|
|
3833
|
+
"parameters": [
|
|
3834
|
+
{
|
|
3835
|
+
"name": "rangeStart",
|
|
3836
|
+
"type": {
|
|
3837
|
+
"text": "Date"
|
|
3100
3838
|
}
|
|
3101
3839
|
},
|
|
3102
3840
|
{
|
|
3103
|
-
"name": "
|
|
3104
|
-
"
|
|
3841
|
+
"name": "rangeEnd",
|
|
3842
|
+
"type": {
|
|
3843
|
+
"text": "Date"
|
|
3844
|
+
}
|
|
3105
3845
|
}
|
|
3106
3846
|
],
|
|
3107
|
-
"description": "
|
|
3847
|
+
"description": "Reads, resolves, and filters slotted entries to those overlapping `[rangeStart, rangeEnd]`.",
|
|
3848
|
+
"inheritedFrom": {
|
|
3849
|
+
"name": "CalendarTimelineBase",
|
|
3850
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3851
|
+
}
|
|
3108
3852
|
},
|
|
3109
3853
|
{
|
|
3110
3854
|
"kind": "method",
|
|
3111
|
-
"name": "
|
|
3112
|
-
"privacy": "
|
|
3855
|
+
"name": "entryKey",
|
|
3856
|
+
"privacy": "protected",
|
|
3857
|
+
"return": {
|
|
3858
|
+
"type": {
|
|
3859
|
+
"text": "string"
|
|
3860
|
+
}
|
|
3861
|
+
},
|
|
3113
3862
|
"parameters": [
|
|
3114
3863
|
{
|
|
3115
|
-
"name": "
|
|
3864
|
+
"name": "entry",
|
|
3116
3865
|
"type": {
|
|
3117
|
-
"text": "LanedEntry
|
|
3866
|
+
"text": "LanedEntry"
|
|
3118
3867
|
}
|
|
3119
|
-
}
|
|
3868
|
+
}
|
|
3869
|
+
],
|
|
3870
|
+
"description": "Current render key shared by an entry's rendered cells/blocks.",
|
|
3871
|
+
"inheritedFrom": {
|
|
3872
|
+
"name": "CalendarTimelineBase",
|
|
3873
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3874
|
+
}
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
"kind": "method",
|
|
3878
|
+
"name": "setEntryInteraction",
|
|
3879
|
+
"privacy": "protected",
|
|
3880
|
+
"return": {
|
|
3881
|
+
"type": {
|
|
3882
|
+
"text": "void"
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3885
|
+
"parameters": [
|
|
3120
3886
|
{
|
|
3121
|
-
"name": "
|
|
3887
|
+
"name": "entryKey",
|
|
3122
3888
|
"type": {
|
|
3123
|
-
"text": "
|
|
3889
|
+
"text": "string"
|
|
3124
3890
|
}
|
|
3125
3891
|
},
|
|
3126
3892
|
{
|
|
3127
|
-
"name": "
|
|
3893
|
+
"name": "className",
|
|
3128
3894
|
"type": {
|
|
3129
|
-
"text": "
|
|
3895
|
+
"text": "string"
|
|
3130
3896
|
}
|
|
3131
3897
|
},
|
|
3132
3898
|
{
|
|
3133
|
-
"name": "
|
|
3899
|
+
"name": "active",
|
|
3134
3900
|
"type": {
|
|
3135
|
-
"text": "
|
|
3901
|
+
"text": "boolean"
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3904
|
+
],
|
|
3905
|
+
"description": "Toggles one interaction class on every rendered element belonging to an entry.",
|
|
3906
|
+
"inheritedFrom": {
|
|
3907
|
+
"name": "CalendarTimelineBase",
|
|
3908
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3909
|
+
}
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
"kind": "method",
|
|
3913
|
+
"name": "syncEntryInteractions",
|
|
3914
|
+
"privacy": "protected",
|
|
3915
|
+
"return": {
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "void"
|
|
3918
|
+
}
|
|
3919
|
+
},
|
|
3920
|
+
"description": "Reconciles classes against the links actually hovered or focused after a render.",
|
|
3921
|
+
"inheritedFrom": {
|
|
3922
|
+
"name": "CalendarTimelineBase",
|
|
3923
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3924
|
+
}
|
|
3925
|
+
},
|
|
3926
|
+
{
|
|
3927
|
+
"kind": "method",
|
|
3928
|
+
"name": "renderEntryLink",
|
|
3929
|
+
"privacy": "protected",
|
|
3930
|
+
"parameters": [
|
|
3931
|
+
{
|
|
3932
|
+
"name": "entry",
|
|
3933
|
+
"type": {
|
|
3934
|
+
"text": "LanedEntry"
|
|
3136
3935
|
}
|
|
3137
3936
|
},
|
|
3138
3937
|
{
|
|
3139
|
-
"name": "
|
|
3938
|
+
"name": "accessibleText",
|
|
3140
3939
|
"type": {
|
|
3141
|
-
"text": "
|
|
3940
|
+
"text": "string"
|
|
3142
3941
|
}
|
|
3143
3942
|
}
|
|
3144
3943
|
],
|
|
3145
|
-
"description": "Renders a
|
|
3944
|
+
"description": "Renders a transparent full-cell link without wrapping the visible text.",
|
|
3945
|
+
"inheritedFrom": {
|
|
3946
|
+
"name": "CalendarTimelineBase",
|
|
3947
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3948
|
+
}
|
|
3146
3949
|
}
|
|
3147
3950
|
],
|
|
3148
3951
|
"attributes": [
|
|
3149
3952
|
{
|
|
3150
|
-
"name": "
|
|
3151
|
-
"type": {
|
|
3152
|
-
"text": "number"
|
|
3153
|
-
},
|
|
3154
|
-
"description": "Calendar year, e.g. `2026`.",
|
|
3155
|
-
"fieldName": "year"
|
|
3156
|
-
},
|
|
3157
|
-
{
|
|
3158
|
-
"name": "month",
|
|
3953
|
+
"name": "date",
|
|
3159
3954
|
"type": {
|
|
3160
|
-
"text": "
|
|
3955
|
+
"text": "string"
|
|
3161
3956
|
},
|
|
3162
|
-
"
|
|
3163
|
-
"
|
|
3164
|
-
"fieldName": "month"
|
|
3957
|
+
"description": "Any date within the displayed week (`\"YYYY-MM-DD\"`) — the week runs Sunday through Saturday.",
|
|
3958
|
+
"fieldName": "date"
|
|
3165
3959
|
}
|
|
3166
3960
|
],
|
|
3167
3961
|
"superclass": {
|
|
3168
|
-
"name": "
|
|
3169
|
-
"
|
|
3962
|
+
"name": "CalendarTimelineBase",
|
|
3963
|
+
"module": "/src/calendar-timeline-base.js"
|
|
3170
3964
|
},
|
|
3171
|
-
"tagName": "calendar-
|
|
3965
|
+
"tagName": "calendar-week",
|
|
3172
3966
|
"customElement": true
|
|
3173
3967
|
}
|
|
3174
3968
|
],
|
|
3175
3969
|
"exports": [
|
|
3176
3970
|
{
|
|
3177
3971
|
"kind": "js",
|
|
3178
|
-
"name": "
|
|
3972
|
+
"name": "CalendarWeek",
|
|
3179
3973
|
"declaration": {
|
|
3180
|
-
"name": "
|
|
3181
|
-
"module": "src/calendar-
|
|
3974
|
+
"name": "CalendarWeek",
|
|
3975
|
+
"module": "src/calendar-week.ts"
|
|
3182
3976
|
}
|
|
3183
3977
|
},
|
|
3184
3978
|
{
|
|
3185
3979
|
"kind": "custom-element-definition",
|
|
3186
|
-
"name": "calendar-
|
|
3980
|
+
"name": "calendar-week",
|
|
3187
3981
|
"declaration": {
|
|
3188
|
-
"name": "
|
|
3189
|
-
"module": "src/calendar-
|
|
3982
|
+
"name": "CalendarWeek",
|
|
3983
|
+
"module": "src/calendar-week.ts"
|
|
3190
3984
|
}
|
|
3191
3985
|
}
|
|
3192
3986
|
]
|
|
@@ -3570,7 +4364,7 @@
|
|
|
3570
4364
|
"declarations": [
|
|
3571
4365
|
{
|
|
3572
4366
|
"kind": "class",
|
|
3573
|
-
"description": "GitHub/Slack-style comment composer: a one-line text field that expands\ninto a multi-line textarea with a bottom-right Cancel/Submit footer\n(`form-actions`) as soon as it's focused or clicked. Submitting fires\n`submit` with the trimmed value, then clears the field and collapses back\nto one line — it's meant for posting one comment at a time, not editing a\npersistent value in place (see `editable-text` for that). Canceling (the\nCancel button or `Escape`) discards the draft and collapses without\nfiring `submit`. Clicking away (blur) does neither — the composer stays\nexpanded until the user explicitly submits or cancels. `Cmd`/`Ctrl`+`Enter`\nsubmits from the textarea, matching `editable-text`'s multiline shortcut.\nPurely token-styled (no bespoke colors), so it's themeable via the same\n`--ui-*` custom properties as every other value-entry field.",
|
|
4367
|
+
"description": "GitHub/Slack-style comment composer: a one-line text field that expands\ninto a multi-line textarea with a bottom-right Cancel/Submit footer\n(`form-actions`) as soon as it's focused or clicked. Submitting fires\n`submit` with the trimmed value, then clears the field and collapses back\nto one line — it's meant for posting one comment at a time, not editing a\npersistent value in place (see `editable-text` for that). Canceling (the\nCancel button or `Escape`) discards the draft and collapses without\nfiring `submit`. Clicking away (blur) does neither — the composer stays\nexpanded until the user explicitly submits or cancels. `Cmd`/`Ctrl`+`Enter`\nsubmits from the textarea, matching `editable-text`'s multiline shortcut —\nthe Submit button always shows a `kbd-hint` for it, so the shortcut is\ndiscoverable rather than a hidden power-user feature. Calling the standard\n`.focus()` method expands the composer (if collapsed) and focuses its\nfield, for an ancestor that wants to drive it programmatically.\nPurely token-styled (no bespoke colors), so it's themeable via the same\n`--ui-*` custom properties as every other value-entry field.",
|
|
3574
4368
|
"name": "CommentComposer",
|
|
3575
4369
|
"members": [
|
|
3576
4370
|
{
|
|
@@ -3677,7 +4471,26 @@
|
|
|
3677
4471
|
"type": {
|
|
3678
4472
|
"text": "void"
|
|
3679
4473
|
}
|
|
3680
|
-
}
|
|
4474
|
+
}
|
|
4475
|
+
},
|
|
4476
|
+
{
|
|
4477
|
+
"kind": "method",
|
|
4478
|
+
"name": "focus",
|
|
4479
|
+
"return": {
|
|
4480
|
+
"type": {
|
|
4481
|
+
"text": "void"
|
|
4482
|
+
}
|
|
4483
|
+
},
|
|
4484
|
+
"parameters": [
|
|
4485
|
+
{
|
|
4486
|
+
"name": "options",
|
|
4487
|
+
"optional": true,
|
|
4488
|
+
"type": {
|
|
4489
|
+
"text": "FocusOptions"
|
|
4490
|
+
}
|
|
4491
|
+
}
|
|
4492
|
+
],
|
|
4493
|
+
"description": "Expands the composer (if collapsed) and focuses its field, so an\nancestor can drive it programmatically — e.g. a \"reply\" affordance\nelsewhere on the page that should land the user in this composer\nalready expanded, not just visually scrolled to a one-line input.\nA no-op while `disabled`. Expanding re-renders asynchronously; the\nactual focus happens in `updated()` once the textarea exists."
|
|
3681
4494
|
},
|
|
3682
4495
|
{
|
|
3683
4496
|
"kind": "method",
|
|
@@ -7887,6 +8700,22 @@
|
|
|
7887
8700
|
"module": "./confirm-dialog.js"
|
|
7888
8701
|
}
|
|
7889
8702
|
},
|
|
8703
|
+
{
|
|
8704
|
+
"kind": "js",
|
|
8705
|
+
"name": "ModalDialog",
|
|
8706
|
+
"declaration": {
|
|
8707
|
+
"name": "ModalDialog",
|
|
8708
|
+
"module": "./modal-dialog.js"
|
|
8709
|
+
}
|
|
8710
|
+
},
|
|
8711
|
+
{
|
|
8712
|
+
"kind": "js",
|
|
8713
|
+
"name": "ModalDialogSize",
|
|
8714
|
+
"declaration": {
|
|
8715
|
+
"name": "ModalDialogSize",
|
|
8716
|
+
"module": "./modal-dialog.js"
|
|
8717
|
+
}
|
|
8718
|
+
},
|
|
7890
8719
|
{
|
|
7891
8720
|
"kind": "js",
|
|
7892
8721
|
"name": "ContentDivider",
|
|
@@ -8535,6 +9364,14 @@
|
|
|
8535
9364
|
"module": "./timeline-entry.js"
|
|
8536
9365
|
}
|
|
8537
9366
|
},
|
|
9367
|
+
{
|
|
9368
|
+
"kind": "js",
|
|
9369
|
+
"name": "CalendarDay",
|
|
9370
|
+
"declaration": {
|
|
9371
|
+
"name": "CalendarDay",
|
|
9372
|
+
"module": "./calendar-day.js"
|
|
9373
|
+
}
|
|
9374
|
+
},
|
|
8538
9375
|
{
|
|
8539
9376
|
"kind": "js",
|
|
8540
9377
|
"name": "CalendarEntry",
|
|
@@ -8551,6 +9388,14 @@
|
|
|
8551
9388
|
"module": "./calendar-month.js"
|
|
8552
9389
|
}
|
|
8553
9390
|
},
|
|
9391
|
+
{
|
|
9392
|
+
"kind": "js",
|
|
9393
|
+
"name": "CalendarWeek",
|
|
9394
|
+
"declaration": {
|
|
9395
|
+
"name": "CalendarWeek",
|
|
9396
|
+
"module": "./calendar-week.js"
|
|
9397
|
+
}
|
|
9398
|
+
},
|
|
8554
9399
|
{
|
|
8555
9400
|
"kind": "js",
|
|
8556
9401
|
"name": "CalendarYear",
|
|
@@ -10893,143 +11738,326 @@
|
|
|
10893
11738
|
"description": "Fires on every keystroke in the Write tab; detail: { value: string }."
|
|
10894
11739
|
},
|
|
10895
11740
|
{
|
|
10896
|
-
"name": "change",
|
|
11741
|
+
"name": "change",
|
|
11742
|
+
"type": {
|
|
11743
|
+
"text": "CustomEvent"
|
|
11744
|
+
},
|
|
11745
|
+
"description": "Native change semantics (on blur, if the value changed); detail: { value: string }."
|
|
11746
|
+
}
|
|
11747
|
+
],
|
|
11748
|
+
"attributes": [
|
|
11749
|
+
{
|
|
11750
|
+
"name": "value",
|
|
11751
|
+
"type": {
|
|
11752
|
+
"text": "string"
|
|
11753
|
+
},
|
|
11754
|
+
"default": "\"\"",
|
|
11755
|
+
"description": "Full raw document text, including any front matter block.",
|
|
11756
|
+
"fieldName": "value"
|
|
11757
|
+
},
|
|
11758
|
+
{
|
|
11759
|
+
"name": "rows",
|
|
11760
|
+
"type": {
|
|
11761
|
+
"text": "number"
|
|
11762
|
+
},
|
|
11763
|
+
"default": "12",
|
|
11764
|
+
"description": "Visible row count for the Write tab's textarea.",
|
|
11765
|
+
"fieldName": "rows"
|
|
11766
|
+
},
|
|
11767
|
+
{
|
|
11768
|
+
"name": "placeholder",
|
|
11769
|
+
"type": {
|
|
11770
|
+
"text": "string"
|
|
11771
|
+
},
|
|
11772
|
+
"default": "\"\"",
|
|
11773
|
+
"description": "Placeholder text shown when the Write tab is empty.",
|
|
11774
|
+
"fieldName": "placeholder"
|
|
11775
|
+
}
|
|
11776
|
+
],
|
|
11777
|
+
"superclass": {
|
|
11778
|
+
"name": "LitElement",
|
|
11779
|
+
"package": "lit"
|
|
11780
|
+
},
|
|
11781
|
+
"tagName": "markdown-editor",
|
|
11782
|
+
"customElement": true
|
|
11783
|
+
}
|
|
11784
|
+
],
|
|
11785
|
+
"exports": [
|
|
11786
|
+
{
|
|
11787
|
+
"kind": "js",
|
|
11788
|
+
"name": "MarkdownEditor",
|
|
11789
|
+
"declaration": {
|
|
11790
|
+
"name": "MarkdownEditor",
|
|
11791
|
+
"module": "src/markdown-editor.ts"
|
|
11792
|
+
}
|
|
11793
|
+
},
|
|
11794
|
+
{
|
|
11795
|
+
"kind": "custom-element-definition",
|
|
11796
|
+
"name": "markdown-editor",
|
|
11797
|
+
"declaration": {
|
|
11798
|
+
"name": "MarkdownEditor",
|
|
11799
|
+
"module": "src/markdown-editor.ts"
|
|
11800
|
+
}
|
|
11801
|
+
}
|
|
11802
|
+
]
|
|
11803
|
+
},
|
|
11804
|
+
{
|
|
11805
|
+
"kind": "javascript-module",
|
|
11806
|
+
"path": "src/markdown-view.ts",
|
|
11807
|
+
"declarations": [
|
|
11808
|
+
{
|
|
11809
|
+
"kind": "class",
|
|
11810
|
+
"description": "Renders a markdown string as sanitized, styled HTML — headings, lists,\ncode, tables, blockquotes, and links all get token-driven styling, with\nwide content (code blocks, tables) scrolling in its own container instead\nof widening the page.\n\nThe markdown source is treated as untrusted: it is always parsed with\n`marked` and sanitized with `DOMPurify` before being injected, never\nrendered as-is.",
|
|
11811
|
+
"name": "MarkdownView",
|
|
11812
|
+
"members": [
|
|
11813
|
+
{
|
|
11814
|
+
"kind": "field",
|
|
11815
|
+
"name": "markdown",
|
|
11816
|
+
"type": {
|
|
11817
|
+
"text": "string"
|
|
11818
|
+
},
|
|
11819
|
+
"default": "\"\"",
|
|
11820
|
+
"description": "Raw markdown source to render.",
|
|
11821
|
+
"attribute": "markdown"
|
|
11822
|
+
},
|
|
11823
|
+
{
|
|
11824
|
+
"kind": "method",
|
|
11825
|
+
"name": "_renderedHtml",
|
|
11826
|
+
"privacy": "private",
|
|
11827
|
+
"return": {
|
|
11828
|
+
"type": {
|
|
11829
|
+
"text": "string"
|
|
11830
|
+
}
|
|
11831
|
+
}
|
|
11832
|
+
}
|
|
11833
|
+
],
|
|
11834
|
+
"attributes": [
|
|
11835
|
+
{
|
|
11836
|
+
"name": "markdown",
|
|
11837
|
+
"type": {
|
|
11838
|
+
"text": "string"
|
|
11839
|
+
},
|
|
11840
|
+
"default": "\"\"",
|
|
11841
|
+
"description": "Raw markdown source to render.",
|
|
11842
|
+
"fieldName": "markdown"
|
|
11843
|
+
}
|
|
11844
|
+
],
|
|
11845
|
+
"superclass": {
|
|
11846
|
+
"name": "LitElement",
|
|
11847
|
+
"package": "lit"
|
|
11848
|
+
},
|
|
11849
|
+
"tagName": "markdown-view",
|
|
11850
|
+
"customElement": true
|
|
11851
|
+
}
|
|
11852
|
+
],
|
|
11853
|
+
"exports": [
|
|
11854
|
+
{
|
|
11855
|
+
"kind": "js",
|
|
11856
|
+
"name": "MarkdownView",
|
|
11857
|
+
"declaration": {
|
|
11858
|
+
"name": "MarkdownView",
|
|
11859
|
+
"module": "src/markdown-view.ts"
|
|
11860
|
+
}
|
|
11861
|
+
},
|
|
11862
|
+
{
|
|
11863
|
+
"kind": "custom-element-definition",
|
|
11864
|
+
"name": "markdown-view",
|
|
11865
|
+
"declaration": {
|
|
11866
|
+
"name": "MarkdownView",
|
|
11867
|
+
"module": "src/markdown-view.ts"
|
|
11868
|
+
}
|
|
11869
|
+
}
|
|
11870
|
+
]
|
|
11871
|
+
},
|
|
11872
|
+
{
|
|
11873
|
+
"kind": "javascript-module",
|
|
11874
|
+
"path": "src/mcp-server.ts",
|
|
11875
|
+
"declarations": [],
|
|
11876
|
+
"exports": []
|
|
11877
|
+
},
|
|
11878
|
+
{
|
|
11879
|
+
"kind": "javascript-module",
|
|
11880
|
+
"path": "src/modal-dialog.ts",
|
|
11881
|
+
"declarations": [
|
|
11882
|
+
{
|
|
11883
|
+
"kind": "class",
|
|
11884
|
+
"description": "Generic centered modal-dialog shell: overlay + card with header chrome, a\nclose button, and an arbitrary slotted body — the modal sibling to\n`slide-panel` (fixed-edge) and `popover-panel` (anchored). Unlike\n`confirm-dialog`, it has no baked-in actions; the consumer supplies the\nbody content (a form, a read-only viewer, a table) and any footer buttons\nitself. Instant `display:none` → `display:flex` toggle, no transition.\nTraps focus, closes on Escape, and restores focus to the trigger on\nclose, stacking correctly against other open `confirm-dialog`/\n`slide-panel`/`popover-panel`/`modal-dialog` layers.",
|
|
11885
|
+
"name": "ModalDialog",
|
|
11886
|
+
"slots": [
|
|
11887
|
+
{
|
|
11888
|
+
"description": "Dialog body content.",
|
|
11889
|
+
"name": ""
|
|
11890
|
+
},
|
|
11891
|
+
{
|
|
11892
|
+
"description": "Overrides the header title text (falls back to the `heading` property).",
|
|
11893
|
+
"name": "title"
|
|
11894
|
+
}
|
|
11895
|
+
],
|
|
11896
|
+
"members": [
|
|
11897
|
+
{
|
|
11898
|
+
"kind": "field",
|
|
11899
|
+
"name": "open",
|
|
11900
|
+
"type": {
|
|
11901
|
+
"text": "boolean"
|
|
11902
|
+
},
|
|
11903
|
+
"default": "false",
|
|
11904
|
+
"description": "Whether the dialog is visible.",
|
|
11905
|
+
"attribute": "open"
|
|
11906
|
+
},
|
|
11907
|
+
{
|
|
11908
|
+
"kind": "field",
|
|
11909
|
+
"name": "heading",
|
|
11910
|
+
"type": {
|
|
11911
|
+
"text": "string"
|
|
11912
|
+
},
|
|
11913
|
+
"default": "\"\"",
|
|
11914
|
+
"description": "Title text shown in the dialog header (overridable via slot=\"title\").",
|
|
11915
|
+
"attribute": "heading"
|
|
11916
|
+
},
|
|
11917
|
+
{
|
|
11918
|
+
"kind": "field",
|
|
11919
|
+
"name": "size",
|
|
11920
|
+
"type": {
|
|
11921
|
+
"text": "ModalDialogSize"
|
|
11922
|
+
},
|
|
11923
|
+
"default": "\"default\"",
|
|
11924
|
+
"description": "`\"lg\"` widens the dialog to 60rem for content like tables; `\"default\"`\nis 25rem; `\"fullscreen\"` covers the entire viewport edge-to-edge with\nno border-radius or overlay padding.",
|
|
11925
|
+
"attribute": "size"
|
|
11926
|
+
},
|
|
11927
|
+
{
|
|
11928
|
+
"kind": "field",
|
|
11929
|
+
"name": "dismissible",
|
|
11930
|
+
"type": {
|
|
11931
|
+
"text": "boolean"
|
|
11932
|
+
},
|
|
11933
|
+
"default": "false",
|
|
11934
|
+
"description": "When true, clicking the backdrop also closes the dialog (off by default — safe for forms with unsaved input).",
|
|
11935
|
+
"attribute": "dismissible"
|
|
11936
|
+
},
|
|
11937
|
+
{
|
|
11938
|
+
"kind": "field",
|
|
11939
|
+
"name": "_previousFocus",
|
|
11940
|
+
"type": {
|
|
11941
|
+
"text": "HTMLElement | null"
|
|
11942
|
+
},
|
|
11943
|
+
"privacy": "private",
|
|
11944
|
+
"default": "null"
|
|
11945
|
+
},
|
|
11946
|
+
{
|
|
11947
|
+
"kind": "method",
|
|
11948
|
+
"name": "_close",
|
|
11949
|
+
"privacy": "private"
|
|
11950
|
+
},
|
|
11951
|
+
{
|
|
11952
|
+
"kind": "method",
|
|
11953
|
+
"name": "_getFocusableElements",
|
|
11954
|
+
"privacy": "private",
|
|
11955
|
+
"return": {
|
|
11956
|
+
"type": {
|
|
11957
|
+
"text": "HTMLElement[]"
|
|
11958
|
+
}
|
|
11959
|
+
}
|
|
11960
|
+
},
|
|
11961
|
+
{
|
|
11962
|
+
"kind": "method",
|
|
11963
|
+
"name": "_focusInitial",
|
|
11964
|
+
"privacy": "private",
|
|
11965
|
+
"return": {
|
|
11966
|
+
"type": {
|
|
11967
|
+
"text": "void"
|
|
11968
|
+
}
|
|
11969
|
+
}
|
|
11970
|
+
},
|
|
11971
|
+
{
|
|
11972
|
+
"kind": "field",
|
|
11973
|
+
"name": "_onDocumentFocusIn",
|
|
11974
|
+
"privacy": "private"
|
|
11975
|
+
},
|
|
11976
|
+
{
|
|
11977
|
+
"kind": "field",
|
|
11978
|
+
"name": "_onWindowKeydown",
|
|
11979
|
+
"privacy": "private"
|
|
11980
|
+
},
|
|
11981
|
+
{
|
|
11982
|
+
"kind": "field",
|
|
11983
|
+
"name": "_onOverlayClick",
|
|
11984
|
+
"privacy": "private"
|
|
11985
|
+
}
|
|
11986
|
+
],
|
|
11987
|
+
"events": [
|
|
11988
|
+
{
|
|
11989
|
+
"name": "panel-close",
|
|
10897
11990
|
"type": {
|
|
10898
11991
|
"text": "CustomEvent"
|
|
10899
11992
|
},
|
|
10900
|
-
"description": "
|
|
11993
|
+
"description": "User clicked the close (✕) button, pressed Escape, or (when `dismissible`) clicked the backdrop."
|
|
10901
11994
|
}
|
|
10902
11995
|
],
|
|
10903
11996
|
"attributes": [
|
|
10904
11997
|
{
|
|
10905
|
-
"name": "
|
|
10906
|
-
"type": {
|
|
10907
|
-
"text": "string"
|
|
10908
|
-
},
|
|
10909
|
-
"default": "\"\"",
|
|
10910
|
-
"description": "Full raw document text, including any front matter block.",
|
|
10911
|
-
"fieldName": "value"
|
|
10912
|
-
},
|
|
10913
|
-
{
|
|
10914
|
-
"name": "rows",
|
|
11998
|
+
"name": "open",
|
|
10915
11999
|
"type": {
|
|
10916
|
-
"text": "
|
|
12000
|
+
"text": "boolean"
|
|
10917
12001
|
},
|
|
10918
|
-
"default": "
|
|
10919
|
-
"description": "
|
|
10920
|
-
"fieldName": "
|
|
12002
|
+
"default": "false",
|
|
12003
|
+
"description": "Whether the dialog is visible.",
|
|
12004
|
+
"fieldName": "open"
|
|
10921
12005
|
},
|
|
10922
12006
|
{
|
|
10923
|
-
"name": "
|
|
12007
|
+
"name": "heading",
|
|
10924
12008
|
"type": {
|
|
10925
12009
|
"text": "string"
|
|
10926
12010
|
},
|
|
10927
12011
|
"default": "\"\"",
|
|
10928
|
-
"description": "
|
|
10929
|
-
"fieldName": "
|
|
10930
|
-
}
|
|
10931
|
-
],
|
|
10932
|
-
"superclass": {
|
|
10933
|
-
"name": "LitElement",
|
|
10934
|
-
"package": "lit"
|
|
10935
|
-
},
|
|
10936
|
-
"tagName": "markdown-editor",
|
|
10937
|
-
"customElement": true
|
|
10938
|
-
}
|
|
10939
|
-
],
|
|
10940
|
-
"exports": [
|
|
10941
|
-
{
|
|
10942
|
-
"kind": "js",
|
|
10943
|
-
"name": "MarkdownEditor",
|
|
10944
|
-
"declaration": {
|
|
10945
|
-
"name": "MarkdownEditor",
|
|
10946
|
-
"module": "src/markdown-editor.ts"
|
|
10947
|
-
}
|
|
10948
|
-
},
|
|
10949
|
-
{
|
|
10950
|
-
"kind": "custom-element-definition",
|
|
10951
|
-
"name": "markdown-editor",
|
|
10952
|
-
"declaration": {
|
|
10953
|
-
"name": "MarkdownEditor",
|
|
10954
|
-
"module": "src/markdown-editor.ts"
|
|
10955
|
-
}
|
|
10956
|
-
}
|
|
10957
|
-
]
|
|
10958
|
-
},
|
|
10959
|
-
{
|
|
10960
|
-
"kind": "javascript-module",
|
|
10961
|
-
"path": "src/markdown-view.ts",
|
|
10962
|
-
"declarations": [
|
|
10963
|
-
{
|
|
10964
|
-
"kind": "class",
|
|
10965
|
-
"description": "Renders a markdown string as sanitized, styled HTML — headings, lists,\ncode, tables, blockquotes, and links all get token-driven styling, with\nwide content (code blocks, tables) scrolling in its own container instead\nof widening the page.\n\nThe markdown source is treated as untrusted: it is always parsed with\n`marked` and sanitized with `DOMPurify` before being injected, never\nrendered as-is.",
|
|
10966
|
-
"name": "MarkdownView",
|
|
10967
|
-
"members": [
|
|
12012
|
+
"description": "Title text shown in the dialog header (overridable via slot=\"title\").",
|
|
12013
|
+
"fieldName": "heading"
|
|
12014
|
+
},
|
|
10968
12015
|
{
|
|
10969
|
-
"
|
|
10970
|
-
"name": "markdown",
|
|
12016
|
+
"name": "size",
|
|
10971
12017
|
"type": {
|
|
10972
|
-
"text": "
|
|
12018
|
+
"text": "ModalDialogSize"
|
|
10973
12019
|
},
|
|
10974
|
-
"default": "\"\"",
|
|
10975
|
-
"description": "
|
|
10976
|
-
"
|
|
12020
|
+
"default": "\"default\"",
|
|
12021
|
+
"description": "`\"lg\"` widens the dialog to 60rem for content like tables; `\"default\"`\nis 25rem; `\"fullscreen\"` covers the entire viewport edge-to-edge with\nno border-radius or overlay padding.",
|
|
12022
|
+
"fieldName": "size"
|
|
10977
12023
|
},
|
|
10978
12024
|
{
|
|
10979
|
-
"
|
|
10980
|
-
"name": "_renderedHtml",
|
|
10981
|
-
"privacy": "private",
|
|
10982
|
-
"return": {
|
|
10983
|
-
"type": {
|
|
10984
|
-
"text": "string"
|
|
10985
|
-
}
|
|
10986
|
-
}
|
|
10987
|
-
}
|
|
10988
|
-
],
|
|
10989
|
-
"attributes": [
|
|
10990
|
-
{
|
|
10991
|
-
"name": "markdown",
|
|
12025
|
+
"name": "dismissible",
|
|
10992
12026
|
"type": {
|
|
10993
|
-
"text": "
|
|
12027
|
+
"text": "boolean"
|
|
10994
12028
|
},
|
|
10995
|
-
"default": "
|
|
10996
|
-
"description": "
|
|
10997
|
-
"fieldName": "
|
|
12029
|
+
"default": "false",
|
|
12030
|
+
"description": "When true, clicking the backdrop also closes the dialog (off by default — safe for forms with unsaved input).",
|
|
12031
|
+
"fieldName": "dismissible"
|
|
10998
12032
|
}
|
|
10999
12033
|
],
|
|
11000
12034
|
"superclass": {
|
|
11001
12035
|
"name": "LitElement",
|
|
11002
12036
|
"package": "lit"
|
|
11003
12037
|
},
|
|
11004
|
-
"tagName": "
|
|
12038
|
+
"tagName": "modal-dialog",
|
|
11005
12039
|
"customElement": true
|
|
11006
12040
|
}
|
|
11007
12041
|
],
|
|
11008
12042
|
"exports": [
|
|
11009
12043
|
{
|
|
11010
12044
|
"kind": "js",
|
|
11011
|
-
"name": "
|
|
12045
|
+
"name": "ModalDialog",
|
|
11012
12046
|
"declaration": {
|
|
11013
|
-
"name": "
|
|
11014
|
-
"module": "src/
|
|
12047
|
+
"name": "ModalDialog",
|
|
12048
|
+
"module": "src/modal-dialog.ts"
|
|
11015
12049
|
}
|
|
11016
12050
|
},
|
|
11017
12051
|
{
|
|
11018
12052
|
"kind": "custom-element-definition",
|
|
11019
|
-
"name": "
|
|
12053
|
+
"name": "modal-dialog",
|
|
11020
12054
|
"declaration": {
|
|
11021
|
-
"name": "
|
|
11022
|
-
"module": "src/
|
|
12055
|
+
"name": "ModalDialog",
|
|
12056
|
+
"module": "src/modal-dialog.ts"
|
|
11023
12057
|
}
|
|
11024
12058
|
}
|
|
11025
12059
|
]
|
|
11026
12060
|
},
|
|
11027
|
-
{
|
|
11028
|
-
"kind": "javascript-module",
|
|
11029
|
-
"path": "src/mcp-server.ts",
|
|
11030
|
-
"declarations": [],
|
|
11031
|
-
"exports": []
|
|
11032
|
-
},
|
|
11033
12061
|
{
|
|
11034
12062
|
"kind": "javascript-module",
|
|
11035
12063
|
"path": "src/multi-select.ts",
|
|
@@ -16019,7 +17047,7 @@
|
|
|
16019
17047
|
"declarations": [
|
|
16020
17048
|
{
|
|
16021
17049
|
"kind": "class",
|
|
16022
|
-
"description": "Fixed-position stack of dismissible notifications, anchored top-right\n(top-full-width on mobile). Every toast shares one fixed width so entries\nnever appear narrower or wider than one another. Not wired to any app state\nyet — callers add toasts imperatively via the `show()` method on a live\nelement reference,\ne.g. `document.querySelector('toast-notification')?.show('Offline', { variant: 'error' })`,\nor via the `notifySuccess`/`notifyError`/`notifyInfo` module-level helpers\nexported from this file. The first argument is the required bold headline; an\noptional `description` renders a smaller, non-bold second line. Each variant\nleads with a matching status icon (success → check, error → exclamation\ncircle, info → information circle, warning → exclamation triangle). Each toast\nauto-dismisses after `duration` ms and can also be dismissed via its ✕\nbutton. Appears/disappears instantly — no slide/fade transitions.",
|
|
17050
|
+
"description": "Fixed-position stack of dismissible notifications, anchored top-right\n(top-full-width on mobile). Every toast shares one fixed width so entries\nnever appear narrower or wider than one another. Not wired to any app state\nyet — callers add toasts imperatively via the `show()` method on a live\nelement reference,\ne.g. `document.querySelector('toast-notification')?.show('Offline', { variant: 'error' })`,\nor via the `notifySuccess`/`notifyError`/`notifyInfo` module-level helpers\nexported from this file. The first argument is the required bold headline; an\noptional `description` renders a smaller, non-bold second line. Each variant\nleads with a matching status icon (success → check, error → exclamation\ncircle, info → information circle, warning → exclamation triangle). Each toast\nauto-dismisses after `duration` ms and can also be dismissed via its ✕\nbutton. Appears/disappears instantly — no slide/fade transitions.\n\nEach variant's background reads a dedicated `--ui-toast-*-background` hook\n(`success`/`error`/`info`/`warning`), which defaults to the flat\n`--ui-success`/`--ui-danger`/`--ui-info`/`--ui-warning` tokens unchanged —\nso those stay the single source of truth for every other component. A\nconsumer can override just these toast-specific tokens with a\n`linear-gradient(...)` to opt every toast into a gradient look without\ntouching component markup — `gradientTokenValues` in `tokens.ts` ships\nexactly this, wired up via `data-theme=\"gradient\"` (see `tokens.css`'s\n\"Gradient theme\" section), the same mechanism `ui-button` uses.\n`--ui-toast-highlight` (a glossy top-edge box-shadow, layered onto the\nexisting elevation shadow) and `--ui-toast-text-shadow` (legibility\nagainst the gradient's lighter stop) round out the effect, mirroring\n`ui-button`'s `--ui-button-highlight`/`--ui-button-text-shadow`.",
|
|
16023
17051
|
"name": "ToastNotification",
|
|
16024
17052
|
"members": [
|
|
16025
17053
|
{
|
|
@@ -16252,7 +17280,7 @@
|
|
|
16252
17280
|
"type": {
|
|
16253
17281
|
"text": "Record<string, string>"
|
|
16254
17282
|
},
|
|
16255
|
-
"default": "{ // Colors \"--ui-primary\": \"#4f46e5\", // indigo-600 \"--ui-primary-hover\": \"#4338ca\", // indigo-700 // Button-specific background/border hooks: default to the flat --ui-primary // / --ui-danger tokens above unchanged, so those stay the single source of // truth for every other component. Overriding just these lets a theme opt // ui-button into a gradient (or any other) background without touching // component markup; --ui-button-border/--ui-button-danger-border default // to transparent (today's look) and are meant to be paired with a shade // darker than the gradient's dark stop when one is set. The `-active` // variants default to whatever `-background` already resolved to (so a // solid override still applies while pressed) — a gradient theme should // set them to the same stops in reverse, for a pressed/\"indented\" look. \"--ui-button-background\": \"var(--ui-primary, #4f46e5)\", \"--ui-button-background-hover\": \"var(--ui-primary-hover, #4338ca)\", \"--ui-button-background-active\": \"var(--ui-button-background, var(--ui-primary, #4f46e5))\", \"--ui-button-border\": \"transparent\", // The bordered, transparent-background secondary variant's equivalents — // shared with confirm-dialog's Cancel button, which is the same visual // pattern. Defaults reproduce today's literal secondary styling exactly // (no background at any state, border colors matching --ui-border / // --ui-text-muted), so a theme only needs to override these to make // secondary/Cancel buttons match a primary/danger gradient theme. \"--ui-button-secondary-background\": \"none\", \"--ui-button-secondary-background-hover\": \"none\", \"--ui-button-secondary-background-active\": \"var(--ui-button-secondary-background, none)\", \"--ui-button-secondary-border\": \"var(--ui-border, #e2e8f0)\", \"--ui-button-secondary-border-hover\": \"var(--ui-text-muted, #64748b)\", // A muted-gray surface used wherever something already paints // --ui-surface-muted as a state indicator in flat mode — button-group's // unchecked-segment hover, pagination-nav's button hover, and // radio-cards/radio-pills' checked background — which is a genuinely // different default than secondary's borderless flat hover, so it can't // reuse --ui-button-secondary-background-hover's \"none\" default. \"--ui-button-secondary-surface-muted\": \"var(--ui-surface-muted, #f8fafc)\", // Shared by both primary/danger — a purely cosmetic gloss/legibility pair, // not color-specific, so one token covers both variants. `-highlight` is a // full box-shadow value (e.g. `inset 0 1px 0 rgb(255 255 255 / 0.35)`) for // a glossy top edge, defaulting to a fully transparent (so invisible) // shadow rather than the keyword `none` — some usages combine it with // another literal shadow in a comma-separated list, where a bare `none` // item is invalid CSS and would zero out the *whole* declaration. // `-text-shadow` is a full text-shadow value for label legibility against // a gradient's lighter stop, always used standalone, so it keeps `none`. \"--ui-button-highlight\": \"0 0 0 0 transparent\", \"--ui-button-text-shadow\": \"none\", // A solid stand-in for the same accent, for spots that can't render a // background gradient at all — a native <input>'s accent-color only // accepts a plain color, and a hard-stop background gradient (e.g. // range-slider's filled track) can't nest another gradient inside its own // color-stop list. Consumers that theme the buttons into a gradient should // set this to the gradient's dark stop, so these non-button accents (radio // selection indicators, the range-slider track/thumb) stay visually // coordinated with it even though they can't literally paint a gradient. \"--ui-button-accent\": \"var(--ui-primary, #4f46e5)\", \"--ui-info\": \"#0ea5e9\", // sky-500 \"--ui-info-hover\": \"#0284c7\", // sky-600 \"--ui-danger\": \"#dc2626\", // red-600 \"--ui-danger-hover\": \"#b91c1c\", // red-700 \"--ui-button-danger-background\": \"var(--ui-danger, #dc2626)\", \"--ui-button-danger-background-hover\": \"var(--ui-danger-hover, #b91c1c)\", \"--ui-button-danger-background-active\": \"var(--ui-button-danger-background, var(--ui-danger, #dc2626))\", \"--ui-button-danger-border\": \"transparent\", \"--ui-success\": \"#16a34a\", // green-600 \"--ui-warning\": \"#d97706\", // amber-600 \"--ui-warning-hover\": \"#b45309\", // amber-700 \"--ui-on-accent\": \"#ffffff\", \"--ui-text\": \"#0f172a\", // slate-900 \"--ui-text-muted\": \"#64748b\", // slate-500 \"--ui-border\": \"#e2e8f0\", // slate-200 \"--ui-surface\": \"#ffffff\", // white \"--ui-surface-muted\": \"#f8fafc\", // slate-50 \"--ui-highlight\": \"#fde68a\", // amber-200 — transient \"just changed\" flash \"--ui-tooltip\": \"#0f172a\", // slate-900 \"--ui-hover-overlay\": \"rgb(255 255 255 / 0.32)\", \"--ui-overlay\": \"rgb(15 23 42 / 0.45)\", // slate-900 / 45% // Shape / depth \"--ui-radius\": \"0.5rem\", // rounded-lg \"--ui-radius-sm\": \"0.25rem\", // rounded \"--ui-shadow\": \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\", // shadow-md \"--ui-shadow-lg\": \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\", // shadow-xl \"--ui-focus-ring\": \"0 0 0 3px rgb(79 70 229 / 0.35)\", // Type \"--ui-font\": 'ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"', \"--ui-font-mono\": \"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace\", \"--ui-font-size-lg\": \"1rem\", // text-base \"--ui-font-size\": \"0.875rem\", // text-sm \"--ui-font-size-sm\": \"0.75rem\", // text-xs \"--ui-font-size-xs\": \"0.6875rem\", // Font weights — the only four weights the system uses. \"--ui-font-weight-regular\": \"400\", \"--ui-font-weight-medium\": \"500\", \"--ui-font-weight-semibold\": \"600\", \"--ui-font-weight-bold\": \"700\", // Line heights — glyph (icon/marker box), tight (headings), normal (body). \"--ui-line-height-glyph\": \"1\", \"--ui-line-height-tight\": \"1.25\", \"--ui-line-height-normal\": \"1.5\", // Letter spacing / tracking — default and the single widened step. \"--ui-tracking-normal\": \"0\", \"--ui-tracking-wide\": \"0.04em\", }",
|
|
17283
|
+
"default": "{ // Colors \"--ui-primary\": \"#4f46e5\", // indigo-600 \"--ui-primary-hover\": \"#4338ca\", // indigo-700 // Button-specific background/border hooks: default to the flat --ui-primary // / --ui-danger tokens above unchanged, so those stay the single source of // truth for every other component. Overriding just these lets a theme opt // ui-button into a gradient (or any other) background without touching // component markup; --ui-button-border/--ui-button-danger-border default // to transparent (today's look) and are meant to be paired with a shade // darker than the gradient's dark stop when one is set. The `-active` // variants default to whatever `-background` already resolved to (so a // solid override still applies while pressed) — a gradient theme should // set them to the same stops in reverse, for a pressed/\"indented\" look. \"--ui-button-background\": \"var(--ui-primary, #4f46e5)\", \"--ui-button-background-hover\": \"var(--ui-primary-hover, #4338ca)\", \"--ui-button-background-active\": \"var(--ui-button-background, var(--ui-primary, #4f46e5))\", \"--ui-button-border\": \"transparent\", // The bordered, transparent-background secondary variant's equivalents — // shared with confirm-dialog's Cancel button, which is the same visual // pattern. Defaults reproduce today's literal secondary styling exactly // (no background at any state, border colors matching --ui-border / // --ui-text-muted), so a theme only needs to override these to make // secondary/Cancel buttons match a primary/danger gradient theme. \"--ui-button-secondary-background\": \"none\", \"--ui-button-secondary-background-hover\": \"none\", \"--ui-button-secondary-background-active\": \"var(--ui-button-secondary-background, none)\", \"--ui-button-secondary-border\": \"var(--ui-border, #e2e8f0)\", \"--ui-button-secondary-border-hover\": \"var(--ui-text-muted, #64748b)\", // A muted-gray surface used wherever something already paints // --ui-surface-muted as a state indicator in flat mode — button-group's // unchecked-segment hover, pagination-nav's button hover, and // radio-cards/radio-pills' checked background — which is a genuinely // different default than secondary's borderless flat hover, so it can't // reuse --ui-button-secondary-background-hover's \"none\" default. \"--ui-button-secondary-surface-muted\": \"var(--ui-surface-muted, #f8fafc)\", // Shared by both primary/danger — a purely cosmetic gloss/legibility pair, // not color-specific, so one token covers both variants. `-highlight` is a // full box-shadow value (e.g. `inset 0 1px 0 rgb(255 255 255 / 0.35)`) for // a glossy top edge, defaulting to a fully transparent (so invisible) // shadow rather than the keyword `none` — some usages combine it with // another literal shadow in a comma-separated list, where a bare `none` // item is invalid CSS and would zero out the *whole* declaration. // `-text-shadow` is a full text-shadow value for label legibility against // a gradient's lighter stop, always used standalone, so it keeps `none`. \"--ui-button-highlight\": \"0 0 0 0 transparent\", \"--ui-button-text-shadow\": \"none\", // A solid stand-in for the same accent, for spots that can't render a // background gradient at all — a native <input>'s accent-color only // accepts a plain color, and a hard-stop background gradient (e.g. // range-slider's filled track) can't nest another gradient inside its own // color-stop list. Consumers that theme the buttons into a gradient should // set this to the gradient's dark stop, so these non-button accents (radio // selection indicators, the range-slider track/thumb) stay visually // coordinated with it even though they can't literally paint a gradient. \"--ui-button-accent\": \"var(--ui-primary, #4f46e5)\", \"--ui-info\": \"#0ea5e9\", // sky-500 \"--ui-info-hover\": \"#0284c7\", // sky-600 \"--ui-danger\": \"#dc2626\", // red-600 \"--ui-danger-hover\": \"#b91c1c\", // red-700 \"--ui-button-danger-background\": \"var(--ui-danger, #dc2626)\", \"--ui-button-danger-background-hover\": \"var(--ui-danger-hover, #b91c1c)\", \"--ui-button-danger-background-active\": \"var(--ui-button-danger-background, var(--ui-danger, #dc2626))\", \"--ui-button-danger-border\": \"transparent\", \"--ui-success\": \"#16a34a\", // green-600 \"--ui-warning\": \"#d97706\", // amber-600 \"--ui-warning-hover\": \"#b45309\", // amber-700 // toast-notification's per-variant background hooks: default to the flat // --ui-success/--ui-danger/--ui-info/--ui-warning tokens unchanged, so // those stay the single source of truth for every other component — // the same pattern as --ui-button-background/--ui-button-danger-background // above. `-highlight`/`-text-shadow` are the same glossy-top-edge / // legibility-shadow pair as --ui-button-highlight/--ui-button-text-shadow, // kept as separate tokens so a theme can gloss toasts and buttons // independently. \"--ui-toast-success-background\": \"var(--ui-success, #16a34a)\", \"--ui-toast-error-background\": \"var(--ui-danger, #dc2626)\", \"--ui-toast-info-background\": \"var(--ui-info, #0ea5e9)\", \"--ui-toast-warning-background\": \"var(--ui-warning, #d97706)\", \"--ui-toast-highlight\": \"0 0 0 0 transparent\", \"--ui-toast-text-shadow\": \"none\", \"--ui-on-accent\": \"#ffffff\", \"--ui-text\": \"#0f172a\", // slate-900 \"--ui-text-muted\": \"#64748b\", // slate-500 \"--ui-border\": \"#e2e8f0\", // slate-200 \"--ui-surface\": \"#ffffff\", // white \"--ui-surface-muted\": \"#f8fafc\", // slate-50 \"--ui-highlight\": \"#fde68a\", // amber-200 — transient \"just changed\" flash \"--ui-tooltip\": \"#0f172a\", // slate-900 \"--ui-hover-overlay\": \"rgb(255 255 255 / 0.32)\", \"--ui-overlay\": \"rgb(15 23 42 / 0.45)\", // slate-900 / 45% // Shape / depth \"--ui-radius\": \"0.5rem\", // rounded-lg \"--ui-radius-sm\": \"0.25rem\", // rounded \"--ui-shadow\": \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\", // shadow-md \"--ui-shadow-lg\": \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\", // shadow-xl \"--ui-focus-ring\": \"0 0 0 3px rgb(79 70 229 / 0.35)\", // Type \"--ui-font\": 'ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"', \"--ui-font-mono\": \"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace\", \"--ui-font-size-lg\": \"1rem\", // text-base \"--ui-font-size\": \"0.875rem\", // text-sm \"--ui-font-size-sm\": \"0.75rem\", // text-xs \"--ui-font-size-xs\": \"0.6875rem\", // Font weights — the only four weights the system uses. \"--ui-font-weight-regular\": \"400\", \"--ui-font-weight-medium\": \"500\", \"--ui-font-weight-semibold\": \"600\", \"--ui-font-weight-bold\": \"700\", // Line heights — glyph (icon/marker box), tight (headings), normal (body). \"--ui-line-height-glyph\": \"1\", \"--ui-line-height-tight\": \"1.25\", \"--ui-line-height-normal\": \"1.5\", // Letter spacing / tracking — default and the single widened step. \"--ui-tracking-normal\": \"0\", \"--ui-tracking-wide\": \"0.04em\", }",
|
|
16256
17284
|
"description": "Design token values, sourced from Tailwind v4's default theme palette.\nEach entry maps a `--ui-*` custom property name to its default value.\nThese are the same values baked in as `var(--ui-*, <fallback>)` fallbacks\nthroughout component styles, so components render correctly with zero\nexternal CSS. Consumers may override any of these by setting the custom\nproperty on `:root` or an ancestor element (see `tokens.css`)."
|
|
16257
17285
|
},
|
|
16258
17286
|
{
|
|
@@ -16270,8 +17298,8 @@
|
|
|
16270
17298
|
"type": {
|
|
16271
17299
|
"text": "Record<string, string>"
|
|
16272
17300
|
},
|
|
16273
|
-
"default": "{ \"--ui-button-background\": \"linear-gradient(180deg, #6366f1 0%, #4f46e5 100%)\", // indigo-500 -> 600 \"--ui-button-background-hover\": \"linear-gradient(180deg, #818cf8 0%, #6366f1 100%)\", // indigo-400 -> 500 \"--ui-button-background-active\": \"linear-gradient(180deg, #4f46e5 0%, #6366f1 100%)\", // reversed 600 -> 500 \"--ui-button-border\": \"#4338ca\", // indigo-700 \"--ui-button-danger-background\": \"linear-gradient(180deg, #ef4444 0%, #dc2626 100%)\", // red-500 -> 600 \"--ui-button-danger-background-hover\": \"linear-gradient(180deg, #f87171 0%, #ef4444 100%)\", // red-400 -> 500 \"--ui-button-danger-background-active\": \"linear-gradient(180deg, #dc2626 0%, #ef4444 100%)\", // reversed 600 -> 500 \"--ui-button-danger-border\": \"#b91c1c\", // red-700 // Secondary stays
|
|
16274
|
-
"description": "\"Gradient\" theme overrides, applied via `data-theme=\"gradient\"` on `<html>`\n(see `generate-tokens-css.mjs`) — forces `color-scheme: light` like the\n`\"light\"` override and layers a glossy gradient look on top of the flat\nlight palette, using exactly the `--ui-button-*`/`--ui-button-danger-*`/\n`--ui-button-secondary-*` hooks `ui-button.ts` already reads (see that\nfile's doc comment). Every other token (`--ui-text`, `--ui-surface
|
|
17301
|
+
"default": "{ \"--ui-button-background\": \"linear-gradient(180deg, #6366f1 0%, #4f46e5 100%)\", // indigo-500 -> 600 \"--ui-button-background-hover\": \"linear-gradient(180deg, #818cf8 0%, #6366f1 100%)\", // indigo-400 -> 500 \"--ui-button-background-active\": \"linear-gradient(180deg, #4f46e5 0%, #6366f1 100%)\", // reversed 600 -> 500 \"--ui-button-border\": \"#4338ca\", // indigo-700 \"--ui-button-danger-background\": \"linear-gradient(180deg, #ef4444 0%, #dc2626 100%)\", // red-500 -> 600 \"--ui-button-danger-background-hover\": \"linear-gradient(180deg, #f87171 0%, #ef4444 100%)\", // red-400 -> 500 \"--ui-button-danger-background-active\": \"linear-gradient(180deg, #dc2626 0%, #ef4444 100%)\", // reversed 600 -> 500 \"--ui-button-danger-border\": \"#b91c1c\", // red-700 // Secondary stays neutral gray rather than a saturated hue, matching its // flat \"not the primary action\" role, but one shade darker than the // original white -> slate-50 pairing: at a small button size, that pair // read as flat white with no visible gradient at all. slate-50 -> 100 // keeps enough contrast to actually look like a gradient while still // being clearly lighter/quieter than primary/danger. Border stays // slate-300 (a step past the flat slate-200) so its edge still reads // against the fill. \"--ui-button-secondary-background\": \"linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%)\", // slate-50 -> 100 \"--ui-button-secondary-background-hover\": \"linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%)\", // slate-100 -> 200 \"--ui-button-secondary-background-active\": \"linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%)\", // reversed 100 -> 50 \"--ui-button-secondary-border\": \"#cbd5e1\", // slate-300 \"--ui-button-secondary-border-hover\": \"#94a3b8\", // slate-400 \"--ui-button-highlight\": \"inset 0 1px 0 rgb(255 255 255 / 0.35)\", // glossy top edge \"--ui-button-text-shadow\": \"0 1px 1px rgb(0 0 0 / 0.25)\", // legibility on primary/danger \"--ui-button-accent\": \"#4338ca\", // indigo-700, matches --ui-button-border // toast-notification: same light-to-dark, one-shade-step gradient // convention as the button variants above; the bottom stop always matches // the flat --ui-success/--ui-danger/--ui-info/--ui-warning value exactly. \"--ui-toast-success-background\": \"linear-gradient(180deg, #22c55e 0%, #16a34a 100%)\", // green-500 -> 600 \"--ui-toast-error-background\": \"linear-gradient(180deg, #ef4444 0%, #dc2626 100%)\", // red-500 -> 600 \"--ui-toast-info-background\": \"linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%)\", // sky-400 -> 500 \"--ui-toast-warning-background\": \"linear-gradient(180deg, #f59e0b 0%, #d97706 100%)\", // amber-500 -> 600 \"--ui-toast-highlight\": \"inset 0 1px 0 rgb(255 255 255 / 0.35)\", // glossy top edge, same as --ui-button-highlight \"--ui-toast-text-shadow\": \"0 1px 1px rgb(0 0 0 / 0.25)\", // legibility, same as --ui-button-text-shadow }",
|
|
17302
|
+
"description": "\"Gradient\" theme overrides, applied via `data-theme=\"gradient\"` on `<html>`\n(see `generate-tokens-css.mjs`) — forces `color-scheme: light` like the\n`\"light\"` override and layers a glossy gradient look on top of the flat\nlight palette, using exactly the `--ui-button-*`/`--ui-button-danger-*`/\n`--ui-button-secondary-*` hooks `ui-button.ts` already reads (see that\nfile's doc comment), plus the `--ui-toast-*` hooks `toast-notification.ts`\nreads (see its doc comment). Every other token (`--ui-text`, `--ui-surface`,\n…) is left at its light-mode default — this theme only glosses buttons and\ntoasts by design. Each variant's gradient runs light-to-dark top-to-bottom\n(`180deg`) across one Tailwind shade step lighter/darker than the flat\ntoken so it still reads as \"the same color, glossy\" rather than a\ndifferent hue; `-hover` shifts the whole pair one shade lighter, `-active`\nreverses the two stops for a pressed/\"indented\" look, and `-border` is a\nshade darker than the gradient's dark stop for a defining edge."
|
|
16275
17303
|
},
|
|
16276
17304
|
{
|
|
16277
17305
|
"kind": "variable",
|
|
@@ -16631,6 +17659,16 @@
|
|
|
16631
17659
|
"description": "Size — `sm` reduces height/padding/font-size one step below the default.",
|
|
16632
17660
|
"attribute": "size"
|
|
16633
17661
|
},
|
|
17662
|
+
{
|
|
17663
|
+
"kind": "field",
|
|
17664
|
+
"name": "pill",
|
|
17665
|
+
"type": {
|
|
17666
|
+
"text": "boolean"
|
|
17667
|
+
},
|
|
17668
|
+
"default": "false",
|
|
17669
|
+
"description": "Renders fully rounded (pill-shaped) corners instead of the default `--ui-radius-sm`.",
|
|
17670
|
+
"attribute": "pill"
|
|
17671
|
+
},
|
|
16634
17672
|
{
|
|
16635
17673
|
"kind": "field",
|
|
16636
17674
|
"name": "href",
|
|
@@ -16711,6 +17749,15 @@
|
|
|
16711
17749
|
"description": "Size — `sm` reduces height/padding/font-size one step below the default.",
|
|
16712
17750
|
"fieldName": "size"
|
|
16713
17751
|
},
|
|
17752
|
+
{
|
|
17753
|
+
"name": "pill",
|
|
17754
|
+
"type": {
|
|
17755
|
+
"text": "boolean"
|
|
17756
|
+
},
|
|
17757
|
+
"default": "false",
|
|
17758
|
+
"description": "Renders fully rounded (pill-shaped) corners instead of the default `--ui-radius-sm`.",
|
|
17759
|
+
"fieldName": "pill"
|
|
17760
|
+
},
|
|
16714
17761
|
{
|
|
16715
17762
|
"name": "href",
|
|
16716
17763
|
"type": {
|
|
@@ -17853,6 +18900,120 @@
|
|
|
17853
18900
|
}
|
|
17854
18901
|
],
|
|
17855
18902
|
"description": "Assigns each entry a 0-based stacking lane via greedy interval\npartitioning (\"meeting rooms II\"): entries are sorted by start date, then\neach is placed in the lowest-numbered lane whose current occupant ends\nstrictly before the entry starts. Because entry ranges are\ninclusive-inclusive, an entry ending on day X and one starting on day X\nboth occupy day X and must not share a lane — hence the strict `<`.\n\nLane assignment is meant to be computed independently per `calendar-month`\n(from only the entries overlapping that month); an entry spanning a month\nboundary may therefore land in a different lane in adjacent months. This\nis an accepted v1 limitation, not a bug."
|
|
18903
|
+
},
|
|
18904
|
+
{
|
|
18905
|
+
"kind": "function",
|
|
18906
|
+
"name": "addDays",
|
|
18907
|
+
"return": {
|
|
18908
|
+
"type": {
|
|
18909
|
+
"text": "Date"
|
|
18910
|
+
}
|
|
18911
|
+
},
|
|
18912
|
+
"parameters": [
|
|
18913
|
+
{
|
|
18914
|
+
"name": "date",
|
|
18915
|
+
"type": {
|
|
18916
|
+
"text": "Date"
|
|
18917
|
+
}
|
|
18918
|
+
},
|
|
18919
|
+
{
|
|
18920
|
+
"name": "days",
|
|
18921
|
+
"type": {
|
|
18922
|
+
"text": "number"
|
|
18923
|
+
}
|
|
18924
|
+
}
|
|
18925
|
+
],
|
|
18926
|
+
"description": "Adds `days` (negative to subtract) to `date`, returning a new local `Date`."
|
|
18927
|
+
},
|
|
18928
|
+
{
|
|
18929
|
+
"kind": "function",
|
|
18930
|
+
"name": "startOfWeek",
|
|
18931
|
+
"return": {
|
|
18932
|
+
"type": {
|
|
18933
|
+
"text": "Date"
|
|
18934
|
+
}
|
|
18935
|
+
},
|
|
18936
|
+
"parameters": [
|
|
18937
|
+
{
|
|
18938
|
+
"name": "date",
|
|
18939
|
+
"type": {
|
|
18940
|
+
"text": "Date"
|
|
18941
|
+
}
|
|
18942
|
+
}
|
|
18943
|
+
],
|
|
18944
|
+
"description": "The Sunday (local midnight) of the week containing `date`, per `WEEKDAY_ABBR`'s Sunday-first convention."
|
|
18945
|
+
},
|
|
18946
|
+
{
|
|
18947
|
+
"kind": "function",
|
|
18948
|
+
"name": "minutesSinceMidnight",
|
|
18949
|
+
"return": {
|
|
18950
|
+
"type": {
|
|
18951
|
+
"text": "number"
|
|
18952
|
+
}
|
|
18953
|
+
},
|
|
18954
|
+
"parameters": [
|
|
18955
|
+
{
|
|
18956
|
+
"name": "date",
|
|
18957
|
+
"type": {
|
|
18958
|
+
"text": "Date"
|
|
18959
|
+
}
|
|
18960
|
+
}
|
|
18961
|
+
],
|
|
18962
|
+
"description": "Minutes elapsed since local midnight on `date`'s day, for hour-grid vertical positioning."
|
|
18963
|
+
},
|
|
18964
|
+
{
|
|
18965
|
+
"kind": "function",
|
|
18966
|
+
"name": "hasTimeComponent",
|
|
18967
|
+
"return": {
|
|
18968
|
+
"type": {
|
|
18969
|
+
"text": "boolean"
|
|
18970
|
+
}
|
|
18971
|
+
},
|
|
18972
|
+
"parameters": [
|
|
18973
|
+
{
|
|
18974
|
+
"name": "iso",
|
|
18975
|
+
"type": {
|
|
18976
|
+
"text": "string"
|
|
18977
|
+
}
|
|
18978
|
+
}
|
|
18979
|
+
],
|
|
18980
|
+
"description": "Whether `iso` carries a time-of-day component (`\"YYYY-MM-DDTHH:MM\"`) rather than being date-only."
|
|
18981
|
+
},
|
|
18982
|
+
{
|
|
18983
|
+
"kind": "function",
|
|
18984
|
+
"name": "parseIsoDateTime",
|
|
18985
|
+
"return": {
|
|
18986
|
+
"type": {
|
|
18987
|
+
"text": "Date | null"
|
|
18988
|
+
}
|
|
18989
|
+
},
|
|
18990
|
+
"parameters": [
|
|
18991
|
+
{
|
|
18992
|
+
"name": "iso",
|
|
18993
|
+
"type": {
|
|
18994
|
+
"text": "string"
|
|
18995
|
+
}
|
|
18996
|
+
}
|
|
18997
|
+
],
|
|
18998
|
+
"description": "Parses `\"YYYY-MM-DDTHH:MM\"` as a local `Date`, falling back to\n`parseIsoDate` (local midnight) for a plain `\"YYYY-MM-DD\"` string. Returns\n`null` for anything else, including a datetime whose components don't\nround-trip (e.g. an invalid hour)."
|
|
18999
|
+
},
|
|
19000
|
+
{
|
|
19001
|
+
"kind": "function",
|
|
19002
|
+
"name": "resolveTimedEntry",
|
|
19003
|
+
"return": {
|
|
19004
|
+
"type": {
|
|
19005
|
+
"text": "ResolvedTimedEntry | null"
|
|
19006
|
+
}
|
|
19007
|
+
},
|
|
19008
|
+
"parameters": [
|
|
19009
|
+
{
|
|
19010
|
+
"name": "data",
|
|
19011
|
+
"type": {
|
|
19012
|
+
"text": "CalendarEntryData"
|
|
19013
|
+
}
|
|
19014
|
+
}
|
|
19015
|
+
],
|
|
19016
|
+
"description": "Resolves a `CalendarEntryData`'s date/datetime strings for hour-grid\nrendering. Returns `null` when `start` is missing or unparseable. A blank\n`end` defaults to `start`; when `start` has a time but `end` doesn't (or is\nblank), `end` defaults to one hour after `start` rather than clamping to\n`start`'s instant, so a timed entry with no explicit end still renders as\na visible block. `allDay` is true only when neither endpoint carries a\ntime-of-day component — this is a separate, additive resolution path from\n`resolveEntry`/`ResolvedCalendarEntry`, which stay date-only and are used\nunchanged by `calendar-month`/`calendar-year`."
|
|
17856
19017
|
}
|
|
17857
19018
|
],
|
|
17858
19019
|
"exports": [
|
|
@@ -17943,6 +19104,54 @@
|
|
|
17943
19104
|
"name": "assignLanes",
|
|
17944
19105
|
"module": "src/utils/calendar.ts"
|
|
17945
19106
|
}
|
|
19107
|
+
},
|
|
19108
|
+
{
|
|
19109
|
+
"kind": "js",
|
|
19110
|
+
"name": "addDays",
|
|
19111
|
+
"declaration": {
|
|
19112
|
+
"name": "addDays",
|
|
19113
|
+
"module": "src/utils/calendar.ts"
|
|
19114
|
+
}
|
|
19115
|
+
},
|
|
19116
|
+
{
|
|
19117
|
+
"kind": "js",
|
|
19118
|
+
"name": "startOfWeek",
|
|
19119
|
+
"declaration": {
|
|
19120
|
+
"name": "startOfWeek",
|
|
19121
|
+
"module": "src/utils/calendar.ts"
|
|
19122
|
+
}
|
|
19123
|
+
},
|
|
19124
|
+
{
|
|
19125
|
+
"kind": "js",
|
|
19126
|
+
"name": "minutesSinceMidnight",
|
|
19127
|
+
"declaration": {
|
|
19128
|
+
"name": "minutesSinceMidnight",
|
|
19129
|
+
"module": "src/utils/calendar.ts"
|
|
19130
|
+
}
|
|
19131
|
+
},
|
|
19132
|
+
{
|
|
19133
|
+
"kind": "js",
|
|
19134
|
+
"name": "hasTimeComponent",
|
|
19135
|
+
"declaration": {
|
|
19136
|
+
"name": "hasTimeComponent",
|
|
19137
|
+
"module": "src/utils/calendar.ts"
|
|
19138
|
+
}
|
|
19139
|
+
},
|
|
19140
|
+
{
|
|
19141
|
+
"kind": "js",
|
|
19142
|
+
"name": "parseIsoDateTime",
|
|
19143
|
+
"declaration": {
|
|
19144
|
+
"name": "parseIsoDateTime",
|
|
19145
|
+
"module": "src/utils/calendar.ts"
|
|
19146
|
+
}
|
|
19147
|
+
},
|
|
19148
|
+
{
|
|
19149
|
+
"kind": "js",
|
|
19150
|
+
"name": "resolveTimedEntry",
|
|
19151
|
+
"declaration": {
|
|
19152
|
+
"name": "resolveTimedEntry",
|
|
19153
|
+
"module": "src/utils/calendar.ts"
|
|
19154
|
+
}
|
|
17946
19155
|
}
|
|
17947
19156
|
]
|
|
17948
19157
|
},
|