@vielzeug/codex 26.11.11 → 26.11.12

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/data/refine.json CHANGED
@@ -2845,78 +2845,184 @@
2845
2845
  }
2846
2846
  ]
2847
2847
  },
2848
+ {
2849
+ "kind": "function",
2850
+ "name": "syncCoverflow",
2851
+ "return": {
2852
+ "type": {
2853
+ "text": "void"
2854
+ }
2855
+ },
2856
+ "parameters": [
2857
+ {
2858
+ "name": "slides",
2859
+ "type": {
2860
+ "text": "HTMLElement[]"
2861
+ }
2862
+ },
2863
+ {
2864
+ "name": "current",
2865
+ "type": {
2866
+ "text": "number"
2867
+ }
2868
+ },
2869
+ {
2870
+ "name": "options",
2871
+ "type": {
2872
+ "text": "{ extent: number; horizontal: boolean; loop: boolean; rtl: boolean; size: number; spacing: number }"
2873
+ }
2874
+ }
2875
+ ]
2876
+ },
2877
+ {
2878
+ "kind": "function",
2879
+ "name": "clearCoverflow",
2880
+ "return": {
2881
+ "type": {
2882
+ "text": "void"
2883
+ }
2884
+ },
2885
+ "parameters": [
2886
+ {
2887
+ "name": "slide",
2888
+ "type": {
2889
+ "text": "HTMLElement"
2890
+ }
2891
+ }
2892
+ ]
2893
+ },
2848
2894
  {
2849
2895
  "kind": "variable",
2850
- "name": "CHAT_MESSAGE_STATUSES",
2896
+ "name": "CAROUSEL_SLIDE_TAG",
2851
2897
  "type": {
2852
- "text": "['error', 'sending', 'sent']"
2898
+ "text": "'ore-carousel-slide'"
2853
2899
  },
2854
- "default": "['error', 'sending', 'sent']"
2900
+ "default": "'ore-carousel-slide'"
2901
+ },
2902
+ {
2903
+ "kind": "class",
2904
+ "name": "OreCarouselSlideElement",
2905
+ "tagName": "ore-carousel-slide",
2906
+ "customElement": true,
2907
+ "description": "",
2908
+ "summary": "",
2909
+ "demos": []
2855
2910
  },
2856
2911
  {
2857
2912
  "kind": "variable",
2858
- "name": "CHAT_MESSAGE_TAG",
2913
+ "name": "CAROUSEL_ORIENTATIONS",
2859
2914
  "type": {
2860
- "text": "'ore-chat-message'"
2915
+ "text": "['horizontal', 'vertical']"
2861
2916
  },
2862
- "default": "'ore-chat-message'",
2863
- "description": "A single message bubble for chat/conversation UIs: sender-aware alignment, an optional\navatar slot, delivery status (sending/sent/error with retry), and a streaming cursor for\nassistant messages still generating. Content is provided via the default slot, so any\nmarkdown-to-HTML rendering stays the consumer's choice.\n\nThe default slot's leading/trailing whitespace-only text nodes are trimmed in place once\nper slot assignment (mount, and again on `slotchange`): pretty-printed HTML's\nindentation would otherwise render as blank lines, since the bubble preserves line breaks\n(`white-space: pre-wrap`) for genuine multi-paragraph replies. This mutates those specific\ntext nodes' `textContent` directly; it never touches nodes appended afterward (e.g. by\n`el.textContent += token` while streaming), only the ones present at assignment time."
2917
+ "default": "['horizontal', 'vertical']"
2918
+ },
2919
+ {
2920
+ "kind": "variable",
2921
+ "name": "CAROUSEL_VARIANTS",
2922
+ "type": {
2923
+ "text": "['default', 'fade', 'filmstrip', 'gallery', 'coverflow']"
2924
+ },
2925
+ "default": "['default', 'fade', 'filmstrip', 'gallery', 'coverflow']"
2926
+ },
2927
+ {
2928
+ "kind": "variable",
2929
+ "name": "CAROUSEL_TAG",
2930
+ "type": {
2931
+ "text": "'ore-carousel'"
2932
+ },
2933
+ "default": "'ore-carousel'",
2934
+ "description": "An accessible, keyboard-navigable carousel / slideshow with optional\nautoplay, swipe support, and indicator dots.\n\nPlace `<ore-carousel-slide>` elements as direct children."
2864
2935
  },
