@atlaskit/primitives 19.0.0 → 19.0.2

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 (105) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/codemods/compiled-fork-stage1/transform.tsx +178 -17
  3. package/components/flex/package.json +17 -0
  4. package/constellation/pressable/usage.mdx +2 -0
  5. package/dist/cjs/compiled/components/anchor.js +1 -1
  6. package/dist/cjs/compiled/components/box.compiled.css +1 -1
  7. package/dist/cjs/compiled/components/box.js +3 -3
  8. package/dist/cjs/compiled/components/pressable.js +1 -1
  9. package/dist/cjs/compiled/components/text.js +2 -0
  10. package/dist/cjs/components/anchor.js +1 -1
  11. package/dist/cjs/components/box.js +4 -2
  12. package/dist/cjs/components/pressable.js +1 -1
  13. package/dist/cjs/responsive/build-media-query-css.js +14 -71
  14. package/dist/cjs/responsive/constants.js +2 -0
  15. package/dist/cjs/responsive/hide.js +4 -3
  16. package/dist/cjs/responsive/media-helper.js +8 -37
  17. package/dist/cjs/responsive/media.js +31 -0
  18. package/dist/cjs/responsive/show.js +4 -3
  19. package/dist/cjs/responsive/unsafe-build-above-media-query-css.js +43 -0
  20. package/dist/cjs/responsive/unsafe-build-below-media-query-css.js +45 -0
  21. package/dist/cjs/utils/has-text-ancestor-context.js +1 -0
  22. package/dist/cjs/utils/surface-context.js +13 -0
  23. package/dist/cjs/utils/surface-provider.js +10 -10
  24. package/dist/cjs/xcss/style-maps.partial.js +27 -7
  25. package/dist/cjs/xcss/xcss.js +2 -0
  26. package/dist/es2019/compiled/components/anchor.js +1 -1
  27. package/dist/es2019/compiled/components/box.compiled.css +1 -1
  28. package/dist/es2019/compiled/components/box.js +2 -2
  29. package/dist/es2019/compiled/components/pressable.js +1 -1
  30. package/dist/es2019/compiled/components/text.js +2 -0
  31. package/dist/es2019/components/anchor.js +1 -1
  32. package/dist/es2019/components/box.js +3 -1
  33. package/dist/es2019/components/pressable.js +1 -1
  34. package/dist/es2019/responsive/build-media-query-css.js +2 -75
  35. package/dist/es2019/responsive/constants.js +2 -0
  36. package/dist/es2019/responsive/hide.js +2 -1
  37. package/dist/es2019/responsive/media-helper.js +3 -37
  38. package/dist/es2019/responsive/media.js +25 -0
  39. package/dist/es2019/responsive/show.js +2 -1
  40. package/dist/es2019/responsive/unsafe-build-above-media-query-css.js +38 -0
  41. package/dist/es2019/responsive/unsafe-build-below-media-query-css.js +42 -0
  42. package/dist/es2019/utils/has-text-ancestor-context.js +1 -0
  43. package/dist/es2019/utils/surface-context.js +7 -0
  44. package/dist/es2019/utils/surface-provider.js +4 -9
  45. package/dist/es2019/xcss/style-maps.partial.js +27 -7
  46. package/dist/es2019/xcss/xcss.js +2 -0
  47. package/dist/esm/compiled/components/anchor.js +1 -1
  48. package/dist/esm/compiled/components/box.compiled.css +1 -1
  49. package/dist/esm/compiled/components/box.js +2 -2
  50. package/dist/esm/compiled/components/pressable.js +1 -1
  51. package/dist/esm/compiled/components/text.js +2 -0
  52. package/dist/esm/components/anchor.js +1 -1
  53. package/dist/esm/components/box.js +3 -1
  54. package/dist/esm/components/pressable.js +1 -1
  55. package/dist/esm/responsive/build-media-query-css.js +2 -68
  56. package/dist/esm/responsive/constants.js +2 -0
  57. package/dist/esm/responsive/hide.js +2 -1
  58. package/dist/esm/responsive/media-helper.js +3 -37
  59. package/dist/esm/responsive/media.js +25 -0
  60. package/dist/esm/responsive/show.js +2 -1
  61. package/dist/esm/responsive/unsafe-build-above-media-query-css.js +37 -0
  62. package/dist/esm/responsive/unsafe-build-below-media-query-css.js +39 -0
  63. package/dist/esm/utils/has-text-ancestor-context.js +1 -0
  64. package/dist/esm/utils/surface-context.js +7 -0
  65. package/dist/esm/utils/surface-provider.js +4 -9
  66. package/dist/esm/xcss/style-maps.partial.js +27 -7
  67. package/dist/esm/xcss/xcss.js +2 -0
  68. package/dist/types/responsive/build-media-query-css.d.ts +2 -63
  69. package/dist/types/responsive/media-helper.d.ts +1 -35
  70. package/dist/types/responsive/media.d.ts +25 -0
  71. package/dist/types/responsive/types.d.ts +1 -1
  72. package/dist/types/responsive/unsafe-build-above-media-query-css.d.ts +33 -0
  73. package/dist/types/responsive/unsafe-build-below-media-query-css.d.ts +32 -0
  74. package/dist/types/utils/surface-context.d.ts +8 -0
  75. package/dist/types/utils/surface-provider.d.ts +1 -7
  76. package/dist/types/utils/types.d.ts +1 -1
  77. package/dist/types/xcss/style-maps.partial.d.ts +26 -6
  78. package/dist/types-ts4.5/responsive/build-media-query-css.d.ts +2 -63
  79. package/dist/types-ts4.5/responsive/media-helper.d.ts +1 -35
  80. package/dist/types-ts4.5/responsive/media.d.ts +25 -0
  81. package/dist/types-ts4.5/responsive/types.d.ts +1 -1
  82. package/dist/types-ts4.5/responsive/unsafe-build-above-media-query-css.d.ts +33 -0
  83. package/dist/types-ts4.5/responsive/unsafe-build-below-media-query-css.d.ts +32 -0
  84. package/dist/types-ts4.5/utils/surface-context.d.ts +8 -0
  85. package/dist/types-ts4.5/utils/surface-provider.d.ts +1 -7
  86. package/dist/types-ts4.5/utils/types.d.ts +1 -1
  87. package/dist/types-ts4.5/xcss/style-maps.partial.d.ts +26 -6
  88. package/package.json +21 -45
  89. package/primitives.docs.tsx +359 -356
  90. package/scripts/capitalize.tsx +2 -0
  91. package/scripts/color-codegen-template.tsx +3 -6
  92. package/scripts/compose.tsx +4 -0
  93. package/scripts/elevation-codegen-template.tsx +3 -6
  94. package/scripts/generate-type-defs.tsx +12 -0
  95. package/scripts/inverse-color-map-template.tsx +4 -1
  96. package/scripts/is-accent.tsx +1 -0
  97. package/scripts/is-hovered.tsx +1 -0
  98. package/scripts/is-pressed.tsx +1 -0
  99. package/scripts/pick.tsx +4 -0
  100. package/scripts/shape-codegen-template.tsx +3 -1
  101. package/scripts/spacing-codegen-template.tsx +2 -1
  102. package/scripts/text-codegen-template.tsx +3 -1
  103. package/scripts/typography-codegen-template.tsx +3 -1
  104. package/scripts/utils.tsx +7 -25
  105. package/offerings.json +0 -298
