@cratis/components 4.25.2 → 4.26.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.
Files changed (108) hide show
  1. package/compat-manifest.json +11 -11
  2. package/dist/esm/SchemaEditor/NameCell.d.ts +5 -1
  3. package/dist/esm/SchemaEditor/NameCell.d.ts.map +1 -1
  4. package/dist/esm/SchemaEditor/NameCell.js +2 -2
  5. package/dist/esm/SchemaEditor/NameCell.js.map +1 -1
  6. package/dist/esm/SchemaEditor/SchemaEditor.d.ts +63 -48
  7. package/dist/esm/SchemaEditor/SchemaEditor.d.ts.map +1 -1
  8. package/dist/esm/SchemaEditor/SchemaEditor.js +83 -25
  9. package/dist/esm/SchemaEditor/SchemaEditor.js.map +1 -1
  10. package/dist/esm/SchemaEditor/SchemaEditorLabels.d.ts +98 -0
  11. package/dist/esm/SchemaEditor/SchemaEditorLabels.d.ts.map +1 -0
  12. package/dist/esm/SchemaEditor/SchemaEditorLabels.js +4 -0
  13. package/dist/esm/SchemaEditor/SchemaEditorLabels.js.map +1 -0
  14. package/dist/esm/SchemaEditor/SchemaEditorLayout.d.ts +6 -0
  15. package/dist/esm/SchemaEditor/SchemaEditorLayout.d.ts.map +1 -0
  16. package/dist/esm/SchemaEditor/SchemaEditorLayout.js +4 -0
  17. package/dist/esm/SchemaEditor/SchemaEditorLayout.js.map +1 -0
  18. package/dist/esm/SchemaEditor/Tree/Property.d.ts +30 -0
  19. package/dist/esm/SchemaEditor/Tree/Property.d.ts.map +1 -0
  20. package/dist/esm/SchemaEditor/Tree/Property.js +4 -0
  21. package/dist/esm/SchemaEditor/Tree/Property.js.map +1 -0
  22. package/dist/esm/SchemaEditor/Tree/PropertyConcept.d.ts +15 -0
  23. package/dist/esm/SchemaEditor/Tree/PropertyConcept.d.ts.map +1 -0
  24. package/dist/esm/SchemaEditor/Tree/PropertyConcept.js +4 -0
  25. package/dist/esm/SchemaEditor/Tree/PropertyConcept.js.map +1 -0
  26. package/dist/esm/SchemaEditor/Tree/PropertyConceptsContext.d.ts +22 -0
  27. package/dist/esm/SchemaEditor/Tree/PropertyConceptsContext.d.ts.map +1 -0
  28. package/dist/esm/SchemaEditor/Tree/PropertyConceptsContext.js +10 -0
  29. package/dist/esm/SchemaEditor/Tree/PropertyConceptsContext.js.map +1 -0
  30. package/dist/esm/SchemaEditor/Tree/PropertyType.d.ts +22 -0
  31. package/dist/esm/SchemaEditor/Tree/PropertyType.d.ts.map +1 -0
  32. package/dist/esm/SchemaEditor/Tree/PropertyType.js +15 -0
  33. package/dist/esm/SchemaEditor/Tree/PropertyType.js.map +1 -0
  34. package/dist/esm/SchemaEditor/Tree/PropertyTypeBadge.d.ts +20 -0
  35. package/dist/esm/SchemaEditor/Tree/PropertyTypeBadge.d.ts.map +1 -0
  36. package/dist/esm/SchemaEditor/Tree/PropertyTypeBadge.js +12 -0
  37. package/dist/esm/SchemaEditor/Tree/PropertyTypeBadge.js.map +1 -0
  38. package/dist/esm/SchemaEditor/Tree/PropertyTypeGlyph.d.ts +12 -0
  39. package/dist/esm/SchemaEditor/Tree/PropertyTypeGlyph.d.ts.map +1 -0
  40. package/dist/esm/SchemaEditor/Tree/PropertyTypeGlyph.js +29 -0
  41. package/dist/esm/SchemaEditor/Tree/PropertyTypeGlyph.js.map +1 -0
  42. package/dist/esm/SchemaEditor/Tree/PropertyTypeMenu.d.ts +28 -0
  43. package/dist/esm/SchemaEditor/Tree/PropertyTypeMenu.d.ts.map +1 -0
  44. package/dist/esm/SchemaEditor/Tree/PropertyTypeMenu.js +38 -0
  45. package/dist/esm/SchemaEditor/Tree/PropertyTypeMenu.js.map +1 -0
  46. package/dist/esm/SchemaEditor/Tree/SchemaEditorContext.d.ts +42 -0
  47. package/dist/esm/SchemaEditor/Tree/SchemaEditorContext.d.ts.map +1 -0
  48. package/dist/esm/SchemaEditor/Tree/SchemaEditorContext.js +12 -0
  49. package/dist/esm/SchemaEditor/Tree/SchemaEditorContext.js.map +1 -0
  50. package/dist/esm/SchemaEditor/Tree/SchemaEditorParts.d.ts +60 -0
  51. package/dist/esm/SchemaEditor/Tree/SchemaEditorParts.d.ts.map +1 -0
  52. package/dist/esm/SchemaEditor/Tree/SchemaEditorParts.js +4 -0
  53. package/dist/esm/SchemaEditor/Tree/SchemaEditorParts.js.map +1 -0
  54. package/dist/esm/SchemaEditor/Tree/SchemaPropertyContext.d.ts +13 -0
  55. package/dist/esm/SchemaEditor/Tree/SchemaPropertyContext.d.ts.map +1 -0
  56. package/dist/esm/SchemaEditor/Tree/SchemaPropertyContext.js +4 -0
  57. package/dist/esm/SchemaEditor/Tree/SchemaPropertyContext.js.map +1 -0
  58. package/dist/esm/SchemaEditor/Tree/SchemaPropertyRow.d.ts +13 -0
  59. package/dist/esm/SchemaEditor/Tree/SchemaPropertyRow.d.ts.map +1 -0
  60. package/dist/esm/SchemaEditor/Tree/SchemaPropertyRow.js +107 -0
  61. package/dist/esm/SchemaEditor/Tree/SchemaPropertyRow.js.map +1 -0
  62. package/dist/esm/SchemaEditor/Tree/SchemaPropertyRowState.d.ts +16 -0
  63. package/dist/esm/SchemaEditor/Tree/SchemaPropertyRowState.d.ts.map +1 -0
  64. package/dist/esm/SchemaEditor/Tree/SchemaPropertyRowState.js +4 -0
  65. package/dist/esm/SchemaEditor/Tree/SchemaPropertyRowState.js.map +1 -0
  66. package/dist/esm/SchemaEditor/Tree/TreeSchemaEditor.d.ts +116 -0
  67. package/dist/esm/SchemaEditor/Tree/TreeSchemaEditor.d.ts.map +1 -0
  68. package/dist/esm/SchemaEditor/Tree/TreeSchemaEditor.js +96 -0
  69. package/dist/esm/SchemaEditor/Tree/TreeSchemaEditor.js.map +1 -0
  70. package/dist/esm/SchemaEditor/Tree/propertyNaming.d.ts +35 -0
  71. package/dist/esm/SchemaEditor/Tree/propertyNaming.d.ts.map +1 -0
  72. package/dist/esm/SchemaEditor/Tree/propertyNaming.js +34 -0
  73. package/dist/esm/SchemaEditor/Tree/propertyNaming.js.map +1 -0
  74. package/dist/esm/SchemaEditor/Tree/propertyTree.d.ts +30 -0
  75. package/dist/esm/SchemaEditor/Tree/propertyTree.d.ts.map +1 -0
  76. package/dist/esm/SchemaEditor/Tree/propertyTree.js +36 -0
  77. package/dist/esm/SchemaEditor/Tree/propertyTree.js.map +1 -0
  78. package/dist/esm/SchemaEditor/Tree/propertyTypeDisplay.d.ts +20 -0
  79. package/dist/esm/SchemaEditor/Tree/propertyTypeDisplay.d.ts.map +1 -0
  80. package/dist/esm/SchemaEditor/Tree/propertyTypeDisplay.js +34 -0
  81. package/dist/esm/SchemaEditor/Tree/propertyTypeDisplay.js.map +1 -0
  82. package/dist/esm/SchemaEditor/Tree/schemaConversion.d.ts +95 -0
  83. package/dist/esm/SchemaEditor/Tree/schemaConversion.d.ts.map +1 -0
  84. package/dist/esm/SchemaEditor/Tree/schemaConversion.js +171 -0
  85. package/dist/esm/SchemaEditor/Tree/schemaConversion.js.map +1 -0
  86. package/dist/esm/SchemaEditor/TypeCell.d.ts +3 -1
  87. package/dist/esm/SchemaEditor/TypeCell.d.ts.map +1 -1
  88. package/dist/esm/SchemaEditor/TypeCell.js +2 -2
  89. package/dist/esm/SchemaEditor/TypeCell.js.map +1 -1
  90. package/dist/esm/SchemaEditor/defaultSchemaEditorLabels.d.ts +9 -0
  91. package/dist/esm/SchemaEditor/defaultSchemaEditorLabels.d.ts.map +1 -0
  92. package/dist/esm/SchemaEditor/defaultSchemaEditorLabels.js +51 -0
  93. package/dist/esm/SchemaEditor/defaultSchemaEditorLabels.js.map +1 -0
  94. package/dist/esm/SchemaEditor/index.d.ts +12 -0
  95. package/dist/esm/SchemaEditor/index.d.ts.map +1 -1
  96. package/dist/esm/SchemaEditor/index.js +7 -1
  97. package/dist/esm/SchemaEditor/index.js.map +1 -1
  98. package/dist/esm/SchemaEditor/resolveSchemaEditorLabels.d.ts +4 -0
  99. package/dist/esm/SchemaEditor/resolveSchemaEditorLabels.d.ts.map +1 -0
  100. package/dist/esm/SchemaEditor/resolveSchemaEditorLabels.js +13 -0
  101. package/dist/esm/SchemaEditor/resolveSchemaEditorLabels.js.map +1 -0
  102. package/dist/esm/styles.SchemaEditor.css +391 -0
  103. package/dist/esm/styles.css +391 -0
  104. package/dist/esm/types/parts.d.ts +25 -0
  105. package/dist/esm/types/parts.d.ts.map +1 -1
  106. package/dist/esm/types/parts.js +25 -0
  107. package/dist/esm/types/parts.js.map +1 -1
  108. package/package.json +2 -1
