@atlaskit/forge-react-types 0.53.0 → 0.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cjs/components/__generated__/BoxProps.codegen.js +12 -2
  3. package/dist/cjs/components/__generated__/tokens.codegen.js +666 -0
  4. package/dist/cjs/components/charts/PieChartProps.js +5 -1
  5. package/dist/es2019/components/__generated__/BoxProps.codegen.js +12 -2
  6. package/dist/es2019/components/__generated__/tokens.codegen.js +662 -0
  7. package/dist/es2019/components/charts/PieChartProps.js +1 -0
  8. package/dist/esm/components/__generated__/BoxProps.codegen.js +12 -2
  9. package/dist/esm/components/__generated__/tokens.codegen.js +667 -0
  10. package/dist/esm/components/charts/PieChartProps.js +1 -0
  11. package/dist/types/components/__generated__/BoxProps.codegen.d.ts +65 -51
  12. package/dist/types/components/__generated__/ButtonGroupProps.codegen.d.ts +3 -4
  13. package/dist/types/components/__generated__/IconProps.codegen.d.ts +1 -1
  14. package/dist/types/components/__generated__/PressableProps.codegen.d.ts +32 -32
  15. package/dist/types/components/__generated__/tokens.codegen.d.ts +1766 -0
  16. package/dist/types/components/charts/BarChartProps.d.ts +7 -0
  17. package/dist/types/components/charts/LineChartProps.d.ts +7 -0
  18. package/dist/types/components/charts/PieChartProps.d.ts +7 -0
  19. package/dist/types-ts4.5/components/__generated__/BoxProps.codegen.d.ts +65 -51
  20. package/dist/types-ts4.5/components/__generated__/ButtonGroupProps.codegen.d.ts +3 -4
  21. package/dist/types-ts4.5/components/__generated__/IconProps.codegen.d.ts +1 -1
  22. package/dist/types-ts4.5/components/__generated__/PressableProps.codegen.d.ts +32 -32
  23. package/dist/types-ts4.5/components/__generated__/tokens.codegen.d.ts +1766 -0
  24. package/dist/types-ts4.5/components/charts/BarChartProps.d.ts +7 -0
  25. package/dist/types-ts4.5/components/charts/LineChartProps.d.ts +7 -0
  26. package/dist/types-ts4.5/components/charts/PieChartProps.d.ts +7 -0
  27. package/package.json +12 -10
  28. package/scripts/codegen/codeGenerator.ts +176 -30
  29. package/scripts/codegen/componentPropTypes.ts +26 -0
  30. package/src/components/__generated__/BoxProps.codegen.tsx +38 -24
  31. package/src/components/__generated__/ButtonGroupProps.codegen.tsx +3 -4
  32. package/src/components/__generated__/IconProps.codegen.tsx +2 -2
  33. package/src/components/__generated__/tokens.codegen.tsx +1664 -0
  34. package/src/components/charts/BarChartProps.tsx +7 -0
  35. package/src/components/charts/LineChartProps.tsx +7 -0
  36. package/src/components/charts/PieChartProps.tsx +8 -0
@@ -0,0 +1 @@
1
+ export {};
@@ -3,15 +3,14 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - BoxProps
5
5
  *
6
- * @codegen <<SignedSource::5713a45f955f5850078204892e910b64>>
6
+ * @codegen <<SignedSource::653f98d927e1ec1646db39eca8e994fb>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/box/index.tsx <<SignedSource::6b375bb57ecf19919f9e1b65e899fd96>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/box/index.tsx <<SignedSource::8875ae64ad6c03e0827dd8f8a893ac04>>
9
9
  */
10
- import React from 'react';
11
- import type { Box as PlatformBox } from '@atlaskit/primitives';
12
- import type * as CSS from 'csstype';
13
- import type { MediaQuery } from '@atlaskit/primitives';
14
- import { tokensMap } from '@atlaskit/primitives';
10
+ import React from "react";
11
+ import { type BackgroundColor, type Space, type MediaQuery, tokensMap } from "./tokens.codegen";
12
+ import type * as CSS from "csstype";
13
+ import { type SerializedStyles, type CSSObject } from "@emotion/serialize";
15
14
  type CSSProperties = CSS.PropertiesFallback<number | string>;
16
15
  type TokensMap = typeof tokensMap;
17
16
  type TokensMapPropKey = keyof TokensMap;
@@ -75,7 +74,17 @@ declare const makeXCSSValidator: <U extends XCSSValidatorParam>(supportedXCSSPro
75
74
  }>;
76
75
  export { makeXCSSValidator };
77
76
  export type { SafeCSSObject };
