@atlaskit/ds-explorations
Advanced tools
Comparing version 1.4.0 to 1.5.0
# @atlaskit/ds-explorations | ||
## 1.5.0 | ||
### Minor Changes | ||
- [`c146611a18c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c146611a18c) - [ux] Migrate progress-indicator package to use spacing primitives to control spacing in both component and examples. Spacing values have been slightly updated depending on indicator size and spacing properties | ||
## 1.4.0 | ||
@@ -4,0 +10,0 @@ |
@@ -23,3 +23,3 @@ "use strict"; | ||
var _excluded = ["children"]; | ||
var asAllowlist = ['span', 'div', 'p']; | ||
var asAllowlist = ['span', 'div', 'p', 'strong']; | ||
var fontFamily = "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif"; | ||
@@ -26,0 +26,0 @@ var fontSizeMap = { |
{ | ||
"name": "@atlaskit/ds-explorations", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"sideEffects": false | ||
} |
@@ -7,3 +7,3 @@ /** @jsx jsx */ | ||
import { useSurface } from './surface-provider'; | ||
const asAllowlist = ['span', 'div', 'p']; | ||
const asAllowlist = ['span', 'div', 'p', 'strong']; | ||
const fontFamily = `-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif`; | ||
@@ -10,0 +10,0 @@ const fontSizeMap = { |
{ | ||
"name": "@atlaskit/ds-explorations", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"sideEffects": false | ||
} |
@@ -10,3 +10,3 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import { useSurface } from './surface-provider'; | ||
var asAllowlist = ['span', 'div', 'p']; | ||
var asAllowlist = ['span', 'div', 'p', 'strong']; | ||
var fontFamily = "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif"; | ||
@@ -13,0 +13,0 @@ var fontSizeMap = { |
{ | ||
"name": "@atlaskit/ds-explorations", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"sideEffects": false | ||
} |
/** @jsx jsx */ | ||
import { ReactNode } from 'react'; | ||
import type { BasePrimitiveProps } from './types'; | ||
interface InlineProps extends BasePrimitiveProps { | ||
export interface InlineProps extends BasePrimitiveProps { | ||
/** | ||
@@ -6,0 +6,0 @@ * Used to align children along the cross axis. |
/** @jsx jsx */ | ||
import { ReactNode } from 'react'; | ||
import { BasePrimitiveProps } from './types'; | ||
interface StackProps extends BasePrimitiveProps { | ||
export interface StackProps extends BasePrimitiveProps { | ||
/** | ||
@@ -6,0 +6,0 @@ * Used to align children along the cross axis. |
/** @jsx jsx */ | ||
import { FC, ReactNode } from 'react'; | ||
import type { BasePrimitiveProps } from './types'; | ||
declare const asAllowlist: readonly ["span", "div", "p"]; | ||
declare const asAllowlist: readonly ["span", "div", "p", "strong"]; | ||
declare type AsElement = typeof asAllowlist[number]; | ||
@@ -6,0 +6,0 @@ export interface TextProps extends BasePrimitiveProps { |
@@ -8,1 +8,3 @@ export { default as UNSAFE_Box } from './components/box.partial'; | ||
export type { TextProps as UNSAFE_TextProps } from './components/text.partial'; | ||
export type { InlineProps as UNSAFE_InlineProps } from './components/inline.partial'; | ||
export type { StackProps as UNSAFE_StackProps } from './components/stack.partial'; |
{ | ||
"name": "@atlaskit/ds-explorations", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "An experimental package for exploration and validation of spacing / typography foundations.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -32,3 +32,3 @@ <!-- API Report Version: 2.3 --> | ||
// @public (undocumented) | ||
const asAllowlist: readonly ['span', 'div', 'p']; | ||
const asAllowlist: readonly ['span', 'div', 'p', 'strong']; | ||
@@ -352,12 +352,2 @@ // @public (undocumented) | ||
// @public (undocumented) | ||
interface InlineProps extends BasePrimitiveProps { | ||
alignItems?: FlexAlignItems_2; | ||
children: ReactNode; | ||
divider?: ReactNode; | ||
flexWrap?: FlexWrap; | ||
gap: ColumnGap; | ||
justifyContent?: FlexJustifyContent_2; | ||
} | ||
// @public (undocumented) | ||
type InteractionBackgroundColor = keyof typeof backgroundHoverColorMap; | ||
@@ -493,11 +483,2 @@ | ||
// @public (undocumented) | ||
interface StackProps extends BasePrimitiveProps { | ||
alignItems?: FlexAlignItems_3; | ||
children: ReactNode; | ||
flexWrap?: FlexWrap_2; | ||
gap: RowGap; | ||
justifyContent?: FlexJustifyContent_3; | ||
} | ||
// @public (undocumented) | ||
type TextAlign = keyof typeof textAlignMap; | ||
@@ -555,6 +536,16 @@ | ||
export const UNSAFE_Inline: MemoExoticComponent< | ||
ForwardRefExoticComponent<InlineProps & RefAttributes<HTMLDivElement>> | ||
ForwardRefExoticComponent<UNSAFE_InlineProps & RefAttributes<HTMLDivElement>> | ||
>; | ||
// @public (undocumented) | ||
export interface UNSAFE_InlineProps extends BasePrimitiveProps { | ||
alignItems?: FlexAlignItems_2; | ||
children: ReactNode; | ||
divider?: ReactNode; | ||
flexWrap?: FlexWrap; | ||
gap: ColumnGap; | ||
justifyContent?: FlexJustifyContent_2; | ||
} | ||
// @public (undocumented) | ||
export const UNSAFE_InteractionSurface: ({ | ||
@@ -568,5 +559,14 @@ appearance, | ||
export const UNSAFE_Stack: MemoExoticComponent< | ||
ForwardRefExoticComponent<StackProps & RefAttributes<HTMLDivElement>> | ||
ForwardRefExoticComponent<UNSAFE_StackProps & RefAttributes<HTMLDivElement>> | ||
>; | ||
// @public (undocumented) | ||
export interface UNSAFE_StackProps extends BasePrimitiveProps { | ||
alignItems?: FlexAlignItems_3; | ||
children: ReactNode; | ||
flexWrap?: FlexWrap_2; | ||
gap: RowGap; | ||
justifyContent?: FlexJustifyContent_3; | ||
} | ||
// @internal | ||
@@ -573,0 +573,0 @@ export const UNSAFE_Text: FC<UNSAFE_TextProps>; |
@@ -21,3 +21,3 @@ ## API Report File for "@atlaskit/ds-explorations" | ||
// @public (undocumented) | ||
const asAllowlist: readonly ["span", "div", "p"]; | ||
const asAllowlist: readonly ["span", "div", "p", "strong"]; | ||
@@ -336,12 +336,2 @@ // @public (undocumented) | ||
// @public (undocumented) | ||
interface InlineProps extends BasePrimitiveProps { | ||
alignItems?: FlexAlignItems_2; | ||
children: ReactNode; | ||
divider?: ReactNode; | ||
flexWrap?: FlexWrap; | ||
gap: ColumnGap; | ||
justifyContent?: FlexJustifyContent_2; | ||
} | ||
// @public (undocumented) | ||
type InteractionBackgroundColor = keyof typeof backgroundHoverColorMap; | ||
@@ -477,11 +467,2 @@ | ||
// @public (undocumented) | ||
interface StackProps extends BasePrimitiveProps { | ||
alignItems?: FlexAlignItems_3; | ||
children: ReactNode; | ||
flexWrap?: FlexWrap_2; | ||
gap: RowGap; | ||
justifyContent?: FlexJustifyContent_3; | ||
} | ||
// @public (undocumented) | ||
type TextAlign = keyof typeof textAlignMap; | ||
@@ -533,10 +514,29 @@ | ||
// @public | ||
export const UNSAFE_Inline: MemoExoticComponent<ForwardRefExoticComponent<InlineProps & RefAttributes<HTMLDivElement>>>; | ||
export const UNSAFE_Inline: MemoExoticComponent<ForwardRefExoticComponent<UNSAFE_InlineProps & RefAttributes<HTMLDivElement>>>; | ||
// @public (undocumented) | ||
export interface UNSAFE_InlineProps extends BasePrimitiveProps { | ||
alignItems?: FlexAlignItems_2; | ||
children: ReactNode; | ||
divider?: ReactNode; | ||
flexWrap?: FlexWrap; | ||
gap: ColumnGap; | ||
justifyContent?: FlexJustifyContent_2; | ||
} | ||
// @public (undocumented) | ||
export const UNSAFE_InteractionSurface: ({ appearance, children, testId, }: InteractionSurfaceProps) => jsx.JSX.Element; | ||
// @public | ||
export const UNSAFE_Stack: MemoExoticComponent<ForwardRefExoticComponent<StackProps & RefAttributes<HTMLDivElement>>>; | ||
export const UNSAFE_Stack: MemoExoticComponent<ForwardRefExoticComponent<UNSAFE_StackProps & RefAttributes<HTMLDivElement>>>; | ||
// @public (undocumented) | ||
export interface UNSAFE_StackProps extends BasePrimitiveProps { | ||
alignItems?: FlexAlignItems_3; | ||
children: ReactNode; | ||
flexWrap?: FlexWrap_2; | ||
gap: RowGap; | ||
justifyContent?: FlexJustifyContent_3; | ||
} | ||
// @internal | ||
@@ -543,0 +543,0 @@ export const UNSAFE_Text: FC<UNSAFE_TextProps>; |
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
307390
8810