@alma-oss/spirit-web-react 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/web-react.umd.js +6 -0
- package/bundles/web-react.umd.js.map +1 -1
- package/bundles/web-react.umd.min.js +1 -1
- package/bundles/web-react.umd.min.js.map +1 -1
- package/components/Accordion/Accordion.cjs.map +1 -1
- package/components/ActionGroup/ActionGroup.cjs.map +1 -1
- package/components/Alert/Alert.cjs.map +1 -1
- package/components/Avatar/Avatar.cjs +3 -0
- package/components/Avatar/Avatar.cjs.map +1 -1
- package/components/Avatar/Avatar.d.ts +5 -3
- package/components/Avatar/Avatar.js +3 -0
- package/components/Avatar/Avatar.js.map +1 -1
- package/components/Avatar/useAvatarStyleProps.d.ts +4 -5
- package/components/Avatar/useAvatarStyleProps.js.map +1 -1
- package/components/Box/Box.cjs +2 -0
- package/components/Box/Box.cjs.map +1 -1
- package/components/Box/Box.d.ts +2 -0
- package/components/Box/Box.js +2 -0
- package/components/Box/Box.js.map +1 -1
- package/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -1
- package/components/Button/Button.cjs.map +1 -1
- package/components/Card/Card.cjs.map +1 -1
- package/components/Checkbox/Checkbox.cjs.map +1 -1
- package/components/Collapse/Collapse.cjs.map +1 -1
- package/components/Container/Container.cjs.map +1 -1
- package/components/Dialog/Dialog.cjs.map +1 -1
- package/components/Divider/Divider.cjs.map +1 -1
- package/components/Drawer/Drawer.cjs.map +1 -1
- package/components/Dropdown/Dropdown.cjs.map +1 -1
- package/components/EmptyState/EmptyState.cjs.map +1 -1
- package/components/Field/Field.cjs.map +1 -1
- package/components/FieldGroup/FieldGroup.cjs.map +1 -1
- package/components/FileUploader/FileUploader.cjs.map +1 -1
- package/components/Flex/Flex.cjs.map +1 -1
- package/components/Footer/Footer.cjs.map +1 -1
- package/components/Grid/Grid.cjs.map +1 -1
- package/components/Header/Header.cjs.map +1 -1
- package/components/Heading/Heading.cjs.map +1 -1
- package/components/Icon/Icon.cjs.map +1 -1
- package/components/IconBox/IconBox.cjs +2 -0
- package/components/IconBox/IconBox.cjs.map +1 -1
- package/components/Item/Item.cjs.map +1 -1
- package/components/Link/Link.cjs.map +1 -1
- package/components/Matrix/Matrix.cjs.map +1 -1
- package/components/Modal/Modal.cjs.map +1 -1
- package/components/Navigation/Navigation.cjs +3 -0
- package/components/Navigation/Navigation.cjs.map +1 -1
- package/components/Pagination/Pagination.cjs.map +1 -1
- package/components/PartnerLogo/PartnerLogo.cjs.map +1 -1
- package/components/Pill/Pill.cjs.map +1 -1
- package/components/PricingPlan/PricingPlan.cjs.map +1 -1
- package/components/ProductLogo/ProductLogo.cjs.map +1 -1
- package/components/Radio/Radio.cjs.map +1 -1
- package/components/ScrollView/ScrollView.cjs.map +1 -1
- package/components/Section/Section.cjs.map +1 -1
- package/components/SegmentedControl/SegmentedControl.cjs.map +1 -1
- package/components/Select/Select.cjs.map +1 -1
- package/components/Skeleton/Skeleton.cjs.map +1 -1
- package/components/SkipLink/SkipLink.cjs.map +1 -1
- package/components/Slider/Slider.cjs.map +1 -1
- package/components/Spinner/Spinner.cjs.map +1 -1
- package/components/SplitButton/SplitButton.cjs.map +1 -1
- package/components/Stack/Stack.cjs.map +1 -1
- package/components/Tabs/Tabs.cjs.map +1 -1
- package/components/Tag/Tag.cjs.map +1 -1
- package/components/Text/Text.cjs.map +1 -1
- package/components/TextArea/TextArea.cjs.map +1 -1
- package/components/TextField/TextField.cjs.map +1 -1
- package/components/TextFieldBase/TextFieldBase.cjs.map +1 -1
- package/components/Timeline/Timeline.cjs.map +1 -1
- package/components/Toast/Toast.cjs.map +1 -1
- package/components/Toggle/Toggle.cjs.map +1 -1
- package/components/Tooltip/Tooltip.cjs.map +1 -1
- package/components/Truncate/Truncate.cjs.map +1 -1
- package/components/UNSTABLE_Header/UNSTABLE_Header.cjs.map +1 -1
- package/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -1
- package/components/components.cjs +5 -0
- package/components/components.cjs.map +1 -1
- package/hooks/hooks.cjs.map +1 -1
- package/index.cjs +5 -0
- package/index.cjs.map +1 -1
- package/package.json +1 -1
- package/spirit-web-react.cjs +5 -0
- package/spirit-web-react.cjs.map +1 -1
- package/spirit-web-react.min.cjs +1 -1
- package/types/avatar.d.ts +5 -6
- package/types/box.d.ts +2 -2
- package/types/heading.d.ts +3 -7
- package/types/shared/element.d.ts +20 -2
- package/types/shared/index.d.ts +1 -0
- package/types/shared/index.js +1 -0
- package/types/shared/index.js.map +1 -1
- package/types/shared/shared.cjs.map +1 -1
- package/types/shared/text.d.ts +9 -0
- package/types/text.d.ts +2 -7
- package/types/types.cjs.map +1 -1
package/types/avatar.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { type ElementType } from 'react';
|
|
2
|
-
import { type ChildrenProps, type SizeExtendedDictionaryType, type
|
|
2
|
+
import { type ChildrenProps, type SizeExtendedDictionaryType, type SpiritPolymorphicComponentPropWithRef, type StyleProps } from './shared';
|
|
3
3
|
export type AvatarSize<S> = SizeExtendedDictionaryType<S> | S;
|
|
4
|
-
export interface
|
|
5
|
-
elementType?: E;
|
|
4
|
+
export interface AvatarBaseProps extends ChildrenProps, StyleProps {
|
|
6
5
|
}
|
|
7
|
-
export interface
|
|
8
|
-
}
|
|
9
|
-
export interface SpiritAvatarProps<E extends ElementType = 'div', S = void> extends AriaAvatarElementTypeProps<E>, AvatarProps {
|
|
6
|
+
export interface AvatarStyleProps<S = void> extends AvatarBaseProps {
|
|
10
7
|
isSquare?: boolean;
|
|
11
8
|
size?: AvatarSize<S>;
|
|
12
9
|
}
|
|
10
|
+
export type AvatarProps<S = void> = AvatarStyleProps<S>;
|
|
11
|
+
export type SpiritAvatarProps<E extends ElementType = 'div', S = void> = SpiritPolymorphicComponentPropWithRef<E, AvatarProps<S>>;
|
package/types/box.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ElementType, type JSXElementConstructor } from 'react';
|
|
2
|
-
import { type BackgroundAccentColorsType, type BackgroundColorsDictionaryType, type BackgroundEmotionColorsType, type BackgroundGradientsDictionaryType, type BackgroundNeutralColorsType, type BorderAccentColorsType, type BorderColorsDictionaryType, type BorderEmotionColorsType, type BorderRadiiTokenType, type BorderStylesDictionaryType, type BorderWidthsDictionaryType, type ChildrenProps, type SingleOrResponsive, type SpaceToken, type
|
|
2
|
+
import { type BackgroundAccentColorsType, type BackgroundColorsDictionaryType, type BackgroundEmotionColorsType, type BackgroundGradientsDictionaryType, type BackgroundNeutralColorsType, type BorderAccentColorsType, type BorderColorsDictionaryType, type BorderEmotionColorsType, type BorderRadiiTokenType, type BorderStylesDictionaryType, type BorderWidthsDictionaryType, type ChildrenProps, type SingleOrResponsive, type SpaceToken, type SpiritPolymorphicElementPropsWithoutRef, type StyleProps, type TextColorProps } from './shared';
|
|
3
3
|
export type BoxBackgroundColorsType = BackgroundColorsDictionaryType | BackgroundAccentColorsType | BackgroundEmotionColorsType | BackgroundNeutralColorsType;
|
|
4
4
|
export interface BoxBaseProps extends ChildrenProps, TextColorProps, StyleProps {
|
|
5
5
|
backgroundColor?: BoxBackgroundColorsType;
|
|
@@ -19,4 +19,4 @@ export interface BoxBaseProps extends ChildrenProps, TextColorProps, StyleProps
|
|
|
19
19
|
export type BoxProps<E extends ElementType> = {
|
|
20
20
|
elementType?: E | JSXElementConstructor<unknown>;
|
|
21
21
|
} & BoxBaseProps;
|
|
22
|
-
export type SpiritBoxProps<E extends ElementType = 'div'> = BoxProps<E> &
|
|
22
|
+
export type SpiritBoxProps<E extends ElementType = 'div'> = BoxProps<E> & SpiritPolymorphicElementPropsWithoutRef<E, BoxProps<E>>;
|
package/types/heading.d.ts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { type ElementType, type JSXElementConstructor } from 'react';
|
|
2
|
-
import type { ChildrenProps, EmphasisDictionaryType, EmphasisProps, SizeExtendedDictionaryType, SizeProps, StyleProps,
|
|
3
|
-
export type HeadingColorsType<C = undefined> =
|
|
2
|
+
import type { ChildrenProps, EmphasisDictionaryType, EmphasisProps, SizeExtendedDictionaryType, SizeProps, StyleProps, TextColorProps, TextColorsType, TransferProps, TypographyBaseProps } from './shared';
|
|
3
|
+
export type HeadingColorsType<C = undefined> = TextColorsType<C>;
|
|
4
4
|
export interface HeadingElementTypeProps<T extends ElementType> {
|
|
5
5
|
elementType: T | JSXElementConstructor<unknown>;
|
|
6
6
|
}
|
|
7
|
-
export interface HeadingProps<T extends ElementType> extends HeadingElementTypeProps<T>, ChildrenProps, StyleProps, TransferProps {
|
|
8
|
-
isTextBalanced?: boolean;
|
|
9
|
-
textAlignment?: TextAlignmentType;
|
|
10
|
-
textHyphens?: TextHyphensType;
|
|
11
|
-
textWordBreak?: TextWordBreakType;
|
|
7
|
+
export interface HeadingProps<T extends ElementType> extends HeadingElementTypeProps<T>, ChildrenProps, StyleProps, TransferProps, TypographyBaseProps {
|
|
12
8
|
}
|
|
13
9
|
export interface SpiritHeadingProps<T extends ElementType, S = void, E = void, C = void> extends HeadingProps<T>, SizeProps<SizeExtendedDictionaryType<S>>, EmphasisProps<EmphasisDictionaryType<E>>, TextColorProps<HeadingColorsType<C>> {
|
|
14
10
|
}
|
|
@@ -1,10 +1,27 @@
|
|
|
1
|
-
import { type ComponentPropsWithRef, type ComponentPropsWithoutRef, type DetailedHTMLProps, type ElementType, type HTMLAttributes, type HTMLProps } from 'react';
|
|
1
|
+
import { type ComponentPropsWithRef, type ComponentPropsWithoutRef, type DetailedHTMLProps, type ElementType, type HTMLAttributes, type HTMLProps, type PropsWithChildren } from 'react';
|
|
2
2
|
import { type OverloadStyleProps } from './style';
|
|
3
|
+
type ElementTypeProp<E extends ElementType> = {
|
|
4
|
+
elementType?: E;
|
|
5
|
+
};
|
|
6
|
+
type DistributiveOmit<T, U> = T extends unknown ? Pick<T, Exclude<keyof T, U>> : never;
|
|
7
|
+
type DefaultElementOf<E extends ElementType> = E extends {
|
|
8
|
+
spiritDefaultElement: infer D;
|
|
9
|
+
} ? D extends ElementType ? D : E : E;
|
|
10
|
+
type PropsOf<T extends ElementType> = T extends {
|
|
11
|
+
spiritDefaultElement: infer D;
|
|
12
|
+
spiritDefaultProps: infer P;
|
|
13
|
+
} ? D extends ElementType ? P extends ComponentPropsWithRef<ElementType> ? P & ComponentPropsWithRef<D> : ComponentPropsWithRef<D> & ComponentPropsWithRef<T> : ComponentPropsWithRef<T> : T extends {
|
|
14
|
+
spiritDefaultElement: infer D;
|
|
15
|
+
} ? D extends ElementType ? ComponentPropsWithRef<D> & ComponentPropsWithRef<T> : ComponentPropsWithRef<T> : ComponentPropsWithRef<T>;
|
|
16
|
+
export type SpiritPolymorphicComponentProp<E extends ElementType, P> = PropsWithChildren<ElementTypeProp<E> & P & DistributiveOmit<PropsOf<E>, keyof P | keyof ElementTypeProp<E> | 'ref'>>;
|
|
17
|
+
export type SpiritPolymorphicComponentPropWithRef<E extends ElementType, P> = SpiritPolymorphicComponentProp<E, P> & {
|
|
18
|
+
ref?: PolymorphicRef<E>;
|
|
19
|
+
};
|
|
3
20
|
export type SpiritDetailedHTMLProps<E> = DetailedHTMLProps<HTMLAttributes<E>, E>;
|
|
4
21
|
export type SpiritCombinedHTMLProps<E> = DetailedHTMLProps<HTMLAttributes<E>, E> & HTMLProps<E>;
|
|
5
22
|
export type SpiritPolymorphicElementPropsWithRef<E extends ElementType, P> = Omit<ComponentPropsWithRef<E>, keyof P>;
|
|
6
23
|
export type SpiritPolymorphicElementPropsWithoutRef<E extends ElementType, P> = Omit<ComponentPropsWithoutRef<E>, keyof P>;
|
|
7
|
-
export type PolymorphicRef<C extends ElementType> = ComponentPropsWithRef<C
|
|
24
|
+
export type PolymorphicRef<C extends ElementType> = ComponentPropsWithRef<DefaultElementOf<C>>['ref'];
|
|
8
25
|
export type SpiritElementBaseProps = SpiritDetailedHTMLProps<HTMLElement>;
|
|
9
26
|
export type SpiritAnchorElementBaseProps = SpiritCombinedHTMLProps<HTMLButtonElement>;
|
|
10
27
|
export type SpiritButtonElementBaseProps = SpiritCombinedHTMLProps<HTMLButtonElement>;
|
|
@@ -33,3 +50,4 @@ export type SpiritInputElementPropsWithRef = Omit<SpiritInputElementProps & Comp
|
|
|
33
50
|
export type SpiritSelectElementPropsWithRef = Omit<SpiritSelectElementProps & ComponentPropsWithRef<'select'>, 'id' | 'label'>;
|
|
34
51
|
export type SpiritTextAreaElementPropsWithRef = Omit<SpiritTextAreaElementProps & ComponentPropsWithRef<'textarea'>, 'id' | 'label'>;
|
|
35
52
|
export type SpiritFieldGroupElementPropsWithRef = Omit<SpiritFieldGroupElementProps & ComponentPropsWithRef<'fieldset'>, 'id'>;
|
|
53
|
+
export {};
|
package/types/shared/index.d.ts
CHANGED
package/types/shared/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/shared/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AAgBzB,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;AACrB,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/shared/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AAgBzB,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;AACrB,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.cjs","sources":["style.js","tokens.js","index.js"],"sourcesContent":["export const STYLE_SPACING_AUTO = 'auto';\n//# sourceMappingURL=style.js.map","export const BREAKPOINT_MOBILE = 'mobile';\n//# sourceMappingURL=tokens.js.map","export * from \"./adornments.js\";\nexport * from \"./buttons.js\";\nexport * from \"./colors.js\";\nexport * from \"./columns.js\";\nexport * from \"./dialogs.js\";\nexport * from \"./dictionaries.js\";\nexport * from \"./directions.js\";\nexport * from \"./dragAndDrop.js\";\nexport * from \"./element.js\";\nexport * from \"./events.js\";\nexport * from \"./inputs.js\";\nexport * from \"./item.js\";\nexport * from \"./positions.js\";\nexport * from \"./radii.js\";\nexport * from \"./refs.js\";\nexport * from \"./responsive.js\";\nexport * from \"./rest.js\";\nexport * from \"./sizes.js\";\nexport * from \"./style.js\";\nexport * from \"./tokens.js\";\nexport var SpiritBreakpoints;\n(function (SpiritBreakpoints) {\n SpiritBreakpoints[\"TABLET\"] = \"tablet\";\n SpiritBreakpoints[\"DESKTOP\"] = \"desktop\";\n})(SpiritBreakpoints || (SpiritBreakpoints = {}));\n//# sourceMappingURL=index.js.map"],"names":["SpiritBreakpoints"],"mappings":";;AAAY,MAAC,kBAAkB,GAAG;;ACAtB,MAAC,iBAAiB,GAAG;;
|
|
1
|
+
{"version":3,"file":"shared.cjs","sources":["style.js","tokens.js","index.js"],"sourcesContent":["export const STYLE_SPACING_AUTO = 'auto';\n//# sourceMappingURL=style.js.map","export const BREAKPOINT_MOBILE = 'mobile';\n//# sourceMappingURL=tokens.js.map","export * from \"./adornments.js\";\nexport * from \"./buttons.js\";\nexport * from \"./colors.js\";\nexport * from \"./columns.js\";\nexport * from \"./dialogs.js\";\nexport * from \"./dictionaries.js\";\nexport * from \"./directions.js\";\nexport * from \"./dragAndDrop.js\";\nexport * from \"./element.js\";\nexport * from \"./events.js\";\nexport * from \"./inputs.js\";\nexport * from \"./item.js\";\nexport * from \"./positions.js\";\nexport * from \"./radii.js\";\nexport * from \"./refs.js\";\nexport * from \"./responsive.js\";\nexport * from \"./rest.js\";\nexport * from \"./sizes.js\";\nexport * from \"./style.js\";\nexport * from \"./text.js\";\nexport * from \"./tokens.js\";\nexport var SpiritBreakpoints;\n(function (SpiritBreakpoints) {\n SpiritBreakpoints[\"TABLET\"] = \"tablet\";\n SpiritBreakpoints[\"DESKTOP\"] = \"desktop\";\n})(SpiritBreakpoints || (SpiritBreakpoints = {}));\n//# sourceMappingURL=index.js.map"],"names":["SpiritBreakpoints"],"mappings":";;AAAY,MAAC,kBAAkB,GAAG;;ACAtB,MAAC,iBAAiB,GAAG;;ACqBtBA;AACX,CAAC,UAAU,iBAAiB,EAAE;AAC9B,IAAI,iBAAiB,CAAC,QAAQ,CAAC,GAAG,QAAQ;AAC1C,IAAI,iBAAiB,CAAC,SAAS,CAAC,GAAG,SAAS;AAC5C,CAAC,EAAEA,yBAAiB,KAAKA,yBAAiB,GAAG,EAAE,CAAC,CAAC;;;;;"}
|
package/types/shared/text.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { type TextHyphens, type TextWordBreaks } from '../../constants';
|
|
2
|
+
import { type TextAccentColorsType, type TextColorNamesType, type TextEmotionColorsType } from './colors';
|
|
3
|
+
import { type TextAlignmentType, type TextHyphensType, type TextWordBreakType } from './style';
|
|
2
4
|
export type TextHyphensDictionaryKeys = keyof typeof TextHyphens;
|
|
3
5
|
export type TextHyphensDictionaryType = (typeof TextHyphens)[TextHyphensDictionaryKeys];
|
|
4
6
|
export type TextWordBreakDictionaryKeys = keyof typeof TextWordBreaks;
|
|
5
7
|
export type TextWordBreakDictionaryType = (typeof TextWordBreaks)[TextWordBreakDictionaryKeys];
|
|
8
|
+
export type TextColorsType<C = undefined> = TextColorNamesType<C> | TextAccentColorsType<C> | TextEmotionColorsType<C>;
|
|
9
|
+
export interface TypographyBaseProps {
|
|
10
|
+
isTextBalanced?: boolean;
|
|
11
|
+
textAlignment?: TextAlignmentType;
|
|
12
|
+
textHyphens?: TextHyphensType;
|
|
13
|
+
textWordBreak?: TextWordBreakType;
|
|
14
|
+
}
|
package/types/text.d.ts
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { type ElementType } from 'react';
|
|
2
|
-
import type { ChildrenProps, EmphasisDictionaryType, EmphasisProps, SizeExtendedDictionaryType, SizeProps, StyleProps,
|
|
3
|
-
export type TextColorsType<C = undefined> = TextColorNamesType<C> | TextAccentColorsType<C> | TextEmotionColorsType<C>;
|
|
2
|
+
import type { ChildrenProps, EmphasisDictionaryType, EmphasisProps, SizeExtendedDictionaryType, SizeProps, StyleProps, TextColorProps, TextColorsType, TransferProps, TypographyBaseProps } from './shared';
|
|
4
3
|
export interface TextElementTypeProps<T extends ElementType = 'p'> {
|
|
5
4
|
elementType?: T;
|
|
6
5
|
}
|
|
7
|
-
export interface TextProps<T extends ElementType = 'p'> extends TextElementTypeProps<T>, ChildrenProps, StyleProps, TransferProps {
|
|
8
|
-
isTextBalanced?: boolean;
|
|
9
|
-
textAlignment?: TextAlignmentType;
|
|
10
|
-
textHyphens?: TextHyphensType;
|
|
11
|
-
textWordBreak?: TextWordBreakType;
|
|
6
|
+
export interface TextProps<T extends ElementType = 'p'> extends TextElementTypeProps<T>, ChildrenProps, StyleProps, TransferProps, TypographyBaseProps {
|
|
12
7
|
}
|
|
13
8
|
export interface SpiritTextProps<T extends ElementType = 'p', S = void, E = void, C = void> extends TextProps<T>, SizeProps<SizeExtendedDictionaryType<S>>, EmphasisProps<EmphasisDictionaryType<E>>, TextColorProps<TextColorsType<C>> {
|
|
14
9
|
}
|
package/types/types.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.cjs","sources":["../constants/dictionaries.js","../constants/direction.js","card.js","dropdown.js","link.js","shared/style.js","shared/tokens.js","shared/index.js","tooltip.js","truncate.js"],"sourcesContent":["var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { componentColors, containers, emotionColors, textColors } from '@alma-oss/spirit-design-tokens';\nfunction createUppercaseKeyDictionary(obj) {\n return Object.fromEntries(Object.keys(obj).map((key) => [key.toUpperCase(), key]));\n}\nexport const AlignmentX = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n};\nexport const AlignmentXExtended = Object.assign({ SPACE_BETWEEN: 'space-between', STRETCH: 'stretch' }, AlignmentX);\nexport const AlignmentY = {\n TOP: 'top',\n CENTER: 'center',\n BOTTOM: 'bottom',\n};\nexport const AlignmentYExtended = Object.assign({ BASELINE: 'baseline', STRETCH: 'stretch' }, AlignmentY);\nexport const TextAlignments = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n};\nexport const BorderColors = {\n BASIC: 'basic',\n};\nexport const BorderRadii = {\n 0: '0',\n 100: '100',\n 200: '200',\n 300: '300',\n 400: '400',\n 500: '500',\n FULL: 'full',\n};\nexport const BorderStyles = {\n SOLID: 'solid',\n DOTTED: 'dotted',\n DASHED: 'dashed',\n};\nexport const BorderWidths = {\n 0: '0',\n 100: '100',\n 200: '200',\n};\nexport const BackgroundColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n};\nexport const ComponentButtonColors = createUppercaseKeyDictionary(componentColors.button);\nexport const EmotionColors = createUppercaseKeyDictionary(emotionColors);\nexport const LinkColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n};\nexport const TextColors = createUppercaseKeyDictionary(textColors);\nexport const Intensity = {\n BASIC: 'basic',\n SUBTLE: 'subtle',\n};\nexport const Emphasis = {\n REGULAR: 'regular',\n SEMIBOLD: 'semibold',\n BOLD: 'bold',\n ITALIC: 'italic',\n};\nexport const BackgroundGradients = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n};\nexport const Placements = {\n TOP: 'top',\n TOP_START: 'top-start',\n TOP_END: 'top-end',\n BOTTOM: 'bottom',\n BOTTOM_START: 'bottom-start',\n BOTTOM_END: 'bottom-end',\n LEFT: 'left',\n LEFT_START: 'left-start',\n LEFT_END: 'left-end',\n RIGHT: 'right',\n RIGHT_START: 'right-start',\n RIGHT_END: 'right-end',\n};\nexport const Sizes = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n};\nexport const SizesExtended = Object.assign(Object.assign({ XSMALL: 'xsmall' }, Sizes), { XLARGE: 'xlarge' });\nconst _a = createUppercaseKeyDictionary(containers), { MAXWIDTH, PADDING } = _a, ContainerTokenSizes = __rest(_a, [\"MAXWIDTH\", \"PADDING\"]);\nexport { ContainerTokenSizes };\nexport const ValidationStates = {\n SUCCESS: 'success',\n WARNING: 'warning',\n DANGER: 'danger',\n};\nexport const FillVariants = {\n FILL: 'fill',\n OUTLINE: 'outline',\n};\nexport const ShapeVariants = {\n BOX: 'box',\n PILL: 'pill',\n};\n//# sourceMappingURL=dictionaries.js.map","export const Direction = {\n HORIZONTAL: 'horizontal',\n VERTICAL: 'vertical',\n};\nexport const DirectionExtended = Object.assign(Object.assign({}, Direction), { HORIZONTAL_REVERSED: 'horizontal-reversed' });\nexport var DirectionAxis;\n(function (DirectionAxis) {\n DirectionAxis[\"X\"] = \"x\";\n DirectionAxis[\"Y\"] = \"y\";\n})(DirectionAxis || (DirectionAxis = {}));\nexport const isDirectionHorizontal = (direction) => direction === Direction.HORIZONTAL;\n//# sourceMappingURL=direction.js.map","import { Sizes } from \"../constants/index.js\";\nexport const CardSizes = Object.assign(Object.assign({}, Sizes), { AUTO: 'auto' });\n//# sourceMappingURL=card.js.map","export const DropdownFullWidthModes = {\n OFF: 'off',\n MOBILE_ONLY: 'mobile-only',\n ALL: 'all',\n};\n//# sourceMappingURL=dropdown.js.map","export const UNDERLINED_OPTIONS = {\n ALWAYS: 'always',\n HOVER: 'hover',\n NEVER: 'never',\n};\n//# sourceMappingURL=link.js.map","export const STYLE_SPACING_AUTO = 'auto';\n//# sourceMappingURL=style.js.map","export const BREAKPOINT_MOBILE = 'mobile';\n//# sourceMappingURL=tokens.js.map","export * from \"./adornments.js\";\nexport * from \"./buttons.js\";\nexport * from \"./colors.js\";\nexport * from \"./columns.js\";\nexport * from \"./dialogs.js\";\nexport * from \"./dictionaries.js\";\nexport * from \"./directions.js\";\nexport * from \"./dragAndDrop.js\";\nexport * from \"./element.js\";\nexport * from \"./events.js\";\nexport * from \"./inputs.js\";\nexport * from \"./item.js\";\nexport * from \"./positions.js\";\nexport * from \"./radii.js\";\nexport * from \"./refs.js\";\nexport * from \"./responsive.js\";\nexport * from \"./rest.js\";\nexport * from \"./sizes.js\";\nexport * from \"./style.js\";\nexport * from \"./tokens.js\";\nexport var SpiritBreakpoints;\n(function (SpiritBreakpoints) {\n SpiritBreakpoints[\"TABLET\"] = \"tablet\";\n SpiritBreakpoints[\"DESKTOP\"] = \"desktop\";\n})(SpiritBreakpoints || (SpiritBreakpoints = {}));\n//# sourceMappingURL=index.js.map","export const TOOLTIP_TRIGGER = {\n CLICK: 'click',\n HOVER: 'hover',\n FOCUS: 'focus',\n MANUAL: 'manual',\n OUTSIDE_PRESS: 'outside-press',\n ESCAPE_KEY: 'escape-key',\n};\n//# sourceMappingURL=tooltip.js.map","export const TruncateModes = {\n LINES: 'lines',\n WORDS: 'words',\n CHARACTERS: 'characters',\n};\n//# sourceMappingURL=truncate.js.map"],"names":["this","componentColors","emotionColors","textColors","containers","SpiritBreakpoints"],"mappings":";;;;AAAA,IAAI,MAAM,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,MAAM,KAAK,UAAU,CAAC,EAAE,CAAC,EAAE;AACtD,IAAI,IAAI,CAAC,GAAG,EAAE;AACd,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC;AACvF,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACnB,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,OAAO,MAAM,CAAC,qBAAqB,KAAK,UAAU;AACvE,QAAQ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,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":3,"file":"types.cjs","sources":["../constants/dictionaries.js","../constants/direction.js","card.js","dropdown.js","link.js","shared/style.js","shared/tokens.js","shared/index.js","tooltip.js","truncate.js"],"sourcesContent":["var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { componentColors, containers, emotionColors, textColors } from '@alma-oss/spirit-design-tokens';\nfunction createUppercaseKeyDictionary(obj) {\n return Object.fromEntries(Object.keys(obj).map((key) => [key.toUpperCase(), key]));\n}\nexport const AlignmentX = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n};\nexport const AlignmentXExtended = Object.assign({ SPACE_BETWEEN: 'space-between', STRETCH: 'stretch' }, AlignmentX);\nexport const AlignmentY = {\n TOP: 'top',\n CENTER: 'center',\n BOTTOM: 'bottom',\n};\nexport const AlignmentYExtended = Object.assign({ BASELINE: 'baseline', STRETCH: 'stretch' }, AlignmentY);\nexport const TextAlignments = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n};\nexport const BorderColors = {\n BASIC: 'basic',\n};\nexport const BorderRadii = {\n 0: '0',\n 100: '100',\n 200: '200',\n 300: '300',\n 400: '400',\n 500: '500',\n FULL: 'full',\n};\nexport const BorderStyles = {\n SOLID: 'solid',\n DOTTED: 'dotted',\n DASHED: 'dashed',\n};\nexport const BorderWidths = {\n 0: '0',\n 100: '100',\n 200: '200',\n};\nexport const BackgroundColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n};\nexport const ComponentButtonColors = createUppercaseKeyDictionary(componentColors.button);\nexport const EmotionColors = createUppercaseKeyDictionary(emotionColors);\nexport const LinkColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n};\nexport const TextColors = createUppercaseKeyDictionary(textColors);\nexport const Intensity = {\n BASIC: 'basic',\n SUBTLE: 'subtle',\n};\nexport const Emphasis = {\n REGULAR: 'regular',\n SEMIBOLD: 'semibold',\n BOLD: 'bold',\n ITALIC: 'italic',\n};\nexport const BackgroundGradients = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n};\nexport const Placements = {\n TOP: 'top',\n TOP_START: 'top-start',\n TOP_END: 'top-end',\n BOTTOM: 'bottom',\n BOTTOM_START: 'bottom-start',\n BOTTOM_END: 'bottom-end',\n LEFT: 'left',\n LEFT_START: 'left-start',\n LEFT_END: 'left-end',\n RIGHT: 'right',\n RIGHT_START: 'right-start',\n RIGHT_END: 'right-end',\n};\nexport const Sizes = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n};\nexport const SizesExtended = Object.assign(Object.assign({ XSMALL: 'xsmall' }, Sizes), { XLARGE: 'xlarge' });\nconst _a = createUppercaseKeyDictionary(containers), { MAXWIDTH, PADDING } = _a, ContainerTokenSizes = __rest(_a, [\"MAXWIDTH\", \"PADDING\"]);\nexport { ContainerTokenSizes };\nexport const ValidationStates = {\n SUCCESS: 'success',\n WARNING: 'warning',\n DANGER: 'danger',\n};\nexport const FillVariants = {\n FILL: 'fill',\n OUTLINE: 'outline',\n};\nexport const ShapeVariants = {\n BOX: 'box',\n PILL: 'pill',\n};\n//# sourceMappingURL=dictionaries.js.map","export const Direction = {\n HORIZONTAL: 'horizontal',\n VERTICAL: 'vertical',\n};\nexport const DirectionExtended = Object.assign(Object.assign({}, Direction), { HORIZONTAL_REVERSED: 'horizontal-reversed' });\nexport var DirectionAxis;\n(function (DirectionAxis) {\n DirectionAxis[\"X\"] = \"x\";\n DirectionAxis[\"Y\"] = \"y\";\n})(DirectionAxis || (DirectionAxis = {}));\nexport const isDirectionHorizontal = (direction) => direction === Direction.HORIZONTAL;\n//# sourceMappingURL=direction.js.map","import { Sizes } from \"../constants/index.js\";\nexport const CardSizes = Object.assign(Object.assign({}, Sizes), { AUTO: 'auto' });\n//# sourceMappingURL=card.js.map","export const DropdownFullWidthModes = {\n OFF: 'off',\n MOBILE_ONLY: 'mobile-only',\n ALL: 'all',\n};\n//# sourceMappingURL=dropdown.js.map","export const UNDERLINED_OPTIONS = {\n ALWAYS: 'always',\n HOVER: 'hover',\n NEVER: 'never',\n};\n//# sourceMappingURL=link.js.map","export const STYLE_SPACING_AUTO = 'auto';\n//# sourceMappingURL=style.js.map","export const BREAKPOINT_MOBILE = 'mobile';\n//# sourceMappingURL=tokens.js.map","export * from \"./adornments.js\";\nexport * from \"./buttons.js\";\nexport * from \"./colors.js\";\nexport * from \"./columns.js\";\nexport * from \"./dialogs.js\";\nexport * from \"./dictionaries.js\";\nexport * from \"./directions.js\";\nexport * from \"./dragAndDrop.js\";\nexport * from \"./element.js\";\nexport * from \"./events.js\";\nexport * from \"./inputs.js\";\nexport * from \"./item.js\";\nexport * from \"./positions.js\";\nexport * from \"./radii.js\";\nexport * from \"./refs.js\";\nexport * from \"./responsive.js\";\nexport * from \"./rest.js\";\nexport * from \"./sizes.js\";\nexport * from \"./style.js\";\nexport * from \"./text.js\";\nexport * from \"./tokens.js\";\nexport var SpiritBreakpoints;\n(function (SpiritBreakpoints) {\n SpiritBreakpoints[\"TABLET\"] = \"tablet\";\n SpiritBreakpoints[\"DESKTOP\"] = \"desktop\";\n})(SpiritBreakpoints || (SpiritBreakpoints = {}));\n//# sourceMappingURL=index.js.map","export const TOOLTIP_TRIGGER = {\n CLICK: 'click',\n HOVER: 'hover',\n FOCUS: 'focus',\n MANUAL: 'manual',\n OUTSIDE_PRESS: 'outside-press',\n ESCAPE_KEY: 'escape-key',\n};\n//# sourceMappingURL=tooltip.js.map","export const TruncateModes = {\n LINES: 'lines',\n WORDS: 'words',\n CHARACTERS: 'characters',\n};\n//# sourceMappingUR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