-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor!: migrate to Lumina #10482
refactor!: migrate to Lumina #10482
Conversation
0648ef3
to
7776b70
Compare
**Related Issue:** #10482 ## Summary Resolve the `validationIcon` issue brought up in #10509 (comment) The only properties affected by the change in how boolean properties are reflected are `icon`, `validationIcon`, and `download`. This PR fixes the utils that caused issues with `icon` and `validationIcon`. The `download` property seems to already be correct, for example: https://github.com/Esri/calcite-design-system/blob/25319998739c3af17a5438d285c5931ea656285d/packages/calcite-components/src/components/link/link.tsx#L178
**Related Issue:** #10482 ## Summary - **build: update browserslist db (#10629)** - **docs(angular): update example to use custom elements directly (#10686)** - **build(deps): update dependency @floating-ui/dom to v1.6.12 (#10681)** - **build(deps): update dependency @cspell/eslint-plugin to v8.15.6 (#10680)** - **build(deps): update dependency chokidar to v4 (#10643)** --------- Co-authored-by: Calcite Admin <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Created issue for follow-up items: #10731. |
Proceeding to merge. We can use #10731 if anything needs addressing. 🚀 |
@@ -43,6 +45,15 @@ export default defineConfig({ | |||
}, | |||
}, | |||
}), | |||
replace({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(optional) vite provides env variables support without a plugin, so if you don't need extra customization options you can use that to keep build config simpler and performance better: https://vite.dev/guide/env-and-mode
**Related Issue:** N/A ## Summary #10482 caused a break in our GitHub deployment. This fix addresses it by: * Adding a `.nojekyll` file to the pages folder to prevent files with leading underscores in their names from being excluded (see https://github.blog/news-insights/bypassing-jekyll-on-github-pages/). * Moving the internal-testing notice to the preview head to leverage the lazy-loaded components in the preview. * We can revisit restoring this in the manager head after storybookjs/builder-vite#486 is resolved.
**Related Issue:** #10482 ## Summary Resolve the `validationIcon` issue brought up in #10509 (comment) The only properties affected by the change in how boolean properties are reflected are `icon`, `validationIcon`, and `download`. This PR fixes the utils that caused issues with `icon` and `validationIcon`. The `download` property seems to already be correct, for example: https://github.com/Esri/calcite-design-system/blob/25319998739c3af17a5438d285c5931ea656285d/packages/calcite-components/src/components/link/link.tsx#L178
**Related Issue:** #10310, #10481, #10399, #10405, #10491, #10434, #10495, #9260 ## Noteworthy changes * components are now Lit-based * removed `@storybook/test` and `@storybook/addon-interactions` as these were not being actively used * React deps bumped to v18 * Added default `scale` value to: * `action-bar` * `action-group` * `action-menu` * `action-pad` * Path of extras will change to the following: * `/dist/extras/vscode-data.json` ➡️ `/dist/docs/vscode.html-custom-data.json` * backwards-compatible version is preserved to not break Intellisense [described in the doc](https://developers.arcgis.com/calcite-design-system/resources/frameworks/#visual-studio-intellisense) * `/dist/extras/docs-json.json` ➡️ `/dist/docs/docs.json` (internal) * `/dist/extras/translations-json.json` ➡️ `/dist/docs/translations.json` (internal) * `/dist/extras/docs-json.d.ts` ❌ (removed, internal) BREAKING CHANGE: * for a consistent development experience, components now convert `null` to `undefined`, so developers will need to update code with strict null checks * removed the following `@esri/eslint-plugin-calcite-components` rules as they are no longer valid: * `ban-props-on-host` * `enforce-ref-last-prop` * `require-event-emitter-type` --------- Co-authored-by: JC Franco <[email protected]> Co-authored-by: Ben Elan <[email protected]> Co-authored-by: Calcite Admin <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
**Related Issue:** N/A ## Summary #10482 caused a break in our GitHub deployment. This fix addresses it by: * Adding a `.nojekyll` file to the pages folder to prevent files with leading underscores in their names from being excluded (see https://github.blog/news-insights/bypassing-jekyll-on-github-pages/). * Moving the internal-testing notice to the preview head to leverage the lazy-loaded components in the preview. * We can revisit restoring this in the manager head after storybookjs/builder-vite#486 is resolved.
Related Issue: #10310, #10481, #10399, #10405, #10491, #10434, #10495, #9260
Noteworthy changes
@storybook/test
and@storybook/addon-interactions
as these were not being actively usedscale
value to:action-bar
action-group
action-menu
action-pad
/dist/extras/vscode-data.json
➡️/dist/docs/vscode.html-custom-data.json
/dist/extras/docs-json.json
➡️/dist/docs/docs.json
(internal)/dist/extras/translations-json.json
➡️/dist/docs/translations.json
(internal)/dist/extras/docs-json.d.ts
❌ (removed, internal)BREAKING CHANGE: for a consistent development experience, components now convert
null
toundefined
, so developers will need to update code with strict null checks