@hashicorp/design-system-components 5.2.0-rc-20260108162959 → 5.2.0
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.
- package/declarations/components.d.ts +0 -2
- package/declarations/services.d.ts +0 -1
- package/declarations/template-registry.d.ts +0 -6
- package/dist/components.js +0 -2
- package/dist/components.js.map +1 -1
- package/dist/services.js +1 -1
- package/dist/styles/@hashicorp/design-system-components.css +320 -501
- package/dist/styles/@hashicorp/design-system-components.scss +62 -4
- package/dist/styles/@hashicorp/design-system-components.scss.map +1 -0
- package/dist/styles/components/badge-count.scss +76 -26
- package/dist/styles/components/badge.scss +131 -26
- package/dist/styles/components/button.scss +0 -5
- package/dist/styles/components/dropdown.scss +5 -3
- package/dist/styles/components/form/file-input.scss +2 -2
- package/dist/styles/components/form/key-value-inputs.scss +4 -2
- package/dist/styles/mixins/_button.scss +129 -82
- package/dist/styles/mixins/_interactive-dark-theme.scss +1 -1
- package/package.json +4 -8
- package/declarations/components/hds/theme-context/index.d.ts +0 -24
- package/declarations/components/hds/theme-context/types.d.ts +0 -19
- package/declarations/components/hds/theme-switcher/index.d.ts +0 -43
- package/declarations/services/hds-theming.d.ts +0 -57
- package/dist/_app_/components/hds/theme-context.js +0 -1
- package/dist/_app_/components/hds/theme-switcher.js +0 -1
- package/dist/_app_/services/hds-theming.js +0 -1
- package/dist/components/hds/theme-context/index.js +0 -45
- package/dist/components/hds/theme-context/index.js.map +0 -1
- package/dist/components/hds/theme-context/types.js +0 -27
- package/dist/components/hds/theme-context/types.js.map +0 -1
- package/dist/components/hds/theme-switcher/index.js +0 -100
- package/dist/components/hds/theme-switcher/index.js.map +0 -1
- package/dist/services/hds-theming.js +0 -214
- package/dist/services/hds-theming.js.map +0 -1
- package/dist/styles/@hashicorp/design-system-components-common.css +0 -9588
- package/dist/styles/@hashicorp/design-system-components-common.css.map +0 -1
- package/dist/styles/@hashicorp/design-system-components-common.scss +0 -24
- package/dist/styles/@hashicorp/design-system-components.css.map +0 -1
- package/dist/styles/@hashicorp/design-system-power-select-overrides.css +0 -229
- package/dist/styles/@hashicorp/design-system-power-select-overrides.css.map +0 -1
- package/dist/styles/components/index.scss +0 -52
- package/dist/styles/components/theme-context.scss +0 -12
- package/dist/styles/mixins/_carbonization.scss +0 -31
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) HashiCorp, Inc.
|
|
3
|
-
* SPDX-License-Identifier: MPL-2.0
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@mixin hds-apply-only-if-carbon($mode: false) {
|
|
7
|
-
@if $mode == "cds-g0" {
|
|
8
|
-
@at-root .hds-mode-cds-g0 #{&} {
|
|
9
|
-
@content;
|
|
10
|
-
}
|
|
11
|
-
} @else if $mode == "cds-g10" {
|
|
12
|
-
@at-root .hds-mode-cds-g10 #{&} {
|
|
13
|
-
@content;
|
|
14
|
-
}
|
|
15
|
-
} @else if $mode == "cds-g90" {
|
|
16
|
-
@at-root .hds-mode-cds-g90 #{&} {
|
|
17
|
-
@content;
|
|
18
|
-
}
|
|
19
|
-
} @else if $mode == "cds-g100" {
|
|
20
|
-
@at-root .hds-mode-cds-g100 #{&} {
|
|
21
|
-
@content;
|
|
22
|
-
}
|
|
23
|
-
} @else {
|
|
24
|
-
@at-root .hds-mode-cds-g0 #{&},
|
|
25
|
-
.hds-mode-cds-g10 #{&},
|
|
26
|
-
.hds-mode-cds-g90 #{&},
|
|
27
|
-
.hds-mode-cds-g100 #{&} {
|
|
28
|
-
@content;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|