@cloudscape-design/components-themeable 3.0.330 → 3.0.332

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "5c24b8b548a58eccbdbcc60459660de166edadca"
2
+ "commit": "afcf6a1308879d9e2dd36b109f3b2dc30de6a33b"
3
3
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  export var PACKAGE_SOURCE = 'components';
3
- export var PACKAGE_VERSION = '3.0.0 (5c24b8b)';
3
+ export var PACKAGE_VERSION = '3.0.0 (afcf6a1)';
4
4
  export var THEME = 'open-source-visual-refresh';
5
5
  export var ALWAYS_VISUAL_REFRESH = true;
6
6
 
package/package.json CHANGED
@@ -1,24 +1,22 @@
1
1
  {
2
2
  "name": "@cloudscape-design/components-themeable",
3
- "version": "3.0.330",
3
+ "version": "3.0.332",
4
4
  "files": [
5
5
  "lib",
6
6
  "package.json",
7
- "theming.js",
8
- "theming.d.ts",
9
7
  "README.md"
10
8
  ],
11
- "main": "lib/theming/index.js",
12
- "types": "lib/theming/index.d.ts",
9
+ "main": "lib/theming.js",
10
+ "types": "lib/theming.d.ts",
13
11
  "exports": {
14
- ".": "./lib/theming/index.js",
12
+ ".": "./lib/theming.js",
15
13
  "./package.json": "./package.json",
16
- "./theming": "./theming.js"
14
+ "./theming": "./lib/theming.js"
17
15
  },
18
16
  "typesVersions": {
19
17
  "*": {
20
18
  "theming": [
21
- "./theming.d.ts"
19
+ "./lib/theming.d.ts"
22
20
  ]
23
21
  }
24
22
  },
@@ -1,8 +0,0 @@
1
- import { TypedOverride } from '../../lib/internal/template/internal/generated/theming/index.cjs';
2
- export declare type Theme = TypedOverride;
3
- export interface BuildThemedComponentsParams {
4
- theme: Theme;
5
- outputDir: string;
6
- baseThemeId?: string;
7
- }
8
- export declare function buildThemedComponents({ theme, outputDir, baseThemeId, }: BuildThemedComponentsParams): Promise<void>;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.buildThemedComponents = void 0;
4
- const path_1 = require("path");
5
- const awsui_theming_build_1 = require("@cloudscape-design/theming-build");
6
- const index_cjs_1 = require("../../lib/internal/template/internal/generated/theming/index.cjs");
7
- const internalDir = path_1.join(__dirname, '../../lib/internal');
8
- const scssDir = path_1.join(internalDir, './scss');
9
- const templateDir = path_1.join(internalDir, './template');
10
- async function buildThemedComponents({ theme, outputDir, baseThemeId, }) {
11
- return awsui_theming_build_1.buildThemedComponents({
12
- override: theme,
13
- preset: index_cjs_1.preset,
14
- baseThemeId,
15
- componentsOutputDir: path_1.join(outputDir, 'components'),
16
- designTokensOutputDir: path_1.join(outputDir, 'design-tokens'),
17
- templateDir,
18
- scssDir,
19
- });
20
- }
21
- exports.buildThemedComponents = buildThemedComponents;
package/theming.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './lib/theming/index.js';
package/theming.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require('./lib/theming/index.js');