2865
2936
  {
2866
2937
  "kind": "class",
2867
- "name": "OreChatMessageElement",
2868
- "tagName": "ore-chat-message",
2938
+ "name": "OreCarouselElement",
2939
+ "tagName": "ore-carousel",
2869
2940
  "customElement": true,
2870
- "description": "A single message bubble for chat/conversation UIs: sender-aware alignment, an optional\navatar slot, delivery status (sending/sent/error with retry), and a streaming cursor for\nassistant messages still generating. Content is provided via the default slot, so any\nmarkdown-to-HTML rendering stays the consumer's choice.\nThe default slot's leading/trailing whitespace-only text nodes are trimmed in place once\nper slot assignment (mount, and again on `slotchange`): pretty-printed HTML's\nindentation would otherwise render as blank lines, since the bubble preserves line breaks\n(`white-space: pre-wrap`) for genuine multi-paragraph replies. This mutates those specific\ntext nodes' `textContent` directly; it never touches nodes appended afterward (e.g. by\n`el.textContent += token` while streaming), only the ones present at assignment time.",
2941
+ "description": "An accessible, keyboard-navigable carousel / slideshow with optional\nautoplay, swipe support, and indicator dots.\nPlace `<ore-carousel-slide>` elements as direct children.",
2871
2942
  "summary": "",
2872
2943
  "attributes": [
2873
2944
  {
2874
- "name": "sender",
2945
+ "name": "color",
2875
2946
  "type": {
2876
- "text": "'user' | 'assistant' | 'system'"
2947
+ "text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
2877
2948
  },
2878
- "description": "Who sent the message: 'user' | 'assistant' | 'system' (default 'assistant')"
2949
+ "description": "Theme color for navigation buttons: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
2879
2950
  },
2880
2951
  {
2881
- "name": "name",
2952
+ "name": "autoplay",
2882
2953
  "type": {
2883
- "text": "string"
2954
+ "text": "boolean"
2884
2955
  },
2885
- "description": "Display name shown above the bubble"
2956
+ "description": "Advance slides automatically (default false)"
2886
2957
  },
2887
2958
  {
2888
- "name": "timestamp",
2959
+ "name": "autoplay-interval",
2960
+ "type": {
2961
+ "text": "number"
2962
+ },
2963
+ "description": "Milliseconds between automatic advances (default 5000)"
2964
+ },
2965
+ {
2966
+ "name": "label",
2889
2967
  "type": {
2890
2968
  "text": "string"
2891
2969
  },
2892
- "description": "ISO 8601 timestamp, rendered as a localized short time"
2970
+ "description": "Accessible label for the carousel region"
2893
2971
  },
2894
2972
  {
2895
- "name": "status",
2973
+ "name": "loop",
2896
2974
  "type": {
2897
- "text": "'sending' | 'sent' | 'error'"
2975
+ "text": "boolean"
2898
2976
  },
2899
- "description": "Delivery status: 'sending' | 'sent' | 'error'"
2977
+ "description": "Loop from last slide to first (default true)"
2900
2978
  },
2901
2979
  {
2902
- "name": "error",
2980
+ "name": "orientation",
2903
2981
  "type": {
2904
2982
  "text": "string"
2905
2983
  },
2906
- "description": "Error detail shown beneath the bubble when status=\"error\""
2984
+ "description": "'horizontal' (default) | 'vertical'"
2907
2985
  },
2908
2986
  {
2909
- "name": "streaming",
2987
+ "name": "variant",
2988
+ "type": {
2989
+ "text": "'default' | 'fade' | 'filmstrip' | 'gallery' | 'coverflow'"
2990
+ },
2991
+ "description": "'default' | 'fade' | 'filmstrip' | 'gallery' | 'coverflow'"
2992
+ },
2993
+ {
2994
+ "name": "show-controls",
2910
2995
  "type": {
2911
2996
  "text": "boolean"
2912
2997
  },
2913
- "description": "Append a blinking cursor after the content"
2998
+ "description": "Show prev/next buttons (default true)"
2999
+ },
3000
+ {
3001
+ "name": "show-indicators",
3002
+ "type": {
3003
+ "text": "boolean"
3004
+ },
3005
+ "description": "Show indicator dots (default true)"
3006
+ },
3007
+ {
3008
+ "name": "max-indicators",
3009
+ "type": {
3010
+ "text": "number"
3011
+ },
3012
+ "description": "Maximum visible indicators (default 7)"
3013
+ },
3014
+ {
3015
+ "name": "slide-index",
3016
+ "type": {
3017
+ "text": "number"
3018
+ },
3019
+ "description": "Active slide index (zero-based, default 0)"
2914
3020
  }
2915
3021
  ],
2916
3022
  "events": [
2917
3023
  {
2918
- "name": "retry",
2919
- "description": "Fired when the retry action is activated. detail: { originalEvent }",
3024
+ "name": "change",
3025
+ "description": "Fires when the active slide changes. detail: { index: number }",
2920
3026
  "type": {
2921
3027
  "text": "CustomEvent"
2922
3028
  }
@@ -2925,175 +3031,164 @@
2925
3031
  "slots": [
2926
3032
  {
2927
3033
  "name": "",
2928
- "description": "Message content"
2929
- },
2930
- {
2931
- "name": "avatar",
2932
- "description": "Avatar element (e.g. `<ore-avatar>`)"
2933
- },
2934
- {
2935
- "name": "actions",
2936
- "description": "Action buttons shown beneath the message (copy, regenerate, feedback, …)"
3034
+ "description": "Place `<ore-carousel-slide>` elements here"
2937
3035
  }
2938
3036
  ],
2939
3037
  "cssParts": [
2940
3038
  {
2941
- "name": "row",
2942
- "description": "Root row container (avatar + column)"
3039
+ "name": "track",
3040
+ "description": "The scrolling slide track element"
2943
3041
  },
2944
3042
  {
2945
- "name": "avatar",
2946
- "description": "Avatar slot container"
3043
+ "name": "controls",
3044
+ "description": "The prev/next button container"
2947
3045
  },
2948
3046
  {
2949
- "name": "column",
2950
- "description": "Column containing name, bubble, meta, and actions"
3047
+ "name": "indicators",
3048
+ "description": "The indicator dots container"
2951
3049
  },
2952
3050
  {
2953
- "name": "name",
2954
- "description": "Sender display name"
3051
+ "name": "prev-btn",
3052
+ "description": "The previous-slide button"
2955
3053
  },
2956
3054
  {
2957
- "name": "bubble",
2958
- "description": "Message bubble container"
2959
- },
3055
+ "name": "next-btn",
3056
+ "description": "The next-slide button"
3057
+ }
3058
+ ],
3059
+ "cssProperties": [
2960
3060
  {
2961
- "name": "content",
2962
- "description": "Content container inside the bubble"
3061
+ "name": "--carousel-bg",
3062
+ "description": "Slide area background"
2963
3063
  },
2964
3064
  {
2965
- "name": "cursor",
2966
- "description": "Blinking streaming cursor"
3065
+ "name": "--carousel-radius",
3066
+ "description": "Border radius of the carousel"
2967
3067
  },
2968
3068
  {
2969
- "name": "meta",
2970
- "description": "Row of timestamp, status, and error text below the bubble"
3069
+ "name": "--carousel-dot-bg",
3070
+ "description": "Inactive indicator color (default: var(--color-contrast-300))"
2971
3071
  },
2972
3072
  {
2973
- "name": "timestamp",
2974
- "description": "Timestamp `<time>` element"
3073
+ "name": "--carousel-dot-active-bg",
3074
+ "description": "Active indicator / fill color (default: var(--color-contrast-700))"
2975
3075
  },
2976
3076
  {
2977
- "name": "status",
2978
- "description": "Status indicator"
3077
+ "name": "--carousel-transition-duration",
3078
+ "description": "Slide transition duration (default 0.35s; 0s under prefers-reduced-motion)."
2979
3079
  },
2980
3080
  {
2981
- "name": "error",
2982
- "description": "Error text"
3081
+ "name": "--carousel-min-height",
3082
+ "description": "Minimum height when no explicit height is set (default 240px)"
2983
3083
  },
2984
3084
  {
2985
- "name": "retry",
2986
- "description": "Retry button (status=\"error\" only)"
3085
+ "name": "--carousel-filmstrip-inactive",
3086
+ "description": "Width (horizontal) or height (vertical) of inactive slides in filmstrip mode"
2987
3087
  },
2988
3088
  {
2989
- "name": "actions",
2990
- "description": "Actions slot container"
2991
- }
2992
- ],
2993
- "cssProperties": [
2994
- {
2995
- "name": "--chat-message-bg",
2996
- "description": "Bubble background color (assistant/system)"
3089
+ "name": "--carousel-filmstrip-gap",
3090
+ "description": "Gap between slides in filmstrip mode"
2997
3091
  },
2998
3092
  {
2999
- "name": "--chat-message-color",
3000
- "description": "Bubble text color (assistant/system)"
3093
+ "name": "--carousel-gallery-thumbnail",
3094
+ "description": "Width (horizontal) or height (vertical) of thumbnail slides in gallery mode (default var(--size-24))"
3001
3095
  },
3002
3096
  {
3003
- "name": "--chat-message-user-bg",
3004
- "description": "Bubble background color (user)"
3097
+ "name": "--carousel-gallery-gap",
3098
+ "description": "Gap between slides in gallery mode (default var(--size-2))"
3005
3099
  },
3006
3100
  {
3007
- "name": "--chat-message-user-color",
3008
- "description": "Bubble text color (user)"
3101
+ "name": "--carousel-coverflow-size",
3102
+ "description": "Card extent along the navigation axis (default var(--size-40))"
3009
3103
  },
3010
3104
  {
3011
- "name": "--chat-message-radius",
3012
- "description": "Bubble border radius"
3105
+ "name": "--carousel-coverflow-spacing",
3106
+ "description": "Distance between cover centers (default var(--size-12))"
3013
3107
  },
3014
3108
  {
3015
- "name": "--chat-message-max-width",
3016
- "description": "Maximum bubble width"
3109
+ "name": "--carousel-coverflow-perspective",
3110
+ "description": "Coverflow perspective (default calc(var(--size-64) * 4))"
3017
3111
  }
3018
3112
  ],
3019
3113
  "demos": [
3020
3114
  {
3021
3115
  "url": "",
3022
- "description": "```html\n<ore-chat-message sender=\"user\" timestamp=\"2024-01-01T12:00:00Z\" status=\"sent\">\n What's the weather like today?\n</ore-chat-message>\n<ore-chat-message sender=\"assistant\" name=\"Assistant\" streaming>\n Let me check that for you\n</ore-chat-message>\n```"
3116
+ "description": "```html\n<ore-carousel label=\"Product highlights\" loop>\n <ore-carousel-slide>Slide 1</ore-carousel-slide>\n <ore-carousel-slide>Slide 2</ore-carousel-slide>\n <ore-carousel-slide>Slide 3</ore-carousel-slide>\n</ore-carousel>\n```"
3023
3117
  }
3024
3118
  ]
3025
3119
  },
3026
3120
  {
3027
3121
  "kind": "variable",
3028
- "name": "CHAT_PANEL_TAG",
3122
+ "name": "CHAT_MESSAGE_STATUSES",
3029
3123
  "type": {
3030
- "text": "'ore-chat-panel'"
3124
+ "text": "['error', 'sending', 'sent']"
3031
3125
  },
3032
- "default": "'ore-chat-panel'",
3033
- "description": "A self-contained assistant chat surface: the fixed corner window a demo or support\nflow needs: header with title, status, Start over and close; a live-region message\ntranscript built from `ore-chat-message`; suggested questions while the transcript\nholds only the greeting; and an `ore-message-composer` footer.\n\nThe panel owns presentation and interaction only. Reply generation, persistence, and\naction semantics stay with the consumer: listen for `send`, append the assistant reply\nto `messages`, and reassign the array; handle `action` for whatever a message's action\npayload means in your app."
3126
+ "default": "['error', 'sending', 'sent']"
3127
+ },
3128
+ {
3129
+ "kind": "variable",
3130
+ "name": "CHAT_MESSAGE_TAG",
3131
+ "type": {
3132
+ "text": "'ore-chat-message'"
3133
+ },
3134
+ "default": "'ore-chat-message'",
3135
+ "description": "A single message bubble for chat/conversation UIs: sender-aware alignment, an optional\navatar slot, delivery status (sending/sent/error with retry), and a streaming cursor for\nassistant messages still generating. Content is provided via the default slot, so any\nmarkdown-to-HTML rendering stays the consumer's choice.\n\nThe default slot's leading/trailing whitespace-only text nodes are trimmed in place once\nper slot assignment (mount, and again on `slotchange`): pretty-printed HTML's\nindentation would otherwise render as blank lines, since the bubble preserves line breaks\n(`white-space: pre-wrap`) for genuine multi-paragraph replies. This mutates those specific\ntext nodes' `textContent` directly; it never touches nodes appended afterward (e.g. by\n`el.textContent += token` while streaming), only the ones present at assignment time."
3034
3136
  },
3035
3137
  {
3036
3138
  "kind": "class",
3037
- "name": "OreChatPanelElement",
3038
- "tagName": "ore-chat-panel",
3139
+ "name": "OreChatMessageElement",
3140
+ "tagName": "ore-chat-message",
3039
3141
  "customElement": true,
3040
- "description": "A self-contained assistant chat surface: the fixed corner window a demo or support\nflow needs: header with title, status, Start over and close; a live-region message\ntranscript built from `ore-chat-message`; suggested questions while the transcript\nholds only the greeting; and an `ore-message-composer` footer.\nThe panel owns presentation and interaction only. Reply generation, persistence, and\naction semantics stay with the consumer: listen for `send`, append the assistant reply\nto `messages`, and reassign the array; handle `action` for whatever a message's action\npayload means in your app.",
3142
+ "description": "A single message bubble for chat/conversation UIs: sender-aware alignment, an optional\navatar slot, delivery status (sending/sent/error with retry), and a streaming cursor for\nassistant messages still generating. Content is provided via the default slot, so any\nmarkdown-to-HTML rendering stays the consumer's choice.\nThe default slot's leading/trailing whitespace-only text nodes are trimmed in place once\nper slot assignment (mount, and again on `slotchange`): pretty-printed HTML's\nindentation would otherwise render as blank lines, since the bubble preserves line breaks\n(`white-space: pre-wrap`) for genuine multi-paragraph replies. This mutates those specific\ntext nodes' `textContent` directly; it never touches nodes appended afterward (e.g. by\n`el.textContent += token` while streaming), only the ones present at assignment time.",
3041
3143
  "summary": "",
3042
3144
  "attributes": [
3043
3145
  {
3044
- "name": "label",
3146
+ "name": "sender",
3045
3147
  "type": {
3046
- "text": "string"
3148
+ "text": "'user' | 'assistant' | 'system'"
3047
3149
  },
3048
- "description": "Accessible name for the panel region"
3150
+ "description": "Who sent the message: 'user' | 'assistant' | 'system' (default 'assistant')"
3049
3151
  },
3050
3152
  {
3051
- "name": "open",
3153
+ "name": "name",
3052
3154
  "type": {
3053
- "text": "boolean"
3155
+ "text": "string"
3054
3156
  },
3055
- "description": "Open state"
3157
+ "description": "Display name shown above the bubble"
3056
3158
  },
3057
3159
  {
3058
- "name": "initials",
3160
+ "name": "timestamp",
3059
3161
  "type": {
3060
3162
  "text": "string"
3061
3163
  },
3062
- "description": "Assistant avatar initials (default 'V')"
3164
+ "description": "ISO 8601 timestamp, rendered as a localized short time"
3063
3165
  },
3064
3166
  {
3065
- "name": "maxlength",
3167
+ "name": "status",
3066
3168
  "type": {
3067
- "text": "number"
3169
+ "text": "'sending' | 'sent' | 'error'"
3068
3170
  },
3069
- "description": "Composer character limit (default 240)"
3070
- }
3071
- ],
3072
- "events": [
3073
- {
3074
- "name": "send",
3075
- "description": "A send or suggestion was submitted. detail: { text }",
3076
- "type": {
3077
- "text": "CustomEvent"
3078
- }
3171
+ "description": "Delivery status: 'sending' | 'sent' | 'error'"
3079
3172
  },
3080
3173
  {
3081
- "name": "action",
3082
- "description": "A message action button was activated. detail: { payload }",
3174
+ "name": "error",
3083
3175
  "type": {
3084
- "text": "CustomEvent"
3085
- }
3176
+ "text": "string"
3177
+ },
3178
+ "description": "Error detail shown beneath the bubble when status=\"error\""
3086
3179
  },
3087
3180
  {
3088
- "name": "reset",
3089
- "description": "The transcript was cleared via Start over.",
3181
+ "name": "streaming",
3090
3182
  "type": {
3091
- "text": "CustomEvent"
3092
- }
3093
- },
3183
+ "text": "boolean"
3184
+ },
3185
+ "description": "Append a blinking cursor after the content"
3186
+ }
3187
+ ],
3188
+ "events": [
3094
3189
  {
3095
- "name": "open-change",
3096
- "description": "Open state changed. detail: { open, reason }",
3190
+ "name": "retry",
3191
+ "description": "Fired when the retry action is activated. detail: { originalEvent }",
3097
3192
  "type": {
3098
3193
  "text": "CustomEvent"
3099
3194
  }
@@ -3101,239 +3196,176 @@
3101
3196
  ],
3102
3197
  "slots": [
3103
3198
  {
3104
- "name": "header",
3105
- "description": "Replaces the default title/status header content"
3199
+ "name": "",
3200
+ "description": "Message content"
3201
+ },
3202
+ {
3203
+ "name": "avatar",
3204
+ "description": "Avatar element (e.g. `<ore-avatar>`)"
3205
+ },
3206
+ {
3207
+ "name": "actions",
3208
+ "description": "Action buttons shown beneath the message (copy, regenerate, feedback, …)"
3106
3209
  }
3107
3210
  ],
3108
3211
  "cssParts": [
3109
3212
  {
3110
- "name": "window",
3111
- "description": "The fixed panel window"
3213
+ "name": "row",
3214
+ "description": "Root row container (avatar + column)"
3112
3215
  },
3113
3216
  {
3114
- "name": "header",
3115
- "description": "Header row"
3217
+ "name": "avatar",
3218
+ "description": "Avatar slot container"
3116
3219
  },
3117
3220
  {
3118
- "name": "body",
3119
- "description": "Scrollable transcript area"
3221
+ "name": "column",
3222
+ "description": "Column containing name, bubble, meta, and actions"
3120
3223
  },
3121
3224
  {
3122
- "name": "messages",
3123
- "description": "Message list (role=log)"
3225
+ "name": "name",
3226
+ "description": "Sender display name"
3124
3227
  },
3125
3228
  {
3126
- "name": "suggestions",
3127
- "description": "Suggestion chips row"
3229
+ "name": "bubble",
3230
+ "description": "Message bubble container"
3128
3231
  },
3129
3232
  {
3130
- "name": "composer",
3131
- "description": "Composer footer"
3132
- }
3133
- ],
3134
- "cssProperties": [
3233
+ "name": "content",
3234
+ "description": "Content container inside the bubble"
3235
+ },
3135
3236
  {
3136
- "name": "--chat-panel-width",
3137
- "description": "Panel width (default min(420px, viewport-fit))"
3237
+ "name": "cursor",
3238
+ "description": "Blinking streaming cursor"
3138
3239
  },
3139
3240
  {
3140
- "name": "--chat-panel-height",
3141
- "description": "Panel height (default min(640px, viewport-fit))"
3241
+ "name": "meta",
3242
+ "description": "Row of timestamp, status, and error text below the bubble"
3142
3243
  },
3143
3244
  {
3144
- "name": "--chat-panel-inset",
3145
- "description": "Distance from the viewport corner (default --size-6)"
3245
+ "name": "timestamp",
3246
+ "description": "Timestamp `<time>` element"
3146
3247
  },
3147
3248
  {
3148
- "name": "--chat-panel-z-index",
3149
- "description": "Stacking order (default --z-fixed)"
3249
+ "name": "status",
3250
+ "description": "Status indicator"
3251
+ },
3252
+ {
3253
+ "name": "error",
3254
+ "description": "Error text"
3255
+ },
3256
+ {
3257
+ "name": "retry",
3258
+ "description": "Retry button (status=\"error\" only)"
3259
+ },
3260
+ {
3261
+ "name": "actions",
3262
+ "description": "Actions slot container"
3150
3263
  }
3151
3264
  ],
