@cypress-design/react-docmenu 0.2.2 → 0.2.3
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +9 -0
- package/dist/index.es.mjs +11 -4
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +11 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -1
- package/tsconfig.json +0 -7
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,5 +2,5 @@ $ yarn build:module && yarn build:types
|
|
|
2
2
|
$ rollup -c ./rollup.config.mjs
|
|
3
3
|
[36m
|
|
4
4
|
[1m./index.ts[22m → [1m./dist/index.umd.js, ./dist/index.es.mjs[22m...[39m
|
|
5
|
-
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [
|
|
5
|
+
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [1m17.1s[22m[39m
|
|
6
6
|
$ tsc --project ./tsconfig.build.json
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @cypress-design/react-docmenu
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#245](https://github.com/cypress-io/cypress-design/pull/245) [`d52d023`](https://github.com/cypress-io/cypress-design/commit/d52d02301bb851d514661a8c258d0c4ae5baf171) Thanks [@elevatebart](https://github.com/elevatebart)! - use tailwind to rollup classes in the final package
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`d52d023`](https://github.com/cypress-io/cypress-design/commit/d52d02301bb851d514661a8c258d0c4ae5baf171)]:
|
|
10
|
+
- @cypress-design/react-icon@0.22.1
|
|
11
|
+
|
|
3
12
|
## 0.2.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.es.mjs
CHANGED
|
@@ -17,6 +17,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
17
17
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
18
18
|
PERFORMANCE OF THIS SOFTWARE.
|
|
19
19
|
***************************************************************************** */
|
|
20
|
+
/* global Reflect, Promise */
|
|
21
|
+
|
|
20
22
|
|
|
21
23
|
var __assign$1 = function() {
|
|
22
24
|
__assign$1 = Object.assign || function __assign(t) {
|
|
@@ -92,6 +94,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
92
94
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
93
95
|
PERFORMANCE OF THIS SOFTWARE.
|
|
94
96
|
***************************************************************************** */
|
|
97
|
+
/* global Reflect, Promise */
|
|
98
|
+
|
|
95
99
|
|
|
96
100
|
var __assign = function() {
|
|
97
101
|
__assign = Object.assign || function __assign(t) {
|
|
@@ -119,7 +123,10 @@ function __rest(s, e) {
|
|
|
119
123
|
var compileReactIconProperties = function (_a) {
|
|
120
124
|
var body = _a.body, compiledClasses = _a.compiledClasses, size = _a.size, attributes = __rest(_a, ["body", "compiledClasses", "size"]);
|
|
121
125
|
var filteredAttributes = Object.keys(attributes).reduce(function (newAttributes, attrName) {
|
|
122
|
-
if (!ICON_COLOR_PROP_NAMES.includes(attrName) &&
|
|
126
|
+
if (!ICON_COLOR_PROP_NAMES.includes(attrName) &&
|
|
127
|
+
attrName !== 'name') {
|
|
128
|
+
// @ts-expect-error the ky of React's SVGProps is too broad and
|
|
129
|
+
// breaks here. Since we do not need to check for it. We keep the expect error
|
|
123
130
|
newAttributes[attrName] =
|
|
124
131
|
attributes[attrName];
|
|
125
132
|
}
|
|
@@ -127,7 +134,7 @@ var compileReactIconProperties = function (_a) {
|
|
|
127
134
|
}, {});
|
|
128
135
|
var componentProps = __assign({ width: size, height: size, viewBox: "0 0 ".concat(size, " ").concat(size), fill: 'none', dangerouslySetInnerHTML: {
|
|
129
136
|
__html: body,
|
|
130
|
-
} }, filteredAttributes);
|
|
137
|
+
}, className: undefined }, filteredAttributes);
|
|
131
138
|
if (attributes.className) {
|
|
132
139
|
compiledClasses.push(attributes.className);
|
|
133
140
|
}
|
|
@@ -150,7 +157,7 @@ var IconChevronDownSmall = function (props) {
|
|
|
150
157
|
};
|
|
151
158
|
|
|
152
159
|
|
|
153
|
-
/* <wind-keep class=""> */
|
|
160
|
+
/* <wind-keep class="filter"> */
|
|
154
161
|
|
|
155
162
|
const classes = {
|
|
156
163
|
button: 'flex leading-[24px] py-[10px] items-center relative w-full',
|
|
@@ -226,4 +233,4 @@ var DocMenu = function (_a) {
|
|
|
226
233
|
export { DocMenu as default };
|
|
227
234
|
//# sourceMappingURL=index.es.mjs.map
|
|
228
235
|
|
|
229
|
-
/* <wind-keep class="list-none p-0 relative pl-[16px] inline-block pl-[24px] text-indigo-500 dark:text-indigo-200 py-[8px] text-[16px] leading-[24px] py-[12px] leading-[20px] text-[14px] absolute w-[4px] z-10 top-[10%] h-[80%] rounded-full hidden group-hover:block bg-gray-300 transform transition-transform left-0 rotate-0 -rotate-90 ml-[16px] h-[36px] bg-indigo-500 transition-all duration-300 ml-[6px] mt-[4px] ml-[8px] border-l border-gray-100 flex py-[10px] items-center w-full font-medium pl-[40px]"> */
|
|
236
|
+
/* <wind-keep class="list-none p-0 relative pl-[16px] inline-block pl-[24px] text-indigo-500 dark:text-indigo-200 py-[8px] text-[16px] leading-[24px] py-[12px] leading-[20px] text-[14px] absolute w-[4px] z-10 top-[10%] h-[80%] rounded-full hidden group-hover:block bg-gray-300 text-indigo-200 transform transition-transform left-0 rotate-0 -rotate-90 ml-[16px] h-[36px] bg-indigo-500 transition-all duration-300 ml-[6px] mt-[4px] ml-[8px] border-l border-gray-100 flex py-[10px] items-center w-full font-medium pl-[40px]"> */
|