diff --git a/.github/workflows/chromatic-label.yml b/.github/workflows/chromatic-label.yml
index b6e00c88..48d6ad24 100644
--- a/.github/workflows/chromatic-label.yml
+++ b/.github/workflows/chromatic-label.yml
@@ -6,6 +6,8 @@ jobs:
name: Run visual regression tests with chromatic (label triggered)
if: ${{ contains(github.event.pull_request.labels.*.name, 'snapshot') }}
runs-on: ubuntu-latest
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml
index d869756c..86b0ca53 100644
--- a/.github/workflows/chromatic.yml
+++ b/.github/workflows/chromatic.yml
@@ -10,6 +10,8 @@ jobs:
snapshot:
name: Run visual regression tests with chromatic
runs-on: ubuntu-latest
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
diff --git a/.github/workflows/publish-lerna.yml b/.github/workflows/publish-lerna.yml
index 5d635e5e..d39118c0 100644
--- a/.github/workflows/publish-lerna.yml
+++ b/.github/workflows/publish-lerna.yml
@@ -9,6 +9,8 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-latest
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v1
- name: Dump GitHub context
@@ -22,7 +24,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: "${{ steps.nvm.outputs.nvmrc }}"
- registry-url: https://registry.npmjs.org/
+ registry-url: https://npm.pkg.github.com
- uses: actions/cache@v4
with:
path: ~/.cache/yarn
@@ -35,5 +37,3 @@ jobs:
run: yarn bootstrap
- name: Publish
run: yarn lerna:publish
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
diff --git a/.github/workflows/publish-mainline.yml b/.github/workflows/publish-mainline.yml
index cee8c913..307600ed 100644
--- a/.github/workflows/publish-mainline.yml
+++ b/.github/workflows/publish-mainline.yml
@@ -9,6 +9,8 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-latest
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v1
- name: Dump GitHub context
@@ -22,7 +24,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: "${{ steps.nvm.outputs.nvmrc }}"
- registry-url: https://registry.npmjs.org/
+ registry-url: https://npm.pkg.github.com
- uses: actions/cache@v4
with:
path: ~/.cache/yarn
@@ -37,5 +39,3 @@ jobs:
run: |
cd packages/flame
node ./scripts/check-changed.js && yarn build && yarn build:docgen && npm publish ./dist --quiet || exit 0
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0ff6d655..b08d0033 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -10,6 +10,8 @@ jobs:
build:
name: Test, lint, typecheck
runs-on: ubuntu-latest
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@master
- name: Read .nvmrc
diff --git a/.npmrc b/.npmrc
index 6f73a690..4589833c 100644
--- a/.npmrc
+++ b/.npmrc
@@ -1,3 +1,4 @@
init-author-name=Lightspeed
init-author-url=https://lightspeedhq.com
-registry=https://registry.npmjs.org/
+@lightspeed:registry=https://npm.pkg.github.com
+//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
diff --git a/.storybook/addons/theme-switcher/register.js b/.storybook/addons/theme-switcher/register.js
index c5e4dc27..21c42238 100644
--- a/.storybook/addons/theme-switcher/register.js
+++ b/.storybook/addons/theme-switcher/register.js
@@ -44,6 +44,18 @@ const ThemeSwitcher = () => {
/>
Lightspeed (Old theme)
+
+
);
diff --git a/.yarnrc.yml b/.yarnrc.yml
index 3186f3f0..ca218b88 100644
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -1 +1,6 @@
nodeLinker: node-modules
+
+npmScopes:
+ lightspeed:
+ npmAuthToken: '${GITHUB_TOKEN}'
+ npmRegistryServer: 'https://npm.pkg.github.com'
diff --git a/lerna.json b/lerna.json
index c304ff32..806a6172 100644
--- a/lerna.json
+++ b/lerna.json
@@ -4,7 +4,7 @@
"version": "independent",
"command": {
"publish": {
- "allowBranch": ["master", "next", "LSPAY-33449"],
+ "allowBranch": ["master", "next", "LSPAY-34879"],
"ignoreChanges": [
"**/story.js",
"**/story.tsx",
diff --git a/packages/flame-tokens/CHANGELOG.md b/packages/flame-tokens/CHANGELOG.md
index 975a6d03..93860657 100644
--- a/packages/flame-tokens/CHANGELOG.md
+++ b/packages/flame-tokens/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Refer to the [CONTRIBUTING guide](https://github.com/lightspeed/flame/blob/master/.github/CONTRIBUTING.md) for more info.
+## 2.0.0-helios.1 - 2025-11-24
+
+- Version bump because lerna
+
## 2.0.0-alpha.10 - 2025-10-29
- Version bump because lerna
diff --git a/packages/flame-tokens/package.json b/packages/flame-tokens/package.json
index 626a02f2..2aa0553d 100644
--- a/packages/flame-tokens/package.json
+++ b/packages/flame-tokens/package.json
@@ -1,6 +1,6 @@
{
"name": "@lightspeed/flame-tokens",
- "version": "2.0.0-alpha.10",
+ "version": "2.0.0-helios.1",
"description": "Design tokens for Lightspeed's Flame design system",
"main": "dist/index.js",
"module": "dist/esm/index.js",
diff --git a/packages/flame/CHANGELOG.md b/packages/flame/CHANGELOG.md
index e20e259c..f536d435 100644
--- a/packages/flame/CHANGELOG.md
+++ b/packages/flame/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Refer to the [CONTRIBUTING guide](https://github.com/lightspeed/flame/blob/master/.github/CONTRIBUTING.md) for more info.
+## 3.0.0-helios.1 - 2025-11-24
+
+- Version bump because lerna
+
## 3.0.0-alpha.10 - 2025-10-29
- Version bump because lerna
diff --git a/packages/flame/package.json b/packages/flame/package.json
index c7e8a236..c9b13680 100644
--- a/packages/flame/package.json
+++ b/packages/flame/package.json
@@ -1,6 +1,6 @@
{
"name": "@lightspeed/flame",
- "version": "3.0.0-alpha.10",
+ "version": "3.0.0-helios.1",
"private": true,
"description": "Lightspeed's React UI components library",
"author": "Lightspeed",
@@ -37,6 +37,7 @@
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
+ "@lightspeed/unified-tokens": "^3.3.0",
"@popperjs/core": "^2.11.8",
"@styled-system/css": "^5.1.5",
"@styled-system/theme-get": "5.0.16",
@@ -51,7 +52,7 @@
"type-fest": "^0.3.0"
},
"devDependencies": {
- "@lightspeed/flame-tokens": "^2.0.0-alpha.10",
+ "@lightspeed/flame-tokens": "^2.0.0-helios.1",
"@types/lodash": "^4.14.123",
"@types/react-modal": "^3.8.1",
"@types/react-select": "^2.0.15",
diff --git a/packages/flame/scripts/build-themes.ts b/packages/flame/scripts/build-themes.ts
index b1473358..f3d327a3 100644
--- a/packages/flame/scripts/build-themes.ts
+++ b/packages/flame/scripts/build-themes.ts
@@ -1,6 +1,7 @@
import { theme as flameTheme, themeUI as flameThemeUI } from '../themes/flame';
import { theme as oldSkoolTheme } from '../themes/oldskool';
import { theme as darkTheme } from '../themes/dark';
+import { theme as heliosTheme } from '../themes/helios';
// @ts-ignore
const fs = require('fs');
@@ -97,6 +98,10 @@ const themeList: ThemeList = [
filename: 'dark',
themeObject: darkTheme,
},
+ {
+ filename: 'helios',
+ themeObject: heliosTheme,
+ },
];
// @ts-ignore
diff --git a/packages/flame/src/Checkbox/__snapshots__/Checkbox.test.tsx.snap b/packages/flame/src/Checkbox/__snapshots__/Checkbox.test.tsx.snap
index 26bb7b7d..5580351e 100644
--- a/packages/flame/src/Checkbox/__snapshots__/Checkbox.test.tsx.snap
+++ b/packages/flame/src/Checkbox/__snapshots__/Checkbox.test.tsx.snap
@@ -2,7 +2,7 @@
exports[` Snapshots when all props and label/description with html should render correctly 1`] = `
Snapshots when all props and label/description with html s
exports[`
Snapshots when all props should render correctly 1`] = `
Snapshots when all props should render correctly 1`] = `
exports[`
Snapshots when checked should render correctly 1`] = `
Snapshots when checked should render correctly 1`] = `
exports[`
Snapshots when disabled should render correctly 1`] = `
Snapshots when disabled should render correctly 1`] = `
exports[`
Snapshots when empty props should render correctly 1`] = `
Snapshots when empty props should render correctly 1`] = `
exports[`
Snapshots when indeterminate should render correctly 1`] = `
Snapshots when indeterminate should render correctly 1`] =
exports[`
Snapshots when not checked should render correctly 1`] = `