3152
- "demos": [
3265
+ "cssProperties": [
3153
3266
  {
3154
- "url": "",
3155
- "description": "```html\n<ore-chat-panel id=\"advisor\" label=\"Model advisor\"></ore-chat-panel>\n<script type=\"module\">\n import '@vielzeug/refine/chat-panel';\n const panel = document.getElementById('advisor');\n panel.messages = [{ sender: 'assistant', text: 'Hi! What can I help with?' }];\n panel.addEventListener('send', (event) => {\n panel.messages = [\n ...panel.messages,\n { sender: 'user', text: event.detail.text },\n { sender: 'assistant', text: 'Let me look into that.' },\n ];\n });\n panel.show();\n</script>\n```"
3156
- }
3157
- ]
3158
- },
3159
- {
3160
- "kind": "function",
3161
- "name": "syncCoverflow",
3162
- "return": {
3163
- "type": {
3164
- "text": "void"
3165
- }
3166
- },
3167
- "parameters": [
3267
+ "name": "--chat-message-bg",
3268
+ "description": "Bubble background color (assistant/system)"
3269
+ },
3168
3270
  {
3169
- "name": "slides",
3170
- "type": {
3171
- "text": "HTMLElement[]"
3172
- }
3271
+ "name": "--chat-message-color",
3272
+ "description": "Bubble text color (assistant/system)"
3173
3273
  },
3174
3274
  {
3175
- "name": "current",
3176
- "type": {
3177
- "text": "number"
3178
- }
3275
+ "name": "--chat-message-user-bg",
3276
+ "description": "Bubble background color (user)"
3179
3277
  },
3180
3278
  {
3181
- "name": "options",
3182
- "type": {
3183
- "text": "{ extent: number; horizontal: boolean; loop: boolean; rtl: boolean; size: number; spacing: number }"
3184
- }
3185
- }
3186
- ]
3187
- },
3188
- {
3189
- "kind": "function",
3190
- "name": "clearCoverflow",
3191
- "return": {
3192
- "type": {
3193
- "text": "void"
3279
+ "name": "--chat-message-user-color",
3280
+ "description": "Bubble text color (user)"
3281
+ },
3282
+ {
3283
+ "name": "--chat-message-radius",
3284
+ "description": "Bubble border radius"
3285
+ },
3286
+ {
3287
+ "name": "--chat-message-max-width",
3288
+ "description": "Maximum bubble width"
3194
3289
  }
3195
- },
3196
- "parameters": [
3290
+ ],
3291
+ "demos": [
3197
3292
  {
3198
- "name": "slide",
3199
- "type": {
3200
- "text": "HTMLElement"
3201
- }
3293
+ "url": "",
3294
+ "description": "```html\n<ore-chat-message sender=\"user\" timestamp=\"2024-01-01T12:00:00Z\" status=\"sent\">\n What's the weather like today?\n</ore-chat-message>\n<ore-chat-message sender=\"assistant\" name=\"Assistant\" streaming>\n Let me check that for you\n</ore-chat-message>\n```"
3202
3295
  }
3203
3296
  ]
3204
3297
  },