@@ -1,63 +1,2 @@
1
- import { type CSSObject, type SerializedStyles } from '@emotion/react';
2
- import type { Breakpoint } from './types';
3
- /**
4
- * Build a map of breakpoints to css with media queries and nested styles.
5
- *
6
- * @internal Not intended to be used outside of DST at this stage.
7
- * @experimental Not intended to be used outside of DST at this stage.
8
- *
9
- * @example
10
- * A map to build optional `display:none` for consumption on a div.
11
- * ```ts
12
- * const hideMediaQueries = buildAboveMediaQueryCSS({ display: 'none' });
13
- *
14
- * const Component = ({ hideAtBreakpoints: ('xs' | 'sm')[], children: ReactNode }) => {
15
- * return <div css={hideAtBreakpoints.map(b => hideMediaQueries[b])}>{children}</div>;
16
- * }
17
- * ```
18
- *
19
- * This roughly builds a map that will look roughly like this (if done manually):
20
- * ```ts
21
- * {
22
- * xxs: css({ '@media all': { display: 'none' } }),
23
- * xs: css({ '@media (min-width: 30rem)': { display: 'none' } }),
24
- * sm: css({ '@media (min-width: 48rem)': { display: 'none' } }),
25
- * }
26
- * ```
27
- */
28
- export declare const UNSAFE_buildAboveMediaQueryCSS: (
29
- /**
30
- * The desired CSS to place inside of the media query.
31
- * This can either be a css object directly or functional with `breakpoint` as the arg to return a css object.
32
- */
33
- input: CSSObject | ((breakpoint: Breakpoint) => CSSObject)) => Required<Partial<Record<Breakpoint, SerializedStyles>>>;
34
- /**
35
- * Build a map of breakpoints to css with media queries and nested styles.
36
- *
37
- * @internal Not intended to be used outside of DST at this stage.
38
- * @experimental Not intended to be used outside of DST at this stage.
39
- *
40
- * @example
41
- * A map to build optional `display:none` for consumption on a div.
42
- * ```ts
43
- * const hideMediaQueries = buildBelowMediaQueryCSS({ display: 'none' });
44
- *
45
- * const Component = ({ hideAtBreakpoints: ('xs' | 'sm')[], children: ReactNode }) => {
46
- * return <div css={hideAtBreakpoints.map(b => hideMediaQueries[b])}>{children}</div>;
47
- * }
48
- * ```
49
- *
50
- * This roughly builds a map that will look roughly like this (if done manually):
51
- * ```ts
52
- * {
53
- * xs: css({ '@media not all and (min-width: 30rem)': { display: 'none' } }),
54
- * sm: css({ '@media not all and (min-width: 48rem)': { display: 'none' } }),
55
- * }
56
- * ```
57
- */
58
- export declare const UNSAFE_buildBelowMediaQueryCSS: (
59
- /**
60
- * The desired CSS to place inside of the media query.
61
- * This can either be a css object directly or functional with `breakpoint` as the arg to return a css object.
62
- */
63
- input: CSSObject | ((breakpoint: Breakpoint) => CSSObject)) => Required<Partial<Record<Breakpoint, SerializedStyles>>>;
1
+ export { UNSAFE_buildAboveMediaQueryCSS } from './unsafe-build-above-media-query-css';
2
+ export { UNSAFE_buildBelowMediaQueryCSS } from './unsafe-build-below-media-query-css';
@@ -1,38 +1,3 @@
1
- /**
2
- * This is an object of usable media query helpers using our internal breakpoints configuration.
3
- *
4
- * When using Compiled CSS-in-JS, please ensure that only a single declaration can take effect at a time.
5
- * This means that you should avoid multiple breakpoints taking effect at the same time,
6
- * eg. ```{ [media.above.xs]: { color: 'red' }, [media.above.sm]: { color: 'green' }}```.
7
- * Instead, make sure that only one breakpoint can take effect at a time,
8
- * e.g, ```{ [media.only.xs]: { color: 'red' }, [media.above.sm]: { color: 'green' }}```.
9
- * For more details, please see <https://compiledcssinjs.com/docs/atomic-css#selector-specificity>.
10
- */
11
- export declare const media: {
12
- above: {
13
- readonly xxs: "@media all";
14
- readonly xs: "@media (min-width: 30rem)";
15
- readonly sm: "@media (min-width: 48rem)";
16
- readonly md: "@media (min-width: 64rem)";
17
- readonly lg: "@media (min-width: 90rem)";
18
- readonly xl: "@media (min-width: 110.5rem)";
19
- };
20
- only: {
21
- readonly xxs: "@media (min-width: 0rem) and (max-width: 29.99rem)";
22
- readonly xs: "@media (min-width: 30rem) and (max-width: 47.99rem)";
23
- readonly sm: "@media (min-width: 48rem) and (max-width: 63.99rem)";
24
- readonly md: "@media (min-width: 64rem) and (max-width: 89.99rem)";
25
- readonly lg: "@media (min-width: 90rem) and (max-width: 110.49rem)";
26
- readonly xl: "@media (min-width: 110.5rem)";
27
- };
28
- below: {
29
- readonly xs: "@media not all and (min-width: 30rem)";
30
- readonly sm: "@media not all and (min-width: 48rem)";
31
- readonly md: "@media not all and (min-width: 64rem)";
32
- readonly lg: "@media not all and (min-width: 90rem)";
33
- readonly xl: "@media not all and (min-width: 110.5rem)";
34
- };
35
- };
36
1
  /**
37
2
  * Keep `UNSAFE_media` for backwards compatibility.
38
3
  */
