@foxford/ui 2.100.0 → 2.100.1
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';var styled=require('styled-components');var display=require('../../mixins/display.js');var color=require('../../mixins/color.js');var screen=require('../../mixins/screen.js');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}const Root=_interopDefault(styled).default.div.withConfig({shouldForwardProp:e=>['children','className','style'].includes(e)}).withConfig({displayName:"Container__Root",componentId:"ui__sc-yg4y35-0"})(["display:block;width:100%;max-width:","px;
|
|
1
|
+
'use strict';var styled=require('styled-components');var display=require('../../mixins/display.js');var color=require('../../mixins/color.js');var screen=require('../../mixins/screen.js');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}const Root=_interopDefault(styled).default.div.withConfig({shouldForwardProp:e=>['children','className','style'].includes(e)}).withConfig({displayName:"Container__Root",componentId:"ui__sc-yg4y35-0"})(["display:block;width:100%;max-width:","px;padding:0 50px;margin:0 auto;box-sizing:border-box;"," "," "," "," "," "," ",""],(e=>e.theme.breakpoints.l-100+100),(e=>e.display?display.display(e.display):null),(e=>e.color?color.color(e.color,'background-color'):null),(e=>e.textAlign?styled.css(["text-align:",";"],e.textAlign):null),(e=>e.fluid?styled.css(["max-width:100%;"]):null),screen.screenL()`
|
|
2
2
|
padding: 0 42px;
|
|
3
3
|
`,screen.screenM()`
|
|
4
4
|
padding: 0 28px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.js","sources":["../../../../src/components/Container/style.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { display } from 'mixins/display'\nimport { color } from 'mixins/color'\nimport { screenL, screenM, screenMaxS } from 'mixins/screen'\nimport type { ContainerProps } from './Container'\n\nexport const Root = styled.div.withConfig<ContainerProps>({\n shouldForwardProp: (prop) => ['children', 'className', 'style'].includes(prop),\n})`\n display: block;\n width: 100%;\n max-width: ${(props) => props.theme.breakpoints.l - 100 + 2 * 50}px;\n
|
|
1
|
+
{"version":3,"file":"style.js","sources":["../../../../src/components/Container/style.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { display } from 'mixins/display'\nimport { color } from 'mixins/color'\nimport { screenL, screenM, screenMaxS } from 'mixins/screen'\nimport type { ContainerProps } from './Container'\n\nexport const Root = styled.div.withConfig<ContainerProps>({\n shouldForwardProp: (prop) => ['children', 'className', 'style'].includes(prop),\n})`\n display: block;\n width: 100%;\n max-width: ${(props) => props.theme.breakpoints.l - 100 + 2 * 50}px;\n padding: 0 50px;\n margin: 0 auto;\n box-sizing: border-box;\n ${(props) => (props.display ? display(props.display) : null)}\n ${(props) => (props.color ? color(props.color, 'background-color') : null)}\n ${(props) =>\n props.textAlign\n ? css`\n text-align: ${props.textAlign};\n `\n : null}\n ${(props) =>\n props.fluid\n ? css`\n max-width: 100%;\n `\n : null}\n ${screenL()`\n padding: 0 42px;\n `}\n ${screenM()`\n padding: 0 28px;\n `}\n ${screenMaxS()`\n padding: 0 20px;\n `}\n`\n"],"names":["Root","styled","div","withConfig","shouldForwardProp","prop","includes","displayName","componentId","props","theme","breakpoints","l","display","color","textAlign","css","fluid","screenL","screenM","screenMaxS"],"mappings":"6PAMO,MAAMA,6BAAOC,QAAOC,IAAIC,WAA2B,CACxDC,kBAAoBC,GAAS,CAAC,WAAY,YAAa,SAASC,SAASD,KACzEF,WAAA,CAAAI,YAAA,kBAAAC,YAAA,mBAFkBP,CAElB,CAAA,sCAAA,yDAAA,IAAA,IAAA,IAAA,IAAA,IAAA,IAAA,KAGcQ,GAAUA,EAAMC,MAAMC,YAAYC,EAAI,IAAM,MAIvDH,GAAWA,EAAMI,QAAUA,QAAAA,QAAQJ,EAAMI,SAAW,OACpDJ,GAAWA,EAAMK,MAAQA,MAAAA,MAAML,EAAMK,MAAO,oBAAsB,OAClEL,GACDA,EAAMM,UACFC,OAAAA,IAAG,CAAA,cAAA,KACaP,EAAMM,WAEtB,OACHN,GACDA,EAAMQ,MACFD,OAAAA,IAAG,CAAA,oBAGH,MACJE,OAAAA,SAAS;;IAGTC,OAAAA,SAAS;;IAGTC,OAAAA,YAAY;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import styled,{css}from'styled-components';import{display}from'../../mixins/display.mjs';import{color}from'../../mixins/color.mjs';import{screenL,screenM,screenMaxS}from'../../mixins/screen.mjs';const Root=styled.div.withConfig({shouldForwardProp:o=>['children','className','style'].includes(o)}).withConfig({displayName:"Container__Root",componentId:"ui__sc-yg4y35-0"})(["display:block;width:100%;max-width:","px;
|
|
1
|
+
import styled,{css}from'styled-components';import{display}from'../../mixins/display.mjs';import{color}from'../../mixins/color.mjs';import{screenL,screenM,screenMaxS}from'../../mixins/screen.mjs';const Root=styled.div.withConfig({shouldForwardProp:o=>['children','className','style'].includes(o)}).withConfig({displayName:"Container__Root",componentId:"ui__sc-yg4y35-0"})(["display:block;width:100%;max-width:","px;padding:0 50px;margin:0 auto;box-sizing:border-box;"," "," "," "," "," "," ",""],(o=>o.theme.breakpoints.l-100+100),(o=>o.display?display(o.display):null),(o=>o.color?color(o.color,'background-color'):null),(o=>o.textAlign?css(["text-align:",";"],o.textAlign):null),(o=>o.fluid?css(["max-width:100%;"]):null),screenL()`
|
|
2
2
|
padding: 0 42px;
|
|
3
3
|
`,screenM()`
|
|
4
4
|
padding: 0 28px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.mjs","sources":["../../../../src/components/Container/style.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { display } from 'mixins/display'\nimport { color } from 'mixins/color'\nimport { screenL, screenM, screenMaxS } from 'mixins/screen'\nimport type { ContainerProps } from './Container'\n\nexport const Root = styled.div.withConfig<ContainerProps>({\n shouldForwardProp: (prop) => ['children', 'className', 'style'].includes(prop),\n})`\n display: block;\n width: 100%;\n max-width: ${(props) => props.theme.breakpoints.l - 100 + 2 * 50}px;\n
|
|
1
|
+
{"version":3,"file":"style.mjs","sources":["../../../../src/components/Container/style.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { display } from 'mixins/display'\nimport { color } from 'mixins/color'\nimport { screenL, screenM, screenMaxS } from 'mixins/screen'\nimport type { ContainerProps } from './Container'\n\nexport const Root = styled.div.withConfig<ContainerProps>({\n shouldForwardProp: (prop) => ['children', 'className', 'style'].includes(prop),\n})`\n display: block;\n width: 100%;\n max-width: ${(props) => props.theme.breakpoints.l - 100 + 2 * 50}px;\n padding: 0 50px;\n margin: 0 auto;\n box-sizing: border-box;\n ${(props) => (props.display ? display(props.display) : null)}\n ${(props) => (props.color ? color(props.color, 'background-color') : null)}\n ${(props) =>\n props.textAlign\n ? css`\n text-align: ${props.textAlign};\n `\n : null}\n ${(props) =>\n props.fluid\n ? css`\n max-width: 100%;\n `\n : null}\n ${screenL()`\n padding: 0 42px;\n `}\n ${screenM()`\n padding: 0 28px;\n `}\n ${screenMaxS()`\n padding: 0 20px;\n `}\n`\n"],"names":["Root","styled","div","withConfig","shouldForwardProp","prop","includes","displayName","componentId","props","theme","breakpoints","l","display","color","textAlign","css","fluid","screenL","screenM","screenMaxS"],"mappings":"mMAMO,MAAMA,KAAOC,OAAOC,IAAIC,WAA2B,CACxDC,kBAAoBC,GAAS,CAAC,WAAY,YAAa,SAASC,SAASD,KACzEF,WAAA,CAAAI,YAAA,kBAAAC,YAAA,mBAFkBP,CAElB,CAAA,sCAAA,yDAAA,IAAA,IAAA,IAAA,IAAA,IAAA,IAAA,KAGcQ,GAAUA,EAAMC,MAAMC,YAAYC,EAAI,IAAM,MAIvDH,GAAWA,EAAMI,QAAUA,QAAQJ,EAAMI,SAAW,OACpDJ,GAAWA,EAAMK,MAAQA,MAAML,EAAMK,MAAO,oBAAsB,OAClEL,GACDA,EAAMM,UACFC,IAAG,CAAA,cAAA,KACaP,EAAMM,WAEtB,OACHN,GACDA,EAAMQ,MACFD,IAAG,CAAA,oBAGH,MACJE,SAAS;;IAGTC,SAAS;;IAGTC,YAAY;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foxford/ui",
|
|
3
|
-
"version": "2.100.
|
|
3
|
+
"version": "2.100.1",
|
|
4
4
|
"description": "UI components and utilities",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/foxford/ui/issues"
|
|
@@ -63,6 +63,6 @@
|
|
|
63
63
|
"shared",
|
|
64
64
|
"theme"
|
|
65
65
|
],
|
|
66
|
-
"sha": "
|
|
66
|
+
"sha": "5a5e33d",
|
|
67
67
|
"scripts": {}
|
|
68
68
|
}
|