3205
3298
  {
3206
3299
  "kind": "variable",
3207
- "name": "CAROUSEL_SLIDE_TAG",
3208
- "type": {
3209
- "text": "'ore-carousel-slide'"
3210
- },
3211
- "default": "'ore-carousel-slide'"
3212
- },
3213
- {
3214
- "kind": "class",
3215
- "name": "OreCarouselSlideElement",
3216
- "tagName": "ore-carousel-slide",
3217
- "customElement": true,
3218
- "description": "",
3219
- "summary": "",
3220
- "demos": []
3221
- },
3222
- {
3223
- "kind": "variable",
3224
- "name": "CAROUSEL_ORIENTATIONS",
3225
- "type": {
3226
- "text": "['horizontal', 'vertical']"
3227
- },
3228
- "default": "['horizontal', 'vertical']"
3229
- },
3230
- {
3231
- "kind": "variable",
3232
- "name": "CAROUSEL_VARIANTS",
3233
- "type": {
3234
- "text": "['default', 'fade', 'filmstrip', 'gallery', 'coverflow']"
3235
- },
3236
- "default": "['default', 'fade', 'filmstrip', 'gallery', 'coverflow']"
3237
- },
3238
- {
3239
- "kind": "variable",
3240
- "name": "CAROUSEL_TAG",
3300
+ "name": "CHAT_PANEL_TAG",
3241
3301
  "type": {
3242
- "text": "'ore-carousel'"
3302
+ "text": "'ore-chat-panel'"
3243
3303
  },
3244
- "default": "'ore-carousel'",
3245
- "description": "An accessible, keyboard-navigable carousel / slideshow with optional\nautoplay, swipe support, and indicator dots.\n\nPlace `<ore-carousel-slide>` elements as direct children."
3304
+ "default": "'ore-chat-panel'",
3305
+ "description": "A self-contained assistant chat surface: the fixed corner window a demo or support\nflow needs: header with title, status, Start over and close; a live-region message\ntranscript built from `ore-chat-message`; suggested questions while the transcript\nholds only the greeting; and an `ore-message-composer` footer.\n\nThe panel owns presentation and interaction only. Reply generation, persistence, and\naction semantics stay with the consumer: listen for `send`, append the assistant reply\nto `messages`, and reassign the array; handle `action` for whatever a message's action\npayload means in your app."
3246
3306
  },
3247
3307
  {
3248
3308
  "kind": "class",
3249
- "name": "OreCarouselElement",
3250
- "tagName": "ore-carousel",
3309
+ "name": "OreChatPanelElement",
3310
+ "tagName": "ore-chat-panel",
3251
3311
  "customElement": true,
3252
- "description": "An accessible, keyboard-navigable carousel / slideshow with optional\nautoplay, swipe support, and indicator dots.\nPlace `<ore-carousel-slide>` elements as direct children.",
3312
+ "description": "A self-contained assistant chat surface: the fixed corner window a demo or support\nflow needs: header with title, status, Start over and close; a live-region message\ntranscript built from `ore-chat-message`; suggested questions while the transcript\nholds only the greeting; and an `ore-message-composer` footer.\nThe panel owns presentation and interaction only. Reply generation, persistence, and\naction semantics stay with the consumer: listen for `send`, append the assistant reply\nto `messages`, and reassign the array; handle `action` for whatever a message's action\npayload means in your app.",
3253
3313
  "summary": "",
3254
3314
  "attributes": [
3255
- {
3256
- "name": "color",
3257
- "type": {
3258
- "text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
3259
- },
3260
- "description": "Theme color for navigation buttons: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
3261
- },
3262
- {
3263
- "name": "autoplay",
3264
- "type": {
3265
- "text": "boolean"
3266
- },
3267
- "description": "Advance slides automatically (default false)"
3268
- },
3269
- {
3270
- "name": "autoplay-interval",
3271
- "type": {
3272
- "text": "number"
3273
- },
3274
- "description": "Milliseconds between automatic advances (default 5000)"
3275
- },
3276
3315
  {
3277
3316
  "name": "label",
3278
3317
  "type": {
3279
3318
  "text": "string"
3280
3319
  },
3281
- "description": "Accessible label for the carousel region"
3320
+ "description": "Accessible name for the panel region"
3282
3321
  },
3283
3322
  {
3284
- "name": "loop",
3323
+ "name": "open",
3285
3324
  "type": {
3286
3325
  "text": "boolean"
3287
3326
  },
3288
- "description": "Loop from last slide to first (default true)"
3327
+ "description": "Open state"
3289
3328
  },
3290
3329
  {
3291
- "name": "orientation",
3330
+ "name": "initials",
3292
3331
  "type": {
3293
3332
  "text": "string"
3294
3333
  },
3295
- "description": "'horizontal' (default) | 'vertical'"
3334
+ "description": "Assistant avatar initials (default 'V')"
3296
3335
  },
3297
3336
  {
3298
- "name": "variant",
3337
+ "name": "maxlength",
3299
3338
  "type": {
3300
- "text": "'default' | 'fade' | 'filmstrip' | 'gallery' | 'coverflow'"
3339
+ "text": "number"
3301
3340
  },
3302
- "description": "'default' | 'fade' | 'filmstrip' | 'gallery' | 'coverflow'"
3303
- },
3341
+ "description": "Composer character limit (default 240)"
3342
+ }
3343
+ ],
3344
+ "events": [
3304
3345
  {
3305
- "name": "show-controls",
3346
+ "name": "send",
3347
+ "description": "A send or suggestion was submitted. detail: { text }",
3306
3348
  "type": {
3307
- "text": "boolean"
3308
- },
3309
- "description": "Show prev/next buttons (default true)"
3349
+ "text": "CustomEvent"
3350
+ }
3310
3351
  },
3311
3352
  {
3312
- "name": "show-indicators",
3353
+ "name": "action",
3354
+ "description": "A message action button was activated. detail: { payload }",
3313
3355
  "type": {
3314
- "text": "boolean"
3315
- },
3316
- "description": "Show indicator dots (default true)"
3356
+ "text": "CustomEvent"
3357
+ }
3317
3358
  },
3318
3359
  {
3319
- "name": "max-indicators",
3360
+ "name": "reset",
3361
+ "description": "The transcript was cleared via Start over.",
3320
3362
  "type": {
3321
- "text": "number"
3322
- },
3323
- "description": "Maximum visible indicators (default 7)"
3363
+ "text": "CustomEvent"
3364
+ }
3324
3365
  },