@@ -61,3 +26,4 @@ export declare const UNSAFE_media: {
61
26
  readonly xl: '@media not all and (min-width: 110.5rem)';
62
27
  };
63
28
  };
29
+ export { media } from './media';
@@ -0,0 +1,25 @@
1
+ export declare const media: {
2
+ above: {
3
+ readonly xxs: "@media all";
4
+ readonly xs: "@media (min-width: 30rem)";
5
+ readonly sm: "@media (min-width: 48rem)";
6
+ readonly md: "@media (min-width: 64rem)";
7
+ readonly lg: "@media (min-width: 90rem)";
8
+ readonly xl: "@media (min-width: 110.5rem)";
9
+ };
10
+ only: {
11
+ readonly xxs: "@media (min-width: 0rem) and (max-width: 29.99rem)";
12
+ readonly xs: "@media (min-width: 30rem) and (max-width: 47.99rem)";
13
+ readonly sm: "@media (min-width: 48rem) and (max-width: 63.99rem)";
14
+ readonly md: "@media (min-width: 64rem) and (max-width: 89.99rem)";
15
+ readonly lg: "@media (min-width: 90rem) and (max-width: 110.49rem)";
16
+ readonly xl: "@media (min-width: 110.5rem)";
17
+ };
18
+ below: {
19
+ readonly xs: "@media not all and (min-width: 30rem)";
20
+ readonly sm: "@media not all and (min-width: 48rem)";
21
+ readonly md: "@media not all and (min-width: 64rem)";
22
+ readonly lg: "@media not all and (min-width: 90rem)";
23
+ readonly xl: "@media not all and (min-width: 110.5rem)";
24
+ };
25
+ };
@@ -1,5 +1,5 @@
1
1
  import { type SerializedStyles } from '@emotion/react';
2
- import { type media } from './media-helper';
2
+ import type { media } from './media';
3
3
  /**
4
4
  * The breakpoints we have for responsiveness.
5
5
  */
@@ -0,0 +1,33 @@
1
+ import { type CSSObject, type SerializedStyles } from '@emotion/react';
2
+ import type { Breakpoint } from './types';
3
+ /**
4
+ * Build a map of breakpoints to css with media queries and nested styles.
5
+ *
6
+ * @internal Not intended to be used outside of DST at this stage.
7
+ * @experimental Not intended to be used outside of DST at this stage.
8
+ *
9
+ * @example
10
+ * A map to build optional `display:none` for consumption on a div.
11
+ * ```ts
12
+ * const hideMediaQueries = buildAboveMediaQueryCSS({ display: 'none' });
13
+ *
14
+ * const Component = ({ hideAtBreakpoints: ('xs' | 'sm')[], children: ReactNode }) => {
15
+ * return <div css={hideAtBreakpoints.map(b => hideMediaQueries[b])}>{children}</div>;
16
+ * }
17
+ * ```
18
+ *
19
+ * This roughly builds a map that will look roughly like this (if done manually):
20
+ * ```ts
21
+ * {
22
+ * xxs: css({ '@media all': { display: 'none' } }),
23
+ * xs: css({ '@media (min-width: 30rem)': { display: 'none' } }),
24
+ * sm: css({ '@media (min-width: 48rem)': { display: 'none' } }),
25
+ * }
26
+ * ```
27
+ */
28
+ export declare const UNSAFE_buildAboveMediaQueryCSS: (
29
+ /**
30
+ * The desired CSS to place inside of the media query.
31
+ * This can either be a css object directly or functional with `breakpoint` as the arg to return a css object.
32
+ */
33
+ input: CSSObject | ((breakpoint: Breakpoint) => CSSObject)) => Required<Partial<Record<Breakpoint, SerializedStyles>>>;
@@ -0,0 +1,32 @@
1
+ import { type CSSObject, type SerializedStyles } from '@emotion/react';
2
+ import type { Breakpoint } from './types';
3
+ /**
4
+ * Build a map of breakpoints to css with media queries and nested styles.
5
+ *
6
+ * @internal Not intended to be used outside of DST at this stage.
7
+ * @experimental Not intended to be used outside of DST at this stage.
8
+ *
9
+ * @example
10
+ * A map to build optional `display:none` for consumption on a div.
11
+ * ```ts
12
+ * const hideMediaQueries = buildBelowMediaQueryCSS({ display: 'none' });
13
+ *
14
+ * const Component = ({ hideAtBreakpoints: ('xs' | 'sm')[], children: ReactNode }) => {
15
+ * return <div css={hideAtBreakpoints.map(b => hideMediaQueries[b])}>{children}</div>;
16
+ * }
17
+ * ```
18
+ *
19
+ * This roughly builds a map that will look roughly like this (if done manually):
20
+ * ```ts
21
+ * {
22
+ * xs: css({ '@media not all and (min-width: 30rem)': { display: 'none' } }),
23
+ * sm: css({ '@media not all and (min-width: 48rem)': { display: 'none' } }),
24
+ * }
25
+ * ```
26
+ */
27
+ export declare const UNSAFE_buildBelowMediaQueryCSS: (
28
+ /**
29
+ * The desired CSS to place inside of the media query.
30
+ * This can either be a css object directly or functional with `breakpoint` as the arg to return a css object.
31
+ */
32
+ input: CSSObject | ((breakpoint: Breakpoint) => CSSObject)) => Required<Partial<Record<Breakpoint, SerializedStyles>>>;
@@ -0,0 +1,8 @@
1
+ import { type Context } from 'react';
2
+ import type { BackgroundColorToken } from './types';
3
+ /**
4
+ * __Surface context__
5
+ *
6
+ * A surface context provides context information on the current background (if set).
7
+ */
8
+ export declare const SurfaceContext: Context<BackgroundColorToken>;
@@ -1,11 +1,4 @@
1
- import { type Context } from 'react';
2
1
  import type { BackgroundColorToken } from './types';
