fictoan-react 0.38.1 → 0.38.2
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/CHANGELOG.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});const t=/*#__PURE__*/e(require("styled-components")).default.mark.withConfig({displayName:"BadgeStyled",componentId:"-1973ngk"})`position:relative;cursor:pointer;font-family:${e=>e.theme.button.font};font-weight:bold;font-size:92%;text-align:center;text-decoration:none;line-height:1;transition:all 0.2s ease-in-out;background-position:center;user-select:none;padding:2px 4px;> *{all:unset;}&.shape-rounded{border-radius:4px;}&.shape-curved{border-radius:5000px}&[class*="border-"]{border-width:${e=>e.theme.globals.borderWidth};}&.border-none{border-width:0 !important;}&.size-tiny{padding:4px 8px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,-2)}em;}&.size-small{padding:6px 12px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,-1)}em;}&.size-medium{padding:12px 24px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,1)}em;}&.size-large{padding:16px 32px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,2)}em;}&.size-huge{padding:24px 40px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,4)}em;}`;exports.BadgeStyled=t;
|
|
1
|
+
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});const t=/*#__PURE__*/e(require("styled-components")).default.mark.withConfig({displayName:"BadgeStyled",componentId:"-1973ngk"})`position:relative;cursor:pointer;font-family:${e=>e.theme.button.font};font-weight:bold;font-size:92%;text-align:center;text-decoration:none;line-height:1;transition:all 0.2s ease-in-out;background-position:center;user-select:none;padding:2px 4px;width:fit-content;height:fit-content;> *{all:unset;}&.shape-rounded{border-radius:4px;}&.shape-curved{border-radius:5000px}&[class*="border-"]{border-width:${e=>e.theme.globals.borderWidth};}&.border-none{border-width:0 !important;}&.size-tiny{padding:4px 8px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,-2)}em;}&.size-small{padding:6px 12px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,-1)}em;}&.size-medium{padding:12px 24px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,1)}em;}&.size-large{padding:16px 32px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,2)}em;}&.size-huge{padding:24px 40px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,4)}em;}`;exports.BadgeStyled=t;
|
|
2
2
|
//# sourceMappingURL=Badge.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.styled.js","sources":["../../../../src/components/Badge/Badge.styled.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BadgeProps } from \"./Badge\";\n\nexport const BadgeStyled = styled.mark`\n position : relative;\n cursor : pointer;\n font-family : ${(props : BadgeProps) => props.theme.button.font};\n font-weight : bold;\n font-size : 92%;\n text-align : center;\n text-decoration : none;\n line-height : 1;\n transition : all 0.2s ease-in-out;\n background-position : center;\n user-select : none;\n padding : 2px 4px;\n\n // To make sure a button’s children\n // don’t style themselves like a douchebag\n > * {\n all : unset;\n }\n\n &.shape-rounded {\n border-radius : 4px;\n }\n\n &.shape-curved {\n border-radius : 5000px\n }\n\n &[class*=\"border-\"] {\n border-width : ${(props : BadgeProps) => props.theme.globals.borderWidth};\n }\n\n &.border-none {\n border-width : 0 !important;\n }\n\n // DIFFERENT SIZES //////////////////////////////////////////////////////\n &.size-tiny {\n padding : 4px 8px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, -2)}em;\n }\n\n &.size-small {\n padding : 6px 12px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, -1)}em;\n }\n\n &.size-medium {\n padding : 12px 24px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 1)}em;\n }\n\n &.size-large {\n padding : 16px 32px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 2)}em;\n }\n\n &.size-huge {\n padding : 24px 40px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 4)}em;\n }\n`;\n"],"names":["BadgeStyled","mark","props","theme","button","font","globals","borderWidth","text","paras","size","Math","pow","headings","multiplier"],"mappings":"kJAIaA,uDAAqBC,mHAGLC,GAAuBA,EAAMC,MAAMC,OAAOC
|
|
1
|
+
{"version":3,"file":"Badge.styled.js","sources":["../../../../src/components/Badge/Badge.styled.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BadgeProps } from \"./Badge\";\n\nexport const BadgeStyled = styled.mark`\n position : relative;\n cursor : pointer;\n font-family : ${(props : BadgeProps) => props.theme.button.font};\n font-weight : bold;\n font-size : 92%;\n text-align : center;\n text-decoration : none;\n line-height : 1;\n transition : all 0.2s ease-in-out;\n background-position : center;\n user-select : none;\n padding : 2px 4px;\n width : fit-content;\n height : fit-content;\n\n // To make sure a button’s children\n // don’t style themselves like a douchebag\n > * {\n all : unset;\n }\n\n &.shape-rounded {\n border-radius : 4px;\n }\n\n &.shape-curved {\n border-radius : 5000px\n }\n\n &[class*=\"border-\"] {\n border-width : ${(props : BadgeProps) => props.theme.globals.borderWidth};\n }\n\n &.border-none {\n border-width : 0 !important;\n }\n\n // DIFFERENT SIZES //////////////////////////////////////////////////////\n &.size-tiny {\n padding : 4px 8px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, -2)}em;\n }\n\n &.size-small {\n padding : 6px 12px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, -1)}em;\n }\n\n &.size-medium {\n padding : 12px 24px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 1)}em;\n }\n\n &.size-large {\n padding : 16px 32px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 2)}em;\n }\n\n &.size-huge {\n padding : 24px 40px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 4)}em;\n }\n`;\n"],"names":["BadgeStyled","mark","props","theme","button","font","globals","borderWidth","text","paras","size","Math","pow","headings","multiplier"],"mappings":"kJAIaA,uDAAqBC,mHAGLC,GAAuBA,EAAMC,MAAMC,OAAOC,oVA4B7CH,GAAuBA,EAAMC,MAAMG,QAAQC,+FAU9CL,GAAuBA,EAAMC,MAAMK,KAAKC,MAAMC,KAAOC,KAAKC,IAAIV,EAAMC,MAAMK,KAAKK,SAASC,YAAa,iDAKrGZ,GAAuBA,EAAMC,MAAMK,KAAKC,MAAMC,KAAOC,KAAKC,IAAIV,EAAMC,MAAMK,KAAKK,SAASC,YAAa,mDAKrGZ,GAAuBA,EAAMC,MAAMK,KAAKC,MAAMC,KAAOC,KAAKC,IAAIV,EAAMC,MAAMK,KAAKK,SAASC,WAAY,kDAKpGZ,GAAuBA,EAAMC,MAAMK,KAAKC,MAAMC,KAAOC,KAAKC,IAAIV,EAAMC,MAAMK,KAAKK,SAASC,WAAY,iDAKpGZ,GAAuBA,EAAMC,MAAMK,KAAKC,MAAMC,KAAOC,KAAKC,IAAIV,EAAMC,MAAMK,KAAKK,SAASC,WAAY"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"styled-components";const t=e.mark.withConfig({displayName:"BadgeStyled",componentId:"-1973ngk"})`position:relative;cursor:pointer;font-family:${e=>e.theme.button.font};font-weight:bold;font-size:92%;text-align:center;text-decoration:none;line-height:1;transition:all 0.2s ease-in-out;background-position:center;user-select:none;padding:2px 4px;> *{all:unset;}&.shape-rounded{border-radius:4px;}&.shape-curved{border-radius:5000px}&[class*="border-"]{border-width:${e=>e.theme.globals.borderWidth};}&.border-none{border-width:0 !important;}&.size-tiny{padding:4px 8px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,-2)}em;}&.size-small{padding:6px 12px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,-1)}em;}&.size-medium{padding:12px 24px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,1)}em;}&.size-large{padding:16px 32px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,2)}em;}&.size-huge{padding:24px 40px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,4)}em;}`;export{t as BadgeStyled};
|
|
1
|
+
import e from"styled-components";const t=e.mark.withConfig({displayName:"BadgeStyled",componentId:"-1973ngk"})`position:relative;cursor:pointer;font-family:${e=>e.theme.button.font};font-weight:bold;font-size:92%;text-align:center;text-decoration:none;line-height:1;transition:all 0.2s ease-in-out;background-position:center;user-select:none;padding:2px 4px;width:fit-content;height:fit-content;> *{all:unset;}&.shape-rounded{border-radius:4px;}&.shape-curved{border-radius:5000px}&[class*="border-"]{border-width:${e=>e.theme.globals.borderWidth};}&.border-none{border-width:0 !important;}&.size-tiny{padding:4px 8px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,-2)}em;}&.size-small{padding:6px 12px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,-1)}em;}&.size-medium{padding:12px 24px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,1)}em;}&.size-large{padding:16px 32px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,2)}em;}&.size-huge{padding:24px 40px;font-size:${e=>e.theme.text.paras.size*Math.pow(e.theme.text.headings.multiplier,4)}em;}`;export{t as BadgeStyled};
|
|
2
2
|
//# sourceMappingURL=Badge.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.styled.js","sources":["../../../../src/components/Badge/Badge.styled.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BadgeProps } from \"./Badge\";\n\nexport const BadgeStyled = styled.mark`\n position : relative;\n cursor : pointer;\n font-family : ${(props : BadgeProps) => props.theme.button.font};\n font-weight : bold;\n font-size : 92%;\n text-align : center;\n text-decoration : none;\n line-height : 1;\n transition : all 0.2s ease-in-out;\n background-position : center;\n user-select : none;\n padding : 2px 4px;\n\n // To make sure a button’s children\n // don’t style themselves like a douchebag\n > * {\n all : unset;\n }\n\n &.shape-rounded {\n border-radius : 4px;\n }\n\n &.shape-curved {\n border-radius : 5000px\n }\n\n &[class*=\"border-\"] {\n border-width : ${(props : BadgeProps) => props.theme.globals.borderWidth};\n }\n\n &.border-none {\n border-width : 0 !important;\n }\n\n // DIFFERENT SIZES //////////////////////////////////////////////////////\n &.size-tiny {\n padding : 4px 8px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, -2)}em;\n }\n\n &.size-small {\n padding : 6px 12px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, -1)}em;\n }\n\n &.size-medium {\n padding : 12px 24px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 1)}em;\n }\n\n &.size-large {\n padding : 16px 32px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 2)}em;\n }\n\n &.size-huge {\n padding : 24px 40px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 4)}em;\n }\n`;\n"],"names":["BadgeStyled","styled","mark","props","theme","button","font","globals","borderWidth","text","paras","size","Math","pow","headings","multiplier"],"mappings":"uCAIaA,EAAcC,EAAOC,mHAGLC,GAAuBA,EAAMC,MAAMC,OAAOC
|
|
1
|
+
{"version":3,"file":"Badge.styled.js","sources":["../../../../src/components/Badge/Badge.styled.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { BadgeProps } from \"./Badge\";\n\nexport const BadgeStyled = styled.mark`\n position : relative;\n cursor : pointer;\n font-family : ${(props : BadgeProps) => props.theme.button.font};\n font-weight : bold;\n font-size : 92%;\n text-align : center;\n text-decoration : none;\n line-height : 1;\n transition : all 0.2s ease-in-out;\n background-position : center;\n user-select : none;\n padding : 2px 4px;\n width : fit-content;\n height : fit-content;\n\n // To make sure a button’s children\n // don’t style themselves like a douchebag\n > * {\n all : unset;\n }\n\n &.shape-rounded {\n border-radius : 4px;\n }\n\n &.shape-curved {\n border-radius : 5000px\n }\n\n &[class*=\"border-\"] {\n border-width : ${(props : BadgeProps) => props.theme.globals.borderWidth};\n }\n\n &.border-none {\n border-width : 0 !important;\n }\n\n // DIFFERENT SIZES //////////////////////////////////////////////////////\n &.size-tiny {\n padding : 4px 8px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, -2)}em;\n }\n\n &.size-small {\n padding : 6px 12px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, -1)}em;\n }\n\n &.size-medium {\n padding : 12px 24px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 1)}em;\n }\n\n &.size-large {\n padding : 16px 32px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 2)}em;\n }\n\n &.size-huge {\n padding : 24px 40px;\n font-size : ${(props : BadgeProps) => props.theme.text.paras.size * Math.pow(props.theme.text.headings.multiplier, 4)}em;\n }\n`;\n"],"names":["BadgeStyled","styled","mark","props","theme","button","font","globals","borderWidth","text","paras","size","Math","pow","headings","multiplier"],"mappings":"uCAIaA,EAAcC,EAAOC,mHAGLC,GAAuBA,EAAMC,MAAMC,OAAOC,oVA4B7CH,GAAuBA,EAAMC,MAAMG,QAAQC,+FAU9CL,GAAuBA,EAAMC,MAAMK,KAAKC,MAAMC,KAAOC,KAAKC,IAAIV,EAAMC,MAAMK,KAAKK,SAASC,YAAa,iDAKrGZ,GAAuBA,EAAMC,MAAMK,KAAKC,MAAMC,KAAOC,KAAKC,IAAIV,EAAMC,MAAMK,KAAKK,SAASC,YAAa,mDAKrGZ,GAAuBA,EAAMC,MAAMK,KAAKC,MAAMC,KAAOC,KAAKC,IAAIV,EAAMC,MAAMK,KAAKK,SAASC,WAAY,kDAKpGZ,GAAuBA,EAAMC,MAAMK,KAAKC,MAAMC,KAAOC,KAAKC,IAAIV,EAAMC,MAAMK,KAAKK,SAASC,WAAY,iDAKpGZ,GAAuBA,EAAMC,MAAMK,KAAKC,MAAMC,KAAOC,KAAKC,IAAIV,EAAMC,MAAMK,KAAKK,SAASC,WAAY"}
|