78
- declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof CSSProperties, RestrictedPropsSpec> | SafeCSSObject<"backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartWidth" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartWidth" | "borderInlineWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRadius" | "borderRightColor" | "borderRightWidth" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "borderWidth" | "boxShadow" | "color" | "height" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "width" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderTopStyle" | "display" | "flexGrow" | "overflowX" | "overflowY" | "position" | "textAlign" | "borderStyle" | "overflow", "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "flexGrow" | "textAlign", {
77
+ /**
78
+ * Generates SerializedStyles from xcss style object.
79
+ *
80
+ * Previously we used `&&` specificity hack to ensure Emotion xcss styles could
81
+ * override Compiled styles when wrapping @atlaskit/primitives/compiled components.
82
+ *
83
+ * Now that components like Box and Pressable are reimplemented entirely in Emotion,
84
+ * we no longer need the specificity increase - Emotion merges styles in array order (last wins).
85
+ */
86
+ export declare function generateXcss(styleObj: CSSObject): SerializedStyles;
87
+ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof CSSProperties, RestrictedPropsSpec> | SafeCSSObject<"backgroundColor" | "padding" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "borderBlockEndColor" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderEndEndRadius" | "borderEndStartRadius" | "borderInlineEndColor" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "boxShadow" | "color" | "display" | "flexGrow" | "height" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "textAlign" | "width" | "borderBlockColor" | "borderBlockWidth" | "borderColor" | "borderInlineColor" | "borderInlineWidth" | "borderRadius" | "borderStyle" | "borderWidth" | "margin" | "marginBlock" | "marginInline" | "overflow", "flexGrow" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "textAlign" | "width", {
79
88
  borderBottomLeftRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
80
89
  [x: number]: boolean | undefined;
81
90
  length?: boolean | undefined;
@@ -152,7 +161,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
152
161
  readonly [Symbol.unscopables]?: boolean | undefined;
153
162
  at?: boolean | undefined;
154
163
  } | undefined;
155
- borderEndEndRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
164
+ borderBottomStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
156
165
  [x: number]: boolean | undefined;
157
166
  length?: boolean | undefined;
158
167
  toString?: boolean | undefined;
@@ -190,7 +199,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
190
199
  readonly [Symbol.unscopables]?: boolean | undefined;
191
200
  at?: boolean | undefined;
192
201
  } | undefined;
193
- borderEndStartRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
202
+ borderEndEndRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
194
203
  [x: number]: boolean | undefined;
195
204
  length?: boolean | undefined;
196
205
  toString?: boolean | undefined;
@@ -228,7 +237,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
228
237
  readonly [Symbol.unscopables]?: boolean | undefined;
229
238
  at?: boolean | undefined;
230
239
  } | undefined;
231
- borderRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
240
+ borderEndStartRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
232
241
  [x: number]: boolean | undefined;
233
242
  length?: boolean | undefined;
234
243
  toString?: boolean | undefined;
@@ -266,7 +275,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
266
275
  readonly [Symbol.unscopables]?: boolean | undefined;
267
276
  at?: boolean | undefined;
268
277
  } | undefined;
269
- borderStartEndRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
278
+ borderLeftStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
270
279
  [x: number]: boolean | undefined;
271
280
  length?: boolean | undefined;
272
281
  toString?: boolean | undefined;
@@ -304,7 +313,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
304
313
  readonly [Symbol.unscopables]?: boolean | undefined;
305
314
  at?: boolean | undefined;
306
315
  } | undefined;
307
- borderStartStartRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
316
+ borderRightStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
308
317
  [x: number]: boolean | undefined;
309
318
  length?: boolean | undefined;
310
319
  toString?: boolean | undefined;
@@ -342,7 +351,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
342
351
  readonly [Symbol.unscopables]?: boolean | undefined;
343
352
  at?: boolean | undefined;
344
353
  } | undefined;
345
- borderTopLeftRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
354
+ borderStartEndRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
346
355
  [x: number]: boolean | undefined;
347
356
  length?: boolean | undefined;
348
357
  toString?: boolean | undefined;
@@ -380,7 +389,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
380
389
  readonly [Symbol.unscopables]?: boolean | undefined;
381
390
  at?: boolean | undefined;
382
391
  } | undefined;
383
- borderTopRightRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
392
+ borderStartStartRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
384
393
  [x: number]: boolean | undefined;
385
394
  length?: boolean | undefined;
386
395
  toString?: boolean | undefined;
@@ -418,7 +427,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
418
427
  readonly [Symbol.unscopables]?: boolean | undefined;
419
428
  at?: boolean | undefined;
420
429
  } | undefined;
421
- borderBottomStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
430
+ borderTopLeftRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
422
431
  [x: number]: boolean | undefined;
423
432
  length?: boolean | undefined;
424
433
  toString?: boolean | undefined;
@@ -456,7 +465,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
456
465
  readonly [Symbol.unscopables]?: boolean | undefined;
457
466
  at?: boolean | undefined;
458
467
  } | undefined;
459
- borderLeftStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
468
+ borderTopRightRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
460
469
  [x: number]: boolean | undefined;
461
470
  length?: boolean | undefined;
462
471
  toString?: boolean | undefined;
@@ -494,7 +503,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
494
503
  readonly [Symbol.unscopables]?: boolean | undefined;
495
504
  at?: boolean | undefined;
496
505
  } | undefined;
497
- borderRightStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
506
+ borderTopStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
498
507
  [x: number]: boolean | undefined;
499
508
  length?: boolean | undefined;
500
509
  toString?: boolean | undefined;