3
- /**
4
- * __Surface context__
5
- *
6
- * A surface context provides context information on the current background (if set).
7
- */
8
- export declare const SurfaceContext: Context<BackgroundColorToken>;
9
2
  /**
10
3
  * __useSurface__
11
4
  *
@@ -14,3 +7,4 @@ export declare const SurfaceContext: Context<BackgroundColorToken>;
14
7
  * @see SurfaceContext
15
8
  */
16
9
  export declare const useSurface: () => BackgroundColorToken;
10
+ export { SurfaceContext } from './surface-context';
@@ -3,4 +3,4 @@
3
3
  * as we typically want to remove these from allowed elements.
4
4
  */
5
5
  export type SVGElements = 'svg' | 'animate' | 'animateMotion' | 'animateTransform' | 'circle' | 'clipPath' | 'defs' | 'desc' | 'ellipse' | 'feBlend' | 'feColorMatrix' | 'feComponentTransfer' | 'feComposite' | 'feConvolveMatrix' | 'feDiffuseLighting' | 'feDisplacementMap' | 'feDistantLight' | 'feDropShadow' | 'feFlood' | 'feFuncA' | 'feFuncB' | 'feFuncG' | 'feFuncR' | 'feGaussianBlur' | 'feImage' | 'feMerge' | 'feMergeNode' | 'feMorphology' | 'feOffset' | 'fePointLight' | 'feSpecularLighting' | 'feSpotLight' | 'feTile' | 'feTurbulence' | 'filter' | 'foreignObject' | 'g' | 'image' | 'line' | 'linearGradient' | 'marker' | 'mask' | 'metadata' | 'mpath' | 'path' | 'pattern' | 'polygon' | 'polyline' | 'radialGradient' | 'rect' | 'stop' | 'switch' | 'symbol' | 'text' | 'textPath' | 'tspan' | 'use' | 'view';
