@atlaskit/tokens 1.59.0 → 1.59.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/tokens
2
2
 
3
+ ## 1.59.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#133730](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/133730)
8
+ [`1e7250bf14d57`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1e7250bf14d57) -
9
+ Added experimental `typography-refreshed` theme
10
+
3
11
  ## 1.59.0
4
12
 
5
13
  ### Minor Changes
@@ -121,7 +121,7 @@ export interface ThemeState {
121
121
  contrastMode: ThemeContrastModes;
122
122
  shape?: Extract<ThemeIds, 'shape'>;
123
123
  spacing: Extract<ThemeIds, 'spacing'>;
124
- typography?: Extract<ThemeIds, 'typography' | 'typography-adg3' | 'typography-modernized'>;
124
+ typography?: Extract<ThemeIds, 'typography' | 'typography-adg3' | 'typography-modernized' | 'typography-refreshed'>;
125
125
  UNSAFE_themeOptions?: ThemeOptionsSchema;
126
126
  }
127
127
  /**
@@ -162,7 +162,7 @@ export interface ThemeState {
162
162
  contrastMode: ThemeContrastModes;
163
163
  shape?: Extract<ThemeIds, 'shape'>;
164
164
  spacing: Extract<ThemeIds, 'spacing'>;
165
- typography?: Extract<ThemeIds, 'typography' | 'typography-adg3' | 'typography-modernized'>;
165
+ typography?: Extract<ThemeIds, 'typography' | 'typography-adg3' | 'typography-modernized' | 'typography-refreshed'>;
166
166
  UNSAFE_themeOptions?: ThemeOptionsSchema;
167
167
  }
168
168
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "1.59.0",
3
+ "version": "1.59.1",
4
4
  "description": "Design tokens are the single source of truth to name and store design decisions.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,7 +32,7 @@
32
32
  "prebuilt": "yes | cp -R $(npx repo-root)/packages/design-system/tokens/dist/cjs/* $(npx repo-root)/packages/design-system/tokens/prebuilt/",
33
33
  "ak-postbuild": "yarn prebuilt && (cd $(npx repo-root) && yarn build @atlassian/codegen -d cjs,esm,es2019) && yarn workspace @atlaskit/tokens codegen-tokens && yarn workspace @atlaskit/tokens check-clean-git",
34
34
  "check-clean-git": "git diff --exit-code -- packages/design-system/tokens/ || (echo 'tokens are out of date, run yarn build tokens' && false)",
35
- "codegen-tokens": "ts-node --project $(npx repo-root)/tsconfig.node.json ./scripts/style-dictionary/build && cd $(npx repo-root)/packages/design-system/primitives && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/ds-explorations && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/heading && yarn codegen"
35
+ "codegen-tokens": "run-ts ./scripts/style-dictionary/build.tsx && cd $(npx repo-root)/packages/design-system/primitives && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/ds-explorations && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/heading && yarn codegen"
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/ds-lib": "^2.5.0",
@@ -57,6 +57,7 @@
57
57
  "@atlaskit/visual-regression": "*",
58
58
  "@atlassian/codegen": "^0.1.0",
59
59
  "@atlassian/feature-flags-test-utils": "*",
60
+ "@atlassian/ts-loader": "*",
60
61
  "@babel/core": "^7.20.0",
61
62
  "@emotion/react": "^11.7.1",
62
63
  "@hypermod/utils": "^0.4.2",
@@ -80,7 +81,6 @@
80
81
  "react-window": "^1.8.8",
81
82
  "recharts": "^1.8.5",
82
83
  "style-dictionary": "^3.8.0",
83
- "ts-node": "^10.9.1",
84
84
  "typescript": "~5.4.2"
85
85
  },
86
86
  "techstack": {