Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pikas-ui/styles

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pikas-ui/styles - npm Package Compare versions

Comparing version 3.5.6 to 3.5.7

10

dist/medias.d.ts

@@ -8,7 +8,7 @@ declare const pikasMedias: {

};
declare type PikasMedias = typeof pikasMedias;
declare type PikasMedia = keyof PikasMedias;
declare type MediasRecordValue = string;
declare type MediasRecordKey = PikasMedia | number | string;
declare type MediasRecord = Record<MediasRecordKey, MediasRecordValue>;
type PikasMedias = typeof pikasMedias;
type PikasMedia = keyof PikasMedias;
type MediasRecordValue = string;
type MediasRecordKey = PikasMedia | number | string;
type MediasRecord = Record<MediasRecordKey, MediasRecordValue>;
declare const loadMedias: <T extends MediasRecord>(values: T | {

@@ -15,0 +15,0 @@ xs?: string | undefined;

@@ -16,3 +16,3 @@ import * as react from 'react';

declare type PikasUIProviderProps = {
type PikasUIProviderProps = {
children?: ReactNode;

@@ -22,3 +22,3 @@ lightTheme?: ReturnType<typeof createTheme>;

};
declare type PikasUIContextProps = typeof theme | undefined;
type PikasUIContextProps = typeof theme | undefined;
declare const PikasUIContext: react.Context<PikasUIContextProps>;

@@ -25,0 +25,0 @@ declare const PikasUIProvider: FC<PikasUIProviderProps>;

declare const pikasBorderStyles: {};
declare type PikasBorderStyles = typeof pikasBorderStyles;
declare type PikasBorderStyle = keyof PikasBorderStyles;
declare type BorderStylesRecordValue = string;
declare type BorderStylesRecordKey = PikasBorderStyle | number | string;
declare type BorderStylesRecord = Record<BorderStylesRecordKey, BorderStylesRecordValue>;
type PikasBorderStyles = typeof pikasBorderStyles;
type PikasBorderStyle = keyof PikasBorderStyles;
type BorderStylesRecordValue = string;
type BorderStylesRecordKey = PikasBorderStyle | number | string;
type BorderStylesRecord = Record<BorderStylesRecordKey, BorderStylesRecordValue>;
declare const loadBorderStyles: <T extends BorderStylesRecord>(values: T | {}) => {} & T;
export { BorderStylesRecord, BorderStylesRecordKey, BorderStylesRecordValue, PikasBorderStyle, PikasBorderStyles, loadBorderStyles, pikasBorderStyles };
declare const pikasBorderWidths: {};
declare type PikasBorderWidths = typeof pikasBorderWidths;
declare type PikasBorderWidth = keyof PikasBorderWidths;
declare type BorderWidthsRecordValue = number | string;
declare type BorderWidthsRecordKey = PikasBorderWidth | number | string;
declare type BorderWidthsRecord = Record<BorderWidthsRecordKey, BorderWidthsRecordValue>;
type PikasBorderWidths = typeof pikasBorderWidths;
type PikasBorderWidth = keyof PikasBorderWidths;
type BorderWidthsRecordValue = number | string;
type BorderWidthsRecordKey = PikasBorderWidth | number | string;
type BorderWidthsRecord = Record<BorderWidthsRecordKey, BorderWidthsRecordValue>;
declare const loadBorderWidths: <T extends BorderWidthsRecord>(values: T | {}) => {} & T;
export { BorderWidthsRecord, BorderWidthsRecordKey, BorderWidthsRecordValue, PikasBorderWidth, PikasBorderWidths, loadBorderWidths, pikasBorderWidths };

@@ -89,7 +89,7 @@ declare const pikasColors: {

};
declare type PikasColors = typeof pikasColors;
declare type PikasColor = keyof PikasColors;
declare type ColorsRecordValue = string;
declare type ColorsRecordKey = PikasColor | number | string;
declare type ColorsRecord = Record<ColorsRecordKey, ColorsRecordValue>;
type PikasColors = typeof pikasColors;
type PikasColor = keyof PikasColors;
type ColorsRecordValue = string;
type ColorsRecordKey = PikasColor | number | string;
type ColorsRecord = Record<ColorsRecordKey, ColorsRecordValue>;
declare const loadColors: <T extends ColorsRecord>(values: T | {

@@ -96,0 +96,0 @@ PRIMARY_DARKER?: string | undefined;

declare const pikasFonts: {
roboto: string;
};
declare type PikasFonts = typeof pikasFonts;
declare type PikasFont = keyof PikasFonts;
declare type FontsRecordValue = string;
declare type FontsRecordKey = PikasFont | number | string;
declare type FontsRecord = Record<FontsRecordKey, FontsRecordValue>;
type PikasFonts = typeof pikasFonts;
type PikasFont = keyof PikasFonts;
type FontsRecordValue = string;
type FontsRecordKey = PikasFont | number | string;
type FontsRecord = Record<FontsRecordKey, FontsRecordValue>;
declare const loadFonts: <T extends FontsRecord>(values: T | {

@@ -10,0 +10,0 @@ roboto?: string | undefined;

@@ -21,7 +21,7 @@ declare const pikasFontSizes: {

};
declare type PikasFontSizes = typeof pikasFontSizes;
declare type PikasFontSize = keyof PikasFontSizes;
declare type FontSizesRecordValue = number | string;
declare type FontSizesRecordKey = PikasFontSize | number | string;
declare type FontSizesRecord = Record<FontSizesRecordKey, FontSizesRecordValue>;
type PikasFontSizes = typeof pikasFontSizes;
type PikasFontSize = keyof PikasFontSizes;
type FontSizesRecordValue = number | string;
type FontSizesRecordKey = PikasFontSize | number | string;
type FontSizesRecord = Record<FontSizesRecordKey, FontSizesRecordValue>;
declare const loadFontSizes: <T extends FontSizesRecord>(values: T | {

@@ -28,0 +28,0 @@ 'EM-XXX-SMALL'?: FontSizesRecordValue | undefined;

@@ -12,7 +12,7 @@ declare const pikasFontWeights: {

};
declare type PikasFontWeights = typeof pikasFontWeights;
declare type PikasFontWeight = keyof PikasFontWeights;
declare type FontWeightsRecordValue = number | string;
declare type FontWeightsRecordKey = PikasFontWeight | number | string;
declare type FontWeightsRecord = Record<FontWeightsRecordKey, FontWeightsRecordValue>;
type PikasFontWeights = typeof pikasFontWeights;
type PikasFontWeight = keyof PikasFontWeights;
type FontWeightsRecordValue = number | string;
type FontWeightsRecordKey = PikasFontWeight | number | string;
type FontWeightsRecord = Record<FontWeightsRecordKey, FontWeightsRecordValue>;
declare const loadFontWeights: <T extends FontWeightsRecord>(values: T | {

@@ -19,0 +19,0 @@ THIN?: FontWeightsRecordValue | undefined;

@@ -10,7 +10,7 @@ declare const pikasLetterSpacings: {

};
declare type PikasLetterSpacings = typeof pikasLetterSpacings;
declare type PikasLetterSpacing = keyof PikasLetterSpacings;
declare type LetterSpacingsRecordValue = number | string;
declare type LetterSpacingsRecordKey = PikasLetterSpacing | number | string;
declare type LetterSpacingsRecord = Record<LetterSpacingsRecordKey, LetterSpacingsRecordValue>;
type PikasLetterSpacings = typeof pikasLetterSpacings;
type PikasLetterSpacing = keyof PikasLetterSpacings;
type LetterSpacingsRecordValue = number | string;
type LetterSpacingsRecordKey = PikasLetterSpacing | number | string;
type LetterSpacingsRecord = Record<LetterSpacingsRecordKey, LetterSpacingsRecordValue>;
declare const loadLetterSpacings: <T extends LetterSpacingsRecord>(values: T | {

@@ -17,0 +17,0 @@ 'XX-SMALL'?: LetterSpacingsRecordValue | undefined;

@@ -21,7 +21,7 @@ declare const pikasLineHeights: {

};
declare type PikasLineHeights = typeof pikasLineHeights;
declare type PikasLineHeight = keyof PikasLineHeights;
declare type LineHeightsRecordValue = number | string;
declare type LineHeightsRecordKey = PikasLineHeight | number | string;
declare type LineHeightsRecord = Record<LineHeightsRecordKey, LineHeightsRecordValue>;
type PikasLineHeights = typeof pikasLineHeights;
type PikasLineHeight = keyof PikasLineHeights;
type LineHeightsRecordValue = number | string;
type LineHeightsRecordKey = PikasLineHeight | number | string;
type LineHeightsRecord = Record<LineHeightsRecordKey, LineHeightsRecordValue>;
declare const loadLineHeights: <T extends LineHeightsRecord>(values: T | {

@@ -28,0 +28,0 @@ 'EM-XXX-SMALL'?: LineHeightsRecordValue | undefined;

declare const pikasRadii: {};
declare type PikasRadii = typeof pikasRadii;
declare type PikasRadius = keyof PikasRadii;
declare type RadiiRecordValue = number | string;
declare type RadiiRecordKey = PikasRadius | number | string;
declare type RadiiRecord = Record<RadiiRecordKey, RadiiRecordValue>;
type PikasRadii = typeof pikasRadii;
type PikasRadius = keyof PikasRadii;
type RadiiRecordValue = number | string;
type RadiiRecordKey = PikasRadius | number | string;
type RadiiRecord = Record<RadiiRecordKey, RadiiRecordValue>;
declare const loadRadii: <T extends RadiiRecord>(values: T | {}) => {} & T;
export { PikasRadii, PikasRadius, RadiiRecord, RadiiRecordKey, RadiiRecordValue, loadRadii, pikasRadii };

@@ -24,7 +24,7 @@ declare const pikasShadows: {

};
declare type PikasShadows = typeof pikasShadows;
declare type PikasShadow = keyof PikasShadows;
declare type ShadowsRecordValue = string;
declare type ShadowsRecordKey = PikasShadow | number | string;
declare type ShadowsRecord = Record<ShadowsRecordKey, ShadowsRecordValue>;
type PikasShadows = typeof pikasShadows;
type PikasShadow = keyof PikasShadows;
type ShadowsRecordValue = string;
type ShadowsRecordKey = PikasShadow | number | string;
type ShadowsRecord = Record<ShadowsRecordKey, ShadowsRecordValue>;
declare const loadShadows: <T extends ShadowsRecord>(values: T | {

@@ -31,0 +31,0 @@ ELEVATION_1?: string | undefined;

@@ -16,7 +16,7 @@ declare const pikasSizes: {

};
declare type PikasSizes = typeof pikasSizes;
declare type PikasSize = keyof PikasSizes;
declare type SizesRecordValue = number | string;
declare type SizesRecordKey = PikasSize | number | string;
declare type SizesRecord = Record<SizesRecordKey, SizesRecordValue>;
type PikasSizes = typeof pikasSizes;
type PikasSize = keyof PikasSizes;
type SizesRecordValue = number | string;
type SizesRecordKey = PikasSize | number | string;
type SizesRecord = Record<SizesRecordKey, SizesRecordValue>;
declare const loadSizes: <T extends SizesRecord>(values: T | {

@@ -23,0 +23,0 @@ 1?: SizesRecordValue | undefined;

@@ -16,7 +16,7 @@ declare const pikasSpaces: {

};
declare type PikasSpaces = typeof pikasSpaces;
declare type PikasSpace = keyof PikasSpaces;
declare type SpacesRecordValue = number | string;
declare type SpacesRecordKey = PikasSpace | number | string;
declare type SpacesRecord = Record<SpacesRecordKey, SpacesRecordValue>;
type PikasSpaces = typeof pikasSpaces;
type PikasSpace = keyof PikasSpaces;
type SpacesRecordValue = number | string;
type SpacesRecordKey = PikasSpace | number | string;
type SpacesRecord = Record<SpacesRecordKey, SpacesRecordValue>;
declare const loadSpaces: <T extends SpacesRecord>(values: T | {

@@ -23,0 +23,0 @@ 1?: SpacesRecordValue | undefined;

declare const pikasTransitions: {};
declare type PikasTransitions = typeof pikasTransitions;
declare type PikasTransition = keyof PikasTransitions;
declare type TransitionsRecordValue = string;
declare type TransitionsRecordKey = PikasTransition | number | string;
declare type TransitionsRecord = Record<TransitionsRecordKey, TransitionsRecordValue>;
type PikasTransitions = typeof pikasTransitions;
type PikasTransition = keyof PikasTransitions;
type TransitionsRecordValue = string;
type TransitionsRecordKey = PikasTransition | number | string;
type TransitionsRecord = Record<TransitionsRecordKey, TransitionsRecordValue>;
declare const loadTransitions: <T extends TransitionsRecord>(values: T | {}) => {} & T;
export { PikasTransition, PikasTransitions, TransitionsRecord, TransitionsRecordKey, TransitionsRecordValue, loadTransitions, pikasTransitions };

@@ -14,7 +14,7 @@ declare const pikasZIndices: {

};
declare type PikasZIndices = typeof pikasZIndices;
declare type PikasZIndex = keyof PikasZIndices;
declare type ZIndicesRecordValue = number | string;
declare type ZIndicesRecordKey = PikasZIndex | number | string;
declare type ZIndicesRecord = Record<ZIndicesRecordKey, ZIndicesRecordValue>;
type PikasZIndices = typeof pikasZIndices;
type PikasZIndex = keyof PikasZIndices;
type ZIndicesRecordValue = number | string;
type ZIndicesRecordKey = PikasZIndex | number | string;
type ZIndicesRecord = Record<ZIndicesRecordKey, ZIndicesRecordValue>;
declare const loadZIndices: <T extends ZIndicesRecord>(values: T | {

@@ -21,0 +21,0 @@ MIN?: ZIndicesRecordValue | undefined;

@@ -10,3 +10,3 @@ declare const borderRadius: {

};
declare type BorderRadius = keyof typeof borderRadius;
type BorderRadius = keyof typeof borderRadius;
declare const br: {

@@ -19,4 +19,4 @@ br: (value: BorderRadius) => Record<string, unknown>;

};
declare type BR = typeof br;
type BR = typeof br;
export { BR, BorderRadius, borderRadius, br };

@@ -6,4 +6,4 @@ declare const gap: {

};
declare type Gap = typeof gap;
type Gap = typeof gap;
export { Gap, gap };
{
"name": "@pikas-ui/styles",
"version": "3.5.6",
"version": "3.5.7",
"private": false,

@@ -53,6 +53,3 @@ "keywords": [

"@pikas/prettier": "1.0.0",
"eslint-config-custom": "1.0.0",
"@pikas/tsconfig": "1.0.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"@types/lodash.clonedeep": "4.5.7",

@@ -62,8 +59,11 @@ "@types/lodash.merge": "4.6.7",

"@types/react": "18.0.25",
"@types/react-dom": "18.0.8",
"@types/react-dom": "18.0.9",
"cross-env": "7.0.3",
"eslint": "8.27.0",
"eslint-config-custom": "1.0.0",
"prettier": "2.7.1",
"tsup": "6.4.0",
"typescript": "4.8.4"
"react": "18.2.0",
"react-dom": "18.2.0",
"tsup": "6.5.0",
"typescript": "4.9.3"
},

@@ -70,0 +70,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc