@preply/ds-web-core
Advanced tools
Comparing version 0.6.0 to 0.6.1-beta.ea6f45f47c13e3218fea90c7c088a895e1d5cfa3.45
import { ColorScheme } from './classes/ColorScheme'; | ||
import './styles/index.module.less'; | ||
export declare const colorSchemes: ColorScheme[]; |
import { colorSchemeConfig } from '@preply/ds-core'; | ||
import { ColorScheme } from './classes/ColorScheme.js'; | ||
import styles from './styles/index.module.less.js'; | ||
const styles = Object.keys(colorSchemeConfig).reduce((acc, scheme) => ({ ...acc, [`ds-scheme--${scheme}`]: `ds-scheme--${scheme}` }), {}); | ||
Object.keys(colorSchemeConfig).forEach(scheme => { | ||
styles[`ds-scheme--${scheme}`] = `ds-scheme--${scheme}`; | ||
}); | ||
const colorSchemes = Object.entries(colorSchemeConfig).map(([name, value]) => new ColorScheme(styles, name, value.extend)); | ||
export { colorSchemes }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3JTY2hlbWVzLmpzIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY29sb3Itc2NoZW1lL2NvbG9yU2NoZW1lcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IENvbG9yU2NoZW1lTmFtZSB9IGZyb20gJ0BwcmVwbHkvZHMtY29yZSc7XG5pbXBvcnQgeyBjb2xvclNjaGVtZUNvbmZpZyB9IGZyb20gJ0BwcmVwbHkvZHMtY29yZSc7XG5cbmltcG9ydCB7IENvbG9yU2NoZW1lIH0gZnJvbSAnLi9jbGFzc2VzL0NvbG9yU2NoZW1lJztcbmltcG9ydCAnLi9zdHlsZXMvaW5kZXgubW9kdWxlLmxlc3MnO1xuXG5jb25zdCBzdHlsZXMgPSBPYmplY3Qua2V5cyhjb2xvclNjaGVtZUNvbmZpZykucmVkdWNlKFxuICAgIChhY2MsIHNjaGVtZSkgPT4gKHsgLi4uYWNjLCBbYGRzLXNjaGVtZS0tJHtzY2hlbWV9YF06IGBkcy1zY2h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0BwcmVwbHkvZHMtY29yZSc7XG5cbmltcG9ydCB7IENvbG9yU2NoZW1lIH0gZnJvbSAnLi9jbGFzc2VzL0NvbG9yU2NoZW1lJztcbmltcG9ydCBzdHlsZXMgZnJvbSAnLi9zdHlsZXMvaW5kZXgubW9kdWxlLmxlc3MnO1xuXG5PYmplY3Qua2V5cyhjb2xvclNjaGVtZUNvbmZpZykuZm9yRWFjaChzY2hlbWUgPT4ge1xuICAgIHN0eWxlc1tgZHMtc2NoZW1lLS0ke3NjaGVtZX1gXSA9IGBkcy1zY2hlbWUtLSR7c2NoZW1lfWA7XG59KTtcblxuZXhwb3J0IGNvbnN0IGNvbG9yU2NoZW1lcyA9IE9iamVjdC5lbnRyaWVzKGNvbG9yU2NoZW1lQ29uZmlnKS5tYXAoXG4gICAgKFtuYW1lLCB2YWx1ZV0pID0+IG5ldyBDb2xvclNjaGVtZShzdHlsZXMsIG5hbWUgYXMgQ29sb3JTY2hlbWVOYW1lLCB2YWx1ZS5leHRlbmQpLFxuKTtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBTUEsTUFBTSxDQUFDLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxNQUFNO0lBQ3pDLE1BQU0sQ0FBQyxjQUFjLE1BQU0sRUFBRSxDQUFDLEdBQUcsY0FBYyxNQUFNLEVBQUUsQ0FBQztBQUM1RCxDQUFDLENBQUMsQ0FBQztNQUVVLFlBQVksR0FBRyxNQUFNLENBQUMsT0FBTyxDQUFDLGlCQUFpQixDQUFDLENBQUMsR0FBRyxDQUM3RCxDQUFDLENBQUMsSUFBSSxFQUFFLEtBQUssQ0FBQyxLQUFLLElBQUksV0FBVyxDQUFDLE1BQU0sRUFBRSxJQUF1QixFQUFFLEtBQUssQ0FBQyxNQUFNLENBQUM7Ozs7In0= |
import styleInject from '../../external/style-inject/dist/style-inject.es.js'; | ||
var css_248z = ".ds-scheme--base {\n --scheme-name: 'base';\n}\n.ds-scheme--highlight {\n --scheme-name: 'highlight';\n}\n.ds-scheme--banner {\n --scheme-name: 'banner';\n}\n.ds-scheme--invert {\n --scheme-name: 'invert';\n}\n"; | ||
var index_module = {}; | ||
var stylesheet=".ds-scheme--base {\n --scheme-name: 'base';\n}\n.ds-scheme--highlight {\n --scheme-name: 'highlight';\n}\n.ds-scheme--banner {\n --scheme-name: 'banner';\n}\n.ds-scheme--invert {\n --scheme-name: 'invert';\n}\n"; | ||
var styles = {__id:"/home/jenkins/workspace/design-system_PR-26/packages/web-core/src/color-scheme/styles/index.module.less",__css:css_248z,}; | ||
var stylesheet=css_248z; | ||
styleInject(css_248z); | ||
export { index_module as default, stylesheet }; | ||
export { styles as default, stylesheet }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjpudWxsLCJzb3VyY2VzIjpbbnVsbF0sInNvdXJjZXNDb250ZW50IjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHdCQUF3QixxREFBeUQ7QUFDakY7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7In0= |
import type { CSSModule } from './types'; | ||
export type { CSSModule } from './types'; | ||
declare type Concatenated = Array<string | undefined>; | ||
@@ -11,2 +12,1 @@ declare type Conditional = { | ||
export declare const globalClasses: (globals?: ClassName[]) => string[]; | ||
export {}; |
@@ -26,2 +26,2 @@ const fromArray = (classname) => !classname.includes(undefined) ? classname.join('-') : undefined; | ||
export { globalClasses, localClasses, safeClassName }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jc3MtbW9kdWxlL2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgQ1NTTW9kdWxlIH0gZnJvbSAnLi90eXBlcyc7XG5cbnR5cGUgQ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UFVLENBQUMsU0FBUyxFQUFFLGdCQUFnQixDQUFDLENBQUM7S0FDbEQ7SUFDRCxPQUFPLFNBQVMsQ0FBQztBQUNyQixDQUFDLENBQUM7TUFFVyxhQUFhLEdBQUcsQ0FBQyxTQUFvQixFQUFFLElBQVk7SUFDNUQsSUFBSSxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsRUFBRTtRQUNsQixNQUFNLElBQUksS0FBSyxDQUFDLG9CQUFvQixJQUFJLEVBQUUsQ0FBQyxDQUFDO0tBQy9DO0lBQ0QsT0FBTyxTQUFTLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDM0IsRUFBRTtNQUVXLFlBQVksR0FBRyxDQUN4QixTQUFvQixFQUNwQixTQUFpQixFQUNqQixTQUFzQixFQUFFLEtBRXhCLE1BQU07S0FDRCxHQUFHLENBQUMsSUFBSSxJQUFJLGdCQUFnQixDQUFDLElBQUksQ0FBQyxDQUFDO0tBQ25DLE1BQU0sQ0FBQyxTQUFTLElBQUksU0FBUyxDQUFDO0tBQzlCLEdBQUcsQ0FBQyxTQUFTLElBQUksR0FBRyxTQUFTLEtBQUssU0FBUyxFQUFFLENBQUM7S0FDOUMsR0FBRyxDQUFDLFNBQVMsSUFBSSxhQUFhLENBQUMsU0FBUyxFQUFFLFNBQVMsQ0FBQyxFQUFFO01BRWxELGFBQWEsR0FBRyxDQUFDLFVBQXVCLEVBQUUsS0FDbkQsT0FBTyxDQUFDLEdBQUcsQ0FBQyxJQUFJLElBQUksZ0JBQWdCLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsU0FBUyxJQUFJLFNBQVM7Ozs7In0= |
@@ -0,3 +1,7 @@ | ||
export declare type CSSModuleId = string; | ||
export declare type CSSModuleContent = string; | ||
export declare type CSSModule = { | ||
[key: string]: string; | ||
__id: CSSModuleId; | ||
__css: CSSModuleContent; | ||
}; |
@@ -8,4 +8,5 @@ export { VERSION } from './version'; | ||
export * from './location'; | ||
export * from './ssr'; | ||
export * from './theme'; | ||
export * from './types'; | ||
export * from './url'; |
@@ -18,2 +18,6 @@ export { VERSION } from './version.js'; | ||
export { useLayoutGridStyles } from './layout/hooks/useLayoutGridStyles.js'; | ||
export { ServerStyleSheet } from './ssr/classes/ServerStyleSheet.js'; | ||
export { StyleExtractContext, StyleExtractProvider } from './ssr/contexts/StyleExtractContext.js'; | ||
export { useStyleExtract } from './ssr/hooks/useStyleExtract.js'; | ||
export { withStyleExtract } from './ssr/hocs/withStyleExtract.js'; | ||
export { Theme } from './theme/classes/Theme.js'; | ||
@@ -26,2 +30,2 @@ export { ThemesProvider } from './theme/providers/ThemesProvider.js'; | ||
export { withTheme } from './theme/hocs/withTheme.js'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OzsifQ== | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7In0= |
import { LAYOUT_GAP_DEFAULT } from '@preply/ds-core'; | ||
import { safeClassName, localClasses } from '../../css-module/index.js'; | ||
import { useStyleExtract } from '../../ssr/hooks/useStyleExtract.js'; | ||
import styles from '../style/index.module.less.js'; | ||
@@ -7,2 +8,3 @@ | ||
const useLayoutFlexClassNames = (layout, props) => { | ||
useStyleExtract(styles); | ||
const { gap = LAYOUT_GAP_DEFAULT, nowrap, column, reverse, justifyContent, alignItems, inline, } = props || {}; | ||
@@ -25,2 +27,2 @@ return layout === 'flex' | ||
export { useLayoutFlexClassNames }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlTGF5b3V0RmxleENsYXNzTmFtZXMuanMiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9sYXlvdXQvaG9va3MvdXNlTGF5b3V0RmxleENsYXNzTmFtZXMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBMYXlvdXRGbGV4UHJvcHMsIExheW91dFR5cGUgfSBmcm9tICdAcHJlcGx5L2RzLWNvcmUnO1xuaW1wb3J0IHsgTEFZT1VUX0dBUF9ERUZBVUxUIH0gZnJvbSAnQHByZXBseS9kcy1jb3JlJztcblxuaW1wb3J0IHsgbG9jYWxDbGFzc2VzLCBzYWZlQ2xhc3NOYW1lIH0gZnJvbSAnLi4vLi4vY3NzLW1vZHVsZSc7XG5pbXBvcnQgc3R5bGVzIGZyb20gJy4uL3N0eWxlL2luZGV4Lm1vZHVsZS5sZXNzJztcblxuY29uc3QgTEFZT1VUX0ZMRVggPSAnTGF5b3V0RmxleCc7XG5cbnR5cGUgSG9vayA9IChsYXlvdXQ/OiBMYXlvdXRUeXBlLCBwcm9wcz86IExheW91dEZsZXhQcm9wcykgPT4gc3RyaW5nW107XG5cbmV4cG9ydCBjb25zdCB1c2VMYXlvdXRGbGV4Q2xhc3NOYW1lczogSG9vayA9IChsYXlvdXQsIHByb3BzKSA9PiB7XG4gICAgY29uc3Qge1xuICAgICAgICBnYXAgPSBMQVlPVVRfR0FQX0RFRkFVTFQsXG4gICAgICAgIG5vd3JhcCxcbiAgICAgICAgY29sdW1uLFxuICAgICAgICByZXZlcnNlLFxuICAgICAgICBqdXN0aWZ5Q29udGVudCxcbiAgICAgICAgYWxpZ25JdGVtcyxcbiAgICAgICAgaW5saW5lLFxuICAgIH0gPSBwcm9wcyB8fCB7fTtcbiAgICByZXR1cm4gbGF5b3V0ID09PSAnZmxleCdcbiAgICAgICAgPyBbXG4gICAg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IExheW91dFR5cGUsIHByb3BzPzogTGF5b3V0RmxleFByb3BzKSA9PiBzdHJpbmdbXTtcblxuZXhwb3J0IGNvbnN0IHVzZUxheW91dEZsZXhDbGFzc05hbWVzOiBIb29rID0gKGxheW91dCwgcHJvcHMpID0+IHtcbiAgICB1c2VTdHlsZUV4dHJhY3Qoc3R5bGVzKTtcbiAgICBjb25zdCB7XG4gICAgICAgIGdhcCA9IExBWU9VVF9HQVBfREVGQVVMVCxcbiAgICAgICAgbm93cmFwLFxuICAgICAgICBjb2x1bW4sXG4gICAgICAgIHJldmVyc2UsXG4gICAgICAgIGp1c3RpZnlDb250ZW50LFxuICAgICAgICBhbGlnbkl0ZW1zLFxuICAgICAgICBpbmxpbmUsXG4gICAgfSA9IHByb3BzIHx8IHt9O1xuICAgIHJldHVybiBsYXlvdXQgPT09ICdmbGV4J1xuICAgICAgICA/IFtcbiAgICAgICAgICAgICAgc2FmZUNsYXNzTmFtZShzdHlsZXMsIExBWU9VVF9GTEVYKSxcbiAgICAgICAgICAgICAgLi4ubG9jYWxDbGFzc2VzKHN0eWxlcywgTEFZT1VUX0ZMRVgsIFtcbiAgICAgICAgICAgICAgICAgIFsnZ2FwJywgZ2FwXSxcbiAgICAgICAgICAgICAgICAgIFtpbmxpbmUgPyAnaW5saW5lJyA6IHVuZGVmaW5lZF0sXG4gICAgICAgICAgICAgICAgICBbbm93cmFwID8gJ25vd3JhcCcgOiB1bmRlZmluZWRdLFxuICAgICAgICAgICAgICAgICAgW2NvbHVtbiA/ICdjb2x1bW4nIDogJ3JvdycsIHJldmVyc2UgPyAncmV2JyA6ICdmd2QnXSxcbiAgICAgICAgICAgICAgICAgIFsnanVzdGlmeS1jb250ZW50JywganVzdGlmeUNvbnRlbnRdLFxuICAgICAgICAgICAgICAgICAgWydhbGlnbi1pdGVtcycsIGFsaWduSXRlbXNdLFxuICAgICAgICAgICAgICBdKSxcbiAgICAgICAgICBdXG4gICAgICAgIDogW107XG59O1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBT0EsTUFBTSxXQUFXLEdBQUcsWUFBWSxDQUFDO01BSXBCLHVCQUF1QixHQUFTLENBQUMsTUFBTSxFQUFFLEtBQUs7SUFDdkQsZUFBZSxDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ3hCLE1BQU0sRUFDRixHQUFHLEdBQUcsa0JBQWtCLEVBQ3hCLE1BQU0sRUFDTixNQUFNLEVBQ04sT0FBTyxFQUNQLGNBQWMsRUFDZCxVQUFVLEVBQ1YsTUFBTSxHQUNULEdBQUcsS0FBSyxJQUFJLEVBQUUsQ0FBQztJQUNoQixPQUFPLE1BQU0sS0FBSyxNQUFNO1VBQ2xCO1lBQ0ksYUFBYSxDQUFDLE1BQU0sRUFBRSxXQUFXLENBQUM7WUFDbEMsR0FBRyxZQUFZLENBQUMsTUFBTSxFQUFFLFdBQVcsRUFBRTtnQkFDakMsQ0FBQyxLQUFLLEVBQUUsR0FBRyxDQUFDO2dCQUNaLENBQUMsTUFBTSxHQUFHLFFBQVEsR0FBRyxTQUFTLENBQUM7Z0JBQy9CLENBQUMsTUFBTSxHQUFHLFFBQVEsR0FBRyxTQUFTLENBQUM7Z0JBQy9CLENBQUMsTUFBTSxHQUFHLFFBQVEsR0FBRyxLQUFLLEVBQUUsT0FBTyxHQUFHLEtBQUssR0FBRyxLQUFLLENBQUM7Z0JBQ3BELENBQUMsaUJBQWlCLEVBQUUsY0FBYyxDQUFDO2dCQUNuQyxDQUFDLGFBQWEsRUFBRSxVQUFVLENBQUM7YUFDOUIsQ0FBQztTQUNMO1VBQ0QsRUFBRSxDQUFDO0FBQ2I7Ozs7In0= |
import { LAYOUT_GAP_DEFAULT } from '@preply/ds-core'; | ||
import { safeClassName, localClasses } from '../../css-module/index.js'; | ||
import { useStyleExtract } from '../../ssr/hooks/useStyleExtract.js'; | ||
import styles from '../style/index.module.less.js'; | ||
@@ -7,2 +8,3 @@ | ||
const useLayoutGridClassNames = (layout, props) => { | ||
useStyleExtract(styles); | ||
const { gap = LAYOUT_GAP_DEFAULT, justifyContent, alignItems } = props || {}; | ||
@@ -22,2 +24,2 @@ return layout === 'grid' | ||
export { useLayoutGridClassNames }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlTGF5b3V0R3JpZENsYXNzTmFtZXMuanMiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9sYXlvdXQvaG9va3MvdXNlTGF5b3V0R3JpZENsYXNzTmFtZXMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBMYXlvdXRHcmlkUHJvcHMsIExheW91dFR5cGUgfSBmcm9tICdAcHJlcGx5L2RzLWNvcmUnO1xuaW1wb3J0IHsgTEFZT1VUX0dBUF9ERUZBVUxUIH0gZnJvbSAnQHByZXBseS9kcy1jb3JlJztcblxuaW1wb3J0IHsgbG9jYWxDbGFzc2VzLCBzYWZlQ2xhc3NOYW1lIH0gZnJvbSAnLi4vLi4vY3NzLW1vZHVsZSc7XG5pbXBvcnQgc3R5bGVzIGZyb20gJy4uL3N0eWxlL2luZGV4Lm1vZHVsZS5sZXNzJztcblxuY29uc3QgTEFZT1VUX0dSSUQgPSAnTGF5b3V0R3JpZCc7XG5cbnR5cGUgSG9vayA9IChsYXlvdXQ/OiBMYXlvdXRUeXBlLCBwcm9wcz86IExheW91dEdyaWRQcm9wcykgPT4gc3RyaW5nW107XG5cbmV4cG9ydCBjb25zdCB1c2VMYXlvdXRHcmlkQ2xhc3NOYW1lczogSG9vayA9IChsYXlvdXQsIHByb3BzKSA9PiB7XG4gICAgY29uc3QgeyBnYXAgPSBMQVlPVVRfR0FQX0RFRkFVTFQsIGp1c3RpZnlDb250ZW50LCBhbGlnbkl0ZW1zIH0gPSBwcm9wcyB8fCB7fTtcbiAgICByZXR1cm4gbGF5b3V0ID09PSAnZ3JpZCdcbiAgICAgICAgPyBbXG4gICAgICAgICAgICAgI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AgICAgICAgICAgICAgICAgWydnYXAnLCBnYXBdLFxuICAgICAgICAgICAgICAgICAgWydqdXN0aWZ5LWNvbnRlbnQnLCBqdXN0aWZ5Q29udGVudF0sXG4gICAgICAgICAgICAgICAgICBbJ2FsaWduLWl0ZW1zJywgYWxpZ25JdGVtc10sXG4gICAgICAgICAgICAgIF0pLFxuICAgICAgICAgIF1cbiAgICAgICAgOiBbXTtcbn07XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFPQSxNQUFNLFdBQVcsR0FBRyxZQUFZLENBQUM7TUFJcEIsdUJBQXVCLEdBQVMsQ0FBQyxNQUFNLEVBQUUsS0FBSztJQUN2RCxlQUFlLENBQUMsTUFBTSxDQUFDLENBQUM7SUFFeEIsTUFBTSxFQUFFLEdBQUcsR0FBRyxrQkFBa0IsRUFBRSxjQUFjLEVBQUUsVUFBVSxFQUFFLEdBQUcsS0FBSyxJQUFJLEVBQUUsQ0FBQztJQUM3RSxPQUFPLE1BQU0sS0FBSyxNQUFNO1VBQ2xCO1lBQ0ksYUFBYSxDQUFDLE1BQU0sRUFBRSxXQUFXLENBQUM7WUFDbEMsR0FBRyxZQUFZLENBQUMsTUFBTSxFQUFFLFdBQVcsRUFBRTtnQkFDakMsQ0FBQyxLQUFLLEVBQUUsR0FBRyxDQUFDO2dCQUNaLENBQUMsaUJBQWlCLEVBQUUsY0FBYyxDQUFDO2dCQUNuQyxDQUFDLGFBQWEsRUFBRSxVQUFVLENBQUM7YUFDOUIsQ0FBQztTQUNMO1VBQ0QsRUFBRSxDQUFDO0FBQ2I7Ozs7In0= |
import styleInject from '../../external/style-inject/dist/style-inject.es.js'; | ||
var css_248z = "._15uGWh {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n._3rnoor {\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n._1_IXQm {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n._1eu8AB {\n grid-gap: var(--layout--gap-none--space);\n gap: var(--layout--gap-none--space);\n}\n._3yYLRc {\n grid-gap: var(--layout--gap-small--space);\n gap: var(--layout--gap-small--space);\n}\n._1nDuVC {\n grid-gap: var(--layout--gap-base--space);\n gap: var(--layout--gap-base--space);\n}\n.ZknBAf {\n grid-gap: var(--layout--gap-medium--space);\n gap: var(--layout--gap-medium--space);\n}\n._1WqO9Z {\n grid-gap: var(--layout--gap-large--space);\n gap: var(--layout--gap-large--space);\n}\n.X4eHUe {\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n._3_M_4w {\n -webkit-box-orient: horizontal;\n -webkit-box-direction: reverse;\n -ms-flex-direction: row-reverse;\n flex-direction: row-reverse;\n}\n._2ByMq1 {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n._3_8VIk {\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n}\n._3Aw3T1 {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n._10X-3Q {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: start;\n}\n._33a0v9 {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: end;\n}\n._3qMVGq {\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n._2REBgi {\n -ms-flex-pack: distribute;\n justify-content: space-around;\n}\n._3zq1C_ {\n -webkit-box-pack: space-evenly;\n -ms-flex-pack: space-evenly;\n justify-content: space-evenly;\n}\n.hUFwKI {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._1BOjPg {\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: start;\n}\n._3AQmNs {\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: end;\n}\n._3orDH1 {\n -webkit-box-align: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.qh7on_ {\n -webkit-box-align: baseline;\n -ms-flex-align: baseline;\n align-items: baseline;\n}\n._1C0eq8 {\n display: grid;\n}\n._3JhbNt {\n grid-gap: var(--layout--gap-none--space);\n gap: var(--layout--gap-none--space);\n}\n.yQz5G0 {\n grid-gap: var(--layout--gap-small--space);\n gap: var(--layout--gap-small--space);\n}\n.sj0cbB {\n grid-gap: var(--layout--gap-base--space);\n gap: var(--layout--gap-base--space);\n}\n._22Ohoz {\n grid-gap: var(--layout--gap-medium--space);\n gap: var(--layout--gap-medium--space);\n}\n._16o5et {\n grid-gap: var(--layout--gap-large--space);\n gap: var(--layout--gap-large--space);\n}\n._25SpXB {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n._3GDeqz {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: start;\n}\n._2-jaGe {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: end;\n}\n._3lGct7 {\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n._2wHTdX {\n -ms-flex-pack: distribute;\n justify-content: space-around;\n}\n._1BVKaN {\n -webkit-box-pack: space-evenly;\n -ms-flex-pack: space-evenly;\n justify-content: space-evenly;\n}\n._3QOaa3 {\n -ms-flex-line-pack: center;\n align-content: center;\n}\n._2pBQs3 {\n -ms-flex-line-pack: justify;\n align-content: space-between;\n}\n.gTA891 {\n -ms-flex-line-pack: distribute;\n align-content: space-around;\n}\n._H9jFl {\n -ms-flex-line-pack: space-evenly;\n align-content: space-evenly;\n}\n._2pB881 {\n -ms-flex-line-pack: stretch;\n align-content: stretch;\n}\n.ctOm0o {\n justify-items: start;\n}\n._3ZqB_F {\n justify-items: center;\n}\n.Ya0UyE {\n justify-items: end;\n}\n._180uXD {\n justify-items: stretch;\n}\n._1nyAA2 {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._1Xe-EI {\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: start;\n}\n._3hQvqA {\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: end;\n}\n.KBSz7h {\n -webkit-box-align: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.KBW4yE {\n -webkit-box-align: baseline;\n -ms-flex-align: baseline;\n align-items: baseline;\n}\n"; | ||
var styles = {"LayoutFlex":"_15uGWh","LayoutFlex--nowrap":"_3rnoor","LayoutFlex--inline":"_1_IXQm","LayoutFlex--gap-none":"_1eu8AB","LayoutFlex--gap-small":"_3yYLRc","LayoutFlex--gap-base":"_1nDuVC","LayoutFlex--gap-medium":"ZknBAf","LayoutFlex--gap-large":"_1WqO9Z","LayoutFlex--row-fwd":"X4eHUe","LayoutFlex--row-rev":"_3_M_4w","LayoutFlex--column-fwd":"_2ByMq1","LayoutFlex--column-rev":"_3_8VIk","LayoutFlex--justify-content-center":"_3Aw3T1","LayoutFlex--justify-content-start":"_10X-3Q","LayoutFlex--justify-content-end":"_33a0v9","LayoutFlex--justify-content-space-between":"_3qMVGq","LayoutFlex--justify-content-space-around":"_2REBgi","LayoutFlex--justify-content-space-evenly":"_3zq1C_","LayoutFlex--align-items-center":"hUFwKI","LayoutFlex--align-items-start":"_1BOjPg","LayoutFlex--align-items-end":"_3AQmNs","LayoutFlex--align-items-stretch":"_3orDH1","LayoutFlex--align-items-baseline":"qh7on_","LayoutGrid":"_1C0eq8","LayoutGrid--gap-none":"_3JhbNt","LayoutGrid--gap-small":"yQz5G0","LayoutGrid--gap-base":"sj0cbB","LayoutGrid--gap-medium":"_22Ohoz","LayoutGrid--gap-large":"_16o5et","LayoutGrid--justify-content-center":"_25SpXB","LayoutGrid--justify-content-start":"_3GDeqz","LayoutGrid--justify-content-end":"_2-jaGe","LayoutGrid--justify-content-space-between":"_3lGct7","LayoutGrid--justify-content-space-around":"_2wHTdX","LayoutGrid--justify-content-space-evenly":"_1BVKaN","LayoutGrid--align-content-center":"_3QOaa3","LayoutGrid--align-content-space-between":"_2pBQs3","LayoutGrid--align-content-space-around":"gTA891","LayoutGrid--align-content-space-evenly":"_H9jFl","LayoutGrid--align-content-stretch":"_2pB881","LayoutGrid--justify-items-start":"ctOm0o","LayoutGrid--justify-items-center":"_3ZqB_F","LayoutGrid--justify-items-end":"Ya0UyE","LayoutGrid--justify-items-stretch":"_180uXD","LayoutGrid--align-items-center":"_1nyAA2","LayoutGrid--align-items-start":"_1Xe-EI","LayoutGrid--align-items-end":"_3hQvqA","LayoutGrid--align-items-stretch":"KBSz7h","LayoutGrid--align-items-baseline":"KBW4yE"}; | ||
var stylesheet="._15uGWh {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n._3rnoor {\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n._1_IXQm {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n._1eu8AB {\n grid-gap: var(--layout--gap-none--space);\n gap: var(--layout--gap-none--space);\n}\n._3yYLRc {\n grid-gap: var(--layout--gap-small--space);\n gap: var(--layout--gap-small--space);\n}\n._1nDuVC {\n grid-gap: var(--layout--gap-base--space);\n gap: var(--layout--gap-base--space);\n}\n.ZknBAf {\n grid-gap: var(--layout--gap-medium--space);\n gap: var(--layout--gap-medium--space);\n}\n._1WqO9Z {\n grid-gap: var(--layout--gap-large--space);\n gap: var(--layout--gap-large--space);\n}\n.X4eHUe {\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n._3_M_4w {\n -webkit-box-orient: horizontal;\n -webkit-box-direction: reverse;\n -ms-flex-direction: row-reverse;\n flex-direction: row-reverse;\n}\n._2ByMq1 {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n._3_8VIk {\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n}\n._3Aw3T1 {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n._10X-3Q {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: start;\n}\n._33a0v9 {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: end;\n}\n._3qMVGq {\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n._2REBgi {\n -ms-flex-pack: distribute;\n justify-content: space-around;\n}\n._3zq1C_ {\n -webkit-box-pack: space-evenly;\n -ms-flex-pack: space-evenly;\n justify-content: space-evenly;\n}\n.hUFwKI {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._1BOjPg {\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: start;\n}\n._3AQmNs {\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: end;\n}\n._3orDH1 {\n -webkit-box-align: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.qh7on_ {\n -webkit-box-align: baseline;\n -ms-flex-align: baseline;\n align-items: baseline;\n}\n._1C0eq8 {\n display: grid;\n}\n._3JhbNt {\n grid-gap: var(--layout--gap-none--space);\n gap: var(--layout--gap-none--space);\n}\n.yQz5G0 {\n grid-gap: var(--layout--gap-small--space);\n gap: var(--layout--gap-small--space);\n}\n.sj0cbB {\n grid-gap: var(--layout--gap-base--space);\n gap: var(--layout--gap-base--space);\n}\n._22Ohoz {\n grid-gap: var(--layout--gap-medium--space);\n gap: var(--layout--gap-medium--space);\n}\n._16o5et {\n grid-gap: var(--layout--gap-large--space);\n gap: var(--layout--gap-large--space);\n}\n._25SpXB {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n._3GDeqz {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: start;\n}\n._2-jaGe {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: end;\n}\n._3lGct7 {\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n._2wHTdX {\n -ms-flex-pack: distribute;\n justify-content: space-around;\n}\n._1BVKaN {\n -webkit-box-pack: space-evenly;\n -ms-flex-pack: space-evenly;\n justify-content: space-evenly;\n}\n._3QOaa3 {\n -ms-flex-line-pack: center;\n align-content: center;\n}\n._2pBQs3 {\n -ms-flex-line-pack: justify;\n align-content: space-between;\n}\n.gTA891 {\n -ms-flex-line-pack: distribute;\n align-content: space-around;\n}\n._H9jFl {\n -ms-flex-line-pack: space-evenly;\n align-content: space-evenly;\n}\n._2pB881 {\n -ms-flex-line-pack: stretch;\n align-content: stretch;\n}\n.ctOm0o {\n justify-items: start;\n}\n._3ZqB_F {\n justify-items: center;\n}\n.Ya0UyE {\n justify-items: end;\n}\n._180uXD {\n justify-items: stretch;\n}\n._1nyAA2 {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._1Xe-EI {\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: start;\n}\n._3hQvqA {\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: end;\n}\n.KBSz7h {\n -webkit-box-align: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.KBW4yE {\n -webkit-box-align: baseline;\n -ms-flex-align: baseline;\n align-items: baseline;\n}\n"; | ||
var styles = {__id:"/home/jenkins/workspace/design-system_PR-26/packages/web-core/src/layout/style/index.module.less",__css:css_248z,"LayoutFlex":"_15uGWh","LayoutFlex--nowrap":"_3rnoor","LayoutFlex--inline":"_1_IXQm","LayoutFlex--gap-none":"_1eu8AB","LayoutFlex--gap-small":"_3yYLRc","LayoutFlex--gap-base":"_1nDuVC","LayoutFlex--gap-medium":"ZknBAf","LayoutFlex--gap-large":"_1WqO9Z","LayoutFlex--row-fwd":"X4eHUe","LayoutFlex--row-rev":"_3_M_4w","LayoutFlex--column-fwd":"_2ByMq1","LayoutFlex--column-rev":"_3_8VIk","LayoutFlex--justify-content-center":"_3Aw3T1","LayoutFlex--justify-content-start":"_10X-3Q","LayoutFlex--justify-content-end":"_33a0v9","LayoutFlex--justify-content-space-between":"_3qMVGq","LayoutFlex--justify-content-space-around":"_2REBgi","LayoutFlex--justify-content-space-evenly":"_3zq1C_","LayoutFlex--align-items-center":"hUFwKI","LayoutFlex--align-items-start":"_1BOjPg","LayoutFlex--align-items-end":"_3AQmNs","LayoutFlex--align-items-stretch":"_3orDH1","LayoutFlex--align-items-baseline":"qh7on_","LayoutGrid":"_1C0eq8","LayoutGrid--gap-none":"_3JhbNt","LayoutGrid--gap-small":"yQz5G0","LayoutGrid--gap-base":"sj0cbB","LayoutGrid--gap-medium":"_22Ohoz","LayoutGrid--gap-large":"_16o5et","LayoutGrid--justify-content-center":"_25SpXB","LayoutGrid--justify-content-start":"_3GDeqz","LayoutGrid--justify-content-end":"_2-jaGe","LayoutGrid--justify-content-space-between":"_3lGct7","LayoutGrid--justify-content-space-around":"_2wHTdX","LayoutGrid--justify-content-space-evenly":"_1BVKaN","LayoutGrid--align-content-center":"_3QOaa3","LayoutGrid--align-content-space-between":"_2pBQs3","LayoutGrid--align-content-space-around":"gTA891","LayoutGrid--align-content-space-evenly":"_H9jFl","LayoutGrid--align-content-stretch":"_2pB881","LayoutGrid--justify-items-start":"ctOm0o","LayoutGrid--justify-items-center":"_3ZqB_F","LayoutGrid--justify-items-end":"Ya0UyE","LayoutGrid--justify-items-stretch":"_180uXD","LayoutGrid--align-items-center":"_1nyAA2","LayoutGrid--align-items-start":"_1Xe-EI","LayoutGrid--align-items-end":"_3hQvqA","LayoutGrid--align-items-stretch":"KBSz7h","LayoutGrid--align-items-baseline":"KBW4yE"}; | ||
var stylesheet=css_248z; | ||
styleInject(css_248z); | ||
@@ -7,0 +7,0 @@ |
{ | ||
"name": "@preply/ds-web-core", | ||
"version": "0.6.0", | ||
"version": "0.6.1-beta.ea6f45f47c13e3218fea90c7c088a895e1d5cfa3.45+ea6f45f", | ||
"publishConfig": { | ||
@@ -22,3 +22,3 @@ "access": "public" | ||
"dependencies": { | ||
"@preply/ds-core": "0.6.0" | ||
"@preply/ds-core": "^0.6.1-beta.ea6f45f47c13e3218fea90c7c088a895e1d5cfa3.45+ea6f45f" | ||
}, | ||
@@ -30,3 +30,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "5b49bf39762fc81e558b743a55daaacf9a737537" | ||
"gitHead": "ea6f45f47c13e3218fea90c7c088a895e1d5cfa3" | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
108465
101
1029
2
1
3
+ Added@preply/ds-core@0.6.1-beta.fd5a7b0f7a76bff6c6b746cb73724ddc428b9c6d.45(transitive)
- Removed@preply/ds-core@0.6.0(transitive)
Updated@preply/ds-core@^0.6.1-beta.ea6f45f47c13e3218fea90c7c088a895e1d5cfa3.45+ea6f45f