@activecollab/components 1.0.302 → 1.0.303
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/cjs/components/IconButton/Styles.js +1 -1
- package/dist/cjs/components/IconButton/Styles.js.map +1 -1
- package/dist/esm/components/IconButton/Styles.d.ts.map +1 -1
- package/dist/esm/components/IconButton/Styles.js +1 -1
- package/dist/esm/components/IconButton/Styles.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ var StyledIconButton = (0, _styledComponents.default)(_Button.Button).withConfig
|
|
|
14
14
|
componentId: "sc-1teza2f-0"
|
|
15
15
|
})(["display:inline-flex;justify-content:center;align-items:center;padding:0;width:32px;", " ", ""], function (_ref) {
|
|
16
16
|
var size = _ref.size;
|
|
17
|
-
return size === "small" && (0, _styledComponents.css)(["width:24px;"]);
|
|
17
|
+
return size === "small" && (0, _styledComponents.css)(["width:24px;svg{width:18px;height:18px;}"]);
|
|
18
18
|
}, function (_ref2) {
|
|
19
19
|
var size = _ref2.size;
|
|
20
20
|
return size === "big" && (0, _styledComponents.css)(["width:40px;"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["StyledIconButton","styled","Button","size","css"],"sources":["../../../../src/components/IconButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport { Button } from \"../Button\";\n\nexport const StyledIconButton = styled(Button)`\n display: inline-flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n width: 32px;\n\n ${({ size }) =>\n size === \"small\" &&\n css`\n width: 24px;\n `}\n\n ${({ size }) =>\n size === \"big\" &&\n css`\n width: 40px;\n `}\n`;\n"],"mappings":";;;;;;;AAAA;AACA;AAAmC;AAAA;AAE5B,IAAMA,gBAAgB,GAAG,IAAAC,yBAAM,EAACC,cAAM,CAAC;EAAA;EAAA;AAAA,qGAO1C;EAAA,IAAGC,IAAI,QAAJA,IAAI;EAAA,OACPA,IAAI,KAAK,OAAO,QAChBC,qBAAG,
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["StyledIconButton","styled","Button","size","css"],"sources":["../../../../src/components/IconButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport { Button } from \"../Button\";\n\nexport const StyledIconButton = styled(Button)`\n display: inline-flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n width: 32px;\n\n ${({ size }) =>\n size === \"small\" &&\n css`\n width: 24px;\n svg {\n width: 18px;\n height: 18px;\n }\n `}\n\n ${({ size }) =>\n size === \"big\" &&\n css`\n width: 40px;\n `}\n`;\n"],"mappings":";;;;;;;AAAA;AACA;AAAmC;AAAA;AAE5B,IAAMA,gBAAgB,GAAG,IAAAC,yBAAM,EAACC,cAAM,CAAC;EAAA;EAAA;AAAA,qGAO1C;EAAA,IAAGC,IAAI,QAAJA,IAAI;EAAA,OACPA,IAAI,KAAK,OAAO,QAChBC,qBAAG,8CAMF;AAAA,GAED;EAAA,IAAGD,IAAI,SAAJA,IAAI;EAAA,OACPA,IAAI,KAAK,KAAK,QACdC,qBAAG,kBAEF;AAAA,EACJ;AAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/Styles.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,gBAAgB;;
|
|
1
|
+
{"version":3,"file":"Styles.d.ts","sourceRoot":"","sources":["../../../../src/components/IconButton/Styles.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,gBAAgB;;sEAsB5B,CAAC"}
|
|
@@ -5,7 +5,7 @@ export var StyledIconButton = styled(Button).withConfig({
|
|
|
5
5
|
componentId: "sc-1teza2f-0"
|
|
6
6
|
})(["display:inline-flex;justify-content:center;align-items:center;padding:0;width:32px;", " ", ""], function (_ref) {
|
|
7
7
|
var size = _ref.size;
|
|
8
|
-
return size === "small" && css(["width:24px;"]);
|
|
8
|
+
return size === "small" && css(["width:24px;svg{width:18px;height:18px;}"]);
|
|
9
9
|
}, function (_ref2) {
|
|
10
10
|
var size = _ref2.size;
|
|
11
11
|
return size === "big" && css(["width:40px;"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styles.js","names":["styled","css","Button","StyledIconButton","size"],"sources":["../../../../src/components/IconButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport { Button } from \"../Button\";\n\nexport const StyledIconButton = styled(Button)`\n display: inline-flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n width: 32px;\n\n ${({ size }) =>\n size === \"small\" &&\n css`\n width: 24px;\n `}\n\n ${({ size }) =>\n size === \"big\" &&\n css`\n width: 40px;\n `}\n`;\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,MAAM,QAAQ,WAAW;AAElC,OAAO,IAAMC,gBAAgB,GAAGH,MAAM,CAACE,MAAM,CAAC;EAAA;EAAA;AAAA,qGAO1C;EAAA,IAAGE,IAAI,QAAJA,IAAI;EAAA,OACPA,IAAI,KAAK,OAAO,IAChBH,GAAG,
|
|
1
|
+
{"version":3,"file":"Styles.js","names":["styled","css","Button","StyledIconButton","size"],"sources":["../../../../src/components/IconButton/Styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\nimport { Button } from \"../Button\";\n\nexport const StyledIconButton = styled(Button)`\n display: inline-flex;\n justify-content: center;\n align-items: center;\n padding: 0;\n width: 32px;\n\n ${({ size }) =>\n size === \"small\" &&\n css`\n width: 24px;\n svg {\n width: 18px;\n height: 18px;\n }\n `}\n\n ${({ size }) =>\n size === \"big\" &&\n css`\n width: 40px;\n `}\n`;\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,MAAM,QAAQ,WAAW;AAElC,OAAO,IAAMC,gBAAgB,GAAGH,MAAM,CAACE,MAAM,CAAC;EAAA;EAAA;AAAA,qGAO1C;EAAA,IAAGE,IAAI,QAAJA,IAAI;EAAA,OACPA,IAAI,KAAK,OAAO,IAChBH,GAAG,6CAMF;AAAA,GAED;EAAA,IAAGG,IAAI,SAAJA,IAAI;EAAA,OACPA,IAAI,KAAK,KAAK,IACdH,GAAG,iBAEF;AAAA,EACJ"}
|
package/dist/index.js
CHANGED
|
@@ -1182,7 +1182,7 @@
|
|
|
1182
1182
|
componentId: "sc-1teza2f-0"
|
|
1183
1183
|
})(["display:inline-flex;justify-content:center;align-items:center;padding:0;width:32px;", " ", ""], function (_ref) {
|
|
1184
1184
|
var size = _ref.size;
|
|
1185
|
-
return size === "small" && styled.css(["width:24px;"]);
|
|
1185
|
+
return size === "small" && styled.css(["width:24px;svg{width:18px;height:18px;}"]);
|
|
1186
1186
|
}, function (_ref2) {
|
|
1187
1187
|
var size = _ref2.size;
|
|
1188
1188
|
return size === "big" && styled.css(["width:40px;"]);
|