6
- export type BackgroundColorToken = 'color.background.accent.lime.subtlest' | 'color.background.accent.lime.subtlest.hovered' | 'color.background.accent.lime.subtlest.pressed' | 'color.background.accent.lime.subtler' | 'color.background.accent.lime.subtler.hovered' | 'color.background.accent.lime.subtler.pressed' | 'color.background.accent.lime.subtle' | 'color.background.accent.lime.subtle.hovered' | 'color.background.accent.lime.subtle.pressed' | 'color.background.accent.lime.bolder' | 'color.background.accent.lime.bolder.hovered' | 'color.background.accent.lime.bolder.pressed' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtlest.hovered' | 'color.background.accent.red.subtlest.pressed' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtler.hovered' | 'color.background.accent.red.subtler.pressed' | 'color.background.accent.red.subtle' | 'color.background.accent.red.subtle.hovered' | 'color.background.accent.red.subtle.pressed' | 'color.background.accent.red.bolder' | 'color.background.accent.red.bolder.hovered' | 'color.background.accent.red.bolder.pressed' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtlest.hovered' | 'color.background.accent.orange.subtlest.pressed' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtler.hovered' | 'color.background.accent.orange.subtler.pressed' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.subtle.hovered' | 'color.background.accent.orange.subtle.pressed' | 'color.background.accent.orange.bolder' | 'color.background.accent.orange.bolder.hovered' | 'color.background.accent.orange.bolder.pressed' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtlest.hovered' | 'color.background.accent.yellow.subtlest.pressed' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtler.hovered' | 'color.background.accent.yellow.subtler.pressed' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.subtle.hovered' | 'color.background.accent.yellow.subtle.pressed' | 'color.background.accent.yellow.bolder' | 'color.background.accent.yellow.bolder.hovered' | 'color.background.accent.yellow.bolder.pressed' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtlest.hovered' | 'color.background.accent.green.subtlest.pressed' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtler.hovered' | 'color.background.accent.green.subtler.pressed' | 'color.background.accent.green.subtle' | 'color.background.accent.green.subtle.hovered' | 'color.background.accent.green.subtle.pressed' | 'color.background.accent.green.bolder' | 'color.background.accent.green.bolder.hovered' | 'color.background.accent.green.bolder.pressed' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtlest.hovered' | 'color.background.accent.teal.subtlest.pressed' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtler.hovered' | 'color.background.accent.teal.subtler.pressed' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.subtle.hovered' | 'color.background.accent.teal.subtle.pressed' | 'color.background.accent.teal.bolder' | 'color.background.accent.teal.bolder.hovered' | 'color.background.accent.teal.bolder.pressed' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtlest.hovered' | 'color.background.accent.blue.subtlest.pressed' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtler.hovered' | 'color.background.accent.blue.subtler.pressed' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.subtle.hovered' | 'color.background.accent.blue.subtle.pressed' | 'color.background.accent.blue.bolder' | 'color.background.accent.blue.bolder.hovered' | 'color.background.accent.blue.bolder.pressed' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtlest.hovered' | 'color.background.accent.purple.subtlest.pressed' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtler.hovered' | 'color.background.accent.purple.subtler.pressed' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.subtle.hovered' | 'color.background.accent.purple.subtle.pressed' | 'color.background.accent.purple.bolder' | 'color.background.accent.purple.bolder.hovered' | 'color.background.accent.purple.bolder.pressed' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtlest.hovered' | 'color.background.accent.magenta.subtlest.pressed' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtler.hovered' | 'color.background.accent.magenta.subtler.pressed' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.subtle.hovered' | 'color.background.accent.magenta.subtle.pressed' | 'color.background.accent.magenta.bolder' | 'color.background.accent.magenta.bolder.hovered' | 'color.background.accent.magenta.bolder.pressed' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtlest.hovered' | 'color.background.accent.gray.subtlest.pressed' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtler.hovered' | 'color.background.accent.gray.subtler.pressed' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.subtle.hovered' | 'color.background.accent.gray.subtle.pressed' | 'color.background.accent.gray.bolder' | 'color.background.accent.gray.bolder.hovered' | 'color.background.accent.gray.bolder.pressed' | 'color.background.disabled' | 'color.background.input' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.inverse.subtle' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.neutral' | 'color.background.neutral.hovered' | 'color.background.neutral.pressed' | 'color.background.neutral.subtle' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.selected' | 'color.background.selected.hovered' | 'color.background.selected.pressed' | 'color.background.selected.bold' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.brand.subtlest' | 'color.background.brand.subtlest.hovered' | 'color.background.brand.subtlest.pressed' | 'color.background.brand.bold' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.brand.boldest' | 'color.background.brand.boldest.hovered' | 'color.background.brand.boldest.pressed' | 'color.background.danger' | 'color.background.danger.hovered' | 'color.background.danger.pressed' | 'color.background.danger.subtler' | 'color.background.danger.subtler.hovered' | 'color.background.danger.subtler.pressed' | 'color.background.danger.bold' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning' | 'color.background.warning.hovered' | 'color.background.warning.pressed' | 'color.background.warning.subtler' | 'color.background.warning.subtler.hovered' | 'color.background.warning.subtler.pressed' | 'color.background.warning.bold' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success' | 'color.background.success.hovered' | 'color.background.success.pressed' | 'color.background.success.subtler' | 'color.background.success.subtler.hovered' | 'color.background.success.subtler.pressed' | 'color.background.success.bold' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery' | 'color.background.discovery.hovered' | 'color.background.discovery.pressed' | 'color.background.discovery.subtler' | 'color.background.discovery.subtler.hovered' | 'color.background.discovery.subtler.pressed' | 'color.background.discovery.bold' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information' | 'color.background.information.hovered' | 'color.background.information.pressed' | 'color.background.information.subtler' | 'color.background.information.subtler.hovered' | 'color.background.information.subtler.pressed' | 'color.background.information.bold' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.skeleton' | 'color.skeleton.subtle' | 'elevation.surface' | 'elevation.surface.hovered' | 'elevation.surface.pressed' | 'elevation.surface.overlay' | 'elevation.surface.overlay.hovered' | 'elevation.surface.overlay.pressed' | 'elevation.surface.raised' | 'elevation.surface.raised.hovered' | 'elevation.surface.raised.pressed' | 'elevation.surface.sunken' | 'utility.elevation.surface.current';
6
+ export type BackgroundColorToken = 'color.background.accent.lime.subtlest' | 'color.background.accent.lime.subtlest.hovered' | 'color.background.accent.lime.subtlest.pressed' | 'color.background.accent.lime.subtler' | 'color.background.accent.lime.subtler.hovered' | 'color.background.accent.lime.subtler.pressed' | 'color.background.accent.lime.subtle' | 'color.background.accent.lime.subtle.hovered' | 'color.background.accent.lime.subtle.pressed' | 'color.background.accent.lime.bolder' | 'color.background.accent.lime.bolder.hovered' | 'color.background.accent.lime.bolder.pressed' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtlest.hovered' | 'color.background.accent.red.subtlest.pressed' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtler.hovered' | 'color.background.accent.red.subtler.pressed' | 'color.background.accent.red.subtle' | 'color.background.accent.red.subtle.hovered' | 'color.background.accent.red.subtle.pressed' | 'color.background.accent.red.bolder' | 'color.background.accent.red.bolder.hovered' | 'color.background.accent.red.bolder.pressed' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtlest.hovered' | 'color.background.accent.orange.subtlest.pressed' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtler.hovered' | 'color.background.accent.orange.subtler.pressed' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.subtle.hovered' | 'color.background.accent.orange.subtle.pressed' | 'color.background.accent.orange.bolder' | 'color.background.accent.orange.bolder.hovered' | 'color.background.accent.orange.bolder.pressed' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtlest.hovered' | 'color.background.accent.yellow.subtlest.pressed' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtler.hovered' | 'color.background.accent.yellow.subtler.pressed' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.subtle.hovered' | 'color.background.accent.yellow.subtle.pressed' | 'color.background.accent.yellow.bolder' | 'color.background.accent.yellow.bolder.hovered' | 'color.background.accent.yellow.bolder.pressed' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtlest.hovered' | 'color.background.accent.green.subtlest.pressed' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtler.hovered' | 'color.background.accent.green.subtler.pressed' | 'color.background.accent.green.subtle' | 'color.background.accent.green.subtle.hovered' | 'color.background.accent.green.subtle.pressed' | 'color.background.accent.green.bolder' | 'color.background.accent.green.bolder.hovered' | 'color.background.accent.green.bolder.pressed' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtlest.hovered' | 'color.background.accent.teal.subtlest.pressed' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtler.hovered' | 'color.background.accent.teal.subtler.pressed' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.subtle.hovered' | 'color.background.accent.teal.subtle.pressed' | 'color.background.accent.teal.bolder' | 'color.background.accent.teal.bolder.hovered' | 'color.background.accent.teal.bolder.pressed' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtlest.hovered' | 'color.background.accent.blue.subtlest.pressed' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtler.hovered' | 'color.background.accent.blue.subtler.pressed' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.subtle.hovered' | 'color.background.accent.blue.subtle.pressed' | 'color.background.accent.blue.bolder' | 'color.background.accent.blue.bolder.hovered' | 'color.background.accent.blue.bolder.pressed' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtlest.hovered' | 'color.background.accent.purple.subtlest.pressed' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtler.hovered' | 'color.background.accent.purple.subtler.pressed' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.subtle.hovered' | 'color.background.accent.purple.subtle.pressed' | 'color.background.accent.purple.bolder' | 'color.background.accent.purple.bolder.hovered' | 'color.background.accent.purple.bolder.pressed' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtlest.hovered' | 'color.background.accent.magenta.subtlest.pressed' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtler.hovered' | 'color.background.accent.magenta.subtler.pressed' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.subtle.hovered' | 'color.background.accent.magenta.subtle.pressed' | 'color.background.accent.magenta.bolder' | 'color.background.accent.magenta.bolder.hovered' | 'color.background.accent.magenta.bolder.pressed' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtlest.hovered' | 'color.background.accent.gray.subtlest.pressed' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtler.hovered' | 'color.background.accent.gray.subtler.pressed' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.subtle.hovered' | 'color.background.accent.gray.subtle.pressed' | 'color.background.accent.gray.bolder' | 'color.background.accent.gray.bolder.hovered' | 'color.background.accent.gray.bolder.pressed' | 'color.background.disabled' | 'color.background.input' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.inverse.subtle' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.neutral' | 'color.background.neutral.hovered' | 'color.background.neutral.pressed' | 'color.background.neutral.subtle' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.selected' | 'color.background.selected.hovered' | 'color.background.selected.pressed' | 'color.background.selected.bold' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.brand.subtlest' | 'color.background.brand.subtlest.hovered' | 'color.background.brand.subtlest.pressed' | 'color.background.brand.bold' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.brand.boldest' | 'color.background.brand.boldest.hovered' | 'color.background.brand.boldest.pressed' | 'color.background.danger' | 'color.background.danger.hovered' | 'color.background.danger.pressed' | 'color.background.danger.subtler' | 'color.background.danger.subtler.hovered' | 'color.background.danger.subtler.pressed' | 'color.background.danger.subtle' | 'color.background.danger.bold' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning' | 'color.background.warning.hovered' | 'color.background.warning.pressed' | 'color.background.warning.subtler' | 'color.background.warning.subtler.hovered' | 'color.background.warning.subtler.pressed' | 'color.background.warning.subtle' | 'color.background.warning.bold' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success' | 'color.background.success.hovered' | 'color.background.success.pressed' | 'color.background.success.subtler' | 'color.background.success.subtler.hovered' | 'color.background.success.subtler.pressed' | 'color.background.success.subtle' | 'color.background.success.bold' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery' | 'color.background.discovery.hovered' | 'color.background.discovery.pressed' | 'color.background.discovery.subtler' | 'color.background.discovery.subtler.hovered' | 'color.background.discovery.subtler.pressed' | 'color.background.discovery.subtle' | 'color.background.discovery.bold' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information' | 'color.background.information.hovered' | 'color.background.information.pressed' | 'color.background.information.subtler' | 'color.background.information.subtler.hovered' | 'color.background.information.subtler.pressed' | 'color.background.information.subtle' | 'color.background.information.bold' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.skeleton' | 'color.skeleton.subtle' | 'elevation.surface' | 'elevation.surface.hovered' | 'elevation.surface.pressed' | 'elevation.surface.overlay' | 'elevation.surface.overlay.hovered' | 'elevation.surface.overlay.pressed' | 'elevation.surface.raised' | 'elevation.surface.raised.hovered' | 'elevation.surface.raised.pressed' | 'elevation.surface.sunken' | 'utility.elevation.surface.current';
@@ -90,10 +90,10 @@ export type AllSpace = keyof typeof allSpaceMap;
90
90
  */
