Skip to content

Commit

Permalink
remove deprecated CssDistFilename for 3.0 (#9446)
Browse files Browse the repository at this point in the history
* remove deprecated CssDistFilename for 3.0

Signed-off-by: Justin Kim <jungkm@amazon.com>

* Changeset file for PR #9446 created/updated

---------

Signed-off-by: Justin Kim <jungkm@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
  • Loading branch information
angle943 and opensearch-changeset-bot[bot] authored Feb 26, 2025
1 parent 796e481 commit 071213b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/9446.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
breaking:
- Remove `CssDistFilename` ([#9446](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/9446))
23 changes: 0 additions & 23 deletions packages/osd-ui-shared-deps/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,29 +53,6 @@ export * from './theme_config';
*/
export const baseCssDistFilename: string;

/**
* Filename of the dark-theme css file in the distributable directory
* @deprecated
*/
export const darkCssDistFilename: string;

/**
* Filename of the dark-theme css file in the distributable directory
* @deprecated
*/
export const darkV8CssDistFilename: string;

/**
* Filename of the light-theme css file in the distributable directory
* @deprecated
*/
export const lightCssDistFilename: string;

/**
* Filename of the light-theme css file in the distributable directory
* @deprecated
*/
export const lightV8CssDistFilename: string;
/**
* Externals mapping inteded to be used in a webpack config
*/
Expand Down
8 changes: 0 additions & 8 deletions packages/osd-ui-shared-deps/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ exports.distDir = Path.resolve(__dirname, 'target');
exports.jsDepFilenames = ['osd-ui-shared-deps.@elastic.js'];
exports.jsFilename = 'osd-ui-shared-deps.js';
exports.baseCssDistFilename = 'osd-ui-shared-deps.css';
/** @deprecated */
exports.lightCssDistFilename = 'osd-ui-shared-deps.v7.light.css';
/** @deprecated */
exports.lightV8CssDistFilename = 'osd-ui-shared-deps.v8.light.css';
/** @deprecated */
exports.darkCssDistFilename = 'osd-ui-shared-deps.v7.dark.css';
/** @deprecated */
exports.darkV8CssDistFilename = 'osd-ui-shared-deps.v8.dark.css';
exports.externals = {
// stateful deps
'@osd/i18n': '__osdSharedDeps__.OsdI18n',
Expand Down

0 comments on commit 071213b

Please sign in to comment.