@dt-dds/react-accordion 1.0.0-beta.43 → 1.0.0-beta.44

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
@@ -1,5 +1,16 @@
1
1
  # @dt-ui/react-accordion
2
2
 
3
+ ## 1.0.0-beta.44
4
+
5
+ ### Patch Changes
6
+
7
+ - refactor(themes): consolidate theme structure
8
+ - Updated dependencies
9
+ - @dt-dds/react-core@1.0.0-beta.44
10
+ - @dt-dds/react-divider@1.0.0-beta.43
11
+ - @dt-dds/react-icon@1.0.0-beta.45
12
+ - @dt-dds/themes@1.0.0-beta.4
13
+
3
14
  ## 1.0.0-beta.43
4
15
 
5
16
  ### Minor Changes
package/dist/index.js CHANGED
@@ -58,7 +58,7 @@ var AccordionStyled = import_styled.default.div`
58
58
  ` : `
59
59
  &:hover {
60
60
  background-color: ${theme.palette.surface.default};
61
- box-shadow: ${theme.shadows.xs};
61
+ box-shadow: ${theme.shadows.elevation_100};
62
62
  }
63
63
  `}
64
64
  `}
@@ -76,8 +76,8 @@ var HeaderStyled = import_styled2.default.header`
76
76
  display: flex;
77
77
  align-items: center;
78
78
  justify-content: space-between;
79
- gap: ${theme.spacing["4xs"]};
80
- padding: ${theme.spacing["2xs"]};
79
+ gap: ${theme.spacing.spacing_30};
80
+ padding: ${theme.spacing.spacing_50};
81
81
  cursor: pointer;
82
82
  user-select: none;
83
83
  color: ${theme.palette.surface.dark};
@@ -135,7 +135,7 @@ var BodyStyled = import_styled3.default.div`
135
135
  transition: grid-template-rows 0.3s ease-in-out, padding 0.3s ease-in-out;
136
136
  color: ${theme.palette.content.dark};
137
137
 
138
- padding: 0 ${theme.spacing["2xs"]} ${isOpenState ? theme.spacing["2xs"] : 0};
138
+ padding: 0 ${theme.spacing.spacing_50} ${isOpenState ? theme.spacing.spacing_50 : 0};
139
139
 
140
140
  & > div {
141
141
  width: 100%;
package/dist/index.mjs CHANGED
@@ -22,7 +22,7 @@ var AccordionStyled = styled.div`
22
22
  ` : `
23
23
  &:hover {
24
24
  background-color: ${theme.palette.surface.default};
25
- box-shadow: ${theme.shadows.xs};
25
+ box-shadow: ${theme.shadows.elevation_100};
26
26
  }
27
27
  `}
28
28
  `}
@@ -40,8 +40,8 @@ var HeaderStyled = styled2.header`
40
40
  display: flex;
41
41
  align-items: center;
42
42
  justify-content: space-between;
43
- gap: ${theme.spacing["4xs"]};
44
- padding: ${theme.spacing["2xs"]};
43
+ gap: ${theme.spacing.spacing_30};
44
+ padding: ${theme.spacing.spacing_50};
45
45
  cursor: pointer;
46
46
  user-select: none;
47
47
  color: ${theme.palette.surface.dark};
@@ -99,7 +99,7 @@ var BodyStyled = styled3.div`
99
99
  transition: grid-template-rows 0.3s ease-in-out, padding 0.3s ease-in-out;
100
100
  color: ${theme.palette.content.dark};
101
101
 
102
- padding: 0 ${theme.spacing["2xs"]} ${isOpenState ? theme.spacing["2xs"] : 0};
102
+ padding: 0 ${theme.spacing.spacing_50} ${isOpenState ? theme.spacing.spacing_50 : 0};
103
103
 
104
104
  & > div {
105
105
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dt-dds/react-accordion",
3
- "version": "1.0.0-beta.43",
3
+ "version": "1.0.0-beta.44",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"
@@ -20,10 +20,10 @@
20
20
  "test:update:snapshot": "jest -u"
21
21
  },
22
22
  "dependencies": {
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"
23
+ "@dt-dds/react-core": "1.0.0-beta.44",
24
+ "@dt-dds/react-divider": "1.0.0-beta.43",
25
+ "@dt-dds/react-icon": "1.0.0-beta.45",
26
+ "@dt-dds/themes": "1.0.0-beta.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@babel/core": "^7.22.9",