91
91
  /**
92
92
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
93
- * @codegen <<SignedSource::cefa2c59e15e6a3749ef38fa86c6adea>>
93
+ * @codegen <<SignedSource::5181bd08725ac44b53e0ae9f914067c1>>
94
94
  * @codegenId inverse-colors
95
95
  * @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
96
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::38a7d4716f6999a6bdda9e4fe2bca6a1>>
96
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::3c254494d015dde7566fc7c46750adf2>>
97
97
  */
98
98
  export declare const inverseColorMap: {
99
99
  'color.background.neutral.bold': 'color.text.inverse';
@@ -129,11 +129,11 @@ export declare const inverseColorMap: {
129
129
  */
130
130
  /**
131
131
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
132
- * @codegen <<SignedSource::c673d53a0a31524e65f1c7051579eae5>>
132
+ * @codegen <<SignedSource::54e9dee77c5da7d77db6b6cb20970356>>
133
133
  * @codegenId elevation
134
134
  * @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
135
135
  * @codegenParams ["opacity", "shadow", "surface"]
136
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::38a7d4716f6999a6bdda9e4fe2bca6a1>>
136
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::3c254494d015dde7566fc7c46750adf2>>
137
137
  */
138
138
  export declare const opacityMap: {
139
139
  'opacity.disabled': 'var(--ds-opacity-disabled)';
@@ -166,24 +166,34 @@ export type SurfaceColor = keyof typeof surfaceColorMap;
166
166
  */
167
167
  /**
168
168
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
169
- * @codegen <<SignedSource::fa88ed1ec5a817750b0348ca36dbb5f1>>
169
+ * @codegen <<SignedSource::5fd7f92fbc474ab0beacc4e06dad8fca>>
170
170
  * @codegenId colors
171
171
  * @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
172
172
  * @codegenParams ["border", "background", "text", "fill"]
173
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::38a7d4716f6999a6bdda9e4fe2bca6a1>>
173
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::3c254494d015dde7566fc7c46750adf2>>
174
174
  */
175
175
  export declare const borderColorMap: {
176
176
  'color.border': 'var(--ds-border)';
177
177
  'color.border.accent.lime': 'var(--ds-border-accent-lime)';
178
+ 'color.border.accent.lime.subtle': 'var(--ds-border-accent-lime-subtle)';
178
179
  'color.border.accent.red': 'var(--ds-border-accent-red)';
180
+ 'color.border.accent.red.subtle': 'var(--ds-border-accent-red-subtle)';
179
181
  'color.border.accent.orange': 'var(--ds-border-accent-orange)';
182
+ 'color.border.accent.orange.subtle': 'var(--ds-border-accent-orange-subtle)';
180
183
  'color.border.accent.yellow': 'var(--ds-border-accent-yellow)';
184
+ 'color.border.accent.yellow.subtle': 'var(--ds-border-accent-yellow-subtle)';
181
185
  'color.border.accent.green': 'var(--ds-border-accent-green)';
186
+ 'color.border.accent.green.subtle': 'var(--ds-border-accent-green-subtle)';
182
187
  'color.border.accent.teal': 'var(--ds-border-accent-teal)';
188
+ 'color.border.accent.teal.subtle': 'var(--ds-border-accent-teal-subtle)';
183
189
  'color.border.accent.blue': 'var(--ds-border-accent-blue)';
190
+ 'color.border.accent.blue.subtle': 'var(--ds-border-accent-blue-subtle)';
184
191
  'color.border.accent.purple': 'var(--ds-border-accent-purple)';
192
+ 'color.border.accent.purple.subtle': 'var(--ds-border-accent-purple-subtle)';
185
193
  'color.border.accent.magenta': 'var(--ds-border-accent-magenta)';
194
+ 'color.border.accent.magenta.subtle': 'var(--ds-border-accent-magenta-subtle)';
186
195
  'color.border.accent.gray': 'var(--ds-border-accent-gray)';
196
+ 'color.border.accent.gray.subtle': 'var(--ds-border-accent-gray-subtle)';
187
197
  'color.border.disabled': 'var(--ds-border-disabled)';
188
198
  'color.border.focused': 'var(--ds-border-focused)';
189
199
  'color.border.input': 'var(--ds-border-input)';
@@ -191,10 +201,15 @@ export declare const borderColorMap: {
191
201
  'color.border.selected': 'var(--ds-border-selected)';
192
202
  'color.border.brand': 'var(--ds-border-brand)';
193
203
  'color.border.danger': 'var(--ds-border-danger)';
204
+ 'color.border.danger.subtle': 'var(--ds-border-danger-subtle)';
194
205
  'color.border.warning': 'var(--ds-border-warning)';
206
+ 'color.border.warning.subtle': 'var(--ds-border-warning-subtle)';
195
207
  'color.border.success': 'var(--ds-border-success)';
208
+ 'color.border.success.subtle': 'var(--ds-border-success-subtle)';
196
209
  'color.border.discovery': 'var(--ds-border-discovery)';
210
+ 'color.border.discovery.subtle': 'var(--ds-border-discovery-subtle)';
197
211
  'color.border.information': 'var(--ds-border-information)';
212
+ 'color.border.information.subtle': 'var(--ds-border-information-subtle)';
198
213
  'color.border.bold': 'var(--ds-border-bold)';
199
214
  };
200
215
  export type BorderColor = keyof typeof borderColorMap;
@@ -356,6 +371,7 @@ export declare const backgroundColorMap: {
356
371
  'color.background.danger.subtler': 'var(--ds-background-danger-subtler)';
357
372
  'color.background.danger.subtler.hovered': 'var(--ds-background-danger-subtler-hovered)';
358
373
  'color.background.danger.subtler.pressed': 'var(--ds-background-danger-subtler-pressed)';
374
+ 'color.background.danger.subtle': 'var(--ds-background-danger-subtle)';
359
375
  'color.background.danger.bold': 'var(--ds-background-danger-bold)';
360
376
  'color.background.danger.bold.hovered': 'var(--ds-background-danger-bold-hovered)';
361
377
  'color.background.danger.bold.pressed': 'var(--ds-background-danger-bold-pressed)';
@@ -365,6 +381,7 @@ export declare const backgroundColorMap: {
365
381
  'color.background.warning.subtler': 'var(--ds-background-warning-subtler)';
366
382
  'color.background.warning.subtler.hovered': 'var(--ds-background-warning-subtler-hovered)';
367
383
  'color.background.warning.subtler.pressed': 'var(--ds-background-warning-subtler-pressed)';
384
+ 'color.background.warning.subtle': 'var(--ds-background-warning-subtle)';
368
385
  'color.background.warning.bold': 'var(--ds-background-warning-bold)';
369
386
  'color.background.warning.bold.hovered': 'var(--ds-background-warning-bold-hovered)';
370
387
  'color.background.warning.bold.pressed': 'var(--ds-background-warning-bold-pressed)';
@@ -374,6 +391,7 @@ export declare const backgroundColorMap: {
374
391
  'color.background.success.subtler': 'var(--ds-background-success-subtler)';
375
392
  'color.background.success.subtler.hovered': 'var(--ds-background-success-subtler-hovered)';
376
393
  'color.background.success.subtler.pressed': 'var(--ds-background-success-subtler-pressed)';
394
+ 'color.background.success.subtle': 'var(--ds-background-success-subtle)';
377
395
  'color.background.success.bold': 'var(--ds-background-success-bold)';
378
396
  'color.background.success.bold.hovered': 'var(--ds-background-success-bold-hovered)';
379
397
  'color.background.success.bold.pressed': 'var(--ds-background-success-bold-pressed)';
@@ -383,6 +401,7 @@ export declare const backgroundColorMap: {
383
401
  'color.background.discovery.subtler': 'var(--ds-background-discovery-subtler)';
384
402
  'color.background.discovery.subtler.hovered': 'var(--ds-background-discovery-subtler-hovered)';
385
403
  'color.background.discovery.subtler.pressed': 'var(--ds-background-discovery-subtler-pressed)';
404
+ 'color.background.discovery.subtle': 'var(--ds-background-discovery-subtle)';
386
405
  'color.background.discovery.bold': 'var(--ds-background-discovery-bold)';
387
406
  'color.background.discovery.bold.hovered': 'var(--ds-background-discovery-bold-hovered)';
388
407
  'color.background.discovery.bold.pressed': 'var(--ds-background-discovery-bold-pressed)';
@@ -392,6 +411,7 @@ export declare const backgroundColorMap: {
392
411
  'color.background.information.subtler': 'var(--ds-background-information-subtler)';
393
412
  'color.background.information.subtler.hovered': 'var(--ds-background-information-subtler-hovered)';
394
413
  'color.background.information.subtler.pressed': 'var(--ds-background-information-subtler-pressed)';
414
+ 'color.background.information.subtle': 'var(--ds-background-information-subtle)';
395
415
  'color.background.information.bold': 'var(--ds-background-information-bold)';
396
416
  'color.background.information.bold.hovered': 'var(--ds-background-information-bold-hovered)';
397
417
  'color.background.information.bold.pressed': 'var(--ds-background-information-bold-pressed)';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/primitives",
3
- "version": "19.0.0",
3
+ "version": "19.0.2",
4
4
  "description": "Primitives are token-backed low-level building blocks.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -139,13 +139,13 @@
139
139
  "codegen-styles": "ts-node -r tsconfig-paths/register ./scripts/codegen-styles.tsx"
140
140
  },
141
141
  "dependencies": {
142
- "@atlaskit/analytics-next": "^11.2.0",
143
- "@atlaskit/app-provider": "^4.2.0",
142
+ "@atlaskit/analytics-next": "^11.3.0",
143
+ "@atlaskit/app-provider": "^4.3.0",
144
144
  "@atlaskit/css": "^0.19.0",
145
145
  "@atlaskit/ds-lib": "^7.0.0",
146
146
  "@atlaskit/interaction-context": "^3.1.0",
147
- "@atlaskit/tokens": "^13.0.0",
148
- "@atlaskit/visually-hidden": "^3.0.0",
147
+ "@atlaskit/tokens": "^13.2.0",
148
+ "@atlaskit/visually-hidden": "^3.1.0",
149
149
  "@babel/runtime": "^7.0.0",
150
150
  "@compiled/react": "^0.20.0",
151
151
  "@emotion/react": "^11.7.1",
@@ -161,29 +161,29 @@
161
161
  "@af/formatting": "workspace:^",
162
162
  "@af/integration-testing": "workspace:^",
163
163
  "@af/visual-regression": "workspace:^",
164
- "@atlaskit/avatar": "^25.11.0",
164
+ "@atlaskit/avatar": "^25.15.0",
165
165
  "@atlaskit/button": "^23.11.0",
166
166
  "@atlaskit/checkbox": "^17.3.0",
167
- "@atlaskit/code": "^17.4.0",
168
- "@atlaskit/docs": "^11.7.0",
169
- "@atlaskit/dropdown-menu": "^16.8.0",
170
- "@atlaskit/flag": "^17.9.0",
167
+ "@atlaskit/code": "^17.5.0",
168
+ "@atlaskit/docs": "^11.8.0",
169
+ "@atlaskit/dropdown-menu": "^16.10.0",
170
+ "@atlaskit/flag": "^17.12.0",
171
171
  "@atlaskit/form": "^15.5.0",
172
172
  "@atlaskit/heading": "^5.4.0",
173
- "@atlaskit/icon": "^34.0.0",
174
- "@atlaskit/icon-object": "^7.5.0",
173
+ "@atlaskit/icon": "^35.4.0",
175
174
  "@atlaskit/image": "^3.0.0",
176
175
  "@atlaskit/link": "^3.4.0",
177
- "@atlaskit/logo": "^20.0.0",
178
- "@atlaskit/lozenge": "^13.6.0",
179
- "@atlaskit/motion": "^5.6.0",
180
- "@atlaskit/range": "^10.0.0",
181
- "@atlaskit/section-message": "^8.12.0",
176
+ "@atlaskit/logo": "^20.2.0",
177
+ "@atlaskit/lozenge": "^13.8.0",
178
+ "@atlaskit/motion": "^6.2.0",
179
+ "@atlaskit/object": "^1.0.0",
180
+ "@atlaskit/range": "^10.1.0",
181
+ "@atlaskit/section-message": "^8.13.0",
182
182
  "@atlaskit/textfield": "^8.3.0",
183
- "@atlaskit/toggle": "^15.5.0",
184
- "@atlaskit/tooltip": "^21.1.0",
183
+ "@atlaskit/toggle": "^16.1.0",
184
+ "@atlaskit/tooltip": "^22.6.0",
185
185
  "@atlassian/analytics-bridge": "^0.8.0",
186
- "@atlassian/codegen": "^0.1.0",
186
+ "@atlassian/codegen": "^0.2.0",
187
187
  "@atlassian/react-compiler-gating": "workspace:^",
188
188
  "@atlassian/ssr-tests": "workspace:^",
189
189
  "@atlassian/structured-docs-types": "workspace:^",
@@ -191,35 +191,11 @@
191
191
  "@testing-library/user-event": "^14.4.3",
192
192
  "csstype": "^3.1.0",
193
193
  "jscodeshift": "^17.0.0",
194
+ "react": "^18.2.0",
194
195
  "react-dom": "^18.2.0",
195
196
  "react-resource-router": "^0.20.0",
196
197
  "ts-node": "^10.9.1"
197
198
  },
198
- "techstack": {
199
- "@atlassian/frontend": {
200
- "import-structure": [
201
- "atlassian-conventions"
202
- ],
203
- "circular-dependencies": "file-and-folder-level"
204
- },
205
- "@repo/internal": {
206
- "design-system": "v1",
207
- "dom-events": "use-bind-event-listener",
208
- "analytics": "analytics-next",
209
- "ui-components": [
210
- "lite-mode"
211
- ],
212
- "deprecation": "no-deprecated-imports",
213
- "styling": [
214
- "static",
215
- "emotion"
216
- ],
217
- "design-tokens": [
218
- "color",
219
- "spacing"
220
- ]
221
- }
222
- },
223
199
  "homepage": "https://atlassian.design/components/primitives/overview/",
224
200
  "typesVersions": {
225
201
  ">=4.5 <4.9": {