Skip to content

Commit

Permalink
Remove KUI Framework (#167833)
Browse files Browse the repository at this point in the history
## Summary

Closes #46410

Removes the deprecated `@kbn/ui-framework`

---------

Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
Ikuni17 and kibanamachine authored Oct 4, 2023
1 parent 79411d9 commit 2ff938e
Show file tree
Hide file tree
Showing 16 changed files with 1 addition and 5,002 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,6 @@ src/plugins/ui_actions_enhanced @elastic/appex-sharedux
examples/ui_action_examples @elastic/appex-sharedux
examples/ui_actions_explorer @elastic/appex-sharedux
src/plugins/ui_actions @elastic/appex-sharedux
packages/kbn-ui-framework @elastic/kibana-design
test/plugin_functional/plugins/ui_settings_plugin @elastic/kibana-core
packages/kbn-ui-shared-deps-npm @elastic/kibana-operations
packages/kbn-ui-shared-deps-src @elastic/kibana-operations
Expand Down
1 change: 0 additions & 1 deletion docs/developer/getting-started/monorepo-packages.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ yarn kbn watch
- @kbn/test
- @kbn/test-subj-selector
- @kbn/tinymath
- @kbn/ui-framework
- @kbn/ui-shared-deps-npm
- @kbn/ui-shared-deps-src
- @kbn/utility-types
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,6 @@
"@kbn/ui-actions-examples-plugin": "link:examples/ui_action_examples",
"@kbn/ui-actions-explorer-plugin": "link:examples/ui_actions_explorer",
"@kbn/ui-actions-plugin": "link:src/plugins/ui_actions",
"@kbn/ui-framework": "link:packages/kbn-ui-framework",
"@kbn/ui-settings-plugin": "link:test/plugin_functional/plugins/ui_settings_plugin",
"@kbn/ui-shared-deps-npm": "link:packages/kbn-ui-shared-deps-npm",
"@kbn/ui-shared-deps-src": "link:packages/kbn-ui-shared-deps-src",
Expand Down
5 changes: 0 additions & 5 deletions packages/core/apps/core-apps-server-internal/src/core_app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,5 @@ export class CoreAppsService {
'/ui/{path*}',
fromRoot('node_modules/@kbn/core-apps-server-internal/assets')
);

core.http.registerStaticDir(
'/node_modules/@kbn/ui-framework/dist/{path*}',
fromRoot('node_modules/@kbn/ui-framework/dist')
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ describe('getStylesheetPaths', () => {
Array [
"/base-path/17/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.v8.dark.css",
"/base-path/17/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.css",
"/base-path/node_modules/@kbn/ui-framework/dist/kui_dark.min.css",
"/base-path/ui/legacy_dark_theme.min.css",
]
`);
Expand All @@ -44,7 +43,6 @@ describe('getStylesheetPaths', () => {
Array [
"/base-path/69/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.v8.light.css",
"/base-path/69/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.css",
"/base-path/node_modules/@kbn/ui-framework/dist/kui_light.min.css",
"/base-path/ui/legacy_light_theme.min.css",
]
`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ export const getStylesheetPaths = ({
themeVersion
)}`,
`${regularBundlePath}/kbn-ui-shared-deps-src/${UiSharedDepsSrc.cssDistFilename}`,
`${basePath}/node_modules/@kbn/ui-framework/dist/kui_dark.min.css`,
`${basePath}/ui/legacy_dark_theme.min.css`,
]
: [
`${regularBundlePath}/kbn-ui-shared-deps-npm/${UiSharedDepsNpm.lightCssDistFilename(
themeVersion
)}`,
`${regularBundlePath}/kbn-ui-shared-deps-src/${UiSharedDepsSrc.cssDistFilename}`,
`${basePath}/node_modules/@kbn/ui-framework/dist/kui_light.min.css`,
`${basePath}/ui/legacy_light_theme.min.css`,
]),
];
Expand Down
27 changes: 0 additions & 27 deletions packages/kbn-ui-framework/README.md

This file was deleted.

Loading

0 comments on commit 2ff938e

Please sign in to comment.