@ttoss/components 1.24.4 → 1.24.6

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/dist/esm/index.js CHANGED
@@ -1,10 +1,7 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
2
 
3
- // tsup.inject.js
4
- import * as React from "react";
5
-
6
3
  // src/components/Accordion/Accordion.tsx
7
- import * as React2 from "react";
4
+ import * as React from "react";
8
5
  import {
9
6
  AccordionItem,
10
7
  AccordionItemButton,
@@ -25,7 +22,7 @@ var Accordion = ({
25
22
  ...boxProps
26
23
  }) => {
27
24
  const { theme } = useTheme();
28
- const className = React2.useMemo(() => {
25
+ const className = React.useMemo(() => {
29
26
  const styles = transformStyleObject({
30
27
  ".accordion__item": {
31
28
  marginBottom: 3
package/dist/index.js CHANGED
@@ -35,11 +35,8 @@ __export(src_exports, {
35
35
  });
36
36
  module.exports = __toCommonJS(src_exports);
37
37
 
38
- // tsup.inject.js
39
- var React = __toESM(require("react"));
40
-
41
38
  // src/components/Accordion/Accordion.tsx
42
- var React2 = __toESM(require("react"));
39
+ var React = __toESM(require("react"));
43
40
  var import_react_accessible_accordion = require("react-accessible-accordion");
44
41
  var import_ui = require("@ttoss/ui");
45
42
  var import_css = require("@emotion/css");
@@ -54,7 +51,7 @@ var Accordion = ({
54
51
  ...boxProps
55
52
  }) => {
56
53
  const { theme } = (0, import_ui.useTheme)();
57
- const className = React2.useMemo(() => {
54
+ const className = React.useMemo(() => {
58
55
  const styles = (0, import_css2.css)({
59
56
  ".accordion__item": {
60
57
  marginBottom: 3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/components",
3
- "version": "1.24.4",
3
+ "version": "1.24.6",
4
4
  "description": "React components.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "ttoss",
@@ -18,6 +18,7 @@
18
18
  "dev": "yarn workspace @docs/storybook run dev",
19
19
  "test": "jest"
20
20
  },
21
+ "sideEffects": false,
21
22
  "typings": "dist/index.d.ts",
22
23
  "dependencies": {
23
24
  "@emotion/css": "^11.10.5",
@@ -34,7 +35,7 @@
34
35
  "devDependencies": {
35
36
  "@ttoss/config": "^1.25.0",
36
37
  "@ttoss/test-utils": "^1.18.3",
37
- "@ttoss/ui": "^1.27.0",
38
+ "@ttoss/ui": "^1.27.2",
38
39
  "@types/jest": "^29.2.4",
39
40
  "jest": "^29.3.1"
40
41
  },
@@ -45,5 +46,5 @@
45
46
  "publishConfig": {
46
47
  "access": "public"
47
48
  },
48
- "gitHead": "9159bd57009f4fee620218bc1a0e7bbac28acccd"
49
+ "gitHead": "b77c8fe64f8fbf6198436a56d887d9b8807371f7"
49
50
  }