3325
3366
  {
3326
- "name": "slide-index",
3327
- "type": {
3328
- "text": "number"
3329
- },
3330
- "description": "Active slide index (zero-based, default 0)"
3331
- }
3332
- ],
3333
- "events": [
3334
- {
3335
- "name": "change",
3336
- "description": "Fires when the active slide changes. detail: { index: number }",
3367
+ "name": "open-change",
3368
+ "description": "Open state changed. detail: { open, reason }",
3337
3369
  "type": {
3338
3370
  "text": "CustomEvent"
3339
3371
  }
@@ -3341,90 +3373,58 @@
3341
3373
  ],
3342
3374
  "slots": [
3343
3375
  {
3344
- "name": "",
3345
- "description": "Place `<ore-carousel-slide>` elements here"
3376
+ "name": "header",
3377
+ "description": "Replaces the default title/status header content"
3346
3378
  }
3347
3379
  ],
3348
3380
  "cssParts": [
3349
3381
  {
3350
- "name": "track",
3351
- "description": "The scrolling slide track element"
3382
+ "name": "window",
3383
+ "description": "The fixed panel window"
3352
3384
  },
3353
3385
  {
3354
- "name": "controls",
3355
- "description": "The prev/next button container"
3386
+ "name": "header",
3387
+ "description": "Header row"
3356
3388
  },
3357
3389
  {
3358
- "name": "indicators",
3359
- "description": "The indicator dots container"
3390
+ "name": "body",
3391
+ "description": "Scrollable transcript area"
3360
3392
  },
3361
3393
  {
3362
- "name": "prev-btn",
3363
- "description": "The previous-slide button"
3394
+ "name": "messages",
3395
+ "description": "Message list (role=log)"
3364
3396
  },
3365
3397
  {
3366
- "name": "next-btn",
3367
- "description": "The next-slide button"
3398
+ "name": "suggestions",
3399
+ "description": "Suggestion chips row"
3400
+ },
3401
+ {
3402
+ "name": "composer",
3403
+ "description": "Composer footer"
3368
3404
  }
3369
3405
  ],
3370
3406
  "cssProperties": [
3371
3407
  {
3372
- "name": "--carousel-bg",
3373
- "description": "Slide area background"
3374
- },
3375
- {
3376
- "name": "--carousel-radius",
3377
- "description": "Border radius of the carousel"
3378
- },
3379
- {
3380
- "name": "--carousel-dot-bg",
3381
- "description": "Inactive indicator color (default: var(--color-contrast-300))"
3382
- },
3383
- {
3384
- "name": "--carousel-dot-active-bg",
3385
- "description": "Active indicator / fill color (default: var(--color-contrast-700))"
3386
- },
3387
- {
3388
- "name": "--carousel-transition-duration",
3389
- "description": "Slide transition duration (default 0.35s; 0s under prefers-reduced-motion)."
3390
- },
3391
- {
3392
- "name": "--carousel-min-height",
3393
- "description": "Minimum height when no explicit height is set (default 240px)"
3394
- },
3395
- {
3396
- "name": "--carousel-filmstrip-inactive",
3397
- "description": "Width (horizontal) or height (vertical) of inactive slides in filmstrip mode"
3398
- },
3399
- {
3400
- "name": "--carousel-filmstrip-gap",
3401
- "description": "Gap between slides in filmstrip mode"
3402
- },
3403
- {
3404
- "name": "--carousel-gallery-thumbnail",
3405
- "description": "Width (horizontal) or height (vertical) of thumbnail slides in gallery mode (default var(--size-24))"
3406
- },
3407
- {
3408
- "name": "--carousel-gallery-gap",
3409
- "description": "Gap between slides in gallery mode (default var(--size-2))"
3408
+ "name": "--chat-panel-width",
3409
+ "description": "Panel width (default min(420px, viewport-fit))"
3410
3410
  },
3411
3411
  {
3412
- "name": "--carousel-coverflow-size",
3413
- "description": "Card extent along the navigation axis (default var(--size-40))"
3412
+ "name": "--chat-panel-height",
3413
+ "description": "Panel height (default min(640px, viewport-fit))"
3414
3414
  },
3415
3415
  {
3416
- "name": "--carousel-coverflow-spacing",
3417
- "description": "Distance between cover centers (default var(--size-12))"
3416
+ "name": "--chat-panel-inset",
3417
+ "description": "Distance from the viewport corner (default --size-6)"
3418
3418
  },
3419
3419
  {
3420
- "name": "--carousel-coverflow-perspective",
3421
- "description": "Coverflow perspective (default calc(var(--size-64) * 4))"
3420
+ "name": "--chat-panel-z-index",
3421
+ "description": "Stacking order (default --z-fixed)"
3422
3422
  }
3423
3423
  ],
3424
3424
  "demos": [
3425
3425
  {
3426
3426
  "url": "",
3427
- "description": "```html\n<ore-carousel label=\"Product highlights\" loop>\n <ore-carousel-slide>Slide 1</ore-carousel-slide>\n <ore-carousel-slide>Slide 2</ore-carousel-slide>\n <ore-carousel-slide>Slide 3</ore-carousel-slide>\n</ore-carousel>\n```"
3427
+ "description": "```html\n<ore-chat-panel id=\"advisor\" label=\"Model advisor\"></ore-chat-panel>\n<script type=\"module\">\n import '@vielzeug/refine/chat-panel';\n const panel = document.getElementById('advisor');\n panel.messages = [{ sender: 'assistant', text: 'Hi! What can I help with?' }];\n panel.addEventListener('send', (event) => {\n panel.messages = [\n ...panel.messages,\n { sender: 'user', text: event.detail.text },\n { sender: 'assistant', text: 'Let me look into that.' },\n ];\n });\n panel.show();\n</script>\n```"
3428
3428
  }
3429
3429
  ]
3430
3430
  },
@@ -5434,14 +5434,14 @@
5434
5434
  "text": "'ore-alert'"
5435
5435
  },
5436
5436
  "default": "'ore-alert'",
5437
- "description": "A status/feedback banner with optional heading, icon slot, and dismiss button."
5437
+ "description": "A status/feedback banner with optional heading, icon slot, and dismiss button.\nWith `docked` it becomes a slim site banner pinned to a viewport edge, and\n`slim` packs icon, text, and actions onto one wrapping row."
5438
5438
  },
5439
5439
  {
5440
5440
  "kind": "class",
5441
5441
  "name": "OreAlertElement",
5442
5442
  "tagName": "ore-alert",
5443
5443
  "customElement": true,
5444
- "description": "A status/feedback banner with optional heading, icon slot, and dismiss button.",
5444
+ "description": "A status/feedback banner with optional heading, icon slot, and dismiss button.\nWith `docked` it becomes a slim site banner pinned to a viewport edge, and\n`slim` packs icon, text, and actions onto one wrapping row.",
5445
5445
  "summary": "",
5446
5446
  "attributes": [
5447
5447
  {
@@ -5472,6 +5472,20 @@
5472
5472
  },
5473
5473
  "description": "Border radius: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full'"
5474
5474
  },
5475
+ {
5476
+ "name": "slim",
5477
+ "type": {
5478
+ "text": "boolean"
5479
+ },
5480
+ "description": "Single-line density: tighter padding; icon, text, and actions share one wrapping row"
5481
+ },
5482
+ {
5483
+ "name": "docked",
5484
+ "type": {
5485
+ "text": "'top' | 'bottom'"
5486
+ },
5487
+ "description": "Pin to a viewport edge as a site banner: 'top' | 'bottom' (full-bleed; box it with --alert-max-width)"
5488
+ },
5475
5489
  {
5476
5490
  "name": "heading",
5477
5491
  "type": {
@@ -5616,12 +5630,24 @@
5616
5630
  {
5617
5631
  "name": "--alert-icon-size",
5618
5632
  "description": "Size of the automatic leading icon (default --size-5)"
5633
+ },
5634
+ {
5635
+ "name": "--alert-max-width",
5636
+ "description": "Content width for a boxed look (default full width)"
5637
+ },
5638
+ {
5639
+ "name": "--alert-dock-inset",
5640
+ "description": "Distance from the viewport edges when docked (default --size-4, plus safe-area insets)"
5641
+ },
5642
+ {
5643
+ "name": "--alert-dock-z-index",
5644
+ "description": "Stacking order when docked (default --z-fixed)"
5619
5645
  }
5620
5646
  ],
5621
5647
  "demos": [
5622
5648
  {
5623
5649
  "url": "",
5624
- "description": "```html\n<ore-alert color=\"success\">Your changes have been saved.</ore-alert>\n<ore-alert color=\"error\" variant=\"solid\" dismissible heading=\"Something went wrong\">\n Please try again later.\n</ore-alert>\n```"
5650
+ "description": "```html\n<ore-alert color=\"success\">Your changes have been saved.</ore-alert>\n<ore-alert color=\"error\" variant=\"solid\" dismissible heading=\"Something went wrong\">\n Please try again later.\n</ore-alert>\n<ore-alert docked=\"bottom\" slim color=\"primary\" variant=\"solid\" dismissible>\n New: dark mode is live.\n <ore-button slot=\"actions\" variant=\"ghost\" size=\"sm\">Try it</ore-button>\n</ore-alert>\n```"
5625
5651
  }
5626
5652
  ]
5627
5653
  },
@@ -6194,21 +6220,28 @@
6194
6220
  "type": {
6195
6221
  "text": "number"
6196
6222
  },
6197
- "description": "Current value (0–max). Defaults to 0."
6223
+ "description": "Current value; clamped to [min, max]. Defaults to 0."
6224
+ },
6225
+ {
6226
+ "name": "min",
6227
+ "type": {
6228
+ "text": "number"
6229
+ },
6230
+ "description": "Range start. Defaults to 0."
6198
6231
  },
6199
6232
  {
6200
6233
  "name": "max",
6201
6234
  "type": {
6202
6235
  "text": "number"
6203
6236
  },
6204
- "description": "Maximum value. Defaults to 100."
6237
+ "description": "Range end. Defaults to 100."
6205
6238
  },
6206
6239
  {
6207
6240
  "name": "indeterminate",
6208
6241
  "type": {
6209
6242
  "text": "boolean"
6210
6243
  },
6211
- "description": "Show infinite animation (ignores value/max)."
6244
+ "description": "Show infinite animation (ignores value/min/max)."
6212
6245
  },
