@ttoss/components 1.31.12 → 1.31.14
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,5 +1,5 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
import { __publicField } from "./chunk-
|
|
2
|
+
import { __publicField } from "./chunk-LZE3LOYR.js";
|
|
3
3
|
|
|
4
4
|
// src/components/Accordion.tsx
|
|
5
5
|
import * as React from "react";
|
|
@@ -1457,6 +1457,7 @@ try {
|
|
|
1457
1457
|
} catch (err) {}
|
|
1458
1458
|
function getRenderMode(body, mode) {
|
|
1459
1459
|
switch (mode) {
|
|
1460
|
+
// Force mode
|
|
1460
1461
|
case "svg":
|
|
1461
1462
|
case "bg":
|
|
1462
1463
|
case "mask":
|
package/dist/index.d.ts
CHANGED
|
@@ -24,9 +24,9 @@ declare const Accordion: {
|
|
|
24
24
|
({ children, allowMultipleExpanded, allowZeroExpanded, preExpanded, onChange, ...boxProps }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
25
25
|
Item: {
|
|
26
26
|
({ uuid: customUuid, dangerouslySetExpanded, className, activeClassName, ...rest }: react_accessible_accordion_dist_types_helpers_types.DivAttributes & {
|
|
27
|
-
uuid?: react_accessible_accordion_dist_types_components_ItemContext.ID
|
|
28
|
-
activeClassName?: string
|
|
29
|
-
dangerouslySetExpanded?: boolean
|
|
27
|
+
uuid?: react_accessible_accordion_dist_types_components_ItemContext.ID;
|
|
28
|
+
activeClassName?: string;
|
|
29
|
+
dangerouslySetExpanded?: boolean;
|
|
30
30
|
}): JSX.Element;
|
|
31
31
|
displayName: react_accessible_accordion_dist_types_helpers_DisplayName.default;
|
|
32
32
|
};
|
|
@@ -74,30 +74,30 @@ declare const Accordion: {
|
|
|
74
74
|
results?: number | undefined;
|
|
75
75
|
security?: string | undefined;
|
|
76
76
|
unselectable?: "on" | "off" | undefined;
|
|
77
|
-
inputMode?: "
|
|
77
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
78
78
|
is?: string | undefined;
|
|
79
79
|
"aria-activedescendant"?: string | undefined;
|
|
80
80
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
81
|
-
"aria-autocomplete"?: "
|
|
81
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
82
82
|
"aria-braillelabel"?: string | undefined;
|
|
83
83
|
"aria-brailleroledescription"?: string | undefined;
|
|
84
84
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
85
|
-
"aria-checked"?: boolean | "
|
|
85
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
86
86
|
"aria-colcount"?: number | undefined;
|
|
87
87
|
"aria-colindex"?: number | undefined;
|
|
88
88
|
"aria-colindextext"?: string | undefined;
|
|
89
89
|
"aria-colspan"?: number | undefined;
|
|
90
|
-
"aria-current"?: boolean | "
|
|
90
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
91
91
|
"aria-describedby"?: string | undefined;
|
|
92
92
|
"aria-description"?: string | undefined;
|
|
93
93
|
"aria-details"?: string | undefined;
|
|
94
|
-
"aria-dropeffect"?: "
|
|
94
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
95
95
|
"aria-errormessage"?: string | undefined;
|
|
96
96
|
"aria-flowto"?: string | undefined;
|
|
97
97
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
98
|
-
"aria-haspopup"?: boolean | "
|
|
98
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
99
99
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
100
|
-
"aria-invalid"?: boolean | "
|
|
100
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
101
101
|
"aria-keyshortcuts"?: string | undefined;
|
|
102
102
|
"aria-label"?: string | undefined;
|
|
103
103
|
"aria-labelledby"?: string | undefined;
|
|
@@ -110,9 +110,9 @@ declare const Accordion: {
|
|
|
110
110
|
"aria-owns"?: string | undefined;
|
|
111
111
|
"aria-placeholder"?: string | undefined;
|
|
112
112
|
"aria-posinset"?: number | undefined;
|
|
113
|
-
"aria-pressed"?: boolean | "
|
|
113
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
114
114
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
115
|
-
"aria-relevant"?: "
|
|
115
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
116
116
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
117
117
|
"aria-roledescription"?: string | undefined;
|
|
118
118
|
"aria-rowcount"?: number | undefined;
|
|
@@ -126,7 +126,7 @@ declare const Accordion: {
|
|
|
126
126
|
"aria-valuemin"?: number | undefined;
|
|
127
127
|
"aria-valuenow"?: number | undefined;
|
|
128
128
|
"aria-valuetext"?: string | undefined;
|
|
129
|
-
children?: React.ReactNode;
|
|
129
|
+
children?: React.ReactNode | undefined;
|
|
130
130
|
dangerouslySetInnerHTML?: {
|
|
131
131
|
__html: string | TrustedHTML;
|
|
132
132
|
} | undefined;
|
|
@@ -293,8 +293,8 @@ declare const Accordion: {
|
|
|
293
293
|
}>;
|
|
294
294
|
ItemHeading: React.FC<react_accessible_accordion_dist_types_helpers_types.DivAttributes>;
|
|
295
295
|
ItemPanel: ({ className, region, id, ...rest }: react_accessible_accordion_dist_types_helpers_types.DivAttributes & {
|
|
296
|
-
region?: boolean
|
|
297
|
-
className?: string
|
|
296
|
+
region?: boolean;
|
|
297
|
+
className?: string;
|
|
298
298
|
}) => JSX.Element;
|
|
299
299
|
};
|
|
300
300
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/components",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.14",
|
|
4
4
|
"description": "React components for ttoss ecosystem.",
|
|
5
5
|
"author": "ttoss",
|
|
6
6
|
"contributors": [
|
|
@@ -45,21 +45,21 @@
|
|
|
45
45
|
"remark-gfm": "^4.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"
|
|
49
|
-
"@ttoss/
|
|
50
|
-
"
|
|
48
|
+
"react": ">=16.8.0",
|
|
49
|
+
"@ttoss/react-hooks": "^1.25.13",
|
|
50
|
+
"@ttoss/ui": "^4.1.15"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/jest": "^29.5.12",
|
|
54
54
|
"@types/react": "^18.3.3",
|
|
55
55
|
"jest": "^29.7.0",
|
|
56
56
|
"react": "^18.3.1",
|
|
57
|
-
"tsup": "^8.
|
|
58
|
-
"@ttoss/config": "^1.32.
|
|
59
|
-
"@ttoss/react-
|
|
60
|
-
"@ttoss/react-
|
|
61
|
-
"@ttoss/test-utils": "^2.1.
|
|
62
|
-
"@ttoss/ui": "^4.1.
|
|
57
|
+
"tsup": "^8.2.4",
|
|
58
|
+
"@ttoss/config": "^1.32.7",
|
|
59
|
+
"@ttoss/react-hooks": "^1.25.13",
|
|
60
|
+
"@ttoss/react-icons": "^0.3.11",
|
|
61
|
+
"@ttoss/test-utils": "^2.1.11",
|
|
62
|
+
"@ttoss/ui": "^4.1.15"
|
|
63
63
|
},
|
|
64
64
|
"keywords": [
|
|
65
65
|
"React",
|
|
File without changes
|