@salutejs/plasma-new-hope 0.194.0-canary.1558.11852073996.0 → 0.194.0-canary.1560.11855728487.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/cjs/components/Modal/Modal.css +0 -6
  2. package/cjs/components/Modal/Modal.js +13 -27
  3. package/cjs/components/Modal/Modal.js.map +1 -1
  4. package/cjs/components/Modal/Modal.tokens.js +1 -7
  5. package/cjs/components/Modal/Modal.tokens.js.map +1 -1
  6. package/cjs/components/Switch/Switch.css +2 -2
  7. package/cjs/components/Switch/Switch.tokens.js +7 -1
  8. package/cjs/components/Switch/Switch.tokens.js.map +1 -1
  9. package/cjs/components/Switch/_toggleSize/base.js +1 -1
  10. package/cjs/components/Switch/_toggleSize/base.js.map +1 -1
  11. package/cjs/components/Switch/_toggleSize/base_38anc0.css +1 -0
  12. package/cjs/components/Switch/_view/base.js +1 -1
  13. package/cjs/components/Switch/_view/base.js.map +1 -1
  14. package/cjs/components/Switch/_view/base_15atbyp.css +1 -0
  15. package/cjs/index.css +2 -6
  16. package/emotion/cjs/components/Modal/Modal.js +12 -26
  17. package/emotion/cjs/components/Modal/Modal.template-doc.mdx +0 -47
  18. package/emotion/cjs/components/Modal/Modal.tokens.js +1 -7
  19. package/emotion/cjs/components/Switch/Switch.tokens.js +7 -1
  20. package/emotion/cjs/components/Switch/_toggleSize/base.js +1 -1
  21. package/emotion/cjs/components/Switch/_view/base.js +1 -1
  22. package/emotion/cjs/examples/plasma_b2c/components/Modal/Modal.config.js +1 -1
  23. package/emotion/cjs/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -90
  24. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +8 -8
  25. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.js +5 -2
  26. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.outline.config.js +37 -0
  27. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
  28. package/emotion/cjs/examples/plasma_web/components/Modal/Modal.config.js +1 -1
  29. package/emotion/cjs/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -90
  30. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +8 -8
  31. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.js +5 -2
  32. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.outline.config.js +37 -0
  33. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
  34. package/emotion/es/components/Modal/Modal.js +12 -26
  35. package/emotion/es/components/Modal/Modal.template-doc.mdx +0 -47
  36. package/emotion/es/components/Modal/Modal.tokens.js +1 -7
  37. package/emotion/es/components/Switch/Switch.tokens.js +7 -1
  38. package/emotion/es/components/Switch/_toggleSize/base.js +1 -1
  39. package/emotion/es/components/Switch/_view/base.js +1 -1
  40. package/emotion/es/examples/plasma_b2c/components/Modal/Modal.config.js +1 -1
  41. package/emotion/es/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -90
  42. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +8 -8
  43. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.js +4 -1
  44. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.outline.config.js +31 -0
  45. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
  46. package/emotion/es/examples/plasma_web/components/Modal/Modal.config.js +1 -1
  47. package/emotion/es/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -90
  48. package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +8 -8
  49. package/emotion/es/examples/plasma_web/components/Switch/Switch.js +4 -1
  50. package/emotion/es/examples/plasma_web/components/Switch/Switch.outline.config.js +31 -0
  51. package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
  52. package/es/components/Modal/Modal.css +0 -6
  53. package/es/components/Modal/Modal.js +13 -27
  54. package/es/components/Modal/Modal.js.map +1 -1
  55. package/es/components/Modal/Modal.tokens.js +1 -7
  56. package/es/components/Modal/Modal.tokens.js.map +1 -1
  57. package/es/components/Switch/Switch.css +2 -2
  58. package/es/components/Switch/Switch.tokens.js +7 -1
  59. package/es/components/Switch/Switch.tokens.js.map +1 -1
  60. package/es/components/Switch/_toggleSize/base.js +1 -1
  61. package/es/components/Switch/_toggleSize/base.js.map +1 -1
  62. package/es/components/Switch/_toggleSize/base_38anc0.css +1 -0
  63. package/es/components/Switch/_view/base.js +1 -1
  64. package/es/components/Switch/_view/base.js.map +1 -1
  65. package/es/components/Switch/_view/base_15atbyp.css +1 -0
  66. package/es/index.css +2 -6
  67. package/package.json +2 -2
  68. package/styled-components/cjs/components/Modal/Modal.js +12 -26
  69. package/styled-components/cjs/components/Modal/Modal.template-doc.mdx +0 -47
  70. package/styled-components/cjs/components/Modal/Modal.tokens.js +1 -7
  71. package/styled-components/cjs/components/Switch/Switch.tokens.js +7 -1
  72. package/styled-components/cjs/components/Switch/_toggleSize/base.js +1 -1
  73. package/styled-components/cjs/components/Switch/_view/base.js +1 -1
  74. package/styled-components/cjs/examples/plasma_b2c/components/Modal/Modal.config.js +1 -1
  75. package/styled-components/cjs/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -90
  76. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +1 -1
  77. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.js +5 -2
  78. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.outline.config.js +37 -0
  79. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
  80. package/styled-components/cjs/examples/plasma_web/components/Modal/Modal.config.js +1 -1
  81. package/styled-components/cjs/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -90
  82. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +1 -1
  83. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.js +5 -2
  84. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.outline.config.js +37 -0
  85. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
  86. package/styled-components/es/components/Modal/Modal.js +12 -26
  87. package/styled-components/es/components/Modal/Modal.template-doc.mdx +0 -47
  88. package/styled-components/es/components/Modal/Modal.tokens.js +1 -7
  89. package/styled-components/es/components/Switch/Switch.tokens.js +7 -1
  90. package/styled-components/es/components/Switch/_toggleSize/base.js +1 -1
  91. package/styled-components/es/components/Switch/_view/base.js +1 -1
  92. package/styled-components/es/examples/plasma_b2c/components/Modal/Modal.config.js +1 -1
  93. package/styled-components/es/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -90
  94. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +1 -1
  95. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.js +4 -1
  96. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.outline.config.js +31 -0
  97. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
  98. package/styled-components/es/examples/plasma_web/components/Modal/Modal.config.js +1 -1
  99. package/styled-components/es/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -90
  100. package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +1 -1
  101. package/styled-components/es/examples/plasma_web/components/Switch/Switch.js +4 -1
  102. package/styled-components/es/examples/plasma_web/components/Switch/Switch.outline.config.js +31 -0
  103. package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
  104. package/types/components/Modal/Modal.d.ts.map +1 -1
  105. package/types/components/Modal/Modal.tokens.d.ts +0 -6
  106. package/types/components/Modal/Modal.tokens.d.ts.map +1 -1
  107. package/types/components/Modal/Modal.types.d.ts +1 -21
  108. package/types/components/Modal/Modal.types.d.ts.map +1 -1
  109. package/types/components/Modal/index.d.ts +1 -1
  110. package/types/components/Modal/index.d.ts.map +1 -1
  111. package/types/components/Switch/Switch.tokens.d.ts +7 -1
  112. package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
  113. package/types/components/Switch/_toggleSize/base.d.ts.map +1 -1
  114. package/types/components/Switch/_view/base.d.ts.map +1 -1
  115. package/types/examples/plasma_b2c/components/Modal/Modal.config.d.ts.map +1 -1
  116. package/types/examples/plasma_b2c/components/Modal/Modal.d.ts +1 -7
  117. package/types/examples/plasma_b2c/components/Modal/Modal.d.ts.map +1 -1
  118. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
  119. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +20 -0
  120. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
  121. package/types/examples/plasma_b2c/components/Switch/Switch.outline.config.d.ts +30 -0
  122. package/types/examples/plasma_b2c/components/Switch/Switch.outline.config.d.ts.map +1 -0
  123. package/types/examples/plasma_web/components/Modal/Modal.config.d.ts.map +1 -1
  124. package/types/examples/plasma_web/components/Modal/Modal.d.ts +1 -7
  125. package/types/examples/plasma_web/components/Modal/Modal.d.ts.map +1 -1
  126. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
  127. package/types/examples/plasma_web/components/Switch/Switch.d.ts +20 -0
  128. package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
  129. package/types/examples/plasma_web/components/Switch/Switch.outline.config.d.ts +30 -0
  130. package/types/examples/plasma_web/components/Switch/Switch.outline.config.d.ts.map +1 -0
  131. package/cjs/components/Modal/Modal.styles.js +0 -27
  132. package/cjs/components/Modal/Modal.styles.js.map +0 -1
  133. package/cjs/components/Modal/Modal.styles_tqsxxy.css +0 -3
  134. package/cjs/components/Switch/_toggleSize/base_6i0904.css +0 -1
  135. package/cjs/components/Switch/_view/base_yxkf3s.css +0 -1
  136. package/emotion/cjs/components/Modal/Modal.styles.js +0 -27
  137. package/emotion/es/components/Modal/Modal.styles.js +0 -20
  138. package/es/components/Modal/Modal.styles.js +0 -21
  139. package/es/components/Modal/Modal.styles.js.map +0 -1
  140. package/es/components/Modal/Modal.styles_tqsxxy.css +0 -3
  141. package/es/components/Switch/_toggleSize/base_6i0904.css +0 -1
  142. package/es/components/Switch/_view/base_yxkf3s.css +0 -1
  143. package/styled-components/cjs/components/Modal/Modal.styles.js +0 -24
  144. package/styled-components/es/components/Modal/Modal.styles.js +0 -17
  145. package/types/components/Modal/Modal.styles.d.ts +0 -5
  146. package/types/components/Modal/Modal.styles.d.ts.map +0 -1