6213
6246
  {
6214
6247
  "name": "color",
@@ -6227,9 +6260,9 @@
6227
6260
  {
6228
6261
  "name": "type",
6229
6262
  "type": {
6230
- "text": "'circular' | 'vertical'"
6263
+ "text": "'circular' | 'gauge'"
6231
6264
  },
6232
- "description": "'linear' (default) | 'circular' | 'vertical'"
6265
+ "description": "'linear' (default) | 'circular' | 'gauge' (half-circle) | 'vertical'"
6233
6266
  },
6234
6267
  {
6235
6268
  "name": "segments",
@@ -6241,23 +6274,37 @@
6241
6274
  {
6242
6275
  "name": "label",
6243
6276
  "type": {
6244
- "text": "string"
6277
+ "text": "string"
6278
+ },
6279
+ "description": "Visible text label + accessible name. Linear: at bar end (or header row with title). Circular/gauge: large text centered inside the ring."
6280
+ },
6281
+ {
6282
+ "name": "title",
6283
+ "type": {
6284
+ "text": "string"
6285
+ },
6286
+ "description": "Title text. Linear: header above the bar (moves label to header row). Circular/gauge: smaller text below the label inside the ring."
6287
+ },
6288
+ {
6289
+ "name": "show-value",
6290
+ "type": {
6291
+ "text": "boolean"
6245
6292
  },
6246
- "description": "Visible text label + accessible name. Linear: at bar end (or header row with title). Circular: large text centered inside the ring."
6293
+ "description": "Show the rounded percentage where the label renders (end label, header, inside the ring, floating chip). An explicit `label` (or `floating-label` for the chip) wins."
6247
6294
  },
6248
6295
  {
6249
- "name": "title",
6296
+ "name": "floating-label",
6250
6297
  "type": {
6251
6298
  "text": "string"
6252
6299
  },
6253
- "description": "Title text. Linear: header above the bar (moves label to header row). Circular: smaller text below the label inside the ring."
6300
+ "description": "Floating chip centered above the fill endpoint (linear only); hidden when indeterminate."
6254
6301
  },
6255
6302
  {
6256
- "name": "floating-label",
6303
+ "name": "floating-label-position",
6257
6304
  "type": {
6258
6305
  "text": "string"
6259
6306
  },
6260
- "description": "Floating chip centered above the fill endpoint (linear only); hidden when indeterminate."
6307
+ "description": "Chip side: 'top' (default) | 'bottom'."
6261
6308
  }
6262
6309
  ],
6263
6310
  "cssParts": [
@@ -6272,13 +6319,17 @@
6272
6319
  ],
6273
6320
  "cssProperties": [
6274
6321
  {
6275
- "name": "--progress-width",
6276
- "description": "Bar width override (vertical only)"
6322
+ "name": "--progress-floating-label-color",
6323
+ "description": "Floating chip text color (default: the theme's contrast ink for the fill color)"
6277
6324
  },
6278
6325
  {
6279
6326
  "name": "--progress-height",
6280
6327
  "description": "Bar height override"
6281
6328
  },
6329
+ {
6330
+ "name": "--progress-width",
6331
+ "description": "Bar width override (vertical only)"
6332
+ },
6282
6333
  {
6283
6334
  "name": "--progress-track-bg",
6284
6335
  "description": "Track background color"
@@ -6305,7 +6356,11 @@
6305
6356
  },
6306
6357
  {
6307
6358
  "name": "--progress-circle-size",
6308
- "description": "Circular indicator diameter (default 6rem)"
6359
+ "description": "Circular/gauge indicator diameter (default 6rem)"
6360
+ },
6361
+ {
6362
+ "name": "--progress-stroke-width",
6363
+ "description": "Circular/gauge ring thickness (default scales with size)"
6309
6364
  },
6310
6365
  {
6311
6366
  "name": "--progress-circular-label-size",
@@ -6871,6 +6926,166 @@
6871
6926
  }
6872
6927
  ]
6873
6928
  },
6929
+ {
6930
+ "kind": "variable",
6931
+ "name": "APP_STORES",
6932
+ "type": {
6933
+ "text": "['apple', 'google-play', 'huawei']"
6934
+ },
6935
+ "default": "['apple', 'google-play', 'huawei']",
6936
+ "description": "Stores with a badge treatment. Logo path data is CC0 (see THIRD_PARTY_NOTICES); the store names and marks remain trademarks of their respective owners."
6937
+ },
6938
+ {
6939
+ "kind": "variable",
6940
+ "name": "APP_STORE_BUTTON_VARIANTS",
6941
+ "type": {
6942
+ "text": "['filled', 'outline']"
6943
+ },
6944
+ "default": "['filled', 'outline']",
6945
+ "description": "Visual treatment: a solid inverted slab, or a bordered `currentColor` outline."
6946
+ },
6947
+ {
6948
+ "kind": "variable",
6949
+ "name": "APP_STORE_BUTTON_SIZES",
6950
+ "type": {
6951
+ "text": "['md', 'lg']"
6952
+ },
6953
+ "default": "['md', 'lg']",
6954
+ "description": "The badge ships two sizes: `md` 40px and `lg` 44px, matching store-badge conventions."
6955
+ },
6956
+ {
6957
+ "kind": "variable",
6958
+ "name": "APP_STORE_BUTTON_TAG",
6959
+ "type": {
6960
+ "text": "'ore-app-store-button'"
6961
+ },
6962
+ "default": "'ore-app-store-button'",
6963
+ "description": "An app-store download badge: store logo plus the \"Download on the / App Store\"\nlockup, linking to a store listing. `filled` renders the classic inverted slab\nfrom theme contrast tokens (dark ink in the light appearance, light slab in\nthe dark one); `outline` renders a bordered badge drawn with `currentColor`.\nWith `href` the badge is a real anchor (safe-`rel` merge included); without\none it is an `img`-role badge so assistive tech still reads the printed text."
6964
+ },
6965
+ {
6966
+ "kind": "class",
6967
+ "name": "OreAppStoreButtonElement",
6968
+ "tagName": "ore-app-store-button",
6969
+ "customElement": true,
6970
+ "description": "An app-store download badge: store logo plus the \"Download on the / App Store\"\nlockup, linking to a store listing. `filled` renders the classic inverted slab\nfrom theme contrast tokens (dark ink in the light appearance, light slab in\nthe dark one); `outline` renders a bordered badge drawn with `currentColor`.\nWith `href` the badge is a real anchor (safe-`rel` merge included); without\none it is an `img`-role badge so assistive tech still reads the printed text.",
6971
+ "summary": "",
6972
+ "attributes": [
6973
+ {
6974
+ "name": "store",
6975
+ "type": {
6976
+ "text": "'apple' | 'google-play' | 'huawei'"
6977
+ },
6978
+ "description": "Store badge: 'apple' | 'google-play' | 'huawei' (default: 'apple')",
6979
+ "default": "'apple'"
6980
+ },
6981
+ {
6982
+ "name": "variant",
6983
+ "type": {
6984
+ "text": "'filled' | 'outline'"
6985
+ },
6986
+ "description": "Visual variant: 'filled' | 'outline' (default: 'filled')",
6987
+ "default": "'filled'"
6988
+ },
6989
+ {
6990
+ "name": "size",
6991
+ "type": {
6992
+ "text": "'md' | 'lg'"
6993
+ },
6994
+ "description": "Badge size: 'md' | 'lg' (default: 'md')",
6995
+ "default": "'md'"
6996
+ },
6997
+ {
6998
+ "name": "href",
6999
+ "type": {
7000
+ "text": "string"
7001
+ },
7002
+ "description": "Store listing URL; renders an anchor when set"
7003
+ },
7004
+ {
7005
+ "name": "rel",
7006
+ "type": {
7007
+ "text": "string"
7008
+ },
7009
+ "description": "Anchor rel attribute"
7010
+ },
7011
+ {
7012
+ "name": "target",
7013
+ "type": {
7014
+ "text": "string"
7015
+ },
7016
+ "description": "Anchor browsing context"
7017
+ },
7018
+ {
7019
+ "name": "label",
7020
+ "type": {
7021
+ "text": "string"
7022
+ },
7023
+ "description": "Accessible label override (defaults to the badge text)"
7024
+ }
7025
+ ],
7026
+ "cssParts": [
7027
+ {
7028
+ "name": "link",
7029
+ "description": "The anchor (href set) or image-role span rendering the badge"
7030
+ },
7031
+ {
7032
+ "name": "logo",
7033
+ "description": "The store logo wrapper"
7034
+ },
7035
+ {
7036
+ "name": "labels",
7037
+ "description": "The two-line text lockup wrapper"
7038
+ },
7039
+ {
7040
+ "name": "eyebrow",
7041
+ "description": "The small uppercase line (\"Download on the\")"
7042
+ },
7043
+ {
7044
+ "name": "store",
7045
+ "description": "The store name line (\"App Store\")"
7046
+ }
7047
+ ],
7048
+ "cssProperties": [
7049
+ {
7050
+ "name": "--app-store-button-filled-bg",
7051
+ "description": "Background of the filled badge (default: `--color-contrast-900`)"
7052
+ },
7053
+ {
7054
+ "name": "--app-store-button-filled-color",
7055
+ "description": "Foreground of the filled badge (default: `--color-contrast-50`)"
7056
+ },
7057
+ {
7058
+ "name": "--app-store-button-filled-hover-bg",
7059
+ "description": "Filled badge background on hover (default: `--color-contrast-800`)"
7060
+ },
7061
+ {
7062
+ "name": "--app-store-button-outline-color",
7063
+ "description": "Foreground of the outline badge (default: `--text-color-heading`)"
7064
+ },
7065
+ {
7066
+ "name": "--app-store-button-outline-border-color",
7067
+ "description": "Outline badge border color (default: `--color-neutral-border`)"
7068
+ },
7069
+ {
7070
+ "name": "--app-store-button-outline-hover-bg",
7071
+ "description": "Outline badge background on hover (default: `--color-neutral-backdrop`)"
7072
+ },
7073
+ {
7074
+ "name": "--app-store-button-radius",
7075
+ "description": "Badge corner radius (default: `--rounded-lg`)"
7076
+ },
7077
+ {
7078
+ "name": "--app-store-button-eyebrow-opacity",
7079
+ "description": "Opacity of the small eyebrow line (default: 0.85)"
7080
+ }
7081
+ ],
7082
+ "demos": [
7083
+ {
7084
+ "url": "",
7085
+ "description": "```html\n<ore-app-store-button store=\"apple\" href=\"https://apps.apple.com/app/id000000000\"></ore-app-store-button>\n<ore-app-store-button store=\"google-play\" variant=\"outline\" size=\"lg\"\n href=\"https://play.google.com/store/apps/details?id=com.example\"></ore-app-store-button>\n```"
7086
+ }
7087
+ ]
7088
+ },
6874
7089
  {
6875
7090
  "kind": "variable",
6876
7091
  "name": "BUTTON_VARIANTS",
@@ -13920,208 +14135,66 @@
13920
14135
  "description": "Indicator group name (default Media indicators)"
13921
14136
  },