@@ -532,7 +541,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
532
541
  readonly [Symbol.unscopables]?: boolean | undefined;
533
542
  at?: boolean | undefined;
534
543
  } | undefined;
535
- borderTopStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
544
+ display?: "block" | "inline" | "inline-block" | "none" | {
536
545
  [x: number]: boolean | undefined;
537
546
  length?: boolean | undefined;
538
547
  toString?: boolean | undefined;
@@ -570,7 +579,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
570
579
  readonly [Symbol.unscopables]?: boolean | undefined;
571
580
  at?: boolean | undefined;
572
581
  } | undefined;
573
- display?: "block" | "inline" | "inline-block" | "none" | {
582
+ overflowX?: "auto" | "hidden" | "scroll" | "visible" | {
574
583
  [x: number]: boolean | undefined;
575
584
  length?: boolean | undefined;
576
585
  toString?: boolean | undefined;
@@ -608,7 +617,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
608
617
  readonly [Symbol.unscopables]?: boolean | undefined;
609
618
  at?: boolean | undefined;
610
619
  } | undefined;
611
- overflowX?: "auto" | "hidden" | "scroll" | "visible" | {
620
+ overflowY?: "auto" | "hidden" | "scroll" | "visible" | {
612
621
  [x: number]: boolean | undefined;
613
622
  length?: boolean | undefined;
614
623
  toString?: boolean | undefined;
@@ -646,7 +655,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
646
655
  readonly [Symbol.unscopables]?: boolean | undefined;
647
656
  at?: boolean | undefined;
648
657
  } | undefined;
649
- overflowY?: "auto" | "hidden" | "scroll" | "visible" | {
658
+ position?: "relative" | "static" | {
650
659
  [x: number]: boolean | undefined;
651
660
  length?: boolean | undefined;
652
661
  toString?: boolean | undefined;
@@ -684,7 +693,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
684
693
  readonly [Symbol.unscopables]?: boolean | undefined;
685
694
  at?: boolean | undefined;
686
695
  } | undefined;
687
- position?: "relative" | "static" | {
696
+ borderRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
688
697
  [x: number]: boolean | undefined;
689
698
  length?: boolean | undefined;
690
699
  toString?: boolean | undefined;
@@ -798,7 +807,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
798
807
  readonly [Symbol.unscopables]?: boolean | undefined;
799
808
  at?: boolean | undefined;
800
809
  } | undefined;
801
- }>) => SafeCSSObject<"backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartWidth" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartWidth" | "borderInlineWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRadius" | "borderRightColor" | "borderRightWidth" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "borderWidth" | "boxShadow" | "color" | "height" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "width" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderTopStyle" | "display" | "flexGrow" | "overflowX" | "overflowY" | "position" | "textAlign" | "borderStyle" | "overflow", "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "flexGrow" | "textAlign", {
810
+ }>) => SafeCSSObject<"backgroundColor" | "padding" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "borderBlockEndColor" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderEndEndRadius" | "borderEndStartRadius" | "borderInlineEndColor" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "boxShadow" | "color" | "display" | "flexGrow" | "height" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "textAlign" | "width" | "borderBlockColor" | "borderBlockWidth" | "borderColor" | "borderInlineColor" | "borderInlineWidth" | "borderRadius" | "borderStyle" | "borderWidth" | "margin" | "marginBlock" | "marginInline" | "overflow", "flexGrow" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "textAlign" | "width", {
802
811
  borderBottomLeftRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
803
812
  [x: number]: boolean | undefined;
804
813
  length?: boolean | undefined;
@@ -875,7 +884,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
875
884
  readonly [Symbol.unscopables]?: boolean | undefined;
876
885
  at?: boolean | undefined;
877
886
  } | undefined;
878
- borderEndEndRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
887
+ borderBottomStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
879
888
  [x: number]: boolean | undefined;
880
889
  length?: boolean | undefined;
881
890
  toString?: boolean | undefined;
@@ -913,7 +922,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
913
922
  readonly [Symbol.unscopables]?: boolean | undefined;
914
923
  at?: boolean | undefined;
915
924
  } | undefined;
916
- borderEndStartRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
925
+ borderEndEndRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
917
926
  [x: number]: boolean | undefined;
918
927
  length?: boolean | undefined;
919
928
  toString?: boolean | undefined;
@@ -951,7 +960,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
951
960
  readonly [Symbol.unscopables]?: boolean | undefined;
952
961
  at?: boolean | undefined;
953
962
  } | undefined;
954
- borderRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
963
+ borderEndStartRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
955
964
  [x: number]: boolean | undefined;
956
965
  length?: boolean | undefined;
957
966
  toString?: boolean | undefined;
@@ -989,7 +998,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
989
998
  readonly [Symbol.unscopables]?: boolean | undefined;
990
999
  at?: boolean | undefined;
991
1000
  } | undefined;
992
- borderStartEndRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
1001
+ borderLeftStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
993
1002
  [x: number]: boolean | undefined;
994
1003
  length?: boolean | undefined;
995
1004
  toString?: boolean | undefined;
