@pikas-ui/styles
Advanced tools
Comparing version 3.4.0 to 3.4.1
export { BR, BorderRadius, borderRadius, br } from './utils/borderRadius.js'; | ||
export { BorderStyle, BorderStyles, BorderStylesRecord, BorderStylesRecordKey, BorderStylesRecordValue, PikasBorderStyle, PikasBorderStyles, loadBorderStyles, pikasBorderStyles } from './theme/borderStyles.js'; | ||
export { BorderWidth, BorderWidths, BorderWidthsRecord, BorderWidthsRecordKey, BorderWidthsRecordValue, PikasBorderWidth, PikasBorderWidths, loadBorderWidths, pikasBorderWidths } from './theme/borderWidths.js'; | ||
export { Color, Colors, ColorsRecord, ColorsRecordKey, ColorsRecordValue, PikasColor, PikasColors, loadColors, pikasColors } from './theme/colors.js'; | ||
export { BorderStylesRecord, BorderStylesRecordKey, BorderStylesRecordValue, PikasBorderStyle, PikasBorderStyles, loadBorderStyles, pikasBorderStyles } from './theme/borderStyles.js'; | ||
export { BorderWidthsRecord, BorderWidthsRecordKey, BorderWidthsRecordValue, PikasBorderWidth, PikasBorderWidths, loadBorderWidths, pikasBorderWidths } from './theme/borderWidths.js'; | ||
export { ColorsRecord, ColorsRecordKey, ColorsRecordValue, PikasColor, PikasColors, loadColors, pikasColors } from './theme/colors.js'; | ||
export { BasePikasConfig, PikasCSS, PikasConfig, config, createPikas, createTheme, css, getCssText, globalCss, keyframes, pikasConfig, prefix, reset, styled, theme } from './css.js'; | ||
export { darkTheme } from './dark_theme.js'; | ||
export { FontSize, FontSizes, FontSizesRecord, FontSizesRecordKey, FontSizesRecordValue, PikasFontSize, PikasFontSizes, loadFontSizes, pikasFontSizes } from './theme/fontSizes.js'; | ||
export { Font, Fonts, FontsRecord, FontsRecordKey, FontsRecordValue, PikasFont, PikasFonts, loadFonts, pikasFonts } from './theme/fonts.js'; | ||
export { FontWeight, FontWeights, FontWeightsRecord, FontWeightsRecordKey, FontWeightsRecordValue, PikasFontWeight, PikasFontWeights, loadFontWeights, pikasFontWeights } from './theme/fontWeights.js'; | ||
export { FontSizesRecord, FontSizesRecordKey, FontSizesRecordValue, PikasFontSize, PikasFontSizes, loadFontSizes, pikasFontSizes } from './theme/fontSizes.js'; | ||
export { FontsRecord, FontsRecordKey, FontsRecordValue, PikasFont, PikasFonts, loadFonts, pikasFonts } from './theme/fonts.js'; | ||
export { FontWeightsRecord, FontWeightsRecordKey, FontWeightsRecordValue, PikasFontWeight, PikasFontWeights, loadFontWeights, pikasFontWeights } from './theme/fontWeights.js'; | ||
export { Gap, gap } from './utils/gap.js'; | ||
export { LetterSpacing, LetterSpacings, LetterSpacingsRecord, LetterSpacingsRecordKey, LetterSpacingsRecordValue, PikasLetterSpacing, PikasLetterSpacings, loadLetterSpacings, pikasLetterSpacings } from './theme/letterSpacings.js'; | ||
export { LineHeight, LineHeights, LineHeightsRecord, LineHeightsRecordKey, LineHeightsRecordValue, PikasLineHeight, PikasLineHeights, loadLineHeights, pikasLineHeights } from './theme/lineHeights.js'; | ||
export { PikasRadii, PikasRadius, Radii, RadiiRecord, RadiiRecordKey, RadiiRecordValue, Radius, loadRadii, pikasRadii } from './theme/radii.js'; | ||
export { PikasShadow, PikasShadows, Shadow, Shadows, ShadowsRecord, ShadowsRecordKey, ShadowsRecordValue, loadShadows, pikasShadows } from './theme/shadows.js'; | ||
export { PikasSize, PikasSizes, Size, Sizes, SizesRecord, SizesRecordKey, SizesRecordValue, loadSizes, pikasSizes } from './theme/sizes.js'; | ||
export { PikasSpace, PikasSpaces, Space, Spaces, SpacesRecord, SpacesRecordKey, SpacesRecordValue, loadSpaces, pikasSpaces } from './theme/space.js'; | ||
export { PikasTransition, PikasTransitions, Transition, Transitions, TransitionsRecord, TransitionsRecordKey, TransitionsRecordValue, loadTransitions, pikasTransitions } from './theme/transitions.js'; | ||
export { PikasZIndex, PikasZIndices, ZIndex, ZIndices, ZIndicesRecord, ZIndicesRecordKey, ZIndicesRecordValue, loadZIndices, pikasZIndices } from './theme/zIndices.js'; | ||
export { LetterSpacingsRecord, LetterSpacingsRecordKey, LetterSpacingsRecordValue, PikasLetterSpacing, PikasLetterSpacings, loadLetterSpacings, pikasLetterSpacings } from './theme/letterSpacings.js'; | ||
export { LineHeightsRecord, LineHeightsRecordKey, LineHeightsRecordValue, PikasLineHeight, PikasLineHeights, loadLineHeights, pikasLineHeights } from './theme/lineHeights.js'; | ||
export { PikasRadii, PikasRadius, RadiiRecord, RadiiRecordKey, RadiiRecordValue, loadRadii, pikasRadii } from './theme/radii.js'; | ||
export { PikasShadow, PikasShadows, ShadowsRecord, ShadowsRecordKey, ShadowsRecordValue, loadShadows, pikasShadows } from './theme/shadows.js'; | ||
export { PikasSize, PikasSizes, SizesRecord, SizesRecordKey, SizesRecordValue, loadSizes, pikasSizes } from './theme/sizes.js'; | ||
export { PikasSpace, PikasSpaces, SpacesRecord, SpacesRecordKey, SpacesRecordValue, loadSpaces, pikasSpaces } from './theme/space.js'; | ||
export { PikasTransition, PikasTransitions, TransitionsRecord, TransitionsRecordKey, TransitionsRecordValue, loadTransitions, pikasTransitions } from './theme/transitions.js'; | ||
export { PikasZIndex, PikasZIndices, ZIndicesRecord, ZIndicesRecordKey, ZIndicesRecordValue, loadZIndices, pikasZIndices } from './theme/zIndices.js'; | ||
export { PikasUIContext, PikasUIProvider, PikasUIProviderProps, useTernaryDarkMode } from './PikasUIProvider/PikasUIProvider.js'; | ||
export { useTheme } from './hooks/useTheme.js'; | ||
export { Media, Medias, MediasRecord, MediasRecordKey, MediasRecordValue, PikasMedia, PikasMedias, loadMedias, pikasMedias } from './medias.js'; | ||
export { MediasRecord, MediasRecordKey, MediasRecordValue, PikasMedia, PikasMedias, loadMedias, pikasMedias } from './medias.js'; | ||
export { loadUtils } from './utils/index.js'; | ||
@@ -23,0 +23,0 @@ export { CSS } from '@stitches/react'; |
@@ -13,4 +13,2 @@ declare const pikasMedias: { | ||
declare type MediasRecord = Record<MediasRecordKey, MediasRecordValue>; | ||
declare type Medias<T extends MediasRecord> = PikasMedias & T; | ||
declare type Media<T extends MediasRecord> = keyof Medias<T>; | ||
declare const loadMedias: <T extends MediasRecord>(values: T | { | ||
@@ -30,2 +28,2 @@ xs?: string | undefined; | ||
export { Media, Medias, MediasRecord, MediasRecordKey, MediasRecordValue, PikasMedia, PikasMedias, loadMedias, pikasMedias }; | ||
export { MediasRecord, MediasRecordKey, MediasRecordValue, PikasMedia, PikasMedias, loadMedias, pikasMedias }; |
@@ -7,6 +7,4 @@ declare const pikasBorderStyles: {}; | ||
declare type BorderStylesRecord = Record<BorderStylesRecordKey, BorderStylesRecordValue>; | ||
declare type BorderStyles<T extends BorderStylesRecord> = PikasBorderStyles & T; | ||
declare type BorderStyle<T extends BorderStylesRecord> = keyof BorderStyles<T>; | ||
declare const loadBorderStyles: <T extends BorderStylesRecord>(values: T | {}) => {} & T; | ||
export { BorderStyle, BorderStyles, BorderStylesRecord, BorderStylesRecordKey, BorderStylesRecordValue, PikasBorderStyle, PikasBorderStyles, loadBorderStyles, pikasBorderStyles }; | ||
export { BorderStylesRecord, BorderStylesRecordKey, BorderStylesRecordValue, PikasBorderStyle, PikasBorderStyles, loadBorderStyles, pikasBorderStyles }; |
@@ -7,6 +7,4 @@ declare const pikasBorderWidths: {}; | ||
declare type BorderWidthsRecord = Record<BorderWidthsRecordKey, BorderWidthsRecordValue>; | ||
declare type BorderWidths<T extends BorderWidthsRecord> = PikasBorderWidths & T; | ||
declare type BorderWidth<T extends BorderWidthsRecord> = keyof BorderWidths<T>; | ||
declare const loadBorderWidths: <T extends BorderWidthsRecord>(values: T | {}) => {} & T; | ||
export { BorderWidth, BorderWidths, BorderWidthsRecord, BorderWidthsRecordKey, BorderWidthsRecordValue, PikasBorderWidth, PikasBorderWidths, loadBorderWidths, pikasBorderWidths }; | ||
export { BorderWidthsRecord, BorderWidthsRecordKey, BorderWidthsRecordValue, PikasBorderWidth, PikasBorderWidths, loadBorderWidths, pikasBorderWidths }; |
@@ -88,4 +88,2 @@ declare const pikasColors: { | ||
declare type ColorsRecord = Record<ColorsRecordKey, ColorsRecordValue>; | ||
declare type Colors<T extends ColorsRecord> = PikasColors & T; | ||
declare type Color<T extends ColorsRecord> = keyof Colors<T>; | ||
declare const loadColors: <T extends ColorsRecord>(values: T | { | ||
@@ -255,2 +253,2 @@ PRIMARY_DARKER?: string | undefined; | ||
export { Color, Colors, ColorsRecord, ColorsRecordKey, ColorsRecordValue, PikasColor, PikasColors, loadColors, pikasColors }; | ||
export { ColorsRecord, ColorsRecordKey, ColorsRecordValue, PikasColor, PikasColors, loadColors, pikasColors }; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const E={PRIMARY_DARKER:"#295180",PRIMARY_DARK:"#3D79BF",PRIMARY:"#52A2FF",PRIMARY_LIGHT:"#A8D0FF",PRIMARY_LIGHTER:"#D4E8FF",PRIMARY_LIGHTEST_2:"#EDF6FF",PRIMARY_LIGHTEST_1:"#F6FAFF",SECONDARY_DARKER:"#802D3A",SECONDARY_DARK:"#BF4357",SECONDARY:"#FF5A74",SECONDARY_LIGHT:"#FFACB9",SECONDARY_LIGHTER:"#FFD6DC",SECONDARY_LIGHTEST_2:"#FFEEF1",SECONDARY_LIGHTEST_1:"#FFF7F8",TERTIARY_DARKER:"#805C2A",TERTIARY_DARK:"#BF8A3E",TERTIARY:"#FFB853",TERTIARY_LIGHT:"#FFDBA9",TERTIARY_LIGHTER:"#FFEDD4",TERTIARY_LIGHTEST_2:"#FFF8ED",TERTIARY_LIGHTEST_1:"#FFFBF6",BLACK:"#292E36",BLACK2:"#292E36",BLACK_LIGHT:"rgba(34, 40, 49, 0.5)",BLACK_LIGHTER:"rgba(34, 40, 49, 0.25)",BLACK_LIGHTEST_2:"rgba(34, 40, 49, 0.1)",BLACK_LIGHTEST_1:"rgba(34, 40, 49, 0.05)",BLACK_FIX:"#292E36",BLACK_FIX_LIGHT:"rgba(34, 40, 49, 0.5)",BLACK_FIX_LIGHTER:"rgba(34, 40, 49, 0.25)",BLACK_FIX_LIGHTEST_2:"rgba(34, 40, 49, 0.1)",BLACK_FIX_LIGHTEST_1:"rgba(34, 40, 49, 0.05)",WHITE:"#FFFFFF",WHITE2:"#FFFFFF",WHITE_LIGHT:"rgba(249, 247, 247, 0.7)",WHITE_LIGHTER:"rgba(249, 247, 247, 0.5)",WHITE_LIGHTEST_2:"rgba(249, 247, 247, 0.35)",WHITE_LIGHTEST_1:"rgba(249, 247, 247, 0.25)",WHITE_FIX:"#FFFFFF",WHITE_FIX_LIGHT:"rgba(249, 247, 247, 0.7)",WHITE_FIX_LIGHTER:"rgba(249, 247, 247, 0.5)",WHITE_FIX_LIGHTEST_2:"rgba(249, 247, 247, 0.35)",WHITE_FIX_LIGHTEST_1:"rgba(249, 247, 247, 0.25)",GRAY_DARKER:"#505050",GRAY_DARK:"#A5A6AF",GRAY:"#DCDDE9",GRAY_LIGHT:"#E5E5E5",GRAY_LIGHTER:"#F6F6F9",GRAY_LIGHTEST_2:"#FBFCFD",GRAY_LIGHTEST_1:"#FDFDFE",SUCCESS_DARKER:"#196C5C",SUCCESS_DARK:"#25A289",SUCCESS:"#32D8B7",SUCCESS_LIGHT:"#98EBDB",SUCCESS_LIGHTER:"#CCF5ED",SUCCESS_LIGHTEST_2:"#EAFBF8",SUCCESS_LIGHTEST_1:"#F5FDFB",WARNING_DARKER:"#805C2A",WARNING_DARK:"#BF8A3E",WARNING:"#FFB853",WARNING_LIGHT:"#FFDBA9",WARNING_LIGHTER:"#FFEDD4",WARNING_LIGHTEST_2:"#FFF8ED",WARNING_LIGHTEST_1:"#FFFBF6",DANGER_DARKER:"#781C1C",DANGER_DARK:"#B4292A",DANGER:"#F03738",DANGER_LIGHT:"#F79B9B",DANGER_LIGHTER:"#FBCDCD",DANGER_LIGHTEST_2:"#FDEBEB",DANGER_LIGHTEST_1:"#FEF5F5",INFO_DARKER:"#295180",INFO_DARK:"#3D79BF",INFO:"#52A2FF",INFO_LIGHT:"#A8D0FF",INFO_LIGHTER:"#D4E8FF",INFO_LIGHTEST_2:"#EDF6FF",INFO_LIGHTEST_1:"#F6FAFF",TRANSPARENT:"rgba(0, 0, 0, 0)",BACKGROUND:"#EDF6FF"},T= exports.loadColors =F=>({...E,...F});exports.loadColors = T; exports.pikasColors = E; | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const E={PRIMARY_DARKER:"#295180",PRIMARY_DARK:"#3D79BF",PRIMARY:"#52A2FF",PRIMARY_LIGHT:"#A8D0FF",PRIMARY_LIGHTER:"#D4E8FF",PRIMARY_LIGHTEST_2:"#EDF6FF",PRIMARY_LIGHTEST_1:"#F6FAFF",SECONDARY_DARKER:"#802D3A",SECONDARY_DARK:"#BF4357",SECONDARY:"#FF5A74",SECONDARY_LIGHT:"#FFACB9",SECONDARY_LIGHTER:"#FFD6DC",SECONDARY_LIGHTEST_2:"#FFEEF1",SECONDARY_LIGHTEST_1:"#FFF7F8",TERTIARY_DARKER:"#805C2A",TERTIARY_DARK:"#BF8A3E",TERTIARY:"#FFB853",TERTIARY_LIGHT:"#FFDBA9",TERTIARY_LIGHTER:"#FFEDD4",TERTIARY_LIGHTEST_2:"#FFF8ED",TERTIARY_LIGHTEST_1:"#FFFBF6",BLACK:"#292E36",BLACK2:"#292E36",BLACK_LIGHT:"rgba(34, 40, 49, 0.5)",BLACK_LIGHTER:"rgba(34, 40, 49, 0.25)",BLACK_LIGHTEST_2:"rgba(34, 40, 49, 0.1)",BLACK_LIGHTEST_1:"rgba(34, 40, 49, 0.05)",BLACK_FIX:"#292E36",BLACK_FIX_LIGHT:"rgba(34, 40, 49, 0.5)",BLACK_FIX_LIGHTER:"rgba(34, 40, 49, 0.25)",BLACK_FIX_LIGHTEST_2:"rgba(34, 40, 49, 0.1)",BLACK_FIX_LIGHTEST_1:"rgba(34, 40, 49, 0.05)",WHITE:"#FFFFFF",WHITE2:"#FFFFFF",WHITE_LIGHT:"rgba(249, 247, 247, 0.7)",WHITE_LIGHTER:"rgba(249, 247, 247, 0.5)",WHITE_LIGHTEST_2:"rgba(249, 247, 247, 0.35)",WHITE_LIGHTEST_1:"rgba(249, 247, 247, 0.25)",WHITE_FIX:"#FFFFFF",WHITE_FIX_LIGHT:"rgba(249, 247, 247, 0.7)",WHITE_FIX_LIGHTER:"rgba(249, 247, 247, 0.5)",WHITE_FIX_LIGHTEST_2:"rgba(249, 247, 247, 0.35)",WHITE_FIX_LIGHTEST_1:"rgba(249, 247, 247, 0.25)",GRAY_DARKER:"#505050",GRAY_DARK:"#A5A6AF",GRAY:"#DCDDE9",GRAY_LIGHT:"#E5E5E5",GRAY_LIGHTER:"#F6F6F9",GRAY_LIGHTEST_2:"#FBFCFD",GRAY_LIGHTEST_1:"#FDFDFE",SUCCESS_DARKER:"#196C5C",SUCCESS_DARK:"#25A289",SUCCESS:"#32D8B7",SUCCESS_LIGHT:"#98EBDB",SUCCESS_LIGHTER:"#CCF5ED",SUCCESS_LIGHTEST_2:"#EAFBF8",SUCCESS_LIGHTEST_1:"#F5FDFB",WARNING_DARKER:"#805C2A",WARNING_DARK:"#BF8A3E",WARNING:"#FFB853",WARNING_LIGHT:"#FFDBA9",WARNING_LIGHTER:"#FFEDD4",WARNING_LIGHTEST_2:"#FFF8ED",WARNING_LIGHTEST_1:"#FFFBF6",DANGER_DARKER:"#781C1C",DANGER_DARK:"#B4292A",DANGER:"#F03738",DANGER_LIGHT:"#F79B9B",DANGER_LIGHTER:"#FBCDCD",DANGER_LIGHTEST_2:"#FDEBEB",DANGER_LIGHTEST_1:"#FEF5F5",INFO_DARKER:"#295180",INFO_DARK:"#3D79BF",INFO:"#52A2FF",INFO_LIGHT:"#A8D0FF",INFO_LIGHTER:"#D4E8FF",INFO_LIGHTEST_2:"#EDF6FF",INFO_LIGHTEST_1:"#F6FAFF",TRANSPARENT:"rgba(0, 0, 0, 0)",BACKGROUND:"#EDF6FF"},R= exports.loadColors =F=>({...E,...F});exports.loadColors = R; exports.pikasColors = E; | ||
//# sourceMappingURL=colors.js.map |
@@ -9,4 +9,2 @@ declare const pikasFonts: { | ||
declare type FontsRecord = Record<FontsRecordKey, FontsRecordValue>; | ||
declare type Fonts<T extends FontsRecord> = PikasFonts & T; | ||
declare type Font<T extends FontsRecord> = keyof Fonts<T>; | ||
declare const loadFonts: <T extends FontsRecord>(values: T | { | ||
@@ -18,2 +16,2 @@ roboto?: string | undefined; | ||
export { Font, Fonts, FontsRecord, FontsRecordKey, FontsRecordValue, PikasFont, PikasFonts, loadFonts, pikasFonts }; | ||
export { FontsRecord, FontsRecordKey, FontsRecordValue, PikasFont, PikasFonts, loadFonts, pikasFonts }; |
@@ -26,4 +26,2 @@ declare const pikasFontSizes: { | ||
declare type FontSizesRecord = Record<FontSizesRecordKey, FontSizesRecordValue>; | ||
declare type FontSizes<T extends FontSizesRecord> = PikasFontSizes & T; | ||
declare type FontSize<T extends FontSizesRecord> = keyof FontSizes<T>; | ||
declare const loadFontSizes: <T extends FontSizesRecord>(values: T | { | ||
@@ -69,2 +67,2 @@ 'EM-XXX-SMALL'?: FontSizesRecordValue | undefined; | ||
export { FontSize, FontSizes, FontSizesRecord, FontSizesRecordKey, FontSizesRecordValue, PikasFontSize, PikasFontSizes, loadFontSizes, pikasFontSizes }; | ||
export { FontSizesRecord, FontSizesRecordKey, FontSizesRecordValue, PikasFontSize, PikasFontSizes, loadFontSizes, pikasFontSizes }; |
@@ -17,4 +17,2 @@ declare const pikasFontWeights: { | ||
declare type FontWeightsRecord = Record<FontWeightsRecordKey, FontWeightsRecordValue>; | ||
declare type FontWeights<T extends FontWeightsRecord> = PikasFontWeights & T; | ||
declare type FontWeight<T extends FontWeightsRecord> = keyof FontWeights<T>; | ||
declare const loadFontWeights: <T extends FontWeightsRecord>(values: T | { | ||
@@ -42,2 +40,2 @@ THIN?: FontWeightsRecordValue | undefined; | ||
export { FontWeight, FontWeights, FontWeightsRecord, FontWeightsRecordKey, FontWeightsRecordValue, PikasFontWeight, PikasFontWeights, loadFontWeights, pikasFontWeights }; | ||
export { FontWeightsRecord, FontWeightsRecordKey, FontWeightsRecordValue, PikasFontWeight, PikasFontWeights, loadFontWeights, pikasFontWeights }; |
@@ -15,4 +15,2 @@ declare const pikasLetterSpacings: { | ||
declare type LetterSpacingsRecord = Record<LetterSpacingsRecordKey, LetterSpacingsRecordValue>; | ||
declare type LetterSpacings<T extends LetterSpacingsRecord> = PikasLetterSpacings & T; | ||
declare type LetterSpacing<T extends LetterSpacingsRecord> = keyof LetterSpacings<T>; | ||
declare const loadLetterSpacings: <T extends LetterSpacingsRecord>(values: T | { | ||
@@ -36,2 +34,2 @@ 'XX-SMALL'?: LetterSpacingsRecordValue | undefined; | ||
export { LetterSpacing, LetterSpacings, LetterSpacingsRecord, LetterSpacingsRecordKey, LetterSpacingsRecordValue, PikasLetterSpacing, PikasLetterSpacings, loadLetterSpacings, pikasLetterSpacings }; | ||
export { LetterSpacingsRecord, LetterSpacingsRecordKey, LetterSpacingsRecordValue, PikasLetterSpacing, PikasLetterSpacings, loadLetterSpacings, pikasLetterSpacings }; |
@@ -26,4 +26,2 @@ declare const pikasLineHeights: { | ||
declare type LineHeightsRecord = Record<LineHeightsRecordKey, LineHeightsRecordValue>; | ||
declare type LineHeights<T extends LineHeightsRecord> = PikasLineHeights & T; | ||
declare type LineHeight<T extends LineHeightsRecord> = keyof LineHeights<T>; | ||
declare const loadLineHeights: <T extends LineHeightsRecord>(values: T | { | ||
@@ -69,2 +67,2 @@ 'EM-XXX-SMALL'?: LineHeightsRecordValue | undefined; | ||
export { LineHeight, LineHeights, LineHeightsRecord, LineHeightsRecordKey, LineHeightsRecordValue, PikasLineHeight, PikasLineHeights, loadLineHeights, pikasLineHeights }; | ||
export { LineHeightsRecord, LineHeightsRecordKey, LineHeightsRecordValue, PikasLineHeight, PikasLineHeights, loadLineHeights, pikasLineHeights }; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const i={"EM-XXX-SMALL":"0.3em","EM-XX-SMALL":"0.5em","EM-X-SMALL":"0.7em","EM-SMALL":"0.9em","EM-MEDIUM":"1em","EM-LARGE":"1.1em","EM-X-LARGE":"1.3em","EM-XX-LARGE":"1.5em","EM-XXX-LARGE":"2em","REM-XXX-SMALL":"0.3rem","REM-XX-SMALL":"0.5rem","REM-X-SMALL":"0.7rem","REM-SMALL":"0.9rem","REM-MEDIUM":"1rem","REM-LARGE":"1.1rem","REM-X-LARGE":"1.3rem","REM-XX-LARGE":"1.5rem","REM-XXX-LARGE":"2rem"},t= exports.loadLineHeights =e=>({...i,...e});exports.loadLineHeights = t; exports.pikasLineHeights = i; | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const i={"EM-XXX-SMALL":"0.3em","EM-XX-SMALL":"0.5em","EM-X-SMALL":"0.7em","EM-SMALL":"0.9em","EM-MEDIUM":"1em","EM-LARGE":"1.1em","EM-X-LARGE":"1.3em","EM-XX-LARGE":"1.5em","EM-XXX-LARGE":"2em","REM-XXX-SMALL":"0.3rem","REM-XX-SMALL":"0.5rem","REM-X-SMALL":"0.7rem","REM-SMALL":"0.9rem","REM-MEDIUM":"1rem","REM-LARGE":"1.1rem","REM-X-LARGE":"1.3rem","REM-XX-LARGE":"1.5rem","REM-XXX-LARGE":"2rem"},L= exports.loadLineHeights =e=>({...i,...e});exports.loadLineHeights = L; exports.pikasLineHeights = i; | ||
//# sourceMappingURL=lineHeights.js.map |
@@ -7,6 +7,4 @@ declare const pikasRadii: {}; | ||
declare type RadiiRecord = Record<RadiiRecordKey, RadiiRecordValue>; | ||
declare type Radii<T extends RadiiRecord> = PikasRadii & T; | ||
declare type Radius<T extends RadiiRecord> = keyof Radii<T>; | ||
declare const loadRadii: <T extends RadiiRecord>(values: T | {}) => {} & T; | ||
export { PikasRadii, PikasRadius, Radii, RadiiRecord, RadiiRecordKey, RadiiRecordValue, Radius, loadRadii, pikasRadii }; | ||
export { PikasRadii, PikasRadius, RadiiRecord, RadiiRecordKey, RadiiRecordValue, loadRadii, pikasRadii }; |
@@ -29,4 +29,2 @@ declare const pikasShadows: { | ||
declare type ShadowsRecord = Record<ShadowsRecordKey, ShadowsRecordValue>; | ||
declare type Shadows<T extends ShadowsRecord> = PikasShadows & T; | ||
declare type Shadow<T extends ShadowsRecord> = keyof Shadows<T>; | ||
declare const loadShadows: <T extends ShadowsRecord>(values: T | { | ||
@@ -78,2 +76,2 @@ ELEVATION_1?: string | undefined; | ||
export { PikasShadow, PikasShadows, Shadow, Shadows, ShadowsRecord, ShadowsRecordKey, ShadowsRecordValue, loadShadows, pikasShadows }; | ||
export { PikasShadow, PikasShadows, ShadowsRecord, ShadowsRecordKey, ShadowsRecordValue, loadShadows, pikasShadows }; |
@@ -21,4 +21,2 @@ declare const pikasSizes: { | ||
declare type SizesRecord = Record<SizesRecordKey, SizesRecordValue>; | ||
declare type Sizes<T extends SizesRecord> = PikasSizes & T; | ||
declare type Size<T extends SizesRecord> = keyof Sizes<T>; | ||
declare const loadSizes: <T extends SizesRecord>(values: T | { | ||
@@ -54,2 +52,2 @@ 1?: SizesRecordValue | undefined; | ||
export { PikasSize, PikasSizes, Size, Sizes, SizesRecord, SizesRecordKey, SizesRecordValue, loadSizes, pikasSizes }; | ||
export { PikasSize, PikasSizes, SizesRecord, SizesRecordKey, SizesRecordValue, loadSizes, pikasSizes }; |
@@ -21,4 +21,2 @@ declare const pikasSpaces: { | ||
declare type SpacesRecord = Record<SpacesRecordKey, SpacesRecordValue>; | ||
declare type Spaces<T extends SpacesRecord> = PikasSpaces & T; | ||
declare type Space<T extends SpacesRecord> = keyof Spaces<T>; | ||
declare const loadSpaces: <T extends SpacesRecord>(values: T | { | ||
@@ -54,2 +52,2 @@ 1?: SpacesRecordValue | undefined; | ||
export { PikasSpace, PikasSpaces, Space, Spaces, SpacesRecord, SpacesRecordKey, SpacesRecordValue, loadSpaces, pikasSpaces }; | ||
export { PikasSpace, PikasSpaces, SpacesRecord, SpacesRecordKey, SpacesRecordValue, loadSpaces, pikasSpaces }; |
@@ -7,6 +7,4 @@ declare const pikasTransitions: {}; | ||
declare type TransitionsRecord = Record<TransitionsRecordKey, TransitionsRecordValue>; | ||
declare type Transitions<T extends TransitionsRecord> = PikasTransitions & T; | ||
declare type Transition<T extends TransitionsRecord> = keyof Transitions<T>; | ||
declare const loadTransitions: <T extends TransitionsRecord>(values: T | {}) => {} & T; | ||
export { PikasTransition, PikasTransitions, Transition, Transitions, TransitionsRecord, TransitionsRecordKey, TransitionsRecordValue, loadTransitions, pikasTransitions }; | ||
export { PikasTransition, PikasTransitions, TransitionsRecord, TransitionsRecordKey, TransitionsRecordValue, loadTransitions, pikasTransitions }; |
@@ -19,4 +19,2 @@ declare const pikasZIndices: { | ||
declare type ZIndicesRecord = Record<ZIndicesRecordKey, ZIndicesRecordValue>; | ||
declare type ZIndices<T extends ZIndicesRecord> = PikasZIndices & T; | ||
declare type ZIndex<T extends ZIndicesRecord> = keyof ZIndices<T>; | ||
declare const loadZIndices: <T extends ZIndicesRecord>(values: T | { | ||
@@ -48,2 +46,2 @@ MIN?: ZIndicesRecordValue | undefined; | ||
export { PikasZIndex, PikasZIndices, ZIndex, ZIndices, ZIndicesRecord, ZIndicesRecordKey, ZIndicesRecordValue, loadZIndices, pikasZIndices }; | ||
export { PikasZIndex, PikasZIndices, ZIndicesRecord, ZIndicesRecordKey, ZIndicesRecordValue, loadZIndices, pikasZIndices }; |
{ | ||
"name": "@pikas-ui/styles", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
268245
3816