13922
14137
  {
13923
- "name": "max-indicators",
13924
- "type": {
13925
- "text": "number"
13926
- },
13927
- "description": "Maximum visible indicator buttons (default 7)"
13928
- },
13929
- {
13930
- "name": "loop",
13931
- "type": {
13932
- "text": "boolean"
13933
- },
13934
- "description": "Wrap navigation at the ends (default false)"
13935
- },
13936
- {
13937
- "name": "orientation",
13938
- "type": {
13939
- "text": "string"
13940
- },
13941
- "description": "horizontal (default) or vertical"
13942
- },
13943
- {
13944
- "name": "previous-label",
13945
- "type": {
13946
- "text": "string"
13947
- },
13948
- "description": "Previous button name (default Previous item)"
13949
- },
13950
- {
13951
- "name": "next-label",
13952
- "type": {
13953
- "text": "string"
13954
- },
13955
- "description": "Next button name (default Next item)"
13956
- },
13957
- {
13958
- "name": "progress-duration",
13959
- "type": {
13960
- "text": "number"
13961
- },
13962
- "description": "Active indicator progress duration in milliseconds (default 0)"
13963
- },
13964
- {
13965
- "name": "show-controls",
13966
- "type": {
13967
- "text": "boolean"
13968
- },
13969
- "description": "Show arrows (default true)"
13970
- },
13971
- {
13972
- "name": "show-indicators",
13973
- "type": {
13974
- "text": "boolean"
13975
- },
13976
- "description": "Show indicators (default true)"
13977
- }
13978
- ],
13979
- "events": [
13980
- {
13981
- "name": "navigate",
13982
- "description": "Requests a new index. detail: { index: number }",
13983
- "type": {
13984
- "text": "CustomEvent"
13985
- }
13986
- }
13987
- ],
13988
- "cssParts": [
13989
- {
13990
- "name": "bar",
13991
- "description": "Shared navigation surface"
13992
- },
13993
- {
13994
- "name": "controls",
13995
- "description": "Arrow button group"
13996
- },
13997
- {
13998
- "name": "indicators",
13999
- "description": "Indicator group"
14000
- },
14001
- {
14002
- "name": "indicator",
14003
- "description": "Individual indicator button"
14004
- },
14005
- {
14006
- "name": "previous",
14007
- "description": "Previous button"
14008
- },
14009
- {
14010
- "name": "next",
14011
- "description": "Next button"
14012
- }
14013
- ],
14014
- "cssProperties": [
14015
- {
14016
- "name": "--media-navigation-bg",
14017
- "description": "Navigation surface background"
14018
- },
14019
- {
14020
- "name": "--media-navigation-dot-bg",
14021
- "description": "Inactive track color"
14022
- }
14023
- ],
14024
- "demos": []
14025
- },
14026
- {
14027
- "kind": "variable",
14028
- "name": "DEFAULT_PAGINATION_LABELS",
14029
- "type": {
14030
- "text": "PaginationLabels"
14031
- },
14032
- "default": "{ first: 'First page', last: 'Last page', next: 'Next page', page: (page) => `Page ${page}`, previous: 'Previous page', }"
14033
- },
14034
- {
14035
- "kind": "variable",
14036
- "name": "PAGINATION_TAG",
14037
- "type": {
14038
- "text": "'ore-pagination'"
14039
- },
14040
- "default": "'ore-pagination'",
14041
- "description": "Page-based navigation control."
14042
- },
14043
- {
14044
- "kind": "class",
14045
- "name": "OrePaginationElement",
14046
- "tagName": "ore-pagination",
14047
- "customElement": true,
14048
- "description": "Page-based navigation control.\nThe `page` attribute updates optimistically on selection and `change` fires in the same\nstep, so plain attribute-driven usage works without extra wiring. Router-driven apps\nwrite `page` from the URL as normal: the grid-external state remains the destination of\ntruth and a later attribute write simply re-syncs the control. The JS-only `labels`\nproperty localizes the boundary and page-button accessible names.",
14049
- "summary": "",
14050
- "attributes": [
14051
- {
14052
- "name": "page",
14053
- "type": {
14054
- "text": "number"
14055
- },
14056
- "description": "Current page (1-indexed, default: 1)",
14057
- "default": "1)"
14058
- },
14059
- {
14060
- "name": "total-pages",
14138
+ "name": "max-indicators",
14061
14139
  "type": {
14062
14140
  "text": "number"
14063
14141
  },
14064
- "description": "Total number of pages (required)"
14142
+ "description": "Maximum visible indicator buttons (default 7)"
14065
14143
  },
14066
14144
  {
14067
- "name": "siblings",
14145
+ "name": "loop",
14068
14146
  "type": {
14069
- "text": "number"
14147
+ "text": "boolean"
14070
14148
  },
14071
- "description": "Sibling pages around current (default: 1)",
14072
- "default": "1"
14149
+ "description": "Wrap navigation at the ends (default false)"
14073
14150
  },
14074
14151
  {
14075
- "name": "show-first-last",
14152
+ "name": "orientation",
14076
14153
  "type": {
14077
- "text": "boolean"
14154
+ "text": "string"
14078
14155
  },
14079
- "description": "Show first/last page buttons (default: false)",
14080
- "default": "false"
14156
+ "description": "horizontal (default) or vertical"
14081
14157
  },
14082
14158
  {
14083
- "name": "show-prev-next",
14159
+ "name": "previous-label",
14084
14160
  "type": {
14085
- "text": "boolean"
14161
+ "text": "string"
14086
14162
  },
14087
- "description": "Show prev/next buttons (default: true)",
14088
- "default": "true"
14163
+ "description": "Previous button name (default Previous item)"
14089
14164
  },
14090
14165
  {
14091
- "name": "color",
14166
+ "name": "next-label",
14092
14167
  "type": {
14093
- "text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
14168
+ "text": "string"
14094
14169
  },
14095
- "description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
14170
+ "description": "Next button name (default Next item)"
14096
14171
  },
14097
14172
  {
14098
- "name": "variant",
14173
+ "name": "progress-duration",
14099
14174
  "type": {
14100
- "text": "'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'text' | 'frost'"
14175
+ "text": "number"
14101
14176
  },
14102
- "description": "Visual variant for nav buttons: 'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'text' | 'frost' (default: 'ghost')",
14103
- "default": "'ghost'"
14177
+ "description": "Active indicator progress duration in milliseconds (default 0)"
14104
14178
  },
14105
14179
  {
14106
- "name": "size",
14180
+ "name": "show-controls",
14107
14181
  "type": {
14108
- "text": "'sm' | 'md' | 'lg'"
14182
+ "text": "boolean"
14109
14183
  },
14110
- "description": "'sm' | 'md' | 'lg'"
14184
+ "description": "Show arrows (default true)"
14111
14185
  },
14112
14186
  {
14113
- "name": "label",
14187
+ "name": "show-indicators",
14114
14188
  "type": {
14115
- "text": "string"
14189
+ "text": "boolean"
14116
14190
  },
14117
- "description": "Accessible nav label (default: 'Pagination')",
14118
- "default": "'Pagination'"
14191
+ "description": "Show indicators (default true)"
14119
14192
  }
14120
14193
  ],
14121
14194
  "events": [
14122
14195
  {
14123
- "name": "change",
14124
- "description": "Emitted when the page changes, with { page: number }",
14196
+ "name": "navigate",
14197
+ "description": "Requests a new index. detail: { index: number }",
14125
14198
  "type": {
14126
14199
  "text": "CustomEvent"
14127
14200
  }
@@ -14129,54 +14202,41 @@
14129
14202
  ],
14130
14203
  "cssParts": [
14131
14204
  {
14132
- "name": "page-btn",
14133
- "description": "Page button."
14134
- },
14135
- {
14136
- "name": "nav",
14137
- "description": "Navigation container."
14205
+ "name": "bar",
14206
+ "description": "Shared navigation surface"
14138
14207
  },
14139
14208
  {
14140
- "name": "list",
14141
- "description": "List container."
14209
+ "name": "controls",
14210
+ "description": "Arrow button group"
14142
14211
  },
14143
14212
  {
14144
- "name": "first-btn",
14145
- "description": "First page button."
14213
+ "name": "indicators",
14214
+ "description": "Indicator group"
14146
14215
  },
14147
14216
  {
14148
- "name": "prev-btn",
14149
- "description": "Previous page button."
14217
+ "name": "indicator",
14218
+ "description": "Individual indicator button"
14150
14219
  },
14151
14220
  {
14152
- "name": "next-btn",
14153
- "description": "Next page button."
14221
+ "name": "previous",
14222
+ "description": "Previous button"
14154
14223
  },
14155
14224
  {
14156
- "name": "last-btn",
14157
- "description": "Last page button."
14225
+ "name": "next",
14226
+ "description": "Next button"
14158
14227
  }
14159
14228
  ],
14160
14229
  "cssProperties": [
14161
14230
  {
14162
- "name": "--pagination-item-size",
14163
- "description": "Width/height of each item"
14164
- },
14165
- {
14166
- "name": "--pagination-gap",
14167
- "description": "Gap between items"
14231
+ "name": "--media-navigation-bg",
14232
+ "description": "Navigation surface background"
14168
14233
  },
14169
14234
  {
14170
- "name": "--pagination-radius",
14171
- "description": "Border radius of items"
14235
+ "name": "--media-navigation-dot-bg",
14236
+ "description": "Inactive track color"
14172
14237
  }
14173
14238
  ],
14174
- "demos": [
14175
- {
14176
- "url": "",
14177
- "description": "```html\n<!-- Basic -->\n<ore-pagination page=\"3\" total-pages=\"10\" color=\"primary\"></ore-pagination>\n<!-- With prev/next and first/last buttons -->\n<ore-pagination page=\"5\" total-pages=\"20\" show-prev-next show-first-last siblings=\"2\"></ore-pagination>\n<!-- Compact size -->\n<ore-pagination page=\"1\" total-pages=\"5\" size=\"sm\" variant=\"ghost\"></ore-pagination>\n```"
14178
- }
14179
- ]
14239
+ "demos": []
14180
14240
  },
14181
14241
  {
14182
14242
  "kind": "variable",
@@ -14370,6 +14430,161 @@
14370
14430
  ],
14371
14431
  "demos": []
14372
14432
  },
