Skip to content

Commit 37a26ef

Browse files
committed
deps(theming): bump to latest beta
1 parent 9137883 commit 37a26ef

18 files changed

+177
-25
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"globby": "^14.1.0",
8080
"husky": "^9.1.7",
8181
"ig-typedoc-theme": "^6.0.0",
82-
"igniteui-theming": "^14.4.0-beta.2",
82+
"igniteui-theming": "^15.1.0-beta.1",
8383
"keep-a-changelog": "^2.5.3",
8484
"lint-staged": "^15.4.3",
8585
"lit-analyzer": "^2.0.3",

src/components/resize-container/resize-container.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { LitElement, html, nothing } from 'lit';
22
import { property, state } from 'lit/decorators.js';
33
import { type Ref, createRef, ref } from 'lit/directives/ref.js';
44

5+
import { themes } from '../../theming/theming-decorator.js';
56
import { registerComponent } from '../common/definitions/register.js';
67
import type { Constructor } from '../common/mixins/constructor.js';
78
import { EventEmitterMixin } from '../common/mixins/event-emitter.js';
@@ -10,6 +11,7 @@ import IgcIconComponent from '../icon/icon.js';
1011
import { addResizeController } from './resize-controller.js';
1112
import { styles } from './themes/resize-container.base.css.js';
1213
import { styles as shared } from './themes/shared/resize-container.common.css.js';
14+
import { all } from './themes/themes.js';
1315
import type {
1416
ResizeCallbackParams,
1517
ResizeGhostFactory,
@@ -31,6 +33,7 @@ export interface IgcResizeContainerComponentEventMap {
3133
*
3234
* @slot - renders the element(s) that should be resized
3335
*/
36+
@themes(all)
3437
export default class IgcResizeContainerComponent extends EventEmitterMixin<
3538
IgcResizeContainerComponentEventMap,
3639
Constructor<LitElement>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@use 'styles/utilities' as *;
2+
@use 'igniteui-theming/sass/themes/schemas/components/dark/resize-indicator' as *;
3+
4+
$base: digest-schema($dark-base-resize-indicator);
5+
$material: digest-schema($dark-material-resize-indicator);
6+
$bootstrap: digest-schema($dark-bootstrap-resize-indicator);
7+
$fluent: digest-schema($dark-fluent-resize-indicator);
8+
$indigo: digest-schema($dark-indigo-resize-indicator);
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@use 'styles/utilities' as *;
2+
@use 'themes' as *;
3+
4+
$theme: $bootstrap;
5+
6+
:host {
7+
@include css-vars-from-theme(diff($base, $theme), 'ig-resize-indicator');
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@use 'styles/utilities' as *;
2+
@use 'themes' as *;
3+
4+
$theme: $fluent;
5+
6+
:host {
7+
@include css-vars-from-theme(diff($base, $theme), 'ig-resize-indicator');
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@use 'styles/utilities' as *;
2+
@use 'themes' as *;
3+
4+
$theme: $indigo;
5+
6+
:host {
7+
@include css-vars-from-theme(diff($base, $theme), 'ig-resize-indicator');
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@use 'styles/utilities' as *;
2+
@use 'themes' as *;
3+
4+
$theme: $material;
5+
6+
:host {
7+
@include css-vars-from-theme(diff($base, $theme), 'ig-resize-indicator');
8+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@use 'styles/utilities' as *;
2+
@use 'themes' as *;
3+
4+
:host {
5+
@include css-vars-from-theme($base, 'ig-resize-indicator');
6+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@use 'styles/utilities' as *;
2+
@use 'igniteui-theming/sass/themes/schemas/components/light/resize-indicator' as *;
3+
4+
$base: digest-schema($light-resize-indicator);
5+
$material: digest-schema($material-resize-indicator);
6+
$bootstrap: digest-schema($bootstrap-resize-indicator);
7+
$fluent: digest-schema($fluent-resize-indicator);
8+
$indigo: digest-schema($indigo-resize-indicator);

0 commit comments

Comments
 (0)