@@ -1,27 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ModalContent = exports.ModalBody = exports.CloseButton = void 0;
7
- var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
8
- var _mixins = /*#__PURE__*/require("../../mixins");
9
- var _Modal = /*#__PURE__*/require("./Modal.tokens");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- var ModalBody = exports.ModalBody = /*#__PURE__*/(0, _base["default"])("div", {
12
- target: "e1gvpqag2",
13
- label: "plasma-new-hope__ModalBody"
14
- })("border-radius:var(", _Modal.tokens.modalBodyBorderRadius, ");padding:var(", _Modal.tokens.modalBodyPadding, ");background:var(", _Modal.tokens.modalBodyBackground, ");box-shadow:var(--shadow-down-soft-l);" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTW9kYWwvTW9kYWwuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1tQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL01vZGFsL01vZGFsLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYWRkRm9jdXMgfSBmcm9tICcuLi8uLi9taXhpbnMnO1xuXG5pbXBvcnQgeyB0b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cwLjA2M3JlbScsXG4gICAgICAgIG91dGxpbmVPZmZzZXQ6ICctMC4xMjVyZW0nLFxuICAgICAgICBvdXRsaW5lQ29sb3I6IGB2YXIoJHt0b2tlbnMubW9kYWxPdXRsaW5lRm9jdXNDb2xvcn0pYCxcbiAgICAgICAgb3V0bGluZVJhZGl1czogYGNhbGModmFyKCR7dG9rZW5zLm1vZGFsQ2xvc2VCdXR0b25SYWRpdXN9KSArIDAuMDYzcmVtKWAsXG4gICAgfSl9O1xuXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuYDtcbiJdfQ== */"));
15
- var ModalContent = exports.ModalContent = /*#__PURE__*/(0, _base["default"])("div", {
16
- target: "e1gvpqag1",
17
- label: "plasma-new-hope__ModalContent"
18
- })("position:relative;padding:var(", _Modal.tokens.modalContentPadding, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTW9kYWwvTW9kYWwuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFzQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL01vZGFsL01vZGFsLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYWRkRm9jdXMgfSBmcm9tICcuLi8uLi9taXhpbnMnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuL01vZGFsLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBNb2RhbEJvZHkgPSBzdHlsZWQuZGl2YFxuICAgIGJvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5tb2RhbEJvZHlCb3JkZXJSYWRpdXN9KTtcbiAgICBwYWRka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ModmFyKCR7dG9rZW5zLm1vZGFsQ2xvc2VCdXR0b25SYWRpdXN9KSArIDAuMDYzcmVtKWAsXG4gICAgfSl9O1xuXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuYDtcbiJdfQ== */"));
19
- var CloseButton = exports.CloseButton = /*#__PURE__*/(0, _base["default"])("button", {
20
- target: "e1gvpqag0",
21
- label: "plasma-new-hope__CloseButton"
22
- })("top:0;right:0;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border:none;border-radius:var(", _Modal.tokens.modalCloseButtonRadius, ");padding:0;margin:0;outline:none;cursor:pointer;background:transparent;", /*#__PURE__*/(0, _mixins.addFocus)({
23
- outlineSize: '0.063rem',
24
- outlineOffset: '-0.125rem',
25
- outlineColor: /*#__PURE__*/"var(".concat(_Modal.tokens.modalOutlineFocusColor, ")"),
26
- outlineRadius: /*#__PURE__*/"calc(var(".concat(_Modal.tokens.modalCloseButtonRadius, ") + 0.063rem)")
27
- }), ";position:absolute;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTW9kYWwvTW9kYWwuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCd0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9Nb2RhbC9Nb2RhbC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGFkZEZvY3VzIH0gZnJvbSAnLi4vLi4vbWl4aW5zJztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi9Nb2RhbC50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgTW9kYWxCb2R5ID0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yxcbiAgICAgICAgb3V0bGluZUNvbG9yOiBgdmFyKCR7dG9rZW5zLm1vZGFsT3V0bGluZUZvY3VzQ29sb3J9KWAsXG4gICAgICAgIG91dGxpbmVSYWRpdXM6IGBjYWxjKHZhcigke3Rva2Vucy5tb2RhbENsb3NlQnV0dG9uUmFkaXVzfSkgKyAwLjA2M3JlbSlgLFxuICAgIH0pfTtcblxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbmA7XG4iXX0= */"));
@@ -1,20 +0,0 @@
1
- import _styled from "@emotion/styled/base";
2
- import { addFocus } from '../../mixins';
3
- import { tokens } from './Modal.tokens';
4
- export var ModalBody = /*#__PURE__*/_styled("div", {
5
- target: "e1gvpqag2",
6
- label: "plasma-new-hope__ModalBody"
7
- })("border-radius:var(", tokens.modalBodyBorderRadius, ");padding:var(", tokens.modalBodyPadding, ");background:var(", tokens.modalBodyBackground, ");box-shadow:var(--shadow-down-soft-l);" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTW9kYWwvTW9kYWwuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1tQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL01vZGFsL01vZGFsLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYWRkRm9jdXMgfSBmcm9tICcuLi8uLi9taXhpbnMnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuL01vZGFsLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBNb2RhbEJvZHkgPSBzdHlsZWQuZGl2YFxuICAgIGJvcmRlci1yYWRpd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YWxPdXRsaW5lRm9jdXNDb2xvcn0pYCxcbiAgICAgICAgb3V0bGluZVJhZGl1czogYGNhbGModmFyKCR7dG9rZW5zLm1vZGFsQ2xvc2VCdXR0b25SYWRpdXN9KSArIDAuMDYzcmVtKWAsXG4gICAgfSl9O1xuXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuYDtcbiJdfQ== */"));
8
- export var ModalContent = /*#__PURE__*/_styled("div", {
9
- target: "e1gvpqag1",
10
- label: "plasma-new-hope__ModalContent"
11
- })("position:relative;padding:var(", tokens.modalContentPadding, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTW9kYWwvTW9kYWwuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFzQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL01vZGFsL01vZGFsLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgYWRkRm9jdXMgfSBmcm9tICcuLi8uLi9taXhpbnMnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuL01vZGFsLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBNb2RhbEJvZHkgPSBzdHlsZWQuZGl2YFxuICAgIGJvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5tb2RhbEJvZHlCb3JkZXJSYWRpdXN9KTtcbiAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMubW9kYWxCb2R5UGFkZGluZ30pO1xuICAgIGJhY2tncm91bmQ6IHZhcigke3Rva2Vucy5tb2RhbEJvZHlCYWNrZ3JvdW5kfSk7XG4gICAgYm94LXNoY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12
- export var CloseButton = /*#__PURE__*/_styled("button", {
13
- target: "e1gvpqag0",
14
- label: "plasma-new-hope__CloseButton"
15
- })("top:0;right:0;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border:none;border-radius:var(", tokens.modalCloseButtonRadius, ");padding:0;margin:0;outline:none;cursor:pointer;background:transparent;", /*#__PURE__*/addFocus({
16
- outlineSize: '0.063rem',
17
- outlineOffset: '-0.125rem',
18
- outlineColor: /*#__PURE__*/"var(".concat(tokens.modalOutlineFocusColor, ")"),
19
- outlineRadius: /*#__PURE__*/"calc(var(".concat(tokens.modalCloseButtonRadius, ") + 0.063rem)")
20
- }), ";position:absolute;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTW9kYWwvTW9kYWwuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCd0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9Nb2RhbC9Nb2RhbC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGFkZEZvY3VzIH0gZnJvbSAnLi4vLi4vbWl4aW5zJztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi9Nb2RhbC50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgTW9kYWxCb2R5ID0gc3R5bGVkLmRpdmBcbiAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMubW9kYWxCb2R5Qm9yZGVyUmFkaXVzfSk7XG4gICAgcGFkZGluZzogdmFyKCR7dG9rZW5zLm1vZGFsQm9keVBhZGRpbmd9KTtcbiAgICBiYWNrZ3Jvd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kgKyAwLjA2M3JlbSlgLFxuICAgIH0pfTtcblxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbmA7XG4iXX0= */"));
@@ -1,21 +0,0 @@
1
- import './Modal.styles_tqsxxy.css';
2
- import { styled } from '@linaria/react';
3
-
4
- var ModalBody = /*#__PURE__*/styled('div')({
5
- name: "ModalBody",
6
- "class": "m7npn1w",
7
- propsAsIs: false
8
- });
9
- var ModalContent = /*#__PURE__*/styled('div')({
10
- name: "ModalContent",
11
- "class": "m16phoaz",
12
- propsAsIs: false
13
- });
14
- var CloseButton = /*#__PURE__*/styled('button')({
15
- name: "CloseButton",
16
- "class": "c5bx5hr",
17
- propsAsIs: false
18
- });
19
-
20
- export { CloseButton, ModalBody, ModalContent };
21
- //# sourceMappingURL=Modal.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Modal.styles.js","sources":["../../../src/components/Modal/Modal.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { addFocus } from '../../mixins';\n\nimport { tokens } from './Modal.tokens';\n\nexport const ModalBody = styled.div`\n border-radius: var(${tokens.modalBodyBorderRadius});\n padding: var(${tokens.modalBodyPadding});\n background: var(${tokens.modalBodyBackground});\n box-shadow: var(--shadow-down-soft-l);\n`;\n\nexport const ModalContent = styled.div`\n position: relative;\n padding: var(${tokens.modalContentPadding});\n`;\n\nexport const CloseButton = styled.button`\n top: 0;\n right: 0;\n\n width: 1.5rem;\n height: 1.5rem;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n border: none;\n border-radius: var(${tokens.modalCloseButtonRadius});\n\n padding: 0;\n margin: 0;\n outline: none;\n\n cursor: pointer;\n\n background: transparent;\n\n ${addFocus({\n outlineSize: '0.063rem',\n outlineOffset: '-0.125rem',\n outlineColor: `var(${tokens.modalOutlineFocusColor})`,\n outlineRadius: `calc(var(${tokens.modalCloseButtonRadius}) + 0.063rem)`,\n })};\n\n position: absolute;\n`;\n"],"names":["ModalBody","styled","name","class","propsAsIs","ModalContent","CloseButton"],"mappings":";;AAMO,IAAMA,SAAS,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,WAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAK9B,EAAA;AAEM,IAAMC,YAAY,gBAAGJ,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAGjC,EAAA;AAEM,IAAME,WAAW,gBAAGL,MAAM,CAAA,QAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CA8BhC;;;;"}
@@ -1,3 +0,0 @@
1
- .m7npn1w{border-radius:var(--plasma-modal-body-border-radius);padding:var(--plasma-modal-body-padding);background:var(--plasma-modal-body-background);box-shadow:var(--shadow-down-soft-l);}
2
- .m16phoaz{position:relative;padding:var(--plasma-modal-content-padding);}
3
- .c5bx5hr{top:0;right:0;width:1.5rem;height:1.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border:none;border-radius:var(--plasma-modal-close-button-radius);padding:0;margin:0;outline:none;cursor:pointer;background:transparent;position:relative;position:absolute;}.c5bx5hr::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:calc(var(--plasma-modal-close-button-radius) + 0.063rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.c5bx5hr.focus-visible:focus::before,.c5bx5hr[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-modal-outline-focus-color);}
@@ -1 +0,0 @@
1
- .b1wld3h3 .s2cs3kf{-webkit-flex:0 0 var(--plasma-switch__track-width);-ms-flex:0 0 var(--plasma-switch__track-width);flex:0 0 var(--plasma-switch__track-width);width:var(--plasma-switch__track-width);height:var(--plasma-switch__track-height);border-radius:var(--plasma-switch__track-border-radius);}.b1wld3h3 .s2cs3kf::after{width:var(--plasma-switch__thumb-size);height:var(--plasma-switch__thumb-size);border-radius:var(--plasma-switch__thumb-border-radius);margin:auto var(--plasma-switch__thumb-offset);}.b1wld3h3:active:not([disabled]) .s2cs3kf::after{width:calc(var(--plasma-switch__thumb-size) * var(--plasma-switch__thumb-scale,1));}
@@ -1 +0,0 @@
1
- .b1g0jmh3 .s2cs3kf{background-color:var(--plasma-switch__track_checked_false-bg-color);}.b1g0jmh3 .ssthlx1:not([disabled]) ~ .s2cs3kf:hover{background-color:var(--plasma-switch__track_checked_false_hovered_true-bg-color,var(--plasma-switch__track_checked_false-bg-color));}.b1g0jmh3 .ssthlx1:checked ~ .s2cs3kf{background-color:var(--plasma-switch__track_checked_true-bg-color);}.b1g0jmh3 .ssthlx1:checked:not([disabled]) ~ .s2cs3kf:hover{background-color:var(--plasma-switch__track_checked_true_hovered_true-bg-color,var(--plasma-switch__track_checked_true-bg-color));}.b1g0jmh3 .s2cs3kf::after{background-color:var(--plasma-switch__thumb-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow);}.b1g0jmh3 .ssthlx1:checked ~ .s2cs3kf::after{box-shadow:var(--plasma-switch__thumb-box-shadow_checked_true,var(--plasma-switch__thumb-box-shadow));}.b1g0jmh3 .s1ilr5eq{color:var(--plasma-switch__label-color);}.b1g0jmh3 .sdjnckq{color:var(--plasma-switch__description-color);}
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ModalContent = exports.ModalBody = exports.CloseButton = void 0;
7
- var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
- var _mixins = /*#__PURE__*/require("../../mixins");
9
- var _Modal = /*#__PURE__*/require("./Modal.tokens");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- var ModalBody = exports.ModalBody = /*#__PURE__*/_styledComponents["default"].div.withConfig({
12
- componentId: "plasma-new-hope__sc-yxf3fb-0"
13
- })(["border-radius:var(", ");padding:var(", ");background:var(", ");box-shadow:var(--shadow-down-soft-l);"], _Modal.tokens.modalBodyBorderRadius, _Modal.tokens.modalBodyPadding, _Modal.tokens.modalBodyBackground);
14
- var ModalContent = exports.ModalContent = /*#__PURE__*/_styledComponents["default"].div.withConfig({
15
- componentId: "plasma-new-hope__sc-yxf3fb-1"
16
- })(["position:relative;padding:var(", ");"], _Modal.tokens.modalContentPadding);
17
- var CloseButton = exports.CloseButton = /*#__PURE__*/_styledComponents["default"].button.withConfig({
18
- componentId: "plasma-new-hope__sc-yxf3fb-2"
19
- })(["top:0;right:0;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border:none;border-radius:var(", ");padding:0;margin:0;outline:none;cursor:pointer;background:transparent;", ";position:absolute;"], _Modal.tokens.modalCloseButtonRadius, /*#__PURE__*/(0, _mixins.addFocus)({
20
- outlineSize: '0.063rem',
21
- outlineOffset: '-0.125rem',
22
- outlineColor: /*#__PURE__*/"var(".concat(_Modal.tokens.modalOutlineFocusColor, ")"),
23
- outlineRadius: /*#__PURE__*/"calc(var(".concat(_Modal.tokens.modalCloseButtonRadius, ") + 0.063rem)")
24
- }));
@@ -1,17 +0,0 @@
1
- import styled from 'styled-components';
2
- import { addFocus } from '../../mixins';
3
- import { tokens } from './Modal.tokens';
4
- export var ModalBody = /*#__PURE__*/styled.div.withConfig({
5
- componentId: "plasma-new-hope__sc-yxf3fb-0"
6
- })(["border-radius:var(", ");padding:var(", ");background:var(", ");box-shadow:var(--shadow-down-soft-l);"], tokens.modalBodyBorderRadius, tokens.modalBodyPadding, tokens.modalBodyBackground);
7
- export var ModalContent = /*#__PURE__*/styled.div.withConfig({
8
- componentId: "plasma-new-hope__sc-yxf3fb-1"
9
- })(["position:relative;padding:var(", ");"], tokens.modalContentPadding);
10
- export var CloseButton = /*#__PURE__*/styled.button.withConfig({
11
- componentId: "plasma-new-hope__sc-yxf3fb-2"
12
- })(["top:0;right:0;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border:none;border-radius:var(", ");padding:0;margin:0;outline:none;cursor:pointer;background:transparent;", ";position:absolute;"], tokens.modalCloseButtonRadius, /*#__PURE__*/addFocus({
13
- outlineSize: '0.063rem',
14
- outlineOffset: '-0.125rem',
15
- outlineColor: /*#__PURE__*/"var(".concat(tokens.modalOutlineFocusColor, ")"),
16
- outlineRadius: /*#__PURE__*/"calc(var(".concat(tokens.modalCloseButtonRadius, ") + 0.063rem)")
17
- }));
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ModalBody: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const ModalContent: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const CloseButton: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
5
- //# sourceMappingURL=Modal.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Modal.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS,qKAKrB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAGxB,CAAC;AAEF,eAAO,MAAM,WAAW,iLA8BvB,CAAC"}