@onepercentio/one-ui 0.6.6 → 0.6.7
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/components/Background/Background.d.ts +7 -0
- package/dist/components/Background/Background.js +58 -0
- package/dist/components/Background/Background.js.map +1 -0
- package/dist/components/Background/Background.module.scss +106 -0
- package/dist/components/Background/Background.stories.d.ts +7 -0
- package/dist/components/Background/Background.stories.js +30 -0
- package/dist/components/Background/Background.stories.js.map +1 -0
- package/dist/components/Background/ground-tile.svg +9 -0
- package/dist/components/Background/index.d.ts +1 -0
- package/dist/components/Background/index.js +9 -0
- package/dist/components/Background/index.js.map +1 -0
- package/dist/components/MutableHamburgerButton/MutableHamburgerButton.module.scss +13 -10
- package/dist/components/MutableHamburgerButton/MutableHamburgerButton.stories.js +1 -1
- package/dist/components/MutableHamburgerButton/MutableHamburgerButton.stories.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
const react_1 = __importStar(require("react"));
|
|
30
|
+
const Background_module_scss_1 = __importDefault(require("./Background.module.scss"));
|
|
31
|
+
const throttle_1 = __importDefault(require("lodash/throttle"));
|
|
32
|
+
/**
|
|
33
|
+
* An animated background that represents a 3d environment and places the user into a cenario
|
|
34
|
+
**/
|
|
35
|
+
function Background({ pointTo = "north", color, }) {
|
|
36
|
+
const base = (0, react_1.useRef)(null);
|
|
37
|
+
(0, react_1.useEffect)(() => {
|
|
38
|
+
const func = (0, throttle_1.default)((e) => {
|
|
39
|
+
const razao = document.body.clientWidth / document.body.clientHeight;
|
|
40
|
+
const baseX = 1;
|
|
41
|
+
const baseY = baseX * razao;
|
|
42
|
+
const percentX = (e.x * 100) / document.body.clientWidth / 100;
|
|
43
|
+
const percentY = (e.y * 100) / document.body.clientHeight / 100;
|
|
44
|
+
const perspectiveOffsetX = baseX * percentX - baseX / 2;
|
|
45
|
+
const perspectiveOffsetY = baseY * percentY - baseY / 2;
|
|
46
|
+
base.current.style.perspectiveOrigin = `${50 - perspectiveOffsetX}% ${40 - perspectiveOffsetY}%`;
|
|
47
|
+
}, 1000 / 15);
|
|
48
|
+
window.addEventListener("mousemove", func);
|
|
49
|
+
return () => {
|
|
50
|
+
window.removeEventListener("mousemove", func);
|
|
51
|
+
};
|
|
52
|
+
}, []);
|
|
53
|
+
return (react_1.default.createElement("div", { ref: base, style: { "--halo": color }, className: `${Background_module_scss_1.default.background} ${Background_module_scss_1.default[pointTo]}` },
|
|
54
|
+
react_1.default.createElement("div", { className: Background_module_scss_1.default.ground }),
|
|
55
|
+
react_1.default.createElement("div", { className: Background_module_scss_1.default.overlay })));
|
|
56
|
+
}
|
|
57
|
+
exports.default = Background;
|
|
58
|
+
//# sourceMappingURL=Background.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Background.js","sourceRoot":"","sources":["../../../src/components/Background/Background.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiD;AACjD,sFAA8C;AAC9C,+DAAuC;AAEvC;;IAEI;AACJ,SAAwB,UAAU,CAAC,EACjC,OAAO,GAAG,OAAO,EACjB,KAAK,GAIN;IACC,MAAM,IAAI,GAAG,IAAA,cAAM,EAAiB,IAAI,CAAC,CAAC;IAC1C,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,MAAM,IAAI,GAAG,IAAA,kBAAQ,EAAC,CAAC,CAAa,EAAE,EAAE;YACtC,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC;YACrE,MAAM,KAAK,GAAG,CAAC,CAAC;YAChB,MAAM,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;YAC5B,MAAM,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC;YAC/D,MAAM,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC;YAChE,MAAM,kBAAkB,GAAG,KAAK,GAAG,QAAQ,GAAG,KAAK,GAAG,CAAC,CAAC;YACxD,MAAM,kBAAkB,GAAG,KAAK,GAAG,QAAQ,GAAG,KAAK,GAAG,CAAC,CAAC;YACxD,IAAI,CAAC,OAAQ,CAAC,KAAK,CAAC,iBAAiB,GAAG,GAAG,EAAE,GAAG,kBAAkB,KAChE,EAAE,GAAG,kBACP,GAAG,CAAC;QACN,CAAC,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;QACd,MAAM,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QAC3C,OAAO,GAAG,EAAE;YACV,MAAM,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QAChD,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,CACL,uCACE,GAAG,EAAE,IAAI,EACT,KAAK,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAS,EACjC,SAAS,EAAE,GAAG,gCAAM,CAAC,UAAU,IAAI,gCAAM,CAAC,OAAO,CAAC,EAAE;QAEpD,uCAAK,SAAS,EAAE,gCAAM,CAAC,MAAM,GAAI;QACjC,uCAAK,SAAS,EAAE,gCAAM,CAAC,OAAO,GAAI,CAC9B,CACP,CAAC;AACJ,CAAC;AApCD,6BAoCC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
$renderResolutionWidth: 50vw;
|
|
2
|
+
$renderResolutionHeight: 50vh;
|
|
3
|
+
$blockSize: $renderResolutionWidth * 0.1;
|
|
4
|
+
|
|
5
|
+
* {
|
|
6
|
+
-webkit-font-smoothing: subpixel-antialiased;
|
|
7
|
+
outline: 1px solid transparent;
|
|
8
|
+
--primary-color: blue;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.overlay {
|
|
12
|
+
position: absolute;
|
|
13
|
+
height: $renderResolutionHeight / 10;
|
|
14
|
+
width: $renderResolutionWidth / 10;
|
|
15
|
+
transform: scale(10);
|
|
16
|
+
background: radial-gradient(
|
|
17
|
+
circle at 50% -100%,
|
|
18
|
+
rgba(33, 0, 59, 0.5),
|
|
19
|
+
rgba(33, 0, 59, 0.5) 40%,
|
|
20
|
+
rgba(66, 35, 91, 0.5) 65%,
|
|
21
|
+
#0000 80%
|
|
22
|
+
);
|
|
23
|
+
background-repeat: no-repeat;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.background {
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
image-rendering: 10px 10px;
|
|
29
|
+
background-color: black;
|
|
30
|
+
image-rendering: optimizeSpeed;
|
|
31
|
+
background-repeat: no-repeat;
|
|
32
|
+
background-size: $renderResolutionWidth $renderResolutionHeight * 0.5;
|
|
33
|
+
width: $renderResolutionWidth;
|
|
34
|
+
height: $renderResolutionHeight;
|
|
35
|
+
perspective: $renderResolutionWidth * 0.9;
|
|
36
|
+
perspective-origin: 50% 40%;
|
|
37
|
+
position: absolute;
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
align-items: center;
|
|
41
|
+
z-index: -1;
|
|
42
|
+
transition: perspective-origin;
|
|
43
|
+
transition-duration: var(--animation-speed-transition);
|
|
44
|
+
top: 50vh - $renderResolutionHeight / 2;
|
|
45
|
+
left: 50vw - $renderResolutionWidth / 2;
|
|
46
|
+
transform: scale(100vw / $renderResolutionWidth);
|
|
47
|
+
|
|
48
|
+
& .ground {
|
|
49
|
+
transform: rotateX(90deg) translateY(50%) translateZ(-75px) rotateZ(0deg);
|
|
50
|
+
}
|
|
51
|
+
&.north .ground {
|
|
52
|
+
transform: rotateX(90deg) translateY(50%) translateZ(-75px) rotateZ(0deg)
|
|
53
|
+
rotateZ(0deg);
|
|
54
|
+
}
|
|
55
|
+
&.south .ground {
|
|
56
|
+
transform: rotateX(90deg) translateY(50%) translateZ(-75px) rotateZ(0deg)
|
|
57
|
+
rotateZ(180deg);
|
|
58
|
+
}
|
|
59
|
+
&.east .ground {
|
|
60
|
+
transform: rotateX(90deg) translateY(50%) translateZ(-75px) rotateZ(0deg)
|
|
61
|
+
rotateZ(90deg);
|
|
62
|
+
}
|
|
63
|
+
&.west .ground {
|
|
64
|
+
transform: rotateX(90deg) translateY(50%) translateZ(-75px) rotateZ(0deg)
|
|
65
|
+
rotateZ(270deg);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
$tileSize: $renderResolutionHeight * 0.075 * 1.5;
|
|
70
|
+
.ground {
|
|
71
|
+
width: $renderResolutionWidth * 3 * (100vw / $renderResolutionWidth);
|
|
72
|
+
height: $renderResolutionWidth * 3 * (100vw / $renderResolutionWidth);
|
|
73
|
+
transition: transform var(--animation-speed-transition) var(--animation-timing-transition);
|
|
74
|
+
&::before {
|
|
75
|
+
backface-visibility: hidden;
|
|
76
|
+
content: "";
|
|
77
|
+
position: absolute;
|
|
78
|
+
width: $renderResolutionWidth * 3 * (100vw / $renderResolutionWidth);
|
|
79
|
+
height: $renderResolutionWidth * 3 * (100vw / $renderResolutionWidth);
|
|
80
|
+
border-radius: 50%;
|
|
81
|
+
background: url(./ground-tile.svg);
|
|
82
|
+
background-size: $tileSize $tileSize;
|
|
83
|
+
background-position: -18px 30px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
position: absolute;
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
justify-content: center;
|
|
90
|
+
|
|
91
|
+
&::after {
|
|
92
|
+
content: "";
|
|
93
|
+
width: $renderResolutionWidth * 3;
|
|
94
|
+
height: $renderResolutionWidth * 3;
|
|
95
|
+
transform: scale(4);
|
|
96
|
+
background: radial-gradient(
|
|
97
|
+
transparent 20%,
|
|
98
|
+
rgba(33, 0, 59, 1) 40%,
|
|
99
|
+
rgba(33, 0, 59, 0.6) 59%,
|
|
100
|
+
#0009 70%
|
|
101
|
+
);
|
|
102
|
+
// background-color: red;
|
|
103
|
+
border-radius: 50%;
|
|
104
|
+
position: absolute;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.InitialImplementation = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const OneUIProvider_1 = __importDefault(require("../../context/OneUIProvider"));
|
|
9
|
+
const Loader_1 = __importDefault(require("../Loader"));
|
|
10
|
+
const Background_1 = __importDefault(require("./Background"));
|
|
11
|
+
exports.default = {
|
|
12
|
+
component: Background_1.default,
|
|
13
|
+
title: "Sky",
|
|
14
|
+
};
|
|
15
|
+
const InitialImplementation = (args) => (react_1.default.createElement(OneUIProvider_1.default, { config: {
|
|
16
|
+
component: {
|
|
17
|
+
asyncWrapper: {
|
|
18
|
+
LoadingComponent: () => react_1.default.createElement(Loader_1.default, null),
|
|
19
|
+
messages: {
|
|
20
|
+
error: {
|
|
21
|
+
title: "Exemplo de error",
|
|
22
|
+
retryBtn: "Tentar novamente",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
} },
|
|
28
|
+
react_1.default.createElement(Background_1.default, Object.assign({}, args))));
|
|
29
|
+
exports.InitialImplementation = InitialImplementation;
|
|
30
|
+
//# sourceMappingURL=Background.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Background.stories.js","sourceRoot":"","sources":["../../../src/components/Background/Background.stories.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,gFAAwD;AACxD,uDAA+B;AAC/B,8DAAwC;AAExC,kBAAe;IACb,SAAS,EAAE,oBAAY;IACvB,KAAK,EAAE,KAAK;CACb,CAAC;AAEK,MAAM,qBAAqB,GAAG,CAAC,IAAS,EAAE,EAAE,CAAC,CAClD,8BAAC,uBAAa,IACZ,MAAM,EAAE;QACN,SAAS,EAAE;YACT,YAAY,EAAE;gBACZ,gBAAgB,EAAE,GAAG,EAAE,CAAC,8BAAC,gBAAM,OAAG;gBAClC,QAAQ,EAAE;oBACR,KAAK,EAAE;wBACL,KAAK,EAAE,kBAAkB;wBACzB,QAAQ,EAAE,kBAAkB;qBAC7B;iBACF;aACF;SACF;KACF;IAED,8BAAC,oBAAY,oBAAK,IAAI,EAAI,CACZ,CACjB,CAAC;AAlBW,QAAA,qBAAqB,yBAkBhC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none">
|
|
2
|
+
|
|
3
|
+
<defs>
|
|
4
|
+
<filter id="blur">
|
|
5
|
+
<feGaussianBlur stdDeviation="1" />
|
|
6
|
+
</filter>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="400" height="400" stroke-width="6" stroke="#d0b9fc" fill="#0000" />
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Background';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var Background_1 = require("./Background");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Background_1).default; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Background/index.tsx"],"names":[],"mappings":";;;;;;AAAA,2CAAuC;AAA9B,sHAAA,OAAO,OAAA"}
|
|
@@ -20,18 +20,20 @@ $slice: math.div(1, 7);
|
|
|
20
20
|
transform: scale(0.9);
|
|
21
21
|
}
|
|
22
22
|
> * {
|
|
23
|
+
position: relative;
|
|
23
24
|
flex-shrink: 0;
|
|
24
|
-
box-sizing:
|
|
25
|
+
box-sizing: border-box;
|
|
25
26
|
width: 0.8em;
|
|
26
27
|
height: #{$slice}em;
|
|
27
28
|
border-radius: #{math.div($slice, 2)}em;
|
|
28
29
|
transition: transform $veryFast, width $veryFast, height $veryFast,
|
|
29
30
|
border-width $veryFast, background-color $veryFast,
|
|
30
|
-
border-radius $veryFast;
|
|
31
|
+
border-radius $veryFast, top $veryFast;
|
|
31
32
|
background: var(--mutable-hamburger-background, $digitalBlue);
|
|
32
33
|
background-size: 1em 1em;
|
|
33
34
|
background-repeat: no-repeat;
|
|
34
35
|
border: 0em solid #0000;
|
|
36
|
+
top: 0px;
|
|
35
37
|
&:nth-child(1) {
|
|
36
38
|
border-top-color: var(--mutable-hamburger-background, $digitalBlue);
|
|
37
39
|
}
|
|
@@ -101,8 +103,8 @@ $slice: math.div(1, 7);
|
|
|
101
103
|
&.search {
|
|
102
104
|
> :nth-child(1) {
|
|
103
105
|
$rate: 1.8;
|
|
104
|
-
width: #{$slice * $rate}em;
|
|
105
|
-
height: #{$slice * $rate}em;
|
|
106
|
+
width: #{$slice * $rate + math.div($slice, 1.35)}em;
|
|
107
|
+
height: #{$slice * $rate + math.div($slice, 1.35)}em;
|
|
106
108
|
border-radius: #{$slice * $rate * 2}em;
|
|
107
109
|
background-color: transparent;
|
|
108
110
|
border: #{math.div($slice, 1.35)}em solid
|
|
@@ -115,7 +117,7 @@ $slice: math.div(1, 7);
|
|
|
115
117
|
width: 0.55em;
|
|
116
118
|
}
|
|
117
119
|
> :nth-child(3) {
|
|
118
|
-
transform: translateX(0.12em) translateY(-#{($slice * 1.3) + 0.
|
|
120
|
+
transform: translateX(0.12em) translateY(-#{($slice * 1.3) + 0.085}em)
|
|
119
121
|
rotateZ(45deg);
|
|
120
122
|
height: #{math.div($slice, 1.35)}em;
|
|
121
123
|
width: 0.55em;
|
|
@@ -158,19 +160,20 @@ $slice: math.div(1, 7);
|
|
|
158
160
|
animation-timing-function: linear;
|
|
159
161
|
> * {
|
|
160
162
|
background-color: #0000;
|
|
161
|
-
width: #{$slice *
|
|
162
|
-
height: #{$slice *
|
|
163
|
-
border-radius: #{$slice *
|
|
163
|
+
width: #{$slice * 4.5}em;
|
|
164
|
+
height: #{$slice * 4.5}em;
|
|
165
|
+
border-radius: #{$slice * 4.5}em;
|
|
164
166
|
border-width: #{$slice}em;
|
|
165
167
|
}
|
|
166
168
|
> :nth-child(1) {
|
|
167
|
-
|
|
169
|
+
top: (#{$slice * 4.5}em);
|
|
168
170
|
}
|
|
169
171
|
> :nth-child(2) {
|
|
170
172
|
transform: rotateZ(-5deg);
|
|
171
173
|
}
|
|
172
174
|
> :nth-child(3) {
|
|
173
|
-
transform:
|
|
175
|
+
transform: rotateZ(-95deg);
|
|
176
|
+
top: (-#{$slice * 4.5}em);
|
|
174
177
|
}
|
|
175
178
|
}
|
|
176
179
|
}
|
|
@@ -33,7 +33,7 @@ exports.default = {
|
|
|
33
33
|
component: MutableHamburgerButton_1.default,
|
|
34
34
|
title: "Mutable Hamburger Button",
|
|
35
35
|
};
|
|
36
|
-
const InitialImplementation = (args) => (react_1.default.createElement("div", { style: { backgroundColor: "#00f5", display: "inline-block" } },
|
|
36
|
+
const InitialImplementation = (args) => (react_1.default.createElement("div", { style: { transformOrigin: '0px 0px', transform: "scale(10)", backgroundColor: "#00f5", display: "inline-block" } },
|
|
37
37
|
react_1.default.createElement(MutableHamburgerButton_1.default, Object.assign({}, args))));
|
|
38
38
|
exports.InitialImplementation = InitialImplementation;
|
|
39
39
|
exports.InitialImplementation.args = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MutableHamburgerButton.stories.js","sourceRoot":"","sources":["../../../src/components/MutableHamburgerButton/MutableHamburgerButton.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAmE;AACnE,sFAA8D;AAE9D,kBAAe;IACb,SAAS,EAAE,gCAAsB;IACjC,KAAK,EAAE,0BAA0B;CAClC,CAAC;AAEK,MAAM,qBAAqB,GAAG,CAAC,IAAS,EAAE,EAAE,CAAC,CAClD,uCAAK,KAAK,EAAE,EAAC,eAAe,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAC;
|
|
1
|
+
{"version":3,"file":"MutableHamburgerButton.stories.js","sourceRoot":"","sources":["../../../src/components/MutableHamburgerButton/MutableHamburgerButton.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAmE;AACnE,sFAA8D;AAE9D,kBAAe;IACb,SAAS,EAAE,gCAAsB;IACjC,KAAK,EAAE,0BAA0B;CAClC,CAAC;AAEK,MAAM,qBAAqB,GAAG,CAAC,IAAS,EAAE,EAAE,CAAC,CAClD,uCAAK,KAAK,EAAE,EAAC,eAAe,EAAE,SAAS,EAAC,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAC;IAChH,8BAAC,gCAAsB,oBAAK,IAAI,EAAI,CAChC,CACP,CAAC;AAJW,QAAA,qBAAqB,yBAIhC;AACF,6BAAqB,CAAC,IAAI,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,WAAW,GAAG,GAAG;CAC0B,CAAC;AAE3D,MAAM,kBAAkB,GAAG,CAAC,IAAS,EAAE,EAAE;IAC9C,MAAM,CAAC,CAAC,EAAE,EAAE,CAAC,GACX,IAAA,gBAAQ,EAAyD,QAAQ,CAAC,CAAC;IAE3E,SAAS,WAAW;QAChB,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;QACxB,IAAI,CAAC,GAAG,GAAG,EAAE;YACT,OAAO,SAAS,CAAA;SACnB;aAAM,IAAI,CAAC,GAAG,GAAG,EAAE;YAChB,OAAO,YAAY,CAAA;SACtB;aAAM,IAAI,CAAC,GAAG,GAAG,EAAE;YAChB,OAAO,UAAU,CAAA;SACpB;aAAM,IAAI,CAAC,GAAG,GAAG,EAAE;YAChB,OAAO,QAAQ,CAAC;SACnB;aAAM;YACH,OAAO,QAAQ,CAAA;SAClB;IACL,CAAC;IAEH,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,MAAM,CAAC,GAAG,WAAW,CAAC,GAAG,EAAE;YACzB,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;QAC3D,CAAC,EAAE,GAAG,CAAC,CAAC;QAER,OAAO,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;IACH,OAAO,8BAAC,gCAAsB,oBAAK,IAAI,IAAE,KAAK,EAAE,CAAC,IAAI,CAAC;AACxD,CAAC,CAAC;AA3BW,QAAA,kBAAkB,sBA2B7B;AACF,0BAAkB,CAAC,IAAI,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,WAAW,GAAG,GAAG;CAC0B,CAAC"}
|