@astral/ui 0.48.3 → 1.1.2-dev.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/Chevron/styles.js +3 -1
- package/esm/Chevron/styles.js +3 -1
- package/package.json +2 -2
package/Chevron/styles.js
CHANGED
|
@@ -7,7 +7,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.ChevronWrapper = void 0;
|
|
8
8
|
var icons_1 = require("@astral/icons");
|
|
9
9
|
var styles_1 = require("../styles");
|
|
10
|
-
exports.ChevronWrapper = (0, styles_1.styled)(icons_1.ChevronDOutlineMd
|
|
10
|
+
exports.ChevronWrapper = (0, styles_1.styled)(icons_1.ChevronDOutlineMd, {
|
|
11
|
+
shouldForwardProp: function (prop) { return prop !== 'isActive'; },
|
|
12
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n transform: rotateZ(", "deg);\n\n transition: ", ";\n"], ["\n transform: rotateZ(", "deg);\n\n transition: ", ";\n"])), function (_a) {
|
|
11
13
|
var isActive = _a.isActive;
|
|
12
14
|
return (isActive ? 180 : 0);
|
|
13
15
|
}, function (_a) {
|
package/esm/Chevron/styles.js
CHANGED
|
@@ -4,7 +4,9 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { ChevronDOutlineMd } from '@astral/icons';
|
|
6
6
|
import { styled } from '../styles';
|
|
7
|
-
export var ChevronWrapper = styled(ChevronDOutlineMd
|
|
7
|
+
export var ChevronWrapper = styled(ChevronDOutlineMd, {
|
|
8
|
+
shouldForwardProp: function (prop) { return prop !== 'isActive'; },
|
|
9
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n transform: rotateZ(", "deg);\n\n transition: ", ";\n"], ["\n transform: rotateZ(", "deg);\n\n transition: ", ";\n"])), function (_a) {
|
|
8
10
|
var isActive = _a.isActive;
|
|
9
11
|
return (isActive ? 180 : 0);
|
|
10
12
|
}, function (_a) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astral/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.2-dev.1",
|
|
4
4
|
"browser": "./src/index.ts",
|
|
5
5
|
"jest": {
|
|
6
6
|
"moduleNameMapper": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@astral/icons": "^
|
|
11
|
+
"@astral/icons": "^1.1.2-dev.1",
|
|
12
12
|
"@emotion/cache": "11.7.1",
|
|
13
13
|
"@emotion/react": "11.9.0",
|
|
14
14
|
"@emotion/server": "11.4.0",
|