@@ -1027,7 +1036,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1027
1036
  readonly [Symbol.unscopables]?: boolean | undefined;
1028
1037
  at?: boolean | undefined;
1029
1038
  } | undefined;
1030
- borderStartStartRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
1039
+ borderRightStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
1031
1040
  [x: number]: boolean | undefined;
1032
1041
  length?: boolean | undefined;
1033
1042
  toString?: boolean | undefined;
@@ -1065,7 +1074,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1065
1074
  readonly [Symbol.unscopables]?: boolean | undefined;
1066
1075
  at?: boolean | undefined;
1067
1076
  } | undefined;
1068
- borderTopLeftRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
1077
+ borderStartEndRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
1069
1078
  [x: number]: boolean | undefined;
1070
1079
  length?: boolean | undefined;
1071
1080
  toString?: boolean | undefined;
@@ -1103,7 +1112,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1103
1112
  readonly [Symbol.unscopables]?: boolean | undefined;
1104
1113
  at?: boolean | undefined;
1105
1114
  } | undefined;
1106
- borderTopRightRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
1115
+ borderStartStartRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
1107
1116
  [x: number]: boolean | undefined;
1108
1117
  length?: boolean | undefined;
1109
1118
  toString?: boolean | undefined;
@@ -1141,7 +1150,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1141
1150
  readonly [Symbol.unscopables]?: boolean | undefined;
1142
1151
  at?: boolean | undefined;
1143
1152
  } | undefined;
1144
- borderBottomStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
1153
+ borderTopLeftRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
1145
1154
  [x: number]: boolean | undefined;
1146
1155
  length?: boolean | undefined;
1147
1156
  toString?: boolean | undefined;
@@ -1179,7 +1188,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1179
1188
  readonly [Symbol.unscopables]?: boolean | undefined;
1180
1189
  at?: boolean | undefined;
1181
1190
  } | undefined;
1182
- borderLeftStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
1191
+ borderTopRightRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
1183
1192
  [x: number]: boolean | undefined;
1184
1193
  length?: boolean | undefined;
1185
1194
  toString?: boolean | undefined;
@@ -1217,7 +1226,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1217
1226
  readonly [Symbol.unscopables]?: boolean | undefined;
1218
1227
  at?: boolean | undefined;
1219
1228
  } | undefined;
1220
- borderRightStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
1229
+ borderTopStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
1221
1230
  [x: number]: boolean | undefined;
1222
1231
  length?: boolean | undefined;
1223
1232
  toString?: boolean | undefined;
@@ -1255,7 +1264,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1255
1264
  readonly [Symbol.unscopables]?: boolean | undefined;
1256
1265
  at?: boolean | undefined;
1257
1266
  } | undefined;
