@ttoss/components 1.29.32 → 1.30.1

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/index.d.ts CHANGED
@@ -40,15 +40,14 @@ declare const Accordion: {
40
40
  accessKey?: string | undefined;
41
41
  autoFocus?: boolean | undefined;
42
42
  className?: string | undefined;
43
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
43
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
44
44
  contextMenu?: string | undefined;
45
45
  dir?: string | undefined;
46
- draggable?: (boolean | "true" | "false") | undefined;
46
+ draggable?: (boolean | "false" | "true") | undefined;
47
47
  hidden?: boolean | undefined;
48
48
  lang?: string | undefined;
49
49
  nonce?: string | undefined;
50
- placeholder?: string | undefined;
51
- spellCheck?: (boolean | "true" | "false") | undefined;
50
+ spellCheck?: (boolean | "false" | "true") | undefined;
52
51
  translate?: "yes" | "no" | undefined;
53
52
  radioGroup?: string | undefined;
54
53
  about?: string | undefined;
@@ -77,49 +76,49 @@ declare const Accordion: {
77
76
  inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
78
77
  is?: string | undefined;
79
78
  "aria-activedescendant"?: string | undefined;
80
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
81
- "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
79
+ "aria-atomic"?: (boolean | "false" | "true") | undefined;
80
+ "aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
82
81
  "aria-braillelabel"?: string | undefined;
83
82
  "aria-brailleroledescription"?: string | undefined;
84
- "aria-busy"?: (boolean | "true" | "false") | undefined;
85
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
83
+ "aria-busy"?: (boolean | "false" | "true") | undefined;
84
+ "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
86
85
  "aria-colcount"?: number | undefined;
87
86
  "aria-colindex"?: number | undefined;
88
87
  "aria-colindextext"?: string | undefined;
89
88
  "aria-colspan"?: number | undefined;
90
- "aria-current"?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
89
+ "aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
91
90
  "aria-describedby"?: string | undefined;
92
91
  "aria-description"?: string | undefined;
93
92
  "aria-details"?: string | undefined;
94
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
93
+ "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
95
94
  "aria-errormessage"?: string | undefined;
96
95
  "aria-flowto"?: string | undefined;
97
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
98
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
99
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
100
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
96
+ "aria-grabbed"?: (boolean | "false" | "true") | undefined;
97
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
98
+ "aria-hidden"?: (boolean | "false" | "true") | undefined;
99
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
101
100
  "aria-keyshortcuts"?: string | undefined;
102
101
  "aria-label"?: string | undefined;
103
102
  "aria-labelledby"?: string | undefined;
104
103
  "aria-level"?: number | undefined;
105
104
  "aria-live"?: "off" | "assertive" | "polite" | undefined;
106
- "aria-modal"?: (boolean | "true" | "false") | undefined;
107
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
108
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
105
+ "aria-modal"?: (boolean | "false" | "true") | undefined;
106
+ "aria-multiline"?: (boolean | "false" | "true") | undefined;
107
+ "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
109
108
  "aria-orientation"?: "horizontal" | "vertical" | undefined;
110
109
  "aria-owns"?: string | undefined;
111
110
  "aria-placeholder"?: string | undefined;
112
111
  "aria-posinset"?: number | undefined;
113
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
114
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
112
+ "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
113
+ "aria-readonly"?: (boolean | "false" | "true") | undefined;
115
114
  "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
116
- "aria-required"?: (boolean | "true" | "false") | undefined;
115
+ "aria-required"?: (boolean | "false" | "true") | undefined;
117
116
  "aria-roledescription"?: string | undefined;
118
117
  "aria-rowcount"?: number | undefined;
119
118
  "aria-rowindex"?: number | undefined;
120
119
  "aria-rowindextext"?: string | undefined;
121
120
  "aria-rowspan"?: number | undefined;
122
- "aria-selected"?: (boolean | "true" | "false") | undefined;
121
+ "aria-selected"?: (boolean | "false" | "true") | undefined;
123
122
  "aria-setsize"?: number | undefined;
124
123
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
125
124
  "aria-valuemax"?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/components",
3
- "version": "1.29.32",
3
+ "version": "1.30.1",
4
4
  "description": "React components for ttoss ecosystem.",
5
5
  "author": "ttoss",
6
6
  "contributors": [
@@ -36,17 +36,18 @@
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": ">=16.8.0",
39
- "@ttoss/react-hooks": "^1.25.1",
40
- "@ttoss/ui": "^4.0.7"
39
+ "@ttoss/react-hooks": "^1.25.2",
40
+ "@ttoss/ui": "^4.1.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/jest": "^29.5.11",
44
- "@types/react": "^18.2.39",
44
+ "@types/react": "^18.2.48",
45
45
  "jest": "^29.7.0",
46
46
  "tsup": "^8.0.1",
47
47
  "@ttoss/config": "^1.31.4",
48
- "@ttoss/test-utils": "^2.0.4",
49
- "@ttoss/ui": "^4.0.7"
48
+ "@ttoss/react-hooks": "^1.25.2",
49
+ "@ttoss/test-utils": "^2.1.0",
50
+ "@ttoss/ui": "^4.1.0"
50
51
  },
51
52
  "keywords": [
52
53
  "React",
@@ -62,7 +63,7 @@
62
63
  "gitHead": "e2b509ee8717f07f7365191b651dcbb5f080e05a",
63
64
  "scripts": {
64
65
  "build": "tsup",
65
- "dev": "pnpm workspace @docs/storybook run dev",
66
+ "dev": "pnpm -r --filter=@docs/storybook run dev",
66
67
  "test": "jest"
67
68
  }
68
69
  }
@@ -47,7 +47,8 @@ export const Accordion = ({
47
47
  },
48
48
  })(theme);
49
49
 
50
- return createClassName(styles);
50
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
51
+ return createClassName(styles as any);
51
52
  }, [theme]);
52
53
 
53
54
  return (