14433
+ {
14434
+ "kind": "variable",
14435
+ "name": "DEFAULT_PAGINATION_LABELS",
14436
+ "type": {
14437
+ "text": "PaginationLabels"
14438
+ },
14439
+ "default": "{ first: 'First page', last: 'Last page', next: 'Next page', page: (page) => `Page ${page}`, previous: 'Previous page', }"
14440
+ },
14441
+ {
14442
+ "kind": "variable",
14443
+ "name": "PAGINATION_TAG",
14444
+ "type": {
14445
+ "text": "'ore-pagination'"
14446
+ },
14447
+ "default": "'ore-pagination'",
14448
+ "description": "Page-based navigation control."
14449
+ },
14450
+ {
14451
+ "kind": "class",
14452
+ "name": "OrePaginationElement",
14453
+ "tagName": "ore-pagination",
14454
+ "customElement": true,
14455
+ "description": "Page-based navigation control.\nThe `page` attribute updates optimistically on selection and `change` fires in the same\nstep, so plain attribute-driven usage works without extra wiring. Router-driven apps\nwrite `page` from the URL as normal: the grid-external state remains the destination of\ntruth and a later attribute write simply re-syncs the control. The JS-only `labels`\nproperty localizes the boundary and page-button accessible names.",
14456
+ "summary": "",
14457
+ "attributes": [
14458
+ {
14459
+ "name": "page",
14460
+ "type": {
14461
+ "text": "number"
14462
+ },
14463
+ "description": "Current page (1-indexed, default: 1)",
14464
+ "default": "1)"
14465
+ },
14466
+ {
14467
+ "name": "total-pages",
14468
+ "type": {
14469
+ "text": "number"
14470
+ },
14471
+ "description": "Total number of pages (required)"
14472
+ },
14473
+ {
14474
+ "name": "siblings",
14475
+ "type": {
14476
+ "text": "number"
14477
+ },
14478
+ "description": "Sibling pages around current (default: 1)",
14479
+ "default": "1"
14480
+ },
14481
+ {
14482
+ "name": "show-first-last",
14483
+ "type": {
14484
+ "text": "boolean"
14485
+ },
14486
+ "description": "Show first/last page buttons (default: false)",
14487
+ "default": "false"
14488
+ },
14489
+ {
14490
+ "name": "show-prev-next",
14491
+ "type": {
14492
+ "text": "boolean"
14493
+ },
14494
+ "description": "Show prev/next buttons (default: true)",
14495
+ "default": "true"
14496
+ },
14497
+ {
14498
+ "name": "color",
14499
+ "type": {
14500
+ "text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
14501
+ },
14502
+ "description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
14503
+ },
14504
+ {
14505
+ "name": "variant",
14506
+ "type": {
14507
+ "text": "'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'text' | 'frost'"
14508
+ },
14509
+ "description": "Visual variant for nav buttons: 'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'text' | 'frost' (default: 'ghost')",
14510
+ "default": "'ghost'"
14511
+ },
14512
+ {
14513
+ "name": "size",
14514
+ "type": {
14515
+ "text": "'sm' | 'md' | 'lg'"
14516
+ },
14517
+ "description": "'sm' | 'md' | 'lg'"
14518
+ },
14519
+ {
14520
+ "name": "label",
14521
+ "type": {
14522
+ "text": "string"
14523
+ },
14524
+ "description": "Accessible nav label (default: 'Pagination')",
14525
+ "default": "'Pagination'"
14526
+ }
14527
+ ],
14528
+ "events": [
14529
+ {
14530
+ "name": "change",
14531
+ "description": "Emitted when the page changes, with { page: number }",
14532
+ "type": {
14533
+ "text": "CustomEvent"
14534
+ }
14535
+ }
14536
+ ],
14537
+ "cssParts": [
14538
+ {
14539
+ "name": "page-btn",
14540
+ "description": "Page button."
14541
+ },
14542
+ {
14543
+ "name": "nav",
14544
+ "description": "Navigation container."
14545
+ },
14546
+ {
14547
+ "name": "list",
14548
+ "description": "List container."
14549
+ },
14550
+ {
14551
+ "name": "first-btn",
14552
+ "description": "First page button."
14553
+ },
14554
+ {
14555
+ "name": "prev-btn",
14556
+ "description": "Previous page button."
14557
+ },
14558
+ {
14559
+ "name": "next-btn",
14560
+ "description": "Next page button."
14561
+ },
14562
+ {
14563
+ "name": "last-btn",
14564
+ "description": "Last page button."
14565
+ }
14566
+ ],
14567
+ "cssProperties": [
14568
+ {
14569
+ "name": "--pagination-item-size",
14570
+ "description": "Width/height of each item"
14571
+ },
14572
+ {
14573
+ "name": "--pagination-gap",
14574
+ "description": "Gap between items"
14575
+ },
14576
+ {
14577
+ "name": "--pagination-radius",
14578
+ "description": "Border radius of items"
14579
+ }
14580
+ ],
14581
+ "demos": [
14582
+ {
14583
+ "url": "",
14584
+ "description": "```html\n<!-- Basic -->\n<ore-pagination page=\"3\" total-pages=\"10\" color=\"primary\"></ore-pagination>\n<!-- With prev/next and first/last buttons -->\n<ore-pagination page=\"5\" total-pages=\"20\" show-prev-next show-first-last siblings=\"2\"></ore-pagination>\n<!-- Compact size -->\n<ore-pagination page=\"1\" total-pages=\"5\" size=\"sm\" variant=\"ghost\"></ore-pagination>\n```"
14585
+ }
14586
+ ]
14587
+ },
14373
14588
  {
14374
14589
  "kind": "function",
14375
14590
  "name": "isStepNavigable",