@@ -1907,5 +1907,396 @@
1907
1907
  .cratis-schema-editor-bottom-border {
1908
1908
  border-bottom: 1px solid var(--cratis-surface-border);
1909
1909
  }
1910
+ /* Tree layout (`layout='tree'`). */
1911
+
1912
+ .cratis-schema-editor {
1913
+ display: flex;
1914
+ flex-direction: column;
1915
+ gap: 0.5rem;
1916
+ min-width: 0;
1917
+ color: var(--cratis-text-color);
1918
+ font-size: 0.875rem;
1919
+ }
1920
+
1921
+ .cratis-schema-editor__header {
1922
+ min-width: 0;
1923
+ }
1924
+
1925
+ .cratis-schema-editor__list {
1926
+ display: flex;
1927
+ flex-direction: column;
1928
+ gap: 0.25rem;
1929
+ margin: 0;
1930
+ padding: 0;
1931
+ list-style: none;
1932
+ }
1933
+
1934
+ .cratis-schema-editor__list--nested {
1935
+ margin-inline-start: 1.25rem;
1936
+ padding-inline-start: 0.5rem;
1937
+ border-inline-start: 1px solid var(--cratis-surface-border);
1938
+ }
1939
+
1940
+ .cratis-schema-editor__property {
1941
+ display: flex;
1942
+ flex-direction: column;
1943
+ gap: 0.25rem;
1944
+ min-width: 0;
1945
+ }
1946
+
1947
+ .cratis-schema-editor__empty {
1948
+ margin: 0;
1949
+ padding: 0.5rem;
1950
+ color: var(--cratis-text-color-secondary);
1951
+ }
1952
+
1953
+ .cratis-schema-editor__row {
1954
+ display: flex;
1955
+ flex-wrap: wrap;
1956
+ align-items: center;
1957
+ gap: 0.375rem;
1958
+ min-height: 2rem;
1959
+ padding: 0.25rem 0.5rem;
1960
+ border: 1px solid var(--cratis-surface-border);
1961
+ border-radius: var(--cratis-border-radius);
1962
+ background: var(--cratis-surface-card);
1963
+ }
1964
+
1965
+ .cratis-schema-editor__row:hover {
1966
+ border-color: var(--cratis-primary-color);
1967
+ background: color-mix(in srgb, var(--cratis-primary-color) 6%, var(--cratis-surface-card));
1968
+ }
1969
+
1970
+ .cratis-schema-editor__row[data-selected] {
1971
+ border-color: var(--cratis-primary-color);
1972
+ box-shadow: inset 0 0 0 1px var(--cratis-primary-color);
1973
+ }
1974
+
1975
+ .cratis-schema-editor__details {
1976
+ min-width: 0;
1977
+ margin-inline-start: 1.25rem;
1978
+ }
1979
+
1980
+ .cratis-schema-editor__leading,
1981
+ .cratis-schema-editor__accessory {
1982
+ display: inline-flex;
1983
+ align-items: center;
1984
+ gap: 0.25rem;
1985
+ }
1986
+
1987
+ .cratis-schema-editor__accessory {
1988
+ margin-inline-start: auto;
1989
+ }
1990
+
1991
+ .cratis-schema-editor__name {
1992
+ flex: 1 1 6rem;
1993
+ min-width: 0;
1994
+ min-height: 1.5rem;
1995
+ padding: 0 0.25rem;
1996
+ border: 0;
1997
+ border-radius: calc(var(--cratis-border-radius) * 0.5);
1998
+ background: transparent;
1999
+ color: inherit;
2000
+ font: inherit;
2001
+ font-weight: 500;
2002
+ text-align: start;
2003
+ overflow-wrap: anywhere;
2004
+ cursor: default;
2005
+ }
2006
+
2007
+ .cratis-schema-editor__name--static {
2008
+ display: inline-flex;
2009
+ align-items: center;
2010
+ }
2011
+
2012
+ .cratis-schema-editor__name:focus-visible {
2013
+ outline: none;
2014
+ box-shadow: var(--cratis-focus-ring);
2015
+ }
2016
+
2017
+ .cratis-schema-editor__name-edit {
2018
+ display: flex;
2019
+ flex: 1 1 8rem;
2020
+ flex-direction: column;
2021
+ gap: 0.125rem;
2022
+ min-width: 0;
2023
+ }
2024
+
2025
+ .cratis-schema-editor__name-input {
2026
+ box-sizing: border-box;
2027
+ width: 100%;
2028
+ min-height: 1.75rem;
2029
+ padding: 0.125rem 0.5rem;
2030
+ border: 1px solid var(--cratis-control-border);
2031
+ border-radius: var(--cratis-border-radius);
2032
+ background: var(--cratis-control-background);
2033
+ color: inherit;
2034
+ font: inherit;
2035
+ }
2036
+
2037
+ .cratis-schema-editor__name-input:focus-visible {
2038
+ outline: none;
2039
+ box-shadow: var(--cratis-focus-ring);
2040
+ }
2041
+
2042
+ .cratis-schema-editor__name-input[data-invalid] {
2043
+ border-color: var(--cratis-red-500);
2044
+ border-style: dashed;
2045
+ }
2046
+
2047
+ .cratis-schema-editor__message {
2048
+ margin: 0;
2049
+ color: var(--cratis-red-500);
2050
+ font-size: 0.75rem;
2051
+ }
2052
+
2053
+ .cratis-schema-editor,
2054
+ .cratis-schema-editor__menu {
2055
+ --cratis-schema-editor-type-string: #0e7490;
2056
+ --cratis-schema-editor-type-number: #b91c1c;
2057
+ --cratis-schema-editor-type-boolean: #15803d;
2058
+ --cratis-schema-editor-type-date: #c2410c;
2059
+ --cratis-schema-editor-type-time: #7c6d14;
2060
+ --cratis-schema-editor-type-object: #6d28d9;
2061
+ --cratis-schema-editor-type-string-array: #0f766e;
2062
+ --cratis-schema-editor-type-number-array: #991b1b;
2063
+ --cratis-schema-editor-type-object-array: #5b21b6;
2064
+ --cratis-schema-editor-type-text: #fff;
2065
+ --cratis-schema-editor-concept-background: #b4a5ff;
2066
+ --cratis-schema-editor-concept-text: #1c1040;
2067
+ }
2068
+
2069
+ .cratis-schema-editor__badge {
2070
+ display: inline-flex;
2071
+ align-items: center;
2072
+ gap: 0.375rem;
2073
+ color: var(--cratis-text-color);
2074
+ font-size: 0.75rem;
2075
+ white-space: nowrap;
2076
+ }
2077
+
2078
+ .cratis-schema-editor__badge-glyph {
2079
+ display: inline-flex;
2080
+ align-items: center;
2081
+ justify-content: center;
2082
+ flex-shrink: 0;
2083
+ min-width: 1.5rem;
2084
+ height: 1.125rem;
2085
+ padding: 0 0.3125rem;
2086
+ border-radius: 0.25rem;
2087
+ background: var(--cratis-schema-editor-type-string);
2088
+ color: var(--cratis-schema-editor-type-text);
2089
+ font-family: system-ui, monospace, sans-serif;
2090
+ font-size: 0.625rem;
2091
+ font-weight: 700;
2092
+ line-height: 1;
2093
+ user-select: none;
2094
+ }
2095
+
2096
+ .cratis-schema-editor__badge-glyph svg {
2097
+ display: block;
2098
+ }
2099
+
2100
+ .cratis-schema-editor__badge-glyph[data-property-type="number"] { background: var(--cratis-schema-editor-type-number); }
2101
+ .cratis-schema-editor__badge-glyph[data-property-type="boolean"] { background: var(--cratis-schema-editor-type-boolean); }
2102
+ .cratis-schema-editor__badge-glyph[data-property-type="date"] { background: var(--cratis-schema-editor-type-date); }
2103
+ .cratis-schema-editor__badge-glyph[data-property-type="time"] { background: var(--cratis-schema-editor-type-time); }
2104
+ .cratis-schema-editor__badge-glyph[data-property-type="object"] { background: var(--cratis-schema-editor-type-object); }
2105
+ .cratis-schema-editor__badge-glyph[data-property-type="stringArray"] { background: var(--cratis-schema-editor-type-string-array); }
2106
+ .cratis-schema-editor__badge-glyph[data-property-type="numberArray"] { background: var(--cratis-schema-editor-type-number-array); }
2107
+ .cratis-schema-editor__badge-glyph[data-property-type="objectArray"] { background: var(--cratis-schema-editor-type-object-array); }
2108
+
2109
+ .cratis-schema-editor__badge[data-concept] .cratis-schema-editor__badge-name {
2110
+ padding: 0.0625rem 0.375rem;
2111
+ border-radius: 0.25rem;
2112
+ background: var(--cratis-schema-editor-concept-background);
2113
+ color: var(--cratis-schema-editor-concept-text);
2114
+ font-weight: 600;
2115
+ }
2116
+
2117
+ .cratis-schema-editor__type-button,
2118
+ .cratis-schema-editor__key,
2119
+ .cratis-schema-editor__remove,
2120
+ .cratis-schema-editor__add {
2121
+ display: inline-flex;
2122
+ align-items: center;
2123
+ justify-content: center;
2124
+ gap: 0.375rem;
2125
+ min-width: 1.5rem;
2126
+ min-height: 1.5rem;
2127
+ padding: 0 0.25rem;
2128
+ border: 1px solid transparent;
2129
+ border-radius: var(--cratis-border-radius);
2130
+ background: transparent;
2131
+ color: inherit;
2132
+ font: inherit;
2133
+ cursor: pointer;
2134
+ }
2135
+
2136
+ .cratis-schema-editor__type-button:hover,
2137
+ .cratis-schema-editor__key:hover,
2138
+ .cratis-schema-editor__remove:hover,
2139
+ .cratis-schema-editor__add:hover {
2140
+ background: var(--cratis-surface-hover);
2141
+ }
2142
+
2143
+ .cratis-schema-editor__type-button:focus-visible,
2144
+ .cratis-schema-editor__key:focus-visible,
2145
+ .cratis-schema-editor__remove:focus-visible,
2146
+ .cratis-schema-editor__add:focus-visible {
2147
+ outline: none;
2148
+ box-shadow: var(--cratis-focus-ring);
2149
+ }
2150
+
2151
+ .cratis-schema-editor__type-button[data-pressed] {
2152
+ background: var(--cratis-surface-hover);
2153
+ }
2154
+
2155
+ .cratis-schema-editor__remove {
2156
+ color: var(--cratis-text-color-secondary);
2157
+ }
2158
+
2159
+ .cratis-schema-editor__remove:hover {
2160
+ color: var(--cratis-red-500);
2161
+ }
2162
+
2163
+ .cratis-schema-editor__key {
2164
+ color: var(--cratis-text-color-secondary);
2165
+ }
2166
+
2167
+ .cratis-schema-editor__key[data-pressed] {
2168
+ border-color: var(--cratis-primary-color);
2169
+ background: var(--cratis-highlight-bg);
2170
+ color: var(--cratis-highlight-text-color);
2171
+ }
2172
+
2173
+ .cratis-schema-editor__required {
2174
+ display: inline-flex;
2175
+ align-items: center;
2176
+ gap: 0.25rem;
2177
+ min-height: 1.5rem;
2178
+ color: var(--cratis-text-color-secondary);
2179
+ font-size: 0.75rem;
2180
+ cursor: pointer;
2181
+ }
2182
+
2183
+ .cratis-schema-editor__required input {
2184
+ width: 1rem;
2185
+ height: 1rem;
2186
+ margin: 0;
2187
+ accent-color: var(--cratis-primary-color);
2188
+ }
2189
+
2190
+ .cratis-schema-editor__required input:focus-visible {
2191
+ outline: none;
2192
+ box-shadow: var(--cratis-focus-ring);
2193
+ }
2194
+
2195
+ .cratis-schema-editor__protected {
2196
+ display: inline-flex;
2197
+ align-items: center;
2198
+ padding: 0 0.25rem;
2199
+ color: var(--cratis-text-color-secondary);
2200
+ }
2201
+
2202
+ .cratis-schema-editor__actions {
2203
+ display: flex;
2204
+ flex-wrap: wrap;
2205
+ align-items: center;
2206
+ gap: 0.5rem;
2207
+ }
2208
+
2209
+ .cratis-schema-editor__add {
2210
+ align-self: flex-start;
2211
+ border: 1px dashed var(--cratis-surface-border);
2212
+ color: var(--cratis-text-color-secondary);
2213
+ }
2214
+
2215
+ .cratis-schema-editor__footer {
2216
+ display: inline-flex;
2217
+ flex-wrap: wrap;
2218
+ align-items: center;
2219
+ gap: 0.5rem;
2220
+ }
2221
+
2222
+ .cratis-schema-editor__menu {
2223
+ z-index: var(--cratis-z-index-overlay);
2224
+ min-width: 12rem;
2225
+ max-height: min(24rem, var(--available-height));
2226
+ overflow: auto;
2227
+ border: 1px solid var(--cratis-surface-border);
2228
+ border-radius: 0.375rem;
2229
+ background: var(--cratis-surface-overlay);
2230
+ color: var(--cratis-text-color);
2231
+ box-shadow: 0 4px 16px rgb(0 0 0 / 25%);
2232
+ }
2233
+
2234
+ .cratis-schema-editor__menu-list {
2235
+ padding: 0.25rem;
2236
+ outline: none;
2237
+ }
2238
+
2239
+ .cratis-schema-editor__menu-item {
2240
+ display: flex;
2241
+ align-items: center;
2242
+ gap: 0.5rem;
2243
+ min-height: 1.75rem;
2244
+ padding: 0.3125rem 0.75rem;
2245
+ border-radius: calc(var(--cratis-border-radius) * 0.75);
2246
+ outline: none;
2247
+ cursor: default;
2248
+ }
2249
+
2250
+ .cratis-schema-editor__menu-item[data-focused] {
2251
+ background: var(--cratis-surface-hover);
2252
+ }
2253
+
2254
+ .cratis-schema-editor__menu-item[data-focus-visible] {
2255
+ box-shadow: inset var(--cratis-focus-ring);
2256
+ }
2257
+
2258
+ .cratis-schema-editor__menu-heading {
2259
+ padding: 0.25rem 0.5rem;
2260
+ color: var(--cratis-text-color-secondary);
2261
+ font-size: 0.6875rem;
2262
+ font-weight: 700;
2263
+ letter-spacing: 0.05em;
2264
+ text-transform: uppercase;
2265
+ }
2266
+
2267
+ .cratis-schema-editor__menu-hint {
2268
+ color: var(--cratis-text-color-secondary);
2269
+ font-style: italic;
2270
+ cursor: default;
2271
+ }
2272
+
2273
+ .cratis-schema-editor__visually-hidden {
2274
+ position: absolute;
2275
+ width: 1px;
2276
+ height: 1px;
2277
+ overflow: hidden;
2278
+ clip-path: inset(50%);
2279
+ white-space: nowrap;
2280
+ }
2281
+
2282
+ .cratis-schema-editor__menu-separator {
2283
+ height: 1px;
2284
+ margin: 0.25rem 0;
2285
+ background: var(--cratis-surface-border);
2286
+ }
2287
+
2288
+ @media (forced-colors: active) {
2289
+ .cratis-schema-editor__row,
2290
+ .cratis-schema-editor__badge,
2291
+ .cratis-schema-editor__menu {
2292
+ border-color: CanvasText;
2293
+ }
2294
+
2295
+ .cratis-schema-editor__row[data-selected],
2296
+ .cratis-schema-editor__key[data-pressed],
2297
+ .cratis-schema-editor__menu-item[data-focused] {
2298
+ outline: 2px solid Highlight;
2299
+ }
2300
+ }
1910
2301
 
1911
2302
  }