@os-design/styles 1.0.31 → 1.0.34

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 +1 @@
1
- {"version":3,"sources":["../../../src/ellipsisStyles/index.ts"],"names":["ellipsisStyles","css"],"mappings":";;;;;;;AAAA;;;;;;AAEA,IAAMA,cAAc,OAAGC,UAAH,iJAApB;eAMeD,c","sourcesContent":["import { css } from '@emotion/react';\n\nconst ellipsisStyles = css`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nexport default ellipsisStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["ellipsisStyles","css"],"sources":["../../../src/ellipsisStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\n\nconst ellipsisStyles = css`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nexport default ellipsisStyles;\n"],"mappings":";;;;;;;AAAA;;;;;;AAEA,IAAMA,cAAc,OAAGC,UAAH,iJAApB;eAMeD,c"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/emotion.d.ts"],"names":[],"mappings":";;AAAA","sourcesContent":["import '@emotion/react';\nimport { Theme as BaseTheme } from '@os-design/theming';\n\ndeclare module '@emotion/react' {\n // eslint-disable-next-line @typescript-eslint/no-empty-interface\n export interface Theme extends BaseTheme {}\n}\n"],"file":"emotion.d.js"}
1
+ {"version":3,"file":"emotion.d.js","names":[],"sources":["../../src/emotion.d.ts"],"sourcesContent":["import '@emotion/react';\nimport { Theme as BaseTheme } from '@os-design/theming';\n\ndeclare module '@emotion/react' {\n // eslint-disable-next-line @typescript-eslint/no-empty-interface\n export interface Theme extends BaseTheme {}\n}\n"],"mappings":";;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/enableScrollingStyles/index.ts"],"names":["enableScrollingStyles","axis","showScrollbar","css","includes"],"mappings":";;;;;;;AAAA;;;;;;AAGA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAwB,CAC5BC,IAD4B;AAAA,MAE5BC,aAF4B,uEAEZ,IAFY;AAAA,aAGPC,UAHO,gJAI1B,CAAC,GAAD,EAAM,MAAN,EAAcC,QAAd,CAAuBH,IAAvB,SACFE,UADE,mGAJ0B,EAS1B,CAAC,GAAD,EAAM,MAAN,EAAcC,QAAd,CAAuBH,IAAvB,SACFE,UADE,mGAT0B,EAc1B,CAACD,aAAD,QACFC,UADE,oIAd0B;AAAA,CAA9B;;eAwBeH,qB","sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst enableScrollingStyles = (\n axis: 'x' | 'y' | 'both',\n showScrollbar = true\n): SerializedStyles => css`\n ${['x', 'both'].includes(axis) &&\n css`\n overflow-x: auto;\n `};\n\n ${['y', 'both'].includes(axis) &&\n css`\n overflow-y: auto;\n `};\n\n ${!showScrollbar &&\n css`\n ::-webkit-scrollbar {\n display: none;\n }\n `};\n\n -webkit-overflow-scrolling: touch;\n`;\n\nexport default enableScrollingStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["enableScrollingStyles","axis","showScrollbar","css","includes"],"sources":["../../../src/enableScrollingStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst enableScrollingStyles = (\n axis: 'x' | 'y' | 'both',\n showScrollbar = true\n): SerializedStyles => css`\n ${['x', 'both'].includes(axis) &&\n css`\n overflow-x: auto;\n `};\n\n ${['y', 'both'].includes(axis) &&\n css`\n overflow-y: auto;\n `};\n\n ${!showScrollbar &&\n css`\n ::-webkit-scrollbar {\n display: none;\n }\n `};\n\n -webkit-overflow-scrolling: touch;\n`;\n\nexport default enableScrollingStyles;\n"],"mappings":";;;;;;;AAAA;;;;;;AAGA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAwB,CAC5BC,IAD4B;EAAA,IAE5BC,aAF4B,uEAEZ,IAFY;EAAA,WAGPC,UAHO,gJAI1B,CAAC,GAAD,EAAM,MAAN,EAAcC,QAAd,CAAuBH,IAAvB,SACFE,UADE,mGAJ0B,EAS1B,CAAC,GAAD,EAAM,MAAN,EAAcC,QAAd,CAAuBH,IAAvB,SACFE,UADE,mGAT0B,EAc1B,CAACD,aAAD,QACFC,UADE,oIAd0B;AAAA,CAA9B;;eAwBeH,qB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/horizontalPaddingStyles/index.ts"],"names":["horizontalPaddingStyles","side","p","m","min","sm","paddingLeft","includes","theme","horizontalPadding","map","v","undefined","paddingRight"],"mappings":";;;;;;;AAAA;;AACA;;;;AAIA;AACA,IAAMA,uBAAuB,GAC3B,SADIA,uBACJ;AAAA,MAACC,IAAD,uEAAc,MAAd;AAAA,SACA,UAACC,CAAD;AAAA,WACE,2BAAG,CAACC,SAAEC,GAAF,CAAMC,EAAP,CAAH,EAAe;AACbC,MAAAA,WAAW,EAAE,CAAC,MAAD,EAAS,MAAT,EAAiBC,QAAjB,CAA0BN,IAA1B,IACTC,CAAC,CAACM,KAAF,CAAQC,iBAAR,CAA0BC,GAA1B,CAA8B,UAACC,CAAD;AAAA,yBAAUA,CAAV;AAAA,OAA9B,CADS,GAETC,SAHS;AAIbC,MAAAA,YAAY,EAAE,CAAC,OAAD,EAAU,MAAV,EAAkBN,QAAlB,CAA2BN,IAA3B,IACVC,CAAC,CAACM,KAAF,CAAQC,iBAAR,CAA0BC,GAA1B,CAA8B,UAACC,CAAD;AAAA,yBAAUA,CAAV;AAAA,OAA9B,CADU,GAEVC;AANS,KAAf,CADF;AAAA,GADA;AAAA,CADF;;eAYeZ,uB","sourcesContent":["import fp from 'facepaint';\nimport { m } from '@os-design/media';\n\ntype Side = 'left' | 'right' | 'both';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst horizontalPaddingStyles =\n (side: Side = 'both') =>\n (p) =>\n fp([m.min.sm])({\n paddingLeft: ['left', 'both'].includes(side)\n ? p.theme.horizontalPadding.map((v) => `${v}em`)\n : undefined,\n paddingRight: ['right', 'both'].includes(side)\n ? p.theme.horizontalPadding.map((v) => `${v}em`)\n : undefined,\n });\n\nexport default horizontalPaddingStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["horizontalPaddingStyles","side","p","fp","m","min","sm","paddingLeft","includes","theme","horizontalPadding","map","v","undefined","paddingRight"],"sources":["../../../src/horizontalPaddingStyles/index.ts"],"sourcesContent":["import fp from 'facepaint';\nimport { m } from '@os-design/media';\n\ntype Side = 'left' | 'right' | 'both';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst horizontalPaddingStyles =\n (side: Side = 'both') =>\n (p) =>\n fp([m.min.sm])({\n paddingLeft: ['left', 'both'].includes(side)\n ? p.theme.horizontalPadding.map((v) => `${v}em`)\n : undefined,\n paddingRight: ['right', 'both'].includes(side)\n ? p.theme.horizontalPadding.map((v) => `${v}em`)\n : undefined,\n });\n\nexport default horizontalPaddingStyles;\n"],"mappings":";;;;;;;AAAA;;AACA;;;;AAIA;AACA,IAAMA,uBAAuB,GAC3B,SADIA,uBACJ;EAAA,IAACC,IAAD,uEAAc,MAAd;EAAA,OACA,UAACC,CAAD;IAAA,OACE,IAAAC,qBAAA,EAAG,CAACC,QAAA,CAAEC,GAAF,CAAMC,EAAP,CAAH,EAAe;MACbC,WAAW,EAAE,CAAC,MAAD,EAAS,MAAT,EAAiBC,QAAjB,CAA0BP,IAA1B,IACTC,CAAC,CAACO,KAAF,CAAQC,iBAAR,CAA0BC,GAA1B,CAA8B,UAACC,CAAD;QAAA,iBAAUA,CAAV;MAAA,CAA9B,CADS,GAETC,SAHS;MAIbC,YAAY,EAAE,CAAC,OAAD,EAAU,MAAV,EAAkBN,QAAlB,CAA2BP,IAA3B,IACVC,CAAC,CAACO,KAAF,CAAQC,iBAAR,CAA0BC,GAA1B,CAA8B,UAACC,CAAD;QAAA,iBAAUA,CAAV;MAAA,CAA9B,CADU,GAEVC;IANS,CAAf,CADF;EAAA,CADA;AAAA,CADF;;eAYeb,uB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAGA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAFA","sourcesContent":["export { default as ellipsisStyles } from './ellipsisStyles';\nexport { default as enableScrollingStyles } from './enableScrollingStyles';\nexport { default as horizontalPaddingStyles } from './horizontalPaddingStyles';\nexport { default as lineClampStyles } from './lineClampStyles';\nexport { default as resetButtonStyles } from './resetButtonStyles';\nexport { default as resetFocusStyles } from './resetFocusStyles';\nexport { default as resetUlStyles } from './resetUlStyles';\nexport { default as sizeStyles } from './sizeStyles';\nexport { default as transitionStyles } from './transitionStyles';\n\nexport * from './sizeStyles';\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/index.ts"],"sourcesContent":["export { default as ellipsisStyles } from './ellipsisStyles';\nexport { default as enableScrollingStyles } from './enableScrollingStyles';\nexport { default as horizontalPaddingStyles } from './horizontalPaddingStyles';\nexport { default as lineClampStyles } from './lineClampStyles';\nexport { default as resetButtonStyles } from './resetButtonStyles';\nexport { default as resetFocusStyles } from './resetFocusStyles';\nexport { default as resetUlStyles } from './resetUlStyles';\nexport { default as sizeStyles } from './sizeStyles';\nexport { default as transitionStyles } from './transitionStyles';\n\nexport * from './sizeStyles';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAGA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AAFA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lineClampStyles/index.ts"],"names":["lineClampStyles","maxLines","css"],"mappings":";;;;;;;AAAA;;;;;;AAGA,IAAMA,eAAe,GAAG,SAAlBA,eAAkB,CAACC,QAAD;AAAA,aAAwCC,UAAxC,qLAEAD,QAFA;AAAA,CAAxB;;eAOeD,e","sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst lineClampStyles = (maxLines: number): SerializedStyles => css`\n display: -webkit-box;\n -webkit-line-clamp: ${maxLines};\n -webkit-box-orient: vertical;\n overflow: hidden;\n`;\n\nexport default lineClampStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["lineClampStyles","maxLines","css"],"sources":["../../../src/lineClampStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst lineClampStyles = (maxLines: number): SerializedStyles => css`\n display: -webkit-box;\n -webkit-line-clamp: ${maxLines};\n -webkit-box-orient: vertical;\n overflow: hidden;\n`;\n\nexport default lineClampStyles;\n"],"mappings":";;;;;;;AAAA;;;;;;AAGA,IAAMA,eAAe,GAAG,SAAlBA,eAAkB,CAACC,QAAD;EAAA,WAAwCC,UAAxC,qLAEAD,QAFA;AAAA,CAAxB;;eAOeD,e"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/resetButtonStyles/index.ts"],"names":["resetButtonStyles","css","resetFocusStyles"],"mappings":";;;;;;;AAAA;;AACA;;;;;;;;AAEA,IAAMA,iBAAiB,OAAGC,UAAH,+GACnBC,4BADmB,CAAvB;eAMeF,iB","sourcesContent":["import { css } from '@emotion/react';\nimport resetFocusStyles from '../resetFocusStyles';\n\nconst resetButtonStyles = css`\n ${resetFocusStyles};\n border: 0;\n padding: 0;\n`;\n\nexport default resetButtonStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["resetButtonStyles","css","resetFocusStyles"],"sources":["../../../src/resetButtonStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\nimport resetFocusStyles from '../resetFocusStyles';\n\nconst resetButtonStyles = css`\n ${resetFocusStyles};\n border: 0;\n padding: 0;\n`;\n\nexport default resetButtonStyles;\n"],"mappings":";;;;;;;AAAA;;AACA;;;;;;;;AAEA,IAAMA,iBAAiB,OAAGC,UAAH,+GACnBC,4BADmB,CAAvB;eAMeF,iB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/resetFocusStyles/index.ts"],"names":["resetFocusStyles","css"],"mappings":";;;;;;;AAAA;;;;;;AAEA,IAAMA,gBAAgB,OAAGC,UAAH,8GAAtB;eAMeD,gB","sourcesContent":["import { css } from '@emotion/react';\n\nconst resetFocusStyles = css`\n &:focus {\n outline: none;\n }\n`;\n\nexport default resetFocusStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["resetFocusStyles","css"],"sources":["../../../src/resetFocusStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\n\nconst resetFocusStyles = css`\n &:focus {\n outline: none;\n }\n`;\n\nexport default resetFocusStyles;\n"],"mappings":";;;;;;;AAAA;;;;;;AAEA,IAAMA,gBAAgB,OAAGC,UAAH,8GAAtB;eAMeD,gB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/resetUlStyles/index.ts"],"names":["resetUlStyles","css"],"mappings":";;;;;;;AAAA;;;;;;AAEA,IAAMA,aAAa,OAAGC,UAAH,0HAAnB;eAMeD,a","sourcesContent":["import { css } from '@emotion/react';\n\nconst resetUlStyles = css`\n list-style: none;\n margin: 0;\n padding: 0;\n`;\n\nexport default resetUlStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["resetUlStyles","css"],"sources":["../../../src/resetUlStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\n\nconst resetUlStyles = css`\n list-style: none;\n margin: 0;\n padding: 0;\n`;\n\nexport default resetUlStyles;\n"],"mappings":";;;;;;;AAAA;;;;;;AAEA,IAAMA,aAAa,OAAGC,UAAH,0HAAnB;eAMeD,a"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/sizeStyles/index.ts"],"names":["sizeStyles","p","size","theme","sizes","css"],"mappings":";;;;;;;AAAA;;;;;;AAWA;AACA,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAACC,CAAD,EAAyB;AAC1C,MAAMC,IAAI,GAAGD,CAAC,CAACE,KAAF,CAAQC,KAAR,CAAcH,CAAC,CAACC,IAAF,IAAU,QAAxB,CAAb;;AACA,MAAI,CAACA,IAAL,EAAW;AACT,eAAOG,UAAP,qGACeJ,CAAC,CAACC,IADjB;AAGD;;AACD,aAAOG,UAAP,qGACeH,IADf;AAGD,CAVD;;eAYeF,U","sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nexport interface WithSize {\n /**\n * The size of the element.\n * @default medium\n */\n size?: 'small' | 'medium' | 'large' | string;\n}\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst sizeStyles = (p): SerializedStyles => {\n const size = p.theme.sizes[p.size || 'medium'];\n if (!size) {\n return css`\n font-size: ${p.size};\n `;\n }\n return css`\n font-size: ${size}em;\n `;\n};\n\nexport default sizeStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["sizeStyles","p","size","theme","sizes","css"],"sources":["../../../src/sizeStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nexport interface WithSize {\n /**\n * The size of the element.\n * @default medium\n */\n size?: 'small' | 'medium' | 'large' | string;\n}\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst sizeStyles = (p): SerializedStyles => {\n const size = p.theme.sizes[p.size || 'medium'];\n if (!size) {\n return css`\n font-size: ${p.size};\n `;\n }\n return css`\n font-size: ${size}em;\n `;\n};\n\nexport default sizeStyles;\n"],"mappings":";;;;;;;AAAA;;;;;;AAWA;AACA,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAACC,CAAD,EAAyB;EAC1C,IAAMC,IAAI,GAAGD,CAAC,CAACE,KAAF,CAAQC,KAAR,CAAcH,CAAC,CAACC,IAAF,IAAU,QAAxB,CAAb;;EACA,IAAI,CAACA,IAAL,EAAW;IACT,WAAOG,UAAP,qGACeJ,CAAC,CAACC,IADjB;EAGD;;EACD,WAAOG,UAAP,qGACeH,IADf;AAGD,CAVD;;eAYeF,U"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/transitionStyles/index.ts"],"names":["singleTransitionStyles","property","p","css","theme","transitionDelay","multipleTransitionsStyles","properties","join","transitionStyles","props","length"],"mappings":";;;;;;;AAAA;;;;;;AAGA,IAAMA,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACC,QAAD;AAAA,SAAsB,UAACC,CAAD;AAAA,eACnDC,UADmD,yGAEnCF,QAFmC,EAEvBC,CAAC,CAACE,KAAF,CAAQC,eAFe;AAAA,GAAtB;AAAA,CAA/B;;AAKA,IAAMC,yBAAyB,GAAG,SAA5BA,yBAA4B,CAACC,UAAD;AAAA,SAA0B,UAACL,CAAD;AAAA,eAC1DC,UAD0D,0IAEtCD,CAAC,CAACE,KAAF,CAAQC,eAF8B,EAGjCE,UAAU,CAACC,IAAX,CAAgB,IAAhB,CAHiC;AAAA,GAA1B;AAAA,CAAlC,C,CAMA;;;AACA,IAAMC,gBAAgB,GACpB,SADIA,gBACJ;AAAA,oCAAIC,KAAJ;AAAIA,IAAAA,KAAJ;AAAA;;AAAA,SACA,UAACR,CAAD;AAAA,WACEQ,KAAK,CAACC,MAAN,KAAiB,CAAjB,GACIX,sBAAsB,CAACU,KAAK,CAAC,CAAD,CAAN,CAAtB,CAAiCR,CAAjC,CADJ,GAEII,yBAAyB,CAACI,KAAD,CAAzB,CAAiCR,CAAjC,CAHN;AAAA,GADA;AAAA,CADF;;eAOeO,gB","sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst singleTransitionStyles = (property: string) => (p) =>\n css`\n transition: ${property} ${p.theme.transitionDelay}ms;\n `;\n\nconst multipleTransitionsStyles = (properties: string[]) => (p) =>\n css`\n transition: all ${p.theme.transitionDelay}ms;\n transition-property: ${properties.join(', ')};\n `;\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst transitionStyles =\n (...props: string[]) =>\n (p): SerializedStyles =>\n props.length === 1\n ? singleTransitionStyles(props[0])(p)\n : multipleTransitionsStyles(props)(p);\n\nexport default transitionStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["singleTransitionStyles","property","p","css","theme","transitionDelay","multipleTransitionsStyles","properties","join","transitionStyles","props","length"],"sources":["../../../src/transitionStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst singleTransitionStyles = (property: string) => (p) =>\n css`\n transition: ${property} ${p.theme.transitionDelay}ms;\n `;\n\nconst multipleTransitionsStyles = (properties: string[]) => (p) =>\n css`\n transition: all ${p.theme.transitionDelay}ms;\n transition-property: ${properties.join(', ')};\n `;\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst transitionStyles =\n (...props: string[]) =>\n (p): SerializedStyles =>\n props.length === 1\n ? singleTransitionStyles(props[0])(p)\n : multipleTransitionsStyles(props)(p);\n\nexport default transitionStyles;\n"],"mappings":";;;;;;;AAAA;;;;;;AAGA,IAAMA,sBAAsB,GAAG,SAAzBA,sBAAyB,CAACC,QAAD;EAAA,OAAsB,UAACC,CAAD;IAAA,WACnDC,UADmD,yGAEnCF,QAFmC,EAEvBC,CAAC,CAACE,KAAF,CAAQC,eAFe;EAAA,CAAtB;AAAA,CAA/B;;AAKA,IAAMC,yBAAyB,GAAG,SAA5BA,yBAA4B,CAACC,UAAD;EAAA,OAA0B,UAACL,CAAD;IAAA,WAC1DC,UAD0D,0IAEtCD,CAAC,CAACE,KAAF,CAAQC,eAF8B,EAGjCE,UAAU,CAACC,IAAX,CAAgB,IAAhB,CAHiC;EAAA,CAA1B;AAAA,CAAlC,C,CAMA;;;AACA,IAAMC,gBAAgB,GACpB,SADIA,gBACJ;EAAA,kCAAIC,KAAJ;IAAIA,KAAJ;EAAA;;EAAA,OACA,UAACR,CAAD;IAAA,OACEQ,KAAK,CAACC,MAAN,KAAiB,CAAjB,GACIX,sBAAsB,CAACU,KAAK,CAAC,CAAD,CAAN,CAAtB,CAAiCR,CAAjC,CADJ,GAEII,yBAAyB,CAACI,KAAD,CAAzB,CAAiCR,CAAjC,CAHN;EAAA,CADA;AAAA,CADF;;eAOeO,gB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/ellipsisStyles/index.ts"],"names":["css","ellipsisStyles"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;AAEA,MAAMC,cAAc,GAAGD,GAAI;AAC3B;AACA;AACA;AACA,CAJA;AAMA,eAAeC,cAAf","sourcesContent":["import { css } from '@emotion/react';\n\nconst ellipsisStyles = css`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nexport default ellipsisStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["css","ellipsisStyles"],"sources":["../../../src/ellipsisStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\n\nconst ellipsisStyles = css`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nexport default ellipsisStyles;\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;AAEA,MAAMC,cAAc,GAAGD,GAAI;AAC3B;AACA;AACA;AACA,CAJA;AAMA,eAAeC,cAAf"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/emotion.d.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAP","sourcesContent":["import '@emotion/react';\nimport { Theme as BaseTheme } from '@os-design/theming';\n\ndeclare module '@emotion/react' {\n // eslint-disable-next-line @typescript-eslint/no-empty-interface\n export interface Theme extends BaseTheme {}\n}\n"],"file":"emotion.d.js"}
1
+ {"version":3,"file":"emotion.d.js","names":[],"sources":["../../src/emotion.d.ts"],"sourcesContent":["import '@emotion/react';\nimport { Theme as BaseTheme } from '@os-design/theming';\n\ndeclare module '@emotion/react' {\n // eslint-disable-next-line @typescript-eslint/no-empty-interface\n export interface Theme extends BaseTheme {}\n}\n"],"mappings":"AAAA,OAAO,gBAAP"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/enableScrollingStyles/index.ts"],"names":["css","enableScrollingStyles","axis","showScrollbar","includes"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;;AAGA,MAAMC,qBAAqB,GAAG,CAC5BC,IAD4B,EAE5BC,aAAa,GAAG,IAFY,KAGPH,GAAI;AAC3B,IAAI,CAAC,GAAD,EAAM,MAAN,EAAcI,QAAd,CAAuBF,IAAvB,KACFF,GAAI;AACN;AACA,GAAI;AACJ;AACA,IAAI,CAAC,GAAD,EAAM,MAAN,EAAcI,QAAd,CAAuBF,IAAvB,KACFF,GAAI;AACN;AACA,GAAI;AACJ;AACA,IAAI,CAACG,aAAD,IACFH,GAAI;AACN;AACA;AACA;AACA,GAAI;AACJ;AACA;AACA,CAtBA;;AAwBA,eAAeC,qBAAf","sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst enableScrollingStyles = (\n axis: 'x' | 'y' | 'both',\n showScrollbar = true\n): SerializedStyles => css`\n ${['x', 'both'].includes(axis) &&\n css`\n overflow-x: auto;\n `};\n\n ${['y', 'both'].includes(axis) &&\n css`\n overflow-y: auto;\n `};\n\n ${!showScrollbar &&\n css`\n ::-webkit-scrollbar {\n display: none;\n }\n `};\n\n -webkit-overflow-scrolling: touch;\n`;\n\nexport default enableScrollingStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["css","enableScrollingStyles","axis","showScrollbar","includes"],"sources":["../../../src/enableScrollingStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst enableScrollingStyles = (\n axis: 'x' | 'y' | 'both',\n showScrollbar = true\n): SerializedStyles => css`\n ${['x', 'both'].includes(axis) &&\n css`\n overflow-x: auto;\n `};\n\n ${['y', 'both'].includes(axis) &&\n css`\n overflow-y: auto;\n `};\n\n ${!showScrollbar &&\n css`\n ::-webkit-scrollbar {\n display: none;\n }\n `};\n\n -webkit-overflow-scrolling: touch;\n`;\n\nexport default enableScrollingStyles;\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;;AAGA,MAAMC,qBAAqB,GAAG,CAC5BC,IAD4B,EAE5BC,aAAa,GAAG,IAFY,KAGPH,GAAI;AAC3B,IAAI,CAAC,GAAD,EAAM,MAAN,EAAcI,QAAd,CAAuBF,IAAvB,KACFF,GAAI;AACN;AACA,GAAI;AACJ;AACA,IAAI,CAAC,GAAD,EAAM,MAAN,EAAcI,QAAd,CAAuBF,IAAvB,KACFF,GAAI;AACN;AACA,GAAI;AACJ;AACA,IAAI,CAACG,aAAD,IACFH,GAAI;AACN;AACA;AACA;AACA,GAAI;AACJ;AACA;AACA,CAtBA;;AAwBA,eAAeC,qBAAf"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/horizontalPaddingStyles/index.ts"],"names":["fp","m","horizontalPaddingStyles","side","p","min","sm","paddingLeft","includes","theme","horizontalPadding","map","v","undefined","paddingRight"],"mappings":"AAAA,OAAOA,EAAP,MAAe,WAAf;AACA,SAASC,CAAT,QAAkB,kBAAlB;;AAIA;AACA,MAAMC,uBAAuB,GAC3B,CAACC,IAAU,GAAG,MAAd,KACCC,CAAD,IACEJ,EAAE,CAAC,CAACC,CAAC,CAACI,GAAF,CAAMC,EAAP,CAAD,CAAF,CAAe;AACbC,EAAAA,WAAW,EAAE,CAAC,MAAD,EAAS,MAAT,EAAiBC,QAAjB,CAA0BL,IAA1B,IACTC,CAAC,CAACK,KAAF,CAAQC,iBAAR,CAA0BC,GAA1B,CAA+BC,CAAD,IAAQ,GAAEA,CAAE,IAA1C,CADS,GAETC,SAHS;AAIbC,EAAAA,YAAY,EAAE,CAAC,OAAD,EAAU,MAAV,EAAkBN,QAAlB,CAA2BL,IAA3B,IACVC,CAAC,CAACK,KAAF,CAAQC,iBAAR,CAA0BC,GAA1B,CAA+BC,CAAD,IAAQ,GAAEA,CAAE,IAA1C,CADU,GAEVC;AANS,CAAf,CAHJ;;AAYA,eAAeX,uBAAf","sourcesContent":["import fp from 'facepaint';\nimport { m } from '@os-design/media';\n\ntype Side = 'left' | 'right' | 'both';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst horizontalPaddingStyles =\n (side: Side = 'both') =>\n (p) =>\n fp([m.min.sm])({\n paddingLeft: ['left', 'both'].includes(side)\n ? p.theme.horizontalPadding.map((v) => `${v}em`)\n : undefined,\n paddingRight: ['right', 'both'].includes(side)\n ? p.theme.horizontalPadding.map((v) => `${v}em`)\n : undefined,\n });\n\nexport default horizontalPaddingStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["fp","m","horizontalPaddingStyles","side","p","min","sm","paddingLeft","includes","theme","horizontalPadding","map","v","undefined","paddingRight"],"sources":["../../../src/horizontalPaddingStyles/index.ts"],"sourcesContent":["import fp from 'facepaint';\nimport { m } from '@os-design/media';\n\ntype Side = 'left' | 'right' | 'both';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst horizontalPaddingStyles =\n (side: Side = 'both') =>\n (p) =>\n fp([m.min.sm])({\n paddingLeft: ['left', 'both'].includes(side)\n ? p.theme.horizontalPadding.map((v) => `${v}em`)\n : undefined,\n paddingRight: ['right', 'both'].includes(side)\n ? p.theme.horizontalPadding.map((v) => `${v}em`)\n : undefined,\n });\n\nexport default horizontalPaddingStyles;\n"],"mappings":"AAAA,OAAOA,EAAP,MAAe,WAAf;AACA,SAASC,CAAT,QAAkB,kBAAlB;;AAIA;AACA,MAAMC,uBAAuB,GAC3B,CAACC,IAAU,GAAG,MAAd,KACCC,CAAD,IACEJ,EAAE,CAAC,CAACC,CAAC,CAACI,GAAF,CAAMC,EAAP,CAAD,CAAF,CAAe;EACbC,WAAW,EAAE,CAAC,MAAD,EAAS,MAAT,EAAiBC,QAAjB,CAA0BL,IAA1B,IACTC,CAAC,CAACK,KAAF,CAAQC,iBAAR,CAA0BC,GAA1B,CAA+BC,CAAD,IAAQ,GAAEA,CAAE,IAA1C,CADS,GAETC,SAHS;EAIbC,YAAY,EAAE,CAAC,OAAD,EAAU,MAAV,EAAkBN,QAAlB,CAA2BL,IAA3B,IACVC,CAAC,CAACK,KAAF,CAAQC,iBAAR,CAA0BC,GAA1B,CAA+BC,CAAD,IAAQ,GAAEA,CAAE,IAA1C,CADU,GAEVC;AANS,CAAf,CAHJ;;AAYA,eAAeX,uBAAf"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":["default","ellipsisStyles","enableScrollingStyles","horizontalPaddingStyles","lineClampStyles","resetButtonStyles","resetFocusStyles","resetUlStyles","sizeStyles","transitionStyles"],"mappings":"AAAA,SAASA,OAAO,IAAIC,cAApB,QAA0C,kBAA1C;AACA,SAASD,OAAO,IAAIE,qBAApB,QAAiD,yBAAjD;AACA,SAASF,OAAO,IAAIG,uBAApB,QAAmD,2BAAnD;AACA,SAASH,OAAO,IAAII,eAApB,QAA2C,mBAA3C;AACA,SAASJ,OAAO,IAAIK,iBAApB,QAA6C,qBAA7C;AACA,SAASL,OAAO,IAAIM,gBAApB,QAA4C,oBAA5C;AACA,SAASN,OAAO,IAAIO,aAApB,QAAyC,iBAAzC;AACA,SAASP,OAAO,IAAIQ,UAApB,QAAsC,cAAtC;AACA,SAASR,OAAO,IAAIS,gBAApB,QAA4C,oBAA5C;AAEA,cAAc,cAAd","sourcesContent":["export { default as ellipsisStyles } from './ellipsisStyles';\nexport { default as enableScrollingStyles } from './enableScrollingStyles';\nexport { default as horizontalPaddingStyles } from './horizontalPaddingStyles';\nexport { default as lineClampStyles } from './lineClampStyles';\nexport { default as resetButtonStyles } from './resetButtonStyles';\nexport { default as resetFocusStyles } from './resetFocusStyles';\nexport { default as resetUlStyles } from './resetUlStyles';\nexport { default as sizeStyles } from './sizeStyles';\nexport { default as transitionStyles } from './transitionStyles';\n\nexport * from './sizeStyles';\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["default","ellipsisStyles","enableScrollingStyles","horizontalPaddingStyles","lineClampStyles","resetButtonStyles","resetFocusStyles","resetUlStyles","sizeStyles","transitionStyles"],"sources":["../../src/index.ts"],"sourcesContent":["export { default as ellipsisStyles } from './ellipsisStyles';\nexport { default as enableScrollingStyles } from './enableScrollingStyles';\nexport { default as horizontalPaddingStyles } from './horizontalPaddingStyles';\nexport { default as lineClampStyles } from './lineClampStyles';\nexport { default as resetButtonStyles } from './resetButtonStyles';\nexport { default as resetFocusStyles } from './resetFocusStyles';\nexport { default as resetUlStyles } from './resetUlStyles';\nexport { default as sizeStyles } from './sizeStyles';\nexport { default as transitionStyles } from './transitionStyles';\n\nexport * from './sizeStyles';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,cAApB,QAA0C,kBAA1C;AACA,SAASD,OAAO,IAAIE,qBAApB,QAAiD,yBAAjD;AACA,SAASF,OAAO,IAAIG,uBAApB,QAAmD,2BAAnD;AACA,SAASH,OAAO,IAAII,eAApB,QAA2C,mBAA3C;AACA,SAASJ,OAAO,IAAIK,iBAApB,QAA6C,qBAA7C;AACA,SAASL,OAAO,IAAIM,gBAApB,QAA4C,oBAA5C;AACA,SAASN,OAAO,IAAIO,aAApB,QAAyC,iBAAzC;AACA,SAASP,OAAO,IAAIQ,UAApB,QAAsC,cAAtC;AACA,SAASR,OAAO,IAAIS,gBAApB,QAA4C,oBAA5C;AAEA,cAAc,cAAd"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/lineClampStyles/index.ts"],"names":["css","lineClampStyles","maxLines"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;;AAGA,MAAMC,eAAe,GAAIC,QAAD,IAAwCF,GAAI;AACpE;AACA,wBAAwBE,QAAS;AACjC;AACA;AACA,CALA;;AAOA,eAAeD,eAAf","sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst lineClampStyles = (maxLines: number): SerializedStyles => css`\n display: -webkit-box;\n -webkit-line-clamp: ${maxLines};\n -webkit-box-orient: vertical;\n overflow: hidden;\n`;\n\nexport default lineClampStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["css","lineClampStyles","maxLines"],"sources":["../../../src/lineClampStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst lineClampStyles = (maxLines: number): SerializedStyles => css`\n display: -webkit-box;\n -webkit-line-clamp: ${maxLines};\n -webkit-box-orient: vertical;\n overflow: hidden;\n`;\n\nexport default lineClampStyles;\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;;AAGA,MAAMC,eAAe,GAAIC,QAAD,IAAwCF,GAAI;AACpE;AACA,wBAAwBE,QAAS;AACjC;AACA;AACA,CALA;;AAOA,eAAeD,eAAf"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/resetButtonStyles/index.ts"],"names":["css","resetFocusStyles","resetButtonStyles"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;AACA,OAAOC,gBAAP,MAA6B,qBAA7B;AAEA,MAAMC,iBAAiB,GAAGF,GAAI;AAC9B,IAAIC,gBAAiB;AACrB;AACA;AACA,CAJA;AAMA,eAAeC,iBAAf","sourcesContent":["import { css } from '@emotion/react';\nimport resetFocusStyles from '../resetFocusStyles';\n\nconst resetButtonStyles = css`\n ${resetFocusStyles};\n border: 0;\n padding: 0;\n`;\n\nexport default resetButtonStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["css","resetFocusStyles","resetButtonStyles"],"sources":["../../../src/resetButtonStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\nimport resetFocusStyles from '../resetFocusStyles';\n\nconst resetButtonStyles = css`\n ${resetFocusStyles};\n border: 0;\n padding: 0;\n`;\n\nexport default resetButtonStyles;\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;AACA,OAAOC,gBAAP,MAA6B,qBAA7B;AAEA,MAAMC,iBAAiB,GAAGF,GAAI;AAC9B,IAAIC,gBAAiB;AACrB;AACA;AACA,CAJA;AAMA,eAAeC,iBAAf"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/resetFocusStyles/index.ts"],"names":["css","resetFocusStyles"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;AAEA,MAAMC,gBAAgB,GAAGD,GAAI;AAC7B;AACA;AACA;AACA,CAJA;AAMA,eAAeC,gBAAf","sourcesContent":["import { css } from '@emotion/react';\n\nconst resetFocusStyles = css`\n &:focus {\n outline: none;\n }\n`;\n\nexport default resetFocusStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["css","resetFocusStyles"],"sources":["../../../src/resetFocusStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\n\nconst resetFocusStyles = css`\n &:focus {\n outline: none;\n }\n`;\n\nexport default resetFocusStyles;\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;AAEA,MAAMC,gBAAgB,GAAGD,GAAI;AAC7B;AACA;AACA;AACA,CAJA;AAMA,eAAeC,gBAAf"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/resetUlStyles/index.ts"],"names":["css","resetUlStyles"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;AAEA,MAAMC,aAAa,GAAGD,GAAI;AAC1B;AACA;AACA;AACA,CAJA;AAMA,eAAeC,aAAf","sourcesContent":["import { css } from '@emotion/react';\n\nconst resetUlStyles = css`\n list-style: none;\n margin: 0;\n padding: 0;\n`;\n\nexport default resetUlStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["css","resetUlStyles"],"sources":["../../../src/resetUlStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\n\nconst resetUlStyles = css`\n list-style: none;\n margin: 0;\n padding: 0;\n`;\n\nexport default resetUlStyles;\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;AAEA,MAAMC,aAAa,GAAGD,GAAI;AAC1B;AACA;AACA;AACA,CAJA;AAMA,eAAeC,aAAf"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/sizeStyles/index.ts"],"names":["css","sizeStyles","p","size","theme","sizes"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;;AAWA;AACA,MAAMC,UAAU,GAAIC,CAAD,IAAyB;AAC1C,QAAMC,IAAI,GAAGD,CAAC,CAACE,KAAF,CAAQC,KAAR,CAAcH,CAAC,CAACC,IAAF,IAAU,QAAxB,CAAb;;AACA,MAAI,CAACA,IAAL,EAAW;AACT,WAAOH,GAAI;AACf,mBAAmBE,CAAC,CAACC,IAAK;AAC1B,KAFI;AAGD;;AACD,SAAOH,GAAI;AACb,iBAAiBG,IAAK;AACtB,GAFE;AAGD,CAVD;;AAYA,eAAeF,UAAf","sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nexport interface WithSize {\n /**\n * The size of the element.\n * @default medium\n */\n size?: 'small' | 'medium' | 'large' | string;\n}\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst sizeStyles = (p): SerializedStyles => {\n const size = p.theme.sizes[p.size || 'medium'];\n if (!size) {\n return css`\n font-size: ${p.size};\n `;\n }\n return css`\n font-size: ${size}em;\n `;\n};\n\nexport default sizeStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["css","sizeStyles","p","size","theme","sizes"],"sources":["../../../src/sizeStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nexport interface WithSize {\n /**\n * The size of the element.\n * @default medium\n */\n size?: 'small' | 'medium' | 'large' | string;\n}\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst sizeStyles = (p): SerializedStyles => {\n const size = p.theme.sizes[p.size || 'medium'];\n if (!size) {\n return css`\n font-size: ${p.size};\n `;\n }\n return css`\n font-size: ${size}em;\n `;\n};\n\nexport default sizeStyles;\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;;AAWA;AACA,MAAMC,UAAU,GAAIC,CAAD,IAAyB;EAC1C,MAAMC,IAAI,GAAGD,CAAC,CAACE,KAAF,CAAQC,KAAR,CAAcH,CAAC,CAACC,IAAF,IAAU,QAAxB,CAAb;;EACA,IAAI,CAACA,IAAL,EAAW;IACT,OAAOH,GAAI;AACf,mBAAmBE,CAAC,CAACC,IAAK;AAC1B,KAFI;EAGD;;EACD,OAAOH,GAAI;AACb,iBAAiBG,IAAK;AACtB,GAFE;AAGD,CAVD;;AAYA,eAAeF,UAAf"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/transitionStyles/index.ts"],"names":["css","singleTransitionStyles","property","p","theme","transitionDelay","multipleTransitionsStyles","properties","join","transitionStyles","props","length"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;;AAGA,MAAMC,sBAAsB,GAAIC,QAAD,IAAuBC,CAAD,IACnDH,GAAI;AACN,kBAAkBE,QAAS,IAAGC,CAAC,CAACC,KAAF,CAAQC,eAAgB;AACtD,GAHA;;AAKA,MAAMC,yBAAyB,GAAIC,UAAD,IAA2BJ,CAAD,IAC1DH,GAAI;AACN,sBAAsBG,CAAC,CAACC,KAAF,CAAQC,eAAgB;AAC9C,2BAA2BE,UAAU,CAACC,IAAX,CAAgB,IAAhB,CAAsB;AACjD,GAJA,C,CAMA;;;AACA,MAAMC,gBAAgB,GACpB,CAAC,GAAGC,KAAJ,KACCP,CAAD,IACEO,KAAK,CAACC,MAAN,KAAiB,CAAjB,GACIV,sBAAsB,CAACS,KAAK,CAAC,CAAD,CAAN,CAAtB,CAAiCP,CAAjC,CADJ,GAEIG,yBAAyB,CAACI,KAAD,CAAzB,CAAiCP,CAAjC,CALR;;AAOA,eAAeM,gBAAf","sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst singleTransitionStyles = (property: string) => (p) =>\n css`\n transition: ${property} ${p.theme.transitionDelay}ms;\n `;\n\nconst multipleTransitionsStyles = (properties: string[]) => (p) =>\n css`\n transition: all ${p.theme.transitionDelay}ms;\n transition-property: ${properties.join(', ')};\n `;\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst transitionStyles =\n (...props: string[]) =>\n (p): SerializedStyles =>\n props.length === 1\n ? singleTransitionStyles(props[0])(p)\n : multipleTransitionsStyles(props)(p);\n\nexport default transitionStyles;\n"],"file":"index.js"}
1
+ {"version":3,"file":"index.js","names":["css","singleTransitionStyles","property","p","theme","transitionDelay","multipleTransitionsStyles","properties","join","transitionStyles","props","length"],"sources":["../../../src/transitionStyles/index.ts"],"sourcesContent":["import { css } from '@emotion/react';\nimport { SerializedStyles } from '@emotion/serialize';\n\nconst singleTransitionStyles = (property: string) => (p) =>\n css`\n transition: ${property} ${p.theme.transitionDelay}ms;\n `;\n\nconst multipleTransitionsStyles = (properties: string[]) => (p) =>\n css`\n transition: all ${p.theme.transitionDelay}ms;\n transition-property: ${properties.join(', ')};\n `;\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst transitionStyles =\n (...props: string[]) =>\n (p): SerializedStyles =>\n props.length === 1\n ? singleTransitionStyles(props[0])(p)\n : multipleTransitionsStyles(props)(p);\n\nexport default transitionStyles;\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;;AAGA,MAAMC,sBAAsB,GAAIC,QAAD,IAAuBC,CAAD,IACnDH,GAAI;AACN,kBAAkBE,QAAS,IAAGC,CAAC,CAACC,KAAF,CAAQC,eAAgB;AACtD,GAHA;;AAKA,MAAMC,yBAAyB,GAAIC,UAAD,IAA2BJ,CAAD,IAC1DH,GAAI;AACN,sBAAsBG,CAAC,CAACC,KAAF,CAAQC,eAAgB;AAC9C,2BAA2BE,UAAU,CAACC,IAAX,CAAgB,IAAhB,CAAsB;AACjD,GAJA,C,CAMA;;;AACA,MAAMC,gBAAgB,GACpB,CAAC,GAAGC,KAAJ,KACCP,CAAD,IACEO,KAAK,CAACC,MAAN,KAAiB,CAAjB,GACIV,sBAAsB,CAACS,KAAK,CAAC,CAAD,CAAN,CAAtB,CAAiCP,CAAjC,CADJ,GAEIG,yBAAyB,CAACI,KAAD,CAAzB,CAAiCP,CAAjC,CALR;;AAOA,eAAeM,gBAAf"}
@@ -1,3 +1,3 @@
1
- declare const ellipsisStyles: import("@emotion/react").SerializedStyles;
1
+ declare const ellipsisStyles: import("@emotion/utils").SerializedStyles;
2
2
  export default ellipsisStyles;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- declare const resetButtonStyles: import("@emotion/react").SerializedStyles;
1
+ declare const resetButtonStyles: import("@emotion/utils").SerializedStyles;
2
2
  export default resetButtonStyles;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- declare const resetFocusStyles: import("@emotion/react").SerializedStyles;
1
+ declare const resetFocusStyles: import("@emotion/utils").SerializedStyles;
2
2
  export default resetFocusStyles;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- declare const resetUlStyles: import("@emotion/react").SerializedStyles;
1
+ declare const resetUlStyles: import("@emotion/utils").SerializedStyles;
2
2
  export default resetUlStyles;
3
3
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os-design/styles",
3
- "version": "1.0.31",
3
+ "version": "1.0.34",
4
4
  "license": "UNLICENSED",
5
5
  "repository": "git@gitlab.com:os-team/libs/os-design.git",
6
6
  "main": "dist/cjs/index.js",
@@ -10,7 +10,8 @@
10
10
  ".": {
11
11
  "require": "./dist/cjs/index.js",
12
12
  "default": "./dist/esm/index.js"
13
- }
13
+ },
14
+ "./package.json": "./package.json"
14
15
  },
15
16
  "files": [
16
17
  "dist"
@@ -28,18 +29,18 @@
28
29
  "access": "public"
29
30
  },
30
31
  "dependencies": {
31
- "@os-design/media": "^1.0.10",
32
- "@os-design/theming": "^1.0.29",
32
+ "@os-design/media": "^1.0.13",
33
+ "@os-design/theming": "^1.0.32",
33
34
  "facepaint": "^1.2.1"
34
35
  },
35
36
  "devDependencies": {
36
37
  "@emotion/react": ">=11",
37
38
  "@emotion/serialize": "*",
38
- "@os-design/omit-emotion-props": "^1.0.2"
39
+ "@os-design/omit-emotion-props": "^1.0.5"
39
40
  },
40
41
  "peerDependencies": {
41
42
  "@emotion/react": ">=11",
42
43
  "@emotion/serialize": "*"
43
44
  },
44
- "gitHead": "c0b488fbb8cc537b1fe362af50610edbf0d839df"
45
+ "gitHead": "6920c75ea791cbb8edc94c2dd506183d41ffeac6"
45
46
  }