@dt-dds/react-accordion 1.0.0-beta.41 → 1.0.0-beta.43
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 +37 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @dt-ui/react-accordion
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.43
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- feat: add components generator
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- chore: fix test coverage configuration
|
|
12
|
+
- chore: increase themes test coverage
|
|
13
|
+
- chore: fix sonarqube issues
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @dt-dds/react-core@1.0.0-beta.43
|
|
19
|
+
- @dt-dds/react-divider@1.0.0-beta.42
|
|
20
|
+
- @dt-dds/react-icon@1.0.0-beta.44
|
|
21
|
+
- @dt-dds/themes@1.0.0-beta.3
|
|
22
|
+
|
|
23
|
+
## 1.0.0-beta.42
|
|
24
|
+
|
|
25
|
+
### Minor Changes
|
|
26
|
+
|
|
27
|
+
- feat: add new themes package
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- chore: update imports and deps
|
|
32
|
+
- chore: rebase with main branch
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
- Updated dependencies
|
|
35
|
+
- Updated dependencies
|
|
36
|
+
- @dt-dds/react-core@1.0.0-beta.42
|
|
37
|
+
- @dt-dds/react-divider@1.0.0-beta.41
|
|
38
|
+
- @dt-dds/react-icon@1.0.0-beta.43
|
|
39
|
+
|
|
3
40
|
## 1.0.0-beta.41
|
|
4
41
|
|
|
5
42
|
### Major Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomTheme } from '@dt-dds/themes';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { BaseProps } from '@dt-dds/react-core';
|
|
3
4
|
import { ReactNode } from 'react';
|
|
4
5
|
|
|
5
6
|
interface AccordionBaseProps extends BaseProps {
|
|
@@ -13,7 +14,7 @@ interface AccordionBaseProps extends BaseProps {
|
|
|
13
14
|
declare const Accordion: ({ isOpen, headerContent, hasBackground, hasBorderBottom, isDisabled, children, dataTestId, style, className, }: AccordionBaseProps) => react_jsx_runtime.JSX.Element;
|
|
14
15
|
|
|
15
16
|
declare module '@emotion/react' {
|
|
16
|
-
interface Theme extends
|
|
17
|
+
interface Theme extends CustomTheme {
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
|
package/dist/index.js
CHANGED
|
@@ -72,7 +72,7 @@ var import_react = require("@emotion/react");
|
|
|
72
72
|
var import_styled2 = __toESM(require("@emotion/styled"));
|
|
73
73
|
var HeaderStyled = import_styled2.default.header`
|
|
74
74
|
${({ theme }) => `
|
|
75
|
-
${theme.fontStyles.
|
|
75
|
+
${theme.fontStyles.h6Bold};
|
|
76
76
|
display: flex;
|
|
77
77
|
align-items: center;
|
|
78
78
|
justify-content: space-between;
|
|
@@ -129,7 +129,7 @@ var AccordionHeader = ({
|
|
|
129
129
|
var import_styled3 = __toESM(require("@emotion/styled"));
|
|
130
130
|
var BodyStyled = import_styled3.default.div`
|
|
131
131
|
${({ theme, isOpenState }) => `
|
|
132
|
-
${theme.fontStyles.
|
|
132
|
+
${theme.fontStyles.bodyLgRegular};
|
|
133
133
|
display: grid;
|
|
134
134
|
grid-template-rows: ${isOpenState ? "1fr" : "0fr"};
|
|
135
135
|
transition: grid-template-rows 0.3s ease-in-out, padding 0.3s ease-in-out;
|
package/dist/index.mjs
CHANGED
|
@@ -36,7 +36,7 @@ import { useTheme } from "@emotion/react";
|
|
|
36
36
|
import styled2 from "@emotion/styled";
|
|
37
37
|
var HeaderStyled = styled2.header`
|
|
38
38
|
${({ theme }) => `
|
|
39
|
-
${theme.fontStyles.
|
|
39
|
+
${theme.fontStyles.h6Bold};
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: center;
|
|
42
42
|
justify-content: space-between;
|
|
@@ -93,7 +93,7 @@ var AccordionHeader = ({
|
|
|
93
93
|
import styled3 from "@emotion/styled";
|
|
94
94
|
var BodyStyled = styled3.div`
|
|
95
95
|
${({ theme, isOpenState }) => `
|
|
96
|
-
${theme.fontStyles.
|
|
96
|
+
${theme.fontStyles.bodyLgRegular};
|
|
97
97
|
display: grid;
|
|
98
98
|
grid-template-rows: ${isOpenState ? "1fr" : "0fr"};
|
|
99
99
|
transition: grid-template-rows 0.3s ease-in-out, padding 0.3s ease-in-out;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dt-dds/react-accordion",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.43",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js"
|
|
@@ -20,9 +20,10 @@
|
|
|
20
20
|
"test:update:snapshot": "jest -u"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dt-dds/react-core": "1.0.0-beta.
|
|
24
|
-
"@dt-dds/react-divider": "1.0.0-beta.
|
|
25
|
-
"@dt-dds/react-icon": "1.0.0-beta.
|
|
23
|
+
"@dt-dds/react-core": "1.0.0-beta.43",
|
|
24
|
+
"@dt-dds/react-divider": "1.0.0-beta.42",
|
|
25
|
+
"@dt-dds/react-icon": "1.0.0-beta.44",
|
|
26
|
+
"@dt-dds/themes": "1.0.0-beta.3"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@babel/core": "^7.22.9",
|