1111 */
1212
1313/**
14- * @todo The S1 types can be removed once we are no longer maintaining 1st-gen.
1514 * @todo Rename STATUSLIGHT_ prefix to STATUS_LIGHT_ to align with type prefix
16- * naming convention (use underscore separators for multi-word names). This
17- * requires updating all imports in 1st-gen and 2nd-gen that reference these
18- * constants.
15+ * naming convention (use underscore separators for multi-word names).
1916 */
2017import type { ElementSize } from '@spectrum-web-components/core/mixins/index.js' ;
2118
@@ -34,16 +31,11 @@ export const STATUSLIGHT_VARIANTS_SEMANTIC = [
3431 'notice' ,
3532] as const ;
3633
37- export const STATUSLIGHT_VARIANTS_SEMANTIC_S1 = [
38- ...STATUSLIGHT_VARIANTS_SEMANTIC ,
39- 'accent' ,
40- ] as const ;
41-
4234export const STATUSLIGHT_VARIANTS_SEMANTIC_S2 = [
4335 ...STATUSLIGHT_VARIANTS_SEMANTIC ,
4436] as const ;
4537
46- export const STATUSLIGHT_VARIANTS_COLOR_S1 = [
38+ export const STATUSLIGHT_VARIANTS_COLOR_S2 = [
4739 'fuchsia' ,
4840 'indigo' ,
4941 'magenta' ,
@@ -53,43 +45,25 @@ export const STATUSLIGHT_VARIANTS_COLOR_S1 = [
5345 'chartreuse' ,
5446 'celery' ,
5547 'cyan' ,
56- ] as const ;
57-
58- export const STATUSLIGHT_VARIANTS_COLOR_S2 = [
59- ...STATUSLIGHT_VARIANTS_COLOR_S1 ,
6048 'pink' ,
6149 'turquoise' ,
6250 'brown' ,
6351 'cinnamon' ,
6452 'silver' ,
6553] as const ;
6654
67- export const STATUSLIGHT_VARIANTS_S1 = [
68- ...STATUSLIGHT_VARIANTS_SEMANTIC_S1 ,
69- ...STATUSLIGHT_VARIANTS_COLOR_S1 ,
70- ] as const ;
71-
7255export const STATUSLIGHT_VARIANTS_S2 = [
7356 ...STATUSLIGHT_VARIANTS_SEMANTIC_S2 ,
7457 ...STATUSLIGHT_VARIANTS_COLOR_S2 ,
7558] as const ;
7659
77- export type StatusLightSemanticVariantS1 =
78- ( typeof STATUSLIGHT_VARIANTS_SEMANTIC_S1 ) [ number ] ;
7960export type StatusLightSemanticVariantS2 =
8061 ( typeof STATUSLIGHT_VARIANTS_SEMANTIC_S2 ) [ number ] ;
81- export type StatusLightSemanticVariant =
82- | StatusLightSemanticVariantS1
83- | StatusLightSemanticVariantS2 ;
62+ export type StatusLightSemanticVariant = StatusLightSemanticVariantS2 ;
8463
85- export type StatusLightColorVariantS1 =
86- ( typeof STATUSLIGHT_VARIANTS_COLOR_S1 ) [ number ] ;
8764export type StatusLightColorVariantS2 =
8865 ( typeof STATUSLIGHT_VARIANTS_COLOR_S2 ) [ number ] ;
89- export type StatusLightColorVariant =
90- | StatusLightColorVariantS1
91- | StatusLightColorVariantS2 ;
66+ export type StatusLightColorVariant = StatusLightColorVariantS2 ;
9267
93- export type StatusLightVariantS1 = ( typeof STATUSLIGHT_VARIANTS_S1 ) [ number ] ;
9468export type StatusLightVariantS2 = ( typeof STATUSLIGHT_VARIANTS_S2 ) [ number ] ;
95- export type StatusLightVariant = StatusLightVariantS1 | StatusLightVariantS2 ;
69+ export type StatusLightVariant = StatusLightVariantS2 ;
0 commit comments