@looker/design-tokens
Advanced tools
Comparing version 2.7.3 to 2.7.4
@@ -7,2 +7,15 @@ "use strict"; | ||
var _dashboardAppearance = require("./dashboardAppearance"); | ||
Object.keys(_dashboardAppearance).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _dashboardAppearance[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _dashboardAppearance[key]; | ||
} | ||
}); | ||
}); | ||
var _theme = require("./theme"); | ||
@@ -9,0 +22,0 @@ |
@@ -18,5 +18,8 @@ "use strict"; | ||
var _generateDashboardAppearance = require("./utils/generateDashboardAppearance"); | ||
const theme = { | ||
breakpoints: _tokens.breakpoints, | ||
colors: _color.colors, | ||
dashboardAppearance: (0, _generateDashboardAppearance.generateDashboardAppearance)(_color.colors), | ||
defaults: _defaults.componentSettingsDefaults, | ||
@@ -23,0 +26,0 @@ easings: _tokens.easings, |
{ | ||
"name": "@looker/design-tokens", | ||
"license": "MIT", | ||
"version": "2.7.3", | ||
"version": "2.7.4", | ||
"sideEffects": false, | ||
@@ -6,0 +6,0 @@ "publishConfig": { |
@@ -0,3 +1,4 @@ | ||
export * from './dashboardAppearance'; | ||
export * from './theme'; | ||
export * from './utils'; | ||
export type { ThemeCustomizations } from './ThemeCustomizations'; |
@@ -0,3 +1,4 @@ | ||
export * from './dashboardAppearance'; | ||
export * from './theme'; | ||
export * from './utils'; | ||
//# sourceMappingURL=index.js.map |
@@ -7,5 +7,7 @@ import type { DefaultTheme } from 'styled-components'; | ||
import type { ComponentSettingsDefaults } from '../defaults'; | ||
import type { DashboardAppearance } from './dashboardAppearance'; | ||
export interface Theme { | ||
breakpoints: string[]; | ||
colors: Colors; | ||
dashboardAppearance: DashboardAppearance; | ||
defaults: ComponentSettingsDefaults; | ||
@@ -12,0 +14,0 @@ easings: Easings; |
@@ -6,5 +6,7 @@ import { colors } from '../color'; | ||
import { breakpoints, easings, fontFamilies, fontSizes, fontWeights, lineHeights, radii, sizes, shadows, transitions } from '../tokens'; | ||
import { generateDashboardAppearance } from './utils/generateDashboardAppearance'; | ||
export var theme = { | ||
breakpoints: breakpoints, | ||
colors: colors, | ||
dashboardAppearance: generateDashboardAppearance(colors), | ||
defaults: componentSettingsDefaults, | ||
@@ -11,0 +13,0 @@ easings: easings, |
import type { PaddingProps } from '../system'; | ||
export declare const paddingDefaultsHelper: (props: PaddingProps, defaults: PaddingProps) => { | ||
pb: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
pl: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
pr: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
pt: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
px: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
py: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
readonly pb: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
readonly pl: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
readonly pr: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
readonly pt: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
readonly px: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
readonly py: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
} | { | ||
p: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined; | ||
}; |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
557919
437
4008
1