Skip to content

Commit e3bab8f

Browse files
simeonoffdesig9steinSisIvanovarkaraivanov
authored
refactor(components): bind dark themes to shadow root (#940)
* Bumped theming package * Ignore themes generated templates from coverage and analyzer --------- Co-authored-by: desig9stein <mspopovv@gmail.com> Co-authored-by: sivanova <sivanova@infragistics.com> Co-authored-by: Radoslav Karaivanov <rkaraivanov@infragistics.com>
1 parent 66c061e commit e3bab8f

File tree

689 files changed

+12352
-9334
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

689 files changed

+12352
-9334
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
"build:typescript": "tsc",
2121
"build:styles": "node scripts/build-styles.mjs",
2222
"build:watch": "npm run build:styles && concurrently -k -r \"npm:watch-scss\" \"npm:watch-ts\"",
23-
"build:docs:md": "web-component-analyzer \"src/**/*.ts\" --outDir docs/md",
24-
"build:docs:json": "web-component-analyzer \"src/**/*.ts\" --format json --outDir docs/json",
25-
"build:docs:schema": "web-component-analyzer src --format json --outFile custom-elements.json",
26-
"build:docs:vscode-schema": "web-component-analyzer src --format vscode --outFile vscode-html-custom-data.json",
23+
"build:docs:md": "web-component-analyzer \"src/**/!(*.spec|*.css).ts\" --outDir docs/md",
24+
"build:docs:json": "web-component-analyzer \"src/**/!(*.spec|*.css).ts\" --format json --outDir docs/json",
25+
"build:docs:schema": "web-component-analyzer \"src/**/!(*.spec|*.css).ts\" --format json --outFile custom-elements.json",
26+
"build:docs:vscode-schema": "web-component-analyzer \"src/**/!(*.spec|*.css).ts\" --format vscode --outFile vscode-html-custom-data.json",
2727
"build:meta": "node scripts/build-stories.js",
2828
"watch-meta": "node scripts/stories-watcher.js ",
2929
"watch-scss": "node scripts/styles-watcher.mjs",
@@ -82,7 +82,7 @@
8282
"eslint-plugin-storybook": "^0.6.15",
8383
"globby": "^13.2.2",
8484
"husky": "^8.0.3",
85-
"igniteui-theming": "^3.2.0",
85+
"igniteui-theming": "^3.3.0",
8686
"igniteui-typedoc-theme": "^3.1.0",
8787
"keep-a-changelog": "^2.4.1",
8888
"lint-staged": "^15.0.1",

scripts/build-styles.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export async function buildThemes() {
1818

1919
for (const sassFile of paths) {
2020
const result = renderSass(sassFile, {
21-
outputStyle: 'compressed',
21+
style: 'compressed',
2222
loadPaths: ['node_modules', 'src']
2323
});
2424

scripts/sass.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const renderSass = sass.compileAsync;
2222

2323
async function sassToCss(sassFile) {
2424
const result = await renderSass(sassFile, {
25-
outputStyle: 'compressed',
25+
style: 'compressed',
2626
loadPaths: ['node_modules', 'src']
2727
});
2828

src/components/accordion/themes/accordion.base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use 'styles/utilities/index' as *;
1+
@use 'styles/utilities' as *;
22

33
:host {
44
::slotted(igc-expansion-panel) {

src/components/avatar/themes/dark/_themes.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@use 'sass:map';
21
@use 'styles/utilities' as *;
32
@use 'igniteui-theming/sass/themes/schemas/components/dark/avatar' as *;
43

src/components/avatar/themes/dark/avatar.bootstrap.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@use 'sass:map';
21
@use 'styles/utilities' as *;
32
@use 'themes' as *;
43

src/components/avatar/themes/dark/avatar.fluent.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@use 'sass:map';
21
@use 'styles/utilities' as *;
32
@use 'themes' as *;
43

src/components/avatar/themes/dark/avatar.indigo.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
@use 'sass:map';
2-
@use '../../../../styles/utilities' as *;
1+
@use 'styles/utilities' as *;
32
@use 'themes' as *;
43

54
$theme: $indigo;

src/components/avatar/themes/dark/avatar.material.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@use 'sass:map';
21
@use 'styles/utilities' as *;
32
@use 'themes' as *;
43

0 commit comments

Comments
 (0)