@telia-ace/widget-components-close-button 1.0.5 → 1.0.6

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.
File without changes
File without changes
@@ -0,0 +1,79 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defProps = Object.defineProperties;
3
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __spreadValues = (a, b) => {
9
+ for (var prop in b || (b = {}))
10
+ if (__hasOwnProp.call(b, prop))
11
+ __defNormalProp(a, prop, b[prop]);
12
+ if (__getOwnPropSymbols)
13
+ for (var prop of __getOwnPropSymbols(b)) {
14
+ if (__propIsEnum.call(b, prop))
15
+ __defNormalProp(a, prop, b[prop]);
16
+ }
17
+ return a;
18
+ };
19
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
+ var __objRest = (source, exclude) => {
21
+ var target = {};
22
+ for (var prop in source)
23
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
24
+ target[prop] = source[prop];
25
+ if (source != null && __getOwnPropSymbols)
26
+ for (var prop of __getOwnPropSymbols(source)) {
27
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
28
+ target[prop] = source[prop];
29
+ }
30
+ return target;
31
+ };
32
+ import { useDispatch, useProperties, Button, borderTabStyle, SymbolBadge } from "@telia-ace/widget-ui";
33
+ import React from "react";
34
+ import styled, { css } from "styled-components";
35
+ const CloseButton = (_a) => {
36
+ var _b = _a, { className } = _b, other = __objRest(_b, ["className"]);
37
+ const dispatch = useDispatch();
38
+ const { ariaLabel = "" } = useProperties();
39
+ return /* @__PURE__ */ React.createElement(StyledButtonContainer, __spreadProps(__spreadValues({}, other), {
40
+ className
41
+ }), /* @__PURE__ */ React.createElement(StyledButton, {
42
+ onClick: () => dispatch("close"),
43
+ "aria-label": ariaLabel
44
+ }, /* @__PURE__ */ React.createElement(StyledSymbolBadge, {
45
+ size: 12,
46
+ symbol: { type: "Svg", content: "close" }
47
+ })));
48
+ };
49
+ const StyledButtonContainer = styled.div`
50
+ display: flex;
51
+ justify-content: flex-end;
52
+ align-items: flex-start;
53
+ `;
54
+ const StyledButton = styled(Button)`
55
+ &:focus {
56
+ ${(p) => {
57
+ var _a, _b, _c, _d, _e;
58
+ return ((_a = p.theme.accessibility) == null ? void 0 : _a.isTabbing) && css`
59
+ ${borderTabStyle}
60
+ padding: ${`calc(${(_b = p.theme.sizes) == null ? void 0 : _b.small} / 2) ${(_c = p.theme.sizes) == null ? void 0 : _c.small}`};
61
+ line,
62
+ path {
63
+ stroke: ${(_e = (_d = p.theme.accessibility) == null ? void 0 : _d.colors) == null ? void 0 : _e.inactiveText};
64
+ }
65
+ `;
66
+ }};
67
+ }
68
+ `;
69
+ const StyledSymbolBadge = styled(SymbolBadge)`
70
+ line,
71
+ path {
72
+ stroke: ${(p) => {
73
+ var _a;
74
+ return (_a = p.theme.colors) == null ? void 0 : _a.text;
75
+ }};
76
+ }
77
+ `;
78
+ export { CloseButton as default };
79
+ //# sourceMappingURL=close-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"close-button.js","sources":["../src/close-button.tsx"],"sourcesContent":["import {\r\n borderTabStyle,\r\n Button,\r\n SymbolBadge,\r\n useDispatch,\r\n useProperties,\r\n} from '@telia-ace/widget-ui';\r\nimport React from 'react';\r\nimport styled, { css } from 'styled-components';\r\nimport { CloseButtonComponentProps } from './close-button-component';\r\n\r\ntype Props = {\r\n className: string;\r\n};\r\n\r\nconst CloseButton: React.SFC<Props> = ({ className, ...other }) => {\r\n const dispatch = useDispatch();\r\n const { ariaLabel = '' } = useProperties<CloseButtonComponentProps>();\r\n\r\n return (\r\n <StyledButtonContainer {...other} className={className}>\r\n <StyledButton onClick={() => dispatch('close')} aria-label={ariaLabel}>\r\n <StyledSymbolBadge size={12} symbol={{ type: 'Svg', content: 'close' }} />\r\n </StyledButton>\r\n </StyledButtonContainer>\r\n );\r\n};\r\n\r\nexport default CloseButton;\r\n\r\nconst StyledButtonContainer = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: flex-start;\r\n`;\r\n\r\nconst StyledButton = styled(Button)`\r\n &:focus {\r\n ${(p) =>\r\n p.theme.accessibility?.isTabbing &&\r\n css`\r\n ${borderTabStyle}\r\n padding: ${`calc(${p.theme.sizes?.small} / 2) ${p.theme.sizes?.small}`};\r\n line,\r\n path {\r\n stroke: ${p.theme.accessibility?.colors?.inactiveText};\r\n }\r\n `};\r\n }\r\n`;\r\n\r\nconst StyledSymbolBadge = styled(SymbolBadge)`\r\n line,\r\n path {\r\n stroke: ${(p) => p.theme.colors?.text};\r\n }\r\n`;\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,MAAM,cAAgC,CAAC,OAA4B;AAA5B,eAAE,gBAAF,IAAgB,kBAAhB,IAAgB,CAAd;AACrC,QAAM,WAAW;AACX,QAAA,EAAE,YAAY,OAAO,cAAyC;AAEpE,SACK,sBAAA,cAAA,uBAAA,iCAA0B,QAA1B;AAAA,IAAiC;AAAA,EAAA,IAC7B,sBAAA,cAAA,cAAA;AAAA,IAAa,SAAS,MAAM,SAAS,OAAO;AAAA,IAAG,cAAY;AAAA,EAAA,GACvD,sBAAA,cAAA,mBAAA;AAAA,IAAkB,MAAM;AAAA,IAAI,QAAQ,EAAE,MAAM,OAAO,SAAS,QAAQ;AAAA,EAAG,CAAA,CAC5E,CACJ;AAER;AAIA,MAAM,wBAAwB,OAAO;AAAA;AAAA;AAAA;AAAA;AAMrC,MAAM,eAAe,OAAO,MAAM;AAAA;AAAA,UAExB,CAAC,MAAA;;AACC,kBAAE,MAAM,kBAAR,mBAAuB,cACvB;AAAA,kBACM;AAAA,2BACS,QAAQ,QAAE,MAAM,UAAR,mBAAe,cAAc,QAAE,MAAM,UAAR,mBAAe;AAAA;AAAA;AAAA,8BAGjD,cAAE,MAAM,kBAAR,mBAAuB,WAAvB,mBAA+B;AAAA;AAAA;AAAA;AAAA;AAAA;AAM7D,MAAM,oBAAoB,OAAO,WAAW;AAAA;AAAA;AAAA,kBAG1B,CAAC,MAAM;;AAAA,iBAAE,MAAM,WAAR,mBAAgB;AAAA;AAAA;AAAA;;"}
File without changes
package/dist/index.js ADDED
@@ -0,0 +1,14 @@
1
+ import { createReactComponent } from "@telia-ace/widget-ui";
2
+ const CloseButtonComponent = (container) => {
3
+ return createReactComponent(container, "close-button", import("./close-button.js"), (component) => {
4
+ component.actions.create("close", (options = {}) => {
5
+ if (options.preventDefault) {
6
+ return;
7
+ }
8
+ const widget = container.get("$widget");
9
+ widget.invoke("close");
10
+ });
11
+ });
12
+ };
13
+ export { CloseButtonComponent as default };
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/close-button-component.ts"],"sourcesContent":["import { createReactComponent } from '@telia-ace/widget-ui';\r\nimport { Container } from '@webprovisions/platform';\r\n\r\nexport type CloseButtonComponentProps = {\r\n ariaLabel?: string;\r\n};\r\n\r\nconst CloseButtonComponent = (container: Container) => {\r\n return createReactComponent(\r\n container,\r\n 'close-button',\r\n import('./close-button'),\r\n (component) => {\r\n // Action: 'close'\r\n component.actions.create('close', (options = {}) => {\r\n if (options.preventDefault) {\r\n return;\r\n }\r\n\r\n const widget = container.get('$widget');\r\n widget.invoke('close');\r\n });\r\n }\r\n );\r\n};\r\n\r\nexport default CloseButtonComponent;\r\n"],"names":[],"mappings":";AAOM,MAAA,uBAAuB,CAAC,cAAyB;AACnD,SAAO,qBACH,WACA,gBACA,OAAO,sBACP,CAAC,cAAc;AAEX,cAAU,QAAQ,OAAO,SAAS,CAAC,UAAU,CAAA,MAAO;AAChD,UAAI,QAAQ,gBAAgB;AACxB;AAAA,MACJ;AAEM,YAAA,SAAS,UAAU,IAAI,SAAS;AACtC,aAAO,OAAO,OAAO;AAAA,IAAA,CACxB;AAAA,EAAA,CAET;AACJ;;"}
package/package.json CHANGED
@@ -1,31 +1,30 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-components-close-button",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Close button component for ACE Widgets.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Telia Company AB",
7
7
  "keywords": [
8
8
  "telia"
9
9
  ],
10
- "main": "lib/index.js",
11
- "module": "lib-esm/index.js",
10
+ "module": "dist/index.js",
11
+ "types": "dist/index.d.ts",
12
12
  "files": [
13
13
  "LICENSE.txt",
14
14
  "README.md",
15
- "lib/",
16
- "lib-esm/"
15
+ "dist/"
17
16
  ],
18
17
  "publishConfig": {
19
18
  "access": "public"
20
19
  },
21
20
  "scripts": {
22
- "clean": "cleandir lib && cleandir lib-esm",
23
- "compile": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json"
21
+ "clean": "rimraf ./dist",
22
+ "precompile": "tsc -emitDeclarationOnly",
23
+ "compile": "vite build"
24
24
  },
25
25
  "sideEffects": false,
26
- "typings": "lib/index.d.ts",
27
26
  "dependencies": {
28
- "@telia-ace/widget-ui": "^1.0.8",
27
+ "@telia-ace/widget-ui": "^1.0.9",
29
28
  "@webprovisions/platform": "^1.1.2"
30
29
  },
31
30
  "peerDependencies": {
@@ -38,5 +37,5 @@
38
37
  "@types/react-dom": "^16.8.0",
39
38
  "@types/styled-components": "^5.1.7"
40
39
  },
41
- "gitHead": "bc33c441c82ee7fe946fc927b489d28cbc5c244a"
40
+ "gitHead": "2cb095d784f90b8a0783f02898c67ca3c46169cf"
42
41
  }
@@ -1,6 +0,0 @@
1
- import { Container } from '@webprovisions/platform';
2
- export declare type CloseButtonComponentProps = {
3
- ariaLabel?: string;
4
- };
5
- declare const CloseButtonComponent: (container: Container) => Promise<void>;
6
- export default CloseButtonComponent;
@@ -1,40 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", { value: true });
26
- var widget_ui_1 = require("@telia-ace/widget-ui");
27
- var CloseButtonComponent = function (container) {
28
- return (0, widget_ui_1.createReactComponent)(container, 'close-button', Promise.resolve().then(function () { return __importStar(require('./close-button')); }), function (component) {
29
- // Action: 'close'
30
- component.actions.create('close', function (options) {
31
- if (options === void 0) { options = {}; }
32
- if (options.preventDefault) {
33
- return;
34
- }
35
- var widget = container.get('$widget');
36
- widget.invoke('close');
37
- });
38
- });
39
- };
40
- exports.default = CloseButtonComponent;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- declare type Props = {
3
- className: string;
4
- };
5
- declare const CloseButton: React.SFC<Props>;
6
- export default CloseButton;
@@ -1,73 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
- if (k2 === undefined) k2 = k;
19
- var desc = Object.getOwnPropertyDescriptor(m, k);
20
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
- desc = { enumerable: true, get: function() { return m[k]; } };
22
- }
23
- Object.defineProperty(o, k2, desc);
24
- }) : (function(o, m, k, k2) {
25
- if (k2 === undefined) k2 = k;
26
- o[k2] = m[k];
27
- }));
28
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
- Object.defineProperty(o, "default", { enumerable: true, value: v });
30
- }) : function(o, v) {
31
- o["default"] = v;
32
- });
33
- var __importStar = (this && this.__importStar) || function (mod) {
34
- if (mod && mod.__esModule) return mod;
35
- var result = {};
36
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
- __setModuleDefault(result, mod);
38
- return result;
39
- };
40
- var __rest = (this && this.__rest) || function (s, e) {
41
- var t = {};
42
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
43
- t[p] = s[p];
44
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
45
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
46
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
47
- t[p[i]] = s[p[i]];
48
- }
49
- return t;
50
- };
51
- var __importDefault = (this && this.__importDefault) || function (mod) {
52
- return (mod && mod.__esModule) ? mod : { "default": mod };
53
- };
54
- Object.defineProperty(exports, "__esModule", { value: true });
55
- var widget_ui_1 = require("@telia-ace/widget-ui");
56
- var react_1 = __importDefault(require("react"));
57
- var styled_components_1 = __importStar(require("styled-components"));
58
- var CloseButton = function (_a) {
59
- var className = _a.className, other = __rest(_a, ["className"]);
60
- var dispatch = (0, widget_ui_1.useDispatch)();
61
- var _b = (0, widget_ui_1.useProperties)().ariaLabel, ariaLabel = _b === void 0 ? '' : _b;
62
- return (react_1.default.createElement(StyledButtonContainer, __assign({}, other, { className: className }),
63
- react_1.default.createElement(StyledButton, { onClick: function () { return dispatch('close'); }, "aria-label": ariaLabel },
64
- react_1.default.createElement(StyledSymbolBadge, { size: 12, symbol: { type: 'Svg', content: 'close' } }))));
65
- };
66
- exports.default = CloseButton;
67
- var StyledButtonContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n align-items: flex-start;\n"], ["\n display: flex;\n justify-content: flex-end;\n align-items: flex-start;\n"])));
68
- var StyledButton = (0, styled_components_1.default)(widget_ui_1.Button)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n &:focus {\n ", ";\n }\n"], ["\n &:focus {\n ", ";\n }\n"])), function (p) {
69
- var _a, _b, _c, _d, _e;
70
- return ((_a = p.theme.accessibility) === null || _a === void 0 ? void 0 : _a.isTabbing) && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n padding: ", ";\n line,\n path {\n stroke: ", ";\n }\n "], ["\n ", "\n padding: ", ";\n line,\n path {\n stroke: ", ";\n }\n "])), widget_ui_1.borderTabStyle, "calc(".concat((_b = p.theme.sizes) === null || _b === void 0 ? void 0 : _b.small, " / 2) ").concat((_c = p.theme.sizes) === null || _c === void 0 ? void 0 : _c.small), (_e = (_d = p.theme.accessibility) === null || _d === void 0 ? void 0 : _d.colors) === null || _e === void 0 ? void 0 : _e.inactiveText);
71
- });
72
- var StyledSymbolBadge = (0, styled_components_1.default)(widget_ui_1.SymbolBadge)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n line,\n path {\n stroke: ", ";\n }\n"], ["\n line,\n path {\n stroke: ", ";\n }\n"])), function (p) { var _a; return (_a = p.theme.colors) === null || _a === void 0 ? void 0 : _a.text; });
73
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
package/lib/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import CloseButtonComponent from './close-button-component';
2
- export default CloseButtonComponent;
package/lib/index.js DELETED
@@ -1,7 +0,0 @@
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
- var close_button_component_1 = __importDefault(require("./close-button-component"));
7
- exports.default = close_button_component_1.default;
@@ -1,15 +0,0 @@
1
- import { createReactComponent } from '@telia-ace/widget-ui';
2
- var CloseButtonComponent = function (container) {
3
- return createReactComponent(container, 'close-button', import('./close-button'), function (component) {
4
- // Action: 'close'
5
- component.actions.create('close', function (options) {
6
- if (options === void 0) { options = {}; }
7
- if (options.preventDefault) {
8
- return;
9
- }
10
- var widget = container.get('$widget');
11
- widget.invoke('close');
12
- });
13
- });
14
- };
15
- export default CloseButtonComponent;
@@ -1,45 +0,0 @@
1
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
- return cooked;
4
- };
5
- var __assign = (this && this.__assign) || function () {
6
- __assign = Object.assign || function(t) {
7
- for (var s, i = 1, n = arguments.length; i < n; i++) {
8
- s = arguments[i];
9
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
- t[p] = s[p];
11
- }
12
- return t;
13
- };
14
- return __assign.apply(this, arguments);
15
- };
16
- var __rest = (this && this.__rest) || function (s, e) {
17
- var t = {};
18
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
19
- t[p] = s[p];
20
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
21
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
22
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
23
- t[p[i]] = s[p[i]];
24
- }
25
- return t;
26
- };
27
- import { borderTabStyle, Button, SymbolBadge, useDispatch, useProperties, } from '@telia-ace/widget-ui';
28
- import React from 'react';
29
- import styled, { css } from 'styled-components';
30
- var CloseButton = function (_a) {
31
- var className = _a.className, other = __rest(_a, ["className"]);
32
- var dispatch = useDispatch();
33
- var _b = useProperties().ariaLabel, ariaLabel = _b === void 0 ? '' : _b;
34
- return (React.createElement(StyledButtonContainer, __assign({}, other, { className: className }),
35
- React.createElement(StyledButton, { onClick: function () { return dispatch('close'); }, "aria-label": ariaLabel },
36
- React.createElement(StyledSymbolBadge, { size: 12, symbol: { type: 'Svg', content: 'close' } }))));
37
- };
38
- export default CloseButton;
39
- var StyledButtonContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n align-items: flex-start;\n"], ["\n display: flex;\n justify-content: flex-end;\n align-items: flex-start;\n"])));
40
- var StyledButton = styled(Button)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n &:focus {\n ", ";\n }\n"], ["\n &:focus {\n ", ";\n }\n"])), function (p) {
41
- var _a, _b, _c, _d, _e;
42
- return ((_a = p.theme.accessibility) === null || _a === void 0 ? void 0 : _a.isTabbing) && css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n padding: ", ";\n line,\n path {\n stroke: ", ";\n }\n "], ["\n ", "\n padding: ", ";\n line,\n path {\n stroke: ", ";\n }\n "])), borderTabStyle, "calc(".concat((_b = p.theme.sizes) === null || _b === void 0 ? void 0 : _b.small, " / 2) ").concat((_c = p.theme.sizes) === null || _c === void 0 ? void 0 : _c.small), (_e = (_d = p.theme.accessibility) === null || _d === void 0 ? void 0 : _d.colors) === null || _e === void 0 ? void 0 : _e.inactiveText);
43
- });
44
- var StyledSymbolBadge = styled(SymbolBadge)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n line,\n path {\n stroke: ", ";\n }\n"], ["\n line,\n path {\n stroke: ", ";\n }\n"])), function (p) { var _a; return (_a = p.theme.colors) === null || _a === void 0 ? void 0 : _a.text; });
45
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
package/lib-esm/index.js DELETED
@@ -1,2 +0,0 @@
1
- import CloseButtonComponent from './close-button-component';
2
- export default CloseButtonComponent;