@webority/theme 0.119.0 → 0.120.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/theme",
3
- "version": "0.119.0",
3
+ "version": "0.120.0",
4
4
  "description": "Webority shared design system — Bootstrap 5.3 SCSS overrides, --wui-* tokens, and shared component CSS. The single source of brand chrome for React portals and Razor sites.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
@@ -47,7 +47,7 @@
47
47
  "postcss": "^8.5.31"
48
48
  },
49
49
  "devDependencies": {
50
- "@webority/tokens": "0.119.0",
50
+ "@webority/tokens": "0.120.0",
51
51
  "bootstrap": "5.3.3",
52
52
  "country-flag-icons": "^1.6.20",
53
53
  "sass-embedded": "^1.97.0",
@@ -1,4 +1,4 @@
1
- // Generated by @webority/tokens 0.119.0 from its token source. Do not edit; run webority brand --library.
1
+ // Generated by @webority/tokens 0.120.0 from its token source. Do not edit; run webority brand --library.
2
2
  $body-color: #252f4a !default;
3
3
  $body-secondary-color: #4b5675 !default;
4
4
  $body-tertiary-color: #626a82 !default;
@@ -1,4 +1,4 @@
1
- // Generated by @webority/tokens 0.119.0 from its token source. Do not edit; run webority brand --library.
1
+ // Generated by @webority/tokens 0.120.0 from its token source. Do not edit; run webority brand --library.
2
2
 
3
3
  :root {
4
4
  --wui-primary: #4F46E5;
@@ -60,7 +60,8 @@
60
60
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
61
61
  outline-offset: var(--wui-focus-ring-inset);
62
62
  }
63
- .wui-accordion-item.open .wui-accordion-trigger {
63
+ // The open-state rules use child combinators so an open pane never opens the panes nested inside it.
64
+ .wui-accordion-item.open > .wui-accordion-trigger {
64
65
  color: var(--color-primary-text);
65
66
  }
66
67
  // Chevron rotates to point up when the pane is open.
@@ -71,7 +72,7 @@
71
72
  color: var(--color-text-subtle);
72
73
  transition: transform 0.2s var(--wui-ease-out);
73
74
  }
74
- .wui-accordion-item.open .wui-accordion-icon {
75
+ .wui-accordion-item.open > .wui-accordion-trigger .wui-accordion-icon {
75
76
  transform: rotate(180deg);
76
77
  color: var(--color-primary-text);
77
78
  }
@@ -84,7 +85,7 @@
84
85
  grid-template-rows: 0fr;
85
86
  transition: grid-template-rows 0.28s var(--wui-ease-out);
86
87
  }
87
- .wui-accordion-item.open .wui-accordion-panel {
88
+ .wui-accordion-item.open > .wui-accordion-panel {
88
89
  grid-template-rows: 1fr;
89
90
  }
90
91
  .wui-accordion-body {
@@ -103,7 +104,7 @@
103
104
  .wui-accordion-body > :first-child {
104
105
  margin-top: 0;
105
106
  }
106
- .wui-accordion-item.open .wui-accordion-body {
107
+ .wui-accordion-item.open > .wui-accordion-panel > .wui-accordion-body {
107
108
  padding-bottom: 16px;
108
109
  }
109
110
 
@@ -131,7 +132,7 @@
131
132
  .wui-accordion.wui-accordion-flat .wui-accordion-icon {
132
133
  transform: rotate(-90deg);
133
134
  }
134
- .wui-accordion.wui-accordion-flat .wui-accordion-item.open .wui-accordion-icon {
135
+ .wui-accordion.wui-accordion-flat .wui-accordion-item.open > .wui-accordion-trigger .wui-accordion-icon {
135
136
  transform: none;
136
137
  }
137
138