Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9a1de8f
major: env locking
3rd-Eden Nov 3, 2025
ed3a184
doc: improve docs
3rd-Eden Nov 3, 2025
d1dff30
fix: update packages with removal of internal props
3rd-Eden Nov 3, 2025
c95d854
fix: use env and use-props as part of tests
3rd-Eden Nov 4, 2025
18135e6
fix: corrected assertion now that we properly merge slots
3rd-Eden Nov 4, 2025
2221d3d
fix: clean up references and dead branches
3rd-Eden Nov 4, 2025
1431ebb
test: clean up tests
3rd-Eden Nov 4, 2025
ed49047
major: effectively breaking how data-override worked before
3rd-Eden Nov 4, 2025
8981a44
fix: 90%, im sad about it
3rd-Eden Nov 4, 2025
8757552
lint: linting
3rd-Eden Nov 4, 2025
85a0f6b
Merge branch 'main' into environment-locks
akazemier-godaddy Nov 4, 2025
3d8c25e
chore: merge origin/main into environment-locks
3rd-Eden Nov 10, 2025
03cf185
fix: it should only trigger on locked
3rd-Eden Nov 10, 2025
886759c
fix: update env
3rd-Eden Nov 10, 2025
2f43a67
fix: data-override should be disabled by default
3rd-Eden Nov 14, 2025
c874953
fix: update tests as data-override is no longer triggering by default
3rd-Eden Nov 14, 2025
fbce5ce
Merge branch 'main' into environment-locks
akazemier-godaddy Nov 14, 2025
46cf74d
Merge branch 'main' into environment-locks
akazemier-godaddy Nov 18, 2025
3810c4b
chore: merge main into environment-locks
3rd-Eden Nov 27, 2025
558dcda
Merge branch 'environment-locks' of github.com:godaddy/bento into env…
3rd-Eden Nov 27, 2025
cbe76cc
chore: merge main - keep data-override disabled by default
3rd-Eden Dec 18, 2025
09861c4
refactor: convert browser tests to use vitest snapshots
3rd-Eden Dec 19, 2025
5fd7f75
docs: clean up
3rd-Eden Dec 19, 2025
5dd38b6
fix: resolve CI failures
3rd-Eden Dec 19, 2025
457d22b
chore: remove withLock HOC - not needed
3rd-Eden Dec 19, 2025
2054f8c
fix: add coverage tests and fix TypeScript errors
3rd-Eden Dec 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/gold-things-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@bento/environment": major
"@bento/use-props": major
"@bento/slots": major
"@bento/box": major
---

data-override attributes are now opt-in using the Environment component
5 changes: 5 additions & 0 deletions .cursor/worktrees.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"setup-worktree": [
"npm install"
]
}
14 changes: 0 additions & 14 deletions apps/docs/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { createRequire } from 'node:module';
import { fileURLToPath } from 'node:url';
import { dirname, join, resolve } from 'node:path';
import { mergeConfig } from 'vite';
import packageJson from '@bento/internal-props/package.json' with { type: 'json' };

const __dirname = dirname(fileURLToPath(import.meta.url));
const require = createRequire(import.meta.url);
Expand Down Expand Up @@ -61,23 +60,10 @@ const config: StorybookConfig = {
},

async viteFinal(config) {
const versionMatch = packageJson.version.match(/^(\d+)\.(\d+)\.(\d+)/);
const semver = versionMatch ? versionMatch.slice(1) : ['0', '0', '0'];

const define = {
major: semver[0],
minor: semver[1],
patch: semver[2]
};

return mergeConfig(config, {
// Set envDir to workspace root for proper monorepo support
envDir: resolve(__dirname, '../../../'),

esbuild: {
define
},

// Exclude @bento packages from optimization so they can be watched and hot-reloaded
optimizeDeps: {
exclude: ['@bento/*']
Expand Down
1 change: 0 additions & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"@bento/icon": "*",
"@bento/illustration": "*",
"@bento/input": "*",
"@bento/internal-props": "*",
"@bento/listbox": "*",
"@bento/overlay": "*",
"@bento/portal": "*",
Expand Down
3 changes: 2 additions & 1 deletion knip.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const config: KnipConfig = {
// Ignore circular dependencies in examples and tests - these are for demo purposes
ignore: [
'examples/**/*', // Example files that may use circular dependencies for demos
'test/**/*.test.tsx' // Test files that may need circular dependencies for testing
'test/**/*.test.tsx', // Test files that may need circular dependencies for testing
'test/**/*.test.ts' // Test files that may need circular dependencies for testing
]
},
'packages/storybook-addon-helpers': {
Expand Down
Loading
Loading