1258
- borderTopStyle?: "hidden" | "none" | "dashed" | "dotted" | "solid" | {
1267
+ display?: "block" | "inline" | "inline-block" | "none" | {
1259
1268
  [x: number]: boolean | undefined;
1260
1269
  length?: boolean | undefined;
1261
1270
  toString?: boolean | undefined;
@@ -1293,7 +1302,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1293
1302
  readonly [Symbol.unscopables]?: boolean | undefined;
1294
1303
  at?: boolean | undefined;
1295
1304
  } | undefined;
1296
- display?: "block" | "inline" | "inline-block" | "none" | {
1305
+ overflowX?: "auto" | "hidden" | "scroll" | "visible" | {
1297
1306
  [x: number]: boolean | undefined;
1298
1307
  length?: boolean | undefined;
1299
1308
  toString?: boolean | undefined;
@@ -1331,7 +1340,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1331
1340
  readonly [Symbol.unscopables]?: boolean | undefined;
1332
1341
  at?: boolean | undefined;
1333
1342
  } | undefined;
1334
- overflowX?: "auto" | "hidden" | "scroll" | "visible" | {
1343
+ overflowY?: "auto" | "hidden" | "scroll" | "visible" | {
1335
1344
  [x: number]: boolean | undefined;
1336
1345
  length?: boolean | undefined;
1337
1346
  toString?: boolean | undefined;
@@ -1369,7 +1378,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1369
1378
  readonly [Symbol.unscopables]?: boolean | undefined;
1370
1379
  at?: boolean | undefined;
1371
1380
  } | undefined;
1372
- overflowY?: "auto" | "hidden" | "scroll" | "visible" | {
1381
+ position?: "relative" | "static" | {
1373
1382
  [x: number]: boolean | undefined;
1374
1383
  length?: boolean | undefined;
1375
1384
  toString?: boolean | undefined;
@@ -1407,7 +1416,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1407
1416
  readonly [Symbol.unscopables]?: boolean | undefined;
1408
1417
  at?: boolean | undefined;
1409
1418
  } | undefined;
1410
- position?: "relative" | "static" | {
1419
+ borderRadius?: "radius.xsmall" | "radius.small" | "radius.medium" | "radius.large" | "radius.xlarge" | "radius.xxlarge" | "radius.full" | "radius.tile" | {
1411
1420
  [x: number]: boolean | undefined;
1412
1421
  length?: boolean | undefined;
1413
1422
  toString?: boolean | undefined;
@@ -1523,8 +1532,7 @@ declare const xcssValidator: (styleObj: SafeCSSObject<keyof CSSProperties, keyof
1523
1532
  } | undefined;
1524
1533
  }>;
1525
1534
  type XCSSProp = ReturnType<typeof xcssValidator>;
1526
- type PlatformBoxProps = React.ComponentProps<typeof PlatformBox>;
1527
- export type BoxProps = Pick<PlatformBoxProps, 'children' | 'ref' | 'testId'> & {
1535
+ export type BoxProps = {
1528
1536
  /**
1529
1537
  * A token alias for background color. See: [Design tokens](https://atlassian.design/components/tokens/all-tokens)
1530
1538
  * for a list of available colors.
@@ -1534,59 +1542,65 @@ export type BoxProps = Pick<PlatformBoxProps, 'children' | 'ref' | 'testId'> & {
1534
1542
  *
1535
1543
  * @type [Background color tokens](https://atlassian.design/components/tokens/all-tokens#color-background)
1536
1544
  */
1537
- backgroundColor?: PlatformBoxProps['backgroundColor'];
1545
+ backgroundColor?: BackgroundColor;
1538
1546
  /**
1539
1547
  * @type ForgeComponent
1540
1548
  */
1541
- children?: PlatformBoxProps['children'];
1549
+ children?: React.ReactNode;
1542
1550
  /**
1543
1551
  * A shorthand for `paddingBlock` and `paddingInline` together.
1544
1552
  *
1545
1553
  * @type [Space tokens](https://atlassian.design/components/tokens/all-tokens#space)
1546
1554
  */
1547
- padding?: PlatformBoxProps['padding'];
1555
+ padding?: Space;
1548
1556
  /**
1549
1557
  * The logical block start and end padding of an element.
1550
1558
  *
1551
1559
  * @type [Space tokens](https://atlassian.design/components/tokens/all-tokens#space)
1552
1560
  */
1553
- paddingBlock?: PlatformBoxProps['paddingBlock'];
1561
+ paddingBlock?: Space;
1554
1562
  /**
1555
1563
  * The logical block end padding of an element.
1556
1564
  *
1557
1565
  * @type [Space tokens](https://atlassian.design/components/tokens/all-tokens#space)
1558
1566
  */
1559
- paddingBlockEnd?: PlatformBoxProps['paddingBlockEnd'];
1567
+ paddingBlockEnd?: Space;
1560
1568
  /**
1561
1569
  * The logical block start padding of an element.
1562
1570
  *
1563
1571
  * @type [Space tokens](https://atlassian.design/components/tokens/all-tokens#space)
1564
1572
  */
1565
- paddingBlockStart?: PlatformBoxProps['paddingBlockStart'];
1573
+ paddingBlockStart?: Space;
1566
1574
  /**
1567
1575
  * The logical inline start and end padding of an element.
1568
1576
  *
1569
1577
  * @type [Space tokens](https://atlassian.design/components/tokens/all-tokens#space)
1570
1578
  */
1571
- paddingInline?: PlatformBoxProps['paddingInline'];
1579
+ paddingInline?: Space;
1572
1580
  /**
1573
1581
  * The logical inline end padding of an element.
1574
1582
  *
1575
1583
  * @type [Space tokens](https://atlassian.design/components/tokens/all-tokens#space)
1576
1584
  */
1577
- paddingInlineEnd?: PlatformBoxProps['paddingInlineEnd'];
1585
+ paddingInlineEnd?: Space;
1578
1586
  /**
1579
1587
  * The logical inline start padding of an element.
1580
1588
  *
1581
1589
  * @type [Space tokens](https://atlassian.design/components/tokens/all-tokens#space)
1582
1590
  */
1583
- paddingInlineStart?: PlatformBoxProps['paddingInlineStart'];
1591
+ paddingInlineStart?: Space;
1584
1592
  /**
1585
1593
  * Accessible role.
1586
1594
  *
1587
1595
  * @type string
1588
1596
  */
1589
- role?: PlatformBoxProps['role'];
1597
+ role?: string;
1598
+ /**
1599
+ * Test ID for the box.
1600
+ *
1601
+ * @type string
1602
+ */
1603
+ testId?: string;
1590
1604
  /**
1591
1605
  * Apply a subset of permitted styles, powered by Atlassian Design System tokens.
1592
1606
  * For a list of supported style properties on this component, see [here](https://developer.atlassian.com/platform/forge/ui-kit/components/xcss).
@@ -3,12 +3,11 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - ButtonGroupProps
5
5
  *
6
- * @codegen <<SignedSource::1961536cd507ac4a052deeb8743f1267>>
6
+ * @codegen <<SignedSource::17e4c7b27bf25505bd192e44f0bc3c37>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::83622155981d05f77224a32bab4969b5>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::425feaa78f4ad0ff0373e9e49718c6f9>>
9
9
  */
10
- import type { ButtonGroupProps as PlatformButtonGroupProps } from '@atlaskit/button';
11
- import type { ButtonProps } from '@atlaskit/button';
10
+ import type { ButtonGroupProps as PlatformButtonGroupProps, ButtonProps } from '@atlaskit/button';
12
11
  export type ButtonGroupProps = Pick<PlatformButtonGroupProps, 'children' | 'testId' | 'label' | 'titleId'> & {
13
12
  appearance?: ButtonProps['appearance'];
14
13
  };
@@ -11,7 +11,7 @@ import type { ActiveTokens } from '@atlaskit/tokens';
11
11
  export type IconNext = 'add' | 'app-switcher' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'attachment' | 'audio' | 'backlog' | 'board' | 'calendar' | 'camera' | 'checkbox-indeterminate' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'comment' | 'component' | 'copy' | 'cross-circle' | 'cross' | 'dashboard' | 'decision' | 'department' | 'download' | 'edit' | 'email' | 'emoji-add' | 'emoji' | 'feedback' | 'file' | 'filter' | 'flag-filled' | 'home' | 'image' | 'lightbulb' | 'link' | 'location' | 'marketplace' | 'menu' | 'notification' | 'office-building' | 'page' | 'people-group' | 'person' | 'premium' | 'question-circle' | 'redo' | 'refresh' | 'retry' | 'roadmap' | 'screen' | 'search' | 'send' | 'settings' | 'share' | 'sprint' | 'stopwatch' | 'task' | 'teams' | 'undo' | 'accessibility' | 'ai-agent' | 'ai-chat' | 'ai-generative-text-summary' | 'alert' | 'align-image-center' | 'align-image-left' | 'align-image-right' | 'align-text-center' | 'align-text-left' | 'align-text-right' | 'angle-brackets' | 'api' | 'app' | 'app-switcher-legacy' | 'apps' | 'archive-box' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-up-left' | 'arrow-up-right' | 'assets' | 'atlassian-intelligence' | 'automation' | 'basketball' | 'boards' | 'book-with-bookmark' | 'border' | 'branch' | 'briefcase' | 'bug' | 'calendar-plus' | 'capture' | 'card' | 'cash' | 'changes' | 'chart-bar' | 'chart-bubble' | 'chart-matrix' | 'chart-pie' | 'chart-trend' | 'chart-trend-down' | 'chart-trend-up' | 'chat-widget' | 'check-circle-unchecked' | 'check-mark' | 'checkbox-checked' | 'checkbox-unchecked' | 'chevron-double-left' | 'chevron-double-right' | 'child-work-items' | 'clipboard' | 'clock' | 'close' | 'cloud-arrow-up' | 'collapse-horizontal' | 'collapse-vertical' | 'comment-add' | 'commit' | 'compass' | 'content-width-narrow' | 'content-width-wide' | 'content-wrap-left' | 'content-wrap-right' | 'credit-card' | 'curly-brackets' | 'customize' | 'data-flow' | 'data-number' | 'data-string' | 'database' | 'defect' | 'delete' | 'device-mobile' | 'devices' | 'discovery' | 'drag-handle-horizontal' | 'drag-handle-vertical' | 'edit-bulk' | 'emoji-casual' | 'emoji-neutral' | 'emoji-remove' | 'epic' | 'exclamation-square' | 'expand-horizontal' | 'expand-vertical' | 'eye-open' | 'eye-open-filled' | 'eye-open-strikethrough' | 'feed' | 'field' | 'field-alert' | 'field-checkbox-group' | 'field-dropdown' | 'field-radio-group' | 'files' | 'flag' | 'flask' | 'focus-area' | 'folder-closed' | 'folder-open' | 'form' | 'fullscreen-enter' | 'fullscreen-exit' | 'glasses' | 'globe' | 'goal' | 'grid' | 'grow-diagonal' | 'grow-horizontal' | 'grow-vertical' | 'hashtag' | 'headphones' | 'heart' | 'highlight' | 'image-fullscreen' | 'image-inline' | 'image-scaled' | 'inbox' | 'incident' | 'information' | 'information-circle' | 'key-result' | 'layout-one-column' | 'layout-three-columns' | 'layout-three-columns-sidebars' | 'layout-two-columns' | 'layout-two-columns-sidebar-left' | 'layout-two-columns-sidebar-right' | 'library' | 'link-broken' | 'link-external' | 'list-bulleted' | 'list-checklist' | 'list-numbered' | 'lobby-bell' | 'lock-locked' | 'lock-unlocked' | 'log-in' | 'log-out' | 'magic-wand' | 'markdown' | 'maximize' | 'megaphone' | 'merge-failure' | 'merge-success' | 'microphone' | 'minimize' | 'minus' | 'minus-square' | 'node' | 'note' | 'notification-muted' | 'objective' | 'on-call' | 'operations' | 'pages' | 'paint-bucket' | 'paint-palette' | 'panel-left' | 'panel-right' | 'pen' | 'person-add' | 'person-added' | 'person-avatar' | 'person-offboard' | 'person-remove' | 'person-warning' | 'phone' | 'pin' | 'pin-filled' | 'plus-square' | 'power-plug' | 'presenter-mode' | 'printer' | 'priority-blocker' | 'priority-critical' | 'priority-high' | 'priority-highest' | 'priority-low' | 'priority-lowest' | 'priority-major' | 'priority-medium' | 'priority-minor' | 'priority-trivial' | 'problem' | 'project' | 'project-status' | 'projection-screen' | 'pull-request' | 'pulse' | 'quotation-mark' | 'radio-checked' | 'radio-unchecked' | 'release' | 'rovo-chat' | 'scales' | 'scorecard' | 'screen-plus' | 'shapes' | 'shield' | 'shield-strikethrough' | 'show-more-horizontal' | 'show-more-vertical' | 'shrink-diagonal' | 'shrink-horizontal' | 'shrink-vertical' | 'sidebar-collapse' | 'sidebar-expand' | 'smart-link' | 'smart-link-card' | 'smart-link-embed' | 'smart-link-inline' | 'smart-link-list' | 'snippet' | 'sort-ascending' | 'sort-descending' | 'spreadsheet' | 'star-starred' | 'star-unstarred' | 'status-discovery' | 'status-error' | 'status-information' | 'status-success' | 'status-verified' | 'status-warning' | 'story' | 'stroke-weight-extra-large' | 'stroke-weight-large' | 'stroke-weight-medium' | 'stroke-weight-small' | 'subtasks' | 'success' | 'support' | 'table-cell-clear' | 'table-cell-merge' | 'table-cell-split' | 'table-column-add-left' | 'table-column-add-right' | 'table-column-delete' | 'table-column-move-left' | 'table-column-move-right' | 'table-columns-distribute' | 'table-row-add-above' | 'table-row-add-below' | 'table-row-delete' | 'table-row-move-down' | 'table-row-move-up' | 'tag' | 'takeout-food' | 'target' | 'task-in-progress' | 'task-to-do' | 'tasks' | 'text' | 'text-bold' | 'text-heading' | 'text-indent-left' | 'text-indent-right' | 'text-italic' | 'text-shorten' | 'text-spellcheck' | 'text-strikethrough' | 'text-style' | 'text-underline' | 'text-wrap' | 'theme' | 'thumbs-down' | 'thumbs-up' | 'timeline' | 'tools' | 'transition' | 'translate' | 'tree' | 'vehicle-car' | 'video' | 'video-next' | 'video-next-overlay' | 'video-pause' | 'video-pause-overlay' | 'video-play' | 'video-play-overlay' | 'video-previous' | 'video-previous-overlay' | 'video-skip-backward-fifteen' | 'video-skip-backward-ten' | 'video-skip-forward-fifteen' | 'video-skip-forward-ten' | 'video-stop' | 'video-stop-overlay' | 'volume-high' | 'volume-low' | 'volume-muted' | 'whiteboard' | 'work-item' | 'work-items' | 'zoom-in' | 'zoom-out';
12
12
  export type IconRemoved = 'billing-filled' | 'billing' | 'bitbucket-builds' | 'bitbucket-clone' | 'bitbucket-compare' | 'bitbucket-forks' | 'bitbucket-output' | 'bitbucket-pipelines' | 'camera-rotate' | 'camera-take-picture' | 'canvas' | 'hipchat-chevron-double-down' | 'hipchat-chevron-double-up' | 'dropbox' | 'editor-addon' | 'editor-advanced' | 'editor-file-preview' | 'editor-image-border' | 'editor-remove-emoji' | 'editor-strikethrough' | 'editor-table-display-options' | 'editor-text-color' | 'editor-underline' | 'emoji-atlassian' | 'folder-filled' | 'following' | 'googledrive' | 'gsuite' | 'highlights' | 'image-border' | 'jira-failed-build-status' | 'list' | 'hipchat-media-attachment-count' | 'media-services-annotate' | 'media-services-arrow' | 'media-services-blur' | 'media-services-brush' | 'media-services-button-option' | 'media-services-line-thickness' | 'media-services-no-image' | 'media-services-open-mediaviewer' | 'media-services-oval' | 'media-services-pdf' | 'media-services-rectangle' | 'media-services-text' | 'media-services-unknown' | 'media-services-zip' | 'mention' | 'notification-all' | 'pdf' | 'person-with-circle' | 'person-with-cross' | 'portfolio' | 'presence-active' | 'presence-busy' | 'presence-unavailable' | 'status' | 'vid-audio-muted' | 'vid-backward' | 'vid-camera-off' | 'vid-connection-circle' | 'vid-forward' | 'vid-hang-up' | 'vid-hd-circle' | 'vid-raised-hand' | 'vid-share-screen' | 'vid-speaking-circle';
13
13
  export type IconReplaced = 'activity' | 'add-circle' | 'add-item' | 'addon' | 'editor-align-center' | 'editor-align-left' | 'editor-align-right' | 'app-access' | 'archive' | 'arrow-down-circle' | 'arrow-left-circle' | 'arrow-right-circle' | 'arrow-up-circle' | 'audio-circle' | 'hipchat-audio-only' | 'bitbucket-branches' | 'bitbucket-commits' | 'bitbucket-pullrequests' | 'bitbucket-repos' | 'bitbucket-snippets' | 'bitbucket-source' | 'book' | 'bullet-list' | 'calendar-filled' | 'camera-filled' | 'checkbox' | 'check-circle' | 'check-circle-outline' | 'check' | 'chevron-down-circle' | 'hipchat-chevron-down' | 'chevron-left-circle' | 'chevron-left-large' | 'chevron-right-circle' | 'chevron-right-large' | 'chevron-up-circle' | 'hipchat-chevron-up' | 'child-issues' | 'code' | 'creditcard-filled' | 'creditcard' | 'detail-view' | 'hipchat-dial-out' | 'discover-filled' | 'discover' | 'document-filled' | 'document' | 'documents' | 'drag-handler' | 'edit-filled' | 'editor-add' | 'editor-align-image-center' | 'editor-align-image-left' | 'editor-align-image-right' | 'editor-attachment' | 'editor-background-color' | 'editor-bold' | 'editor-bullet-list' | 'editor-close' | 'editor-code' | 'editor-collapse' | 'editor-date' | 'editor-decision' | 'editor-divider' | 'editor-done' | 'editor-edit' | 'editor-emoji' | 'editor-error' | 'editor-expand' | 'editor-feedback' | 'editor-file' | 'editor-help' | 'editor-hint' | 'editor-horizontal-rule' | 'editor-image' | 'editor-image-resize' | 'editor-indent' | 'editor-info' | 'editor-italic' | 'editor-layout-single' | 'editor-layout-three-equal' | 'editor-layout-three-with-sidebars' | 'editor-layout-two-equal' | 'editor-layout-two-left-sidebar' | 'editor-layout-two-right-sidebar' | 'editor-link' | 'editor-media-center' | 'editor-media-full-width' | 'editor-media-wide' | 'editor-media-wrap-left' | 'editor-media-wrap-right' | 'editor-mention' | 'editor-more' | 'editor-note' | 'editor-number-list' | 'editor-open' | 'editor-outdent' | 'editor-panel' | 'editor-photo' | 'editor-quote' | 'editor-recent' | 'editor-redo' | 'editor-remove' | 'editor-search' | 'editor-settings' | 'editor-success' | 'editor-table' | 'editor-task' | 'editor-text-style' | 'editor-undo' | 'editor-unlink' | 'editor-warning' | 'emoji-activity' | 'emoji-custom' | 'emoji-emoji' | 'emoji-flags' | 'emoji-food' | 'emoji-frequent' | 'emoji-keyboard' | 'emoji-nature' | 'emoji-objects' | 'emoji-people' | 'emoji-productivity' | 'emoji-symbols' | 'emoji-travel' | 'error' | 'export' | 'folder' | 'followers' | 'graph-bar' | 'graph-line' | 'home-circle' | 'image-resize' | 'info' | 'invite-team' | 'issue' | 'issue-raise' | 'issues' | 'jira-capture' | 'jira-labs' | 'jira-test-session' | 'label' | 'lightbulb-filled' | 'like' | 'link-filled' | 'hipchat-lobby' | 'lock-circle' | 'lock-filled' | 'lock' | 'media-services-actual-size' | 'media-services-add-comment' | 'media-services-audio' | 'media-services-code' | 'media-services-document' | 'media-services-filter' | 'media-services-fit-to-page' | 'media-services-full-screen' | 'media-services-grid' | 'media-services-image' | 'media-services-line' | 'media-services-preselected' | 'media-services-presentation' | 'media-services-scale-large' | 'media-services-scale-small' | 'media-services-spreadsheet' | 'media-services-video' | 'media-services-zoom-in' | 'media-services-zoom-out' | 'menu-expand' | 'mobile' | 'more' | 'more-vertical' | 'notification-direct' | 'office-building-filled' | 'open' | 'hipchat-outgoing-sound' | 'overview' | 'page-filled' | 'people' | 'person-circle' | 'person-with-tick' | 'preferences' | 'question' | 'questions' | 'queues' | 'quote' | 'radio' | 'recent' | 'room-menu' | 'schedule-filled' | 'schedule' | 'hipchat-sd-video' | 'select-clear' | 'ship' | 'shortcut' | 'sign-in' | 'sign-out' | 'star-filled' | 'star' | 'star-large' | 'subtask' | 'suitcase' | 'switcher' | 'table' | 'trash' | 'tray' | 'unlink' | 'unlock-circle' | 'unlock-filled' | 'unlock' | 'upload' | 'user-avatar-circle' | 'vid-audio-on' | 'vid-camera-on' | 'video-circle' | 'video-filled' | 'vid-full-screen-off' | 'vid-full-screen-on' | 'vid-pause' | 'vid-play' | 'vid-volume-full' | 'vid-volume-half' | 'vid-volume-muted' | 'warning' | 'watch-filled' | 'watch' | 'world' | 'world-small';
14
- type Glyph = IconNext | IconRemoved | IconReplaced;
14
+ type Glyph = IconNext | IconReplaced;
15
15
  export type IconColor = Extract<ActiveTokens, `color.${string}`>;
16
16
  export type IconProps = {
17
17
  color?: IconColor;