@descope-ui/descope-collapsible-container 0.0.3 → 0.0.5
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.0.5](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-collapsible-container-0.0.4...@descope-ui/descope-collapsible-container-0.0.5) (2025-04-23)
|
|
6
|
+
|
|
7
|
+
## [0.0.4](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-collapsible-container-0.0.3...@descope-ui/descope-collapsible-container-0.0.4) (2025-04-22)
|
|
8
|
+
|
|
5
9
|
## [0.0.3](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-collapsible-container-0.0.2...@descope-ui/descope-collapsible-container-0.0.3) (2025-04-21)
|
|
6
10
|
|
|
7
11
|
## [0.0.2](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-collapsible-container-0.0.1...@descope-ui/descope-collapsible-container-0.0.2) (2025-04-17)
|
package/package.json
CHANGED
|
@@ -206,9 +206,9 @@ export const CollapsibleContainerClass = compose(
|
|
|
206
206
|
boxShadow: { selector: selectors.wrapper },
|
|
207
207
|
|
|
208
208
|
headerIconOrder: { selector: selectors.icon, property: 'order' },
|
|
209
|
-
headerJustifyContent: { selector: selectors.header, property: 'justify-content' },
|
|
210
209
|
headerCursor: { selector: selectors.header, property: 'cursor' },
|
|
211
210
|
headerGap: { selector: selectors.header, property: 'gap' },
|
|
211
|
+
textGrow: { selector: selectors.text, property: 'flex-grow' },
|
|
212
212
|
textDirection: { selector: selectors.text, property: 'direction' },
|
|
213
213
|
iconAnimationDuration: { selector: selectors.icon, property: 'transition-duration' },
|
|
214
214
|
contentAnimationDuration: { selector: selectors.content, property: 'transition-duration' },
|
package/src/theme.js
CHANGED
|
@@ -19,7 +19,6 @@ const { shadowColor } = helperRefs;
|
|
|
19
19
|
const collapsibleContainer = {
|
|
20
20
|
...helperTheme,
|
|
21
21
|
|
|
22
|
-
[compVars.itemsGrow]: '0',
|
|
23
22
|
[compVars.hostWidth]: '100%',
|
|
24
23
|
[compVars.boxShadow]: 'none',
|
|
25
24
|
|
|
@@ -31,7 +30,6 @@ const collapsibleContainer = {
|
|
|
31
30
|
[compVars.backgroundSize]: 'cover',
|
|
32
31
|
[compVars.backgroundRepeat]: 'no-repeat',
|
|
33
32
|
|
|
34
|
-
[compVars.color]: globalRefs.colors.surface.contrast,
|
|
35
33
|
[compVars.borderRadius]: '0px',
|
|
36
34
|
[compVars.hostDirection]: globalRefs.direction,
|
|
37
35
|
|
|
@@ -45,7 +43,7 @@ const collapsibleContainer = {
|
|
|
45
43
|
[compVars.contentAnimationDuration]: '0.1s',
|
|
46
44
|
|
|
47
45
|
[compVars.borderWidth]: '0px',
|
|
48
|
-
[compVars.
|
|
46
|
+
[compVars.textGrow]: '0',
|
|
49
47
|
|
|
50
48
|
verticalPadding: {
|
|
51
49
|
sm: { [compVars.verticalPadding]: '5px' },
|
|
@@ -99,7 +97,7 @@ const collapsibleContainer = {
|
|
|
99
97
|
},
|
|
100
98
|
|
|
101
99
|
_fillTitle: {
|
|
102
|
-
[compVars.
|
|
100
|
+
[compVars.textGrow]: '1',
|
|
103
101
|
},
|
|
104
102
|
|
|
105
103
|
_border: {
|