@lostgradient/cinder 0.17.0 → 0.19.1
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/CHANGELOG.md +28 -0
- package/components.json +3 -2
- package/dist/cli/index.js +2 -2
- package/dist/cli/types.d.ts +1 -0
- package/dist/components/approval-card/index.js +105 -37
- package/dist/components/code-block/index.js +103 -36
- package/dist/components/combobox/combobox.schema.js +14 -1
- package/dist/components/combobox/combobox.svelte.d.ts +12 -12
- package/dist/components/combobox/combobox.types.d.ts +11 -5
- package/dist/components/combobox/index.js +94 -16
- package/dist/components/event-stream-viewer/index.js +3 -2
- package/dist/components/faceted-filter-bar/faceted-filter-bar.css +1 -1
- package/dist/components/invocation-rule-builder/index.js +3602 -380
- package/dist/components/invocation-rule-builder/invocation-rule-builder.css +14 -0
- package/dist/components/json-editor/index.js +86 -18
- package/dist/components/json-editor/json-editor-enhancement.d.ts +7 -0
- package/dist/components/json-editor/json-editor-enhancement.js +201 -0
- package/dist/components/json-editor/json-editor.css +68 -0
- package/dist/components/json-editor/json-editor.schema.js +5 -1
- package/dist/components/json-editor/json-editor.types.d.ts +2 -0
- package/dist/components/run-step-timeline/index.js +3 -2
- package/dist/components/schedule-builder/index.js +11 -5
- package/dist/components/schema-form/index.js +11 -5
- package/dist/components/select/index.js +11 -5
- package/dist/components/select/select.schema.js +5 -1
- package/dist/components/select/select.types.d.ts +2 -0
- package/dist/components/stat-group/stat-group.css +1 -0
- package/dist/components/status-dot/index.js +3 -2
- package/dist/highlighters/shiki/default.d.ts +5 -0
- package/dist/highlighters/shiki/default.js +278 -0
- package/dist/highlighters/shiki/index.d.ts +9 -2
- package/dist/highlighters/shiki/index.js +72 -35
- package/dist/index.js +618 -360
- package/dist/server/components/approval-card/index.js +2 -2
- package/dist/server/components/combobox/index.js +5 -3
- package/dist/server/components/event-stream-viewer/index.js +2 -2
- package/dist/server/components/invocation-rule-builder/index.js +15 -2
- package/dist/server/components/json-editor/index.js +1 -1
- package/dist/server/components/json-editor/json-editor-enhancement.js +150 -0
- package/dist/server/components/run-step-timeline/index.js +2 -2
- package/dist/server/components/schedule-builder/index.js +2 -2
- package/dist/server/components/schema-form/index.js +2 -2
- package/dist/server/components/select/index.js +2 -2
- package/dist/server/components/status-dot/index.js +2 -2
- package/dist/server/highlighters/shiki/default.js +39 -0
- package/dist/server/highlighters/shiki/index.js +7 -131
- package/dist/server/index.js +14 -13
- package/dist/server/{index.server-npxtkwjp.js → index.server-0gg1njz4.js} +3 -2
- package/dist/server/{index.server-j87v28yy.js → index.server-0hjcds3y.js} +35 -18
- package/dist/server/{index.server-9vqfmhez.js → index.server-20km2ga0.js} +1 -1
- package/dist/server/{index.server-qxneqxf8.js → index.server-62593nnh.js} +1 -1
- package/dist/server/{index.server-m8ya4p7w.js → index.server-8grn4zd3.js} +74 -14
- package/dist/server/index.server-c9gtmre4.js +178 -0
- package/dist/server/{index.server-66nm5gd5.js → index.server-ghvvqkfc.js} +1 -1
- package/dist/server/{index.server-tez36va4.js → index.server-kvn6cj65.js} +1 -1
- package/dist/server/{index.server-9nac5z11.js → index.server-psqfjzpc.js} +1 -1
- package/dist/server/{index.server-93vt8ktj.js → index.server-v73af5rk.js} +18 -2
- package/dist/server/{index.server-qke3ekjt.js → index.server-ww54rv4y.js} +1 -1
- package/dist/server/index.server-x4a15jpm.js +9 -0
- package/dist/server/{index.server-ex3ea9z0.js → index.server-xsdzbgs2.js} +3 -2
- package/dist/server/{index.server-8ak2cftv.js → index.server-z754e36a.js} +1 -1
- package/dist/utilities/json-highlight.d.ts +2 -0
- package/package.json +19 -1
- package/src/components/code-block/code-block-default-highlighter.ts +2 -2
- package/src/components/combobox/combobox.schema.json +13 -0
- package/src/components/combobox/combobox.schema.ts +13 -0
- package/src/components/combobox/combobox.svelte +100 -14
- package/src/components/combobox/combobox.types.ts +11 -5
- package/src/components/faceted-filter-bar/faceted-filter-bar.css +1 -1
- package/src/components/invocation-rule-builder/invocation-rule-builder.css +14 -0
- package/src/components/invocation-rule-builder/invocation-rule-builder.examples.json +1 -1
- package/src/components/invocation-rule-builder/invocation-rule-builder.svelte +30 -16
- package/src/components/json-editor/json-editor-enhancement.ts +48 -0
- package/src/components/json-editor/json-editor.css +68 -0
- package/src/components/json-editor/json-editor.examples.json +2 -2
- package/src/components/json-editor/json-editor.schema.json +4 -0
- package/src/components/json-editor/json-editor.schema.ts +5 -0
- package/src/components/json-editor/json-editor.svelte +80 -20
- package/src/components/json-editor/json-editor.types.ts +2 -0
- package/src/components/select/select.schema.json +4 -0
- package/src/components/select/select.schema.ts +4 -0
- package/src/components/select/select.svelte +9 -2
- package/src/components/select/select.types.ts +2 -0
- package/src/components/stat-group/stat-group.css +1 -0
- package/src/components/status-dot/status-dot.svelte +6 -1
- package/src/highlighters/shiki/default.ts +46 -0
- package/src/highlighters/shiki/index.ts +101 -32
- package/src/utilities/json-highlight.ts +5 -0
|
@@ -2785,7 +2785,7 @@ var root_7 = $5.from_html(`<p class="cinder-combobox__description"> </p>`);
|
|
|
2785
2785
|
var root_8 = $5.from_html(`<div><!> <div class="cinder-combobox__control"><input type="text" role="combobox" class="cinder-combobox__input" autocomplete="off" autocorrect="off" spellcheck="false" aria-autocomplete="list"/></div> <!> <!> <div class="cinder-combobox__empty" role="status"> </div> <!> <p class="cinder-combobox__error" aria-live="polite"> </p></div>`);
|
|
2786
2786
|
function Combobox($$anchor, $$props) {
|
|
2787
2787
|
$5.push($$props, true);
|
|
2788
|
-
let value = $5.prop($$props, "value", 15, ""), inputValue = $5.prop($$props, "inputValue", 15, ""), maxVisibleOptions = $5.prop($$props, "maxVisibleOptions", 3, 200);
|
|
2788
|
+
let value = $5.prop($$props, "value", 15, ""), inputValue = $5.prop($$props, "inputValue", 15, ""), maxVisibleOptions = $5.prop($$props, "maxVisibleOptions", 3, 200), allowCustomValue = $5.prop($$props, "allowCustomValue", 3, false);
|
|
2789
2789
|
const context = getFormFieldContext();
|
|
2790
2790
|
const field = $5.derived(() => resolveFieldControl({
|
|
2791
2791
|
id: $$props.id,
|
|
@@ -2828,9 +2828,22 @@ function Combobox($$anchor, $$props) {
|
|
|
2828
2828
|
let hiddenInputElement = $5.state(null);
|
|
2829
2829
|
let listboxElement = $5.state(null);
|
|
2830
2830
|
let committedLabel = $5.state("");
|
|
2831
|
+
let initialCustomValue = $5.state("");
|
|
2832
|
+
let hasUserCommittedValue = $5.state(false);
|
|
2833
|
+
let hasExplicitNavigation = $5.state(false);
|
|
2834
|
+
let hasStoredInitialValue = $5.state(false);
|
|
2831
2835
|
let resetSyncTimeout;
|
|
2832
|
-
|
|
2836
|
+
let initialValue = $5.state($5.proxy(untrack2(() => value())));
|
|
2833
2837
|
const initialInputValue = untrack2(() => inputValue());
|
|
2838
|
+
$5.user_pre_effect(() => {
|
|
2839
|
+
if (!$5.get(hasUserCommittedValue) && !$5.get(hasStoredInitialValue) && value()) {
|
|
2840
|
+
$5.set(initialValue, value(), true);
|
|
2841
|
+
$5.set(hasStoredInitialValue, true);
|
|
2842
|
+
}
|
|
2843
|
+
if (allowCustomValue() && !$5.get(hasUserCommittedValue) && value() && !$5.get(initialCustomValue)) {
|
|
2844
|
+
$5.set(initialCustomValue, value(), true);
|
|
2845
|
+
}
|
|
2846
|
+
});
|
|
2834
2847
|
$5.user_effect(() => {
|
|
2835
2848
|
$5.get(filteredOptions);
|
|
2836
2849
|
if ($5.get(activeIndex) >= $5.get(filteredOptions).length) {
|
|
@@ -2850,6 +2863,12 @@ function Combobox($$anchor, $$props) {
|
|
|
2850
2863
|
if (untrack2(() => inputValue()) !== matched.label) {
|
|
2851
2864
|
inputValue(matched.label);
|
|
2852
2865
|
}
|
|
2866
|
+
} else if (allowCustomValue()) {
|
|
2867
|
+
if (!$5.get(initialCustomValue))
|
|
2868
|
+
$5.set(initialCustomValue, value(), true);
|
|
2869
|
+
$5.set(committedLabel, value(), true);
|
|
2870
|
+
if (untrack2(() => inputValue()) !== value())
|
|
2871
|
+
inputValue(value());
|
|
2853
2872
|
}
|
|
2854
2873
|
});
|
|
2855
2874
|
function handleEscape(event2 = undefined) {
|
|
@@ -2869,12 +2888,30 @@ function Combobox($$anchor, $$props) {
|
|
|
2869
2888
|
const releaseEscape = pushEscapeHandler(handleEscape);
|
|
2870
2889
|
return releaseEscape;
|
|
2871
2890
|
});
|
|
2872
|
-
const
|
|
2891
|
+
const listboxVisible = $5.derived(() => $5.get(open) && $5.get(filteredOptions).length > 0);
|
|
2892
|
+
const activeOptionId = $5.derived(() => $5.get(listboxVisible) && $5.get(activeIndex) >= 0 && $5.get(activeIndex) < $5.get(filteredOptions).length ? `${$$props.id}-option-${$5.get(activeIndex)}` : undefined);
|
|
2893
|
+
function findCommittedOption(rawValue) {
|
|
2894
|
+
const query = rawValue.trim();
|
|
2895
|
+
if (!query)
|
|
2896
|
+
return;
|
|
2897
|
+
let labelMatch;
|
|
2898
|
+
for (const option of $$props.options) {
|
|
2899
|
+
if (option.disabled)
|
|
2900
|
+
continue;
|
|
2901
|
+
if (option.value === query)
|
|
2902
|
+
return option;
|
|
2903
|
+
if (labelMatch === undefined && option.label === query) {
|
|
2904
|
+
labelMatch = option;
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
return labelMatch;
|
|
2908
|
+
}
|
|
2873
2909
|
function handleInput(event2) {
|
|
2874
2910
|
const target = event2.target;
|
|
2875
2911
|
inputValue(target.value);
|
|
2876
2912
|
$5.set(open, true);
|
|
2877
2913
|
$5.set(activeIndex, $5.get(filteredOptions).length > 0 ? 0 : -1, true);
|
|
2914
|
+
$5.set(hasExplicitNavigation, false);
|
|
2878
2915
|
}
|
|
2879
2916
|
function handleFocus() {
|
|
2880
2917
|
if (!$5.get(resolvedDisabled))
|
|
@@ -2884,6 +2921,10 @@ function Combobox($$anchor, $$props) {
|
|
|
2884
2921
|
const next = event2.relatedTarget;
|
|
2885
2922
|
if (next && $5.get(listboxElement)?.contains(next))
|
|
2886
2923
|
return;
|
|
2924
|
+
if (allowCustomValue() && inputValue().trim() && inputValue() !== $5.get(committedLabel)) {
|
|
2925
|
+
commitCustomValue();
|
|
2926
|
+
return;
|
|
2927
|
+
}
|
|
2887
2928
|
$5.set(open, false);
|
|
2888
2929
|
if (inputValue() !== $5.get(committedLabel)) {
|
|
2889
2930
|
inputValue($5.get(committedLabel));
|
|
@@ -2894,10 +2935,35 @@ function Combobox($$anchor, $$props) {
|
|
|
2894
2935
|
function selectOption(option) {
|
|
2895
2936
|
if (option.disabled)
|
|
2896
2937
|
return;
|
|
2938
|
+
$5.set(hasUserCommittedValue, true);
|
|
2897
2939
|
value(option.value);
|
|
2898
2940
|
inputValue(option.label);
|
|
2899
2941
|
$5.set(committedLabel, option.label, true);
|
|
2900
2942
|
$5.set(open, false);
|
|
2943
|
+
$$props.onchange?.(option.value);
|
|
2944
|
+
}
|
|
2945
|
+
function commitCustomValue() {
|
|
2946
|
+
const nextValue = inputValue().trim();
|
|
2947
|
+
if (!allowCustomValue() || !nextValue)
|
|
2948
|
+
return;
|
|
2949
|
+
if ($$props.options.some((option) => option.disabled && (option.value === nextValue || option.label === nextValue))) {
|
|
2950
|
+
inputValue($5.get(committedLabel));
|
|
2951
|
+
if ($5.get(inputElement))
|
|
2952
|
+
$5.get(inputElement).value = $5.get(committedLabel);
|
|
2953
|
+
$5.set(open, false);
|
|
2954
|
+
return;
|
|
2955
|
+
}
|
|
2956
|
+
$5.set(hasUserCommittedValue, true);
|
|
2957
|
+
const matched = findCommittedOption(nextValue);
|
|
2958
|
+
const committedValue = matched?.value ?? nextValue;
|
|
2959
|
+
const committedText = matched?.label ?? nextValue;
|
|
2960
|
+
const previousValue = value();
|
|
2961
|
+
value(committedValue);
|
|
2962
|
+
inputValue(committedText);
|
|
2963
|
+
$5.set(committedLabel, committedText, true);
|
|
2964
|
+
$5.set(open, false);
|
|
2965
|
+
if (committedValue !== previousValue)
|
|
2966
|
+
$$props.onchange?.(committedValue);
|
|
2901
2967
|
}
|
|
2902
2968
|
function resetToInitialValue(event2) {
|
|
2903
2969
|
if (resetSyncTimeout !== undefined)
|
|
@@ -2906,17 +2972,18 @@ function Combobox($$anchor, $$props) {
|
|
|
2906
2972
|
resetSyncTimeout = undefined;
|
|
2907
2973
|
if (event2.defaultPrevented)
|
|
2908
2974
|
return;
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
const
|
|
2975
|
+
const resetValue = $5.get(hasStoredInitialValue) ? $5.get(initialValue) : allowCustomValue() ? $5.get(initialCustomValue) || $5.get(committedLabel) : "";
|
|
2976
|
+
value(resetValue);
|
|
2977
|
+
const matched = $$props.options.find((option) => option.value === resetValue);
|
|
2978
|
+
const nextInputValue = matched?.label ?? (allowCustomValue() ? resetValue : initialInputValue);
|
|
2912
2979
|
inputValue(nextInputValue);
|
|
2913
|
-
$5.set(committedLabel, matched?.label ?? "", true);
|
|
2980
|
+
$5.set(committedLabel, matched?.label ?? (allowCustomValue() ? resetValue : ""), true);
|
|
2914
2981
|
$5.set(open, false);
|
|
2915
2982
|
$5.set(activeIndex, -1);
|
|
2916
2983
|
if ($5.get(inputElement))
|
|
2917
2984
|
$5.get(inputElement).value = nextInputValue;
|
|
2918
2985
|
if ($5.get(hiddenInputElement))
|
|
2919
|
-
$5.get(hiddenInputElement).value =
|
|
2986
|
+
$5.get(hiddenInputElement).value = resetValue;
|
|
2920
2987
|
}, 0);
|
|
2921
2988
|
}
|
|
2922
2989
|
$5.user_effect(() => {
|
|
@@ -2934,7 +3001,7 @@ function Combobox($$anchor, $$props) {
|
|
|
2934
3001
|
};
|
|
2935
3002
|
});
|
|
2936
3003
|
$5.user_effect(() => {
|
|
2937
|
-
$5.get(inputElement)?.setCustomValidity($5.get(resolvedRequired) && !value() || inputValue() !== $5.get(committedLabel) ? "Please select an option." : "");
|
|
3004
|
+
$5.get(inputElement)?.setCustomValidity($5.get(resolvedRequired) && !value() || !allowCustomValue() && inputValue() !== $5.get(committedLabel) ? "Please select an option." : "");
|
|
2938
3005
|
});
|
|
2939
3006
|
function handleKeydown(event2) {
|
|
2940
3007
|
if (event2.key === "ArrowDown") {
|
|
@@ -2943,25 +3010,32 @@ function Combobox($$anchor, $$props) {
|
|
|
2943
3010
|
if ($5.get(filteredOptions).length === 0)
|
|
2944
3011
|
return;
|
|
2945
3012
|
$5.set(activeIndex, ($5.get(activeIndex) + 1) % $5.get(filteredOptions).length);
|
|
3013
|
+
$5.set(hasExplicitNavigation, true);
|
|
2946
3014
|
} else if (event2.key === "ArrowUp") {
|
|
2947
3015
|
event2.preventDefault();
|
|
2948
3016
|
$5.set(open, true);
|
|
2949
3017
|
if ($5.get(filteredOptions).length === 0)
|
|
2950
3018
|
return;
|
|
2951
3019
|
$5.set(activeIndex, $5.get(activeIndex) <= 0 ? $5.get(filteredOptions).length - 1 : $5.get(activeIndex) - 1, true);
|
|
3020
|
+
$5.set(hasExplicitNavigation, true);
|
|
2952
3021
|
} else if (event2.key === "Home") {
|
|
2953
3022
|
if (!$5.get(open))
|
|
2954
3023
|
return;
|
|
2955
3024
|
event2.preventDefault();
|
|
2956
3025
|
$5.set(activeIndex, $5.get(filteredOptions).length > 0 ? 0 : -1, true);
|
|
3026
|
+
$5.set(hasExplicitNavigation, true);
|
|
2957
3027
|
} else if (event2.key === "End") {
|
|
2958
3028
|
if (!$5.get(open))
|
|
2959
3029
|
return;
|
|
2960
3030
|
event2.preventDefault();
|
|
2961
3031
|
$5.set(activeIndex, $5.get(filteredOptions).length - 1);
|
|
3032
|
+
$5.set(hasExplicitNavigation, true);
|
|
2962
3033
|
} else if (event2.key === "Enter" && $5.get(open)) {
|
|
2963
3034
|
const option = $5.get(filteredOptions)[$5.get(activeIndex)];
|
|
2964
|
-
if (option) {
|
|
3035
|
+
if (allowCustomValue() && !($5.get(hasExplicitNavigation) && option)) {
|
|
3036
|
+
event2.preventDefault();
|
|
3037
|
+
commitCustomValue();
|
|
3038
|
+
} else if (option) {
|
|
2965
3039
|
event2.preventDefault();
|
|
2966
3040
|
selectOption(option);
|
|
2967
3041
|
}
|
|
@@ -3108,7 +3182,7 @@ function Combobox($$anchor, $$props) {
|
|
|
3108
3182
|
});
|
|
3109
3183
|
};
|
|
3110
3184
|
$5.if(node_3, ($$render) => {
|
|
3111
|
-
if ($5.get(
|
|
3185
|
+
if ($5.get(listboxVisible))
|
|
3112
3186
|
$$render(consequent_5);
|
|
3113
3187
|
});
|
|
3114
3188
|
}
|
|
@@ -3136,7 +3210,7 @@ function Combobox($$anchor, $$props) {
|
|
|
3136
3210
|
var text_5 = $5.child(p_1, true);
|
|
3137
3211
|
$5.reset(p_1);
|
|
3138
3212
|
$5.reset(div);
|
|
3139
|
-
$5.template_effect(($0) => {
|
|
3213
|
+
$5.template_effect(($0, $1) => {
|
|
3140
3214
|
$5.set_class(div, 1, $0);
|
|
3141
3215
|
$5.set_attribute(div_1, "data-cinder-open", $5.get(open) || undefined);
|
|
3142
3216
|
$5.set_attribute(input_1, "id", $$props.id);
|
|
@@ -3144,8 +3218,9 @@ function Combobox($$anchor, $$props) {
|
|
|
3144
3218
|
input_1.required = $5.get(resolvedRequired);
|
|
3145
3219
|
$5.set_attribute(input_1, "placeholder", $$props.placeholder);
|
|
3146
3220
|
$5.set_value(input_1, inputValue());
|
|
3147
|
-
$5.set_attribute(input_1, "aria-
|
|
3148
|
-
$5.set_attribute(input_1, "aria-
|
|
3221
|
+
$5.set_attribute(input_1, "aria-label", $1);
|
|
3222
|
+
$5.set_attribute(input_1, "aria-expanded", $5.get(listboxVisible));
|
|
3223
|
+
$5.set_attribute(input_1, "aria-controls", $5.get(listboxVisible) ? $5.get(listboxId) : undefined);
|
|
3149
3224
|
$5.set_attribute(input_1, "aria-activedescendant", $5.get(activeOptionId));
|
|
3150
3225
|
$5.set_attribute(input_1, "aria-invalid", $5.get(field).ariaInvalid);
|
|
3151
3226
|
$5.set_attribute(input_1, "aria-required", $5.get(resolvedRequired) || undefined);
|
|
@@ -3155,7 +3230,10 @@ function Combobox($$anchor, $$props) {
|
|
|
3155
3230
|
$5.set_attribute(p_1, "id", $5.get(field).ownErrorId ?? $5.get(stableLocalErrorId));
|
|
3156
3231
|
$5.set_attribute(p_1, "data-cinder-error", !!$$props.error || undefined);
|
|
3157
3232
|
$5.set_text(text_5, $$props.error ?? "");
|
|
3158
|
-
}, [
|
|
3233
|
+
}, [
|
|
3234
|
+
() => $5.clsx(classNames("cinder-combobox", $$props.class)),
|
|
3235
|
+
() => $$props["aria-label"]?.trim() || undefined
|
|
3236
|
+
]);
|
|
3159
3237
|
$5.delegated("input", input_1, handleInput);
|
|
3160
3238
|
$5.event("focus", input_1, handleFocus);
|
|
3161
3239
|
$5.event("blur", input_1, handleBlur);
|
|
@@ -3172,4 +3250,4 @@ export {
|
|
|
3172
3250
|
Combobox
|
|
3173
3251
|
};
|
|
3174
3252
|
|
|
3175
|
-
//# debugId=
|
|
3253
|
+
//# debugId=E134BC947B666ED464756E2164756E21
|
|
@@ -807,6 +807,7 @@ function Status_dot($$anchor, $$props) {
|
|
|
807
807
|
const resolvedAriaLabel = $8.derived(() => $8.get(normalizedAriaLabel) ?? $8.get(normalizedLabel) ?? $8.get(resolvedStatus));
|
|
808
808
|
const visibleLabelIsLiveDuplicate = $8.derived(() => $8.get(resolvedLive) && $8.get(normalizedLabel) !== undefined && $8.get(resolvedAriaLabel) !== $8.get(normalizedLabel));
|
|
809
809
|
const needsHiddenLiveLabel = $8.derived(() => $8.get(resolvedLive) && (!$8.get(hasVisibleLabel) || $8.get(visibleLabelIsLiveDuplicate)));
|
|
810
|
+
const liveAriaLabel = $8.derived(() => !$8.get(hasVisibleLabel) && ($8.get(normalizedLabel) !== undefined || $8.get(normalizedAriaLabel) !== undefined) ? $8.get(resolvedAriaLabel) : undefined);
|
|
810
811
|
var span = root_23();
|
|
811
812
|
$8.attribute_effect(span, ($0) => ({
|
|
812
813
|
...rest,
|
|
@@ -817,7 +818,7 @@ function Status_dot($$anchor, $$props) {
|
|
|
817
818
|
role: $8.get(resolvedLive) ? "status" : "img",
|
|
818
819
|
"aria-live": $8.get(resolvedLive) ? "polite" : undefined,
|
|
819
820
|
"aria-atomic": $8.get(resolvedLive) ? "true" : undefined,
|
|
820
|
-
"aria-label": $8.get(resolvedLive) ?
|
|
821
|
+
"aria-label": $8.get(resolvedLive) ? $8.get(liveAriaLabel) : $8.get(resolvedAriaLabel)
|
|
821
822
|
}), [() => classNames("cinder-status-dot", $$props.class)]);
|
|
822
823
|
var node = $8.sibling($8.child(span), 2);
|
|
823
824
|
{
|
|
@@ -1419,4 +1420,4 @@ export {
|
|
|
1419
1420
|
Event_stream_viewer as EventStreamViewer
|
|
1420
1421
|
};
|
|
1421
1422
|
|
|
1422
|
-
//# debugId=
|
|
1423
|
+
//# debugId=659CE9D53896294764756E2164756E21
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
font: inherit;
|
|
55
55
|
font-size: var(--cinder-text-sm);
|
|
56
56
|
line-height: var(--cinder-leading-normal);
|
|
57
|
-
block-size: var(--cinder-control-height-sm, 2rem);
|
|
57
|
+
min-block-size: var(--cinder-control-height-sm, 2rem);
|
|
58
58
|
cursor: pointer;
|
|
59
59
|
transition:
|
|
60
60
|
border-color var(--cinder-duration-fast) var(--cinder-ease-standard),
|