@trafilea/afrodita-components 5.0.0-beta.258 → 5.0.0-beta.259
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/build/index.d.ts +4 -4
- package/build/index.esm.js +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import React, { ReactFragment, FC, ReactNode, ElementType, CSSProperties, AriaAttributes, HTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
|
|
2
3
|
import { IconProps as IconProps$1 } from 'src/types/types';
|
|
3
|
-
import React, { FC, ReactNode, ElementType, CSSProperties, AriaAttributes, HTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
|
|
4
4
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
5
5
|
import * as _emotion_styled from '@emotion/styled';
|
|
6
6
|
import { StyledComponent } from '@emotion/styled';
|
|
@@ -77,7 +77,7 @@ declare type ColorPickerOption = {
|
|
|
77
77
|
};
|
|
78
78
|
declare type RadioGroupOption = {
|
|
79
79
|
value: string;
|
|
80
|
-
label: string;
|
|
80
|
+
label: string | ReactFragment;
|
|
81
81
|
};
|
|
82
82
|
declare type ImageType = {
|
|
83
83
|
key: string;
|
|
@@ -1962,7 +1962,7 @@ interface RadioProps$1 {
|
|
|
1962
1962
|
name: string;
|
|
1963
1963
|
value: string;
|
|
1964
1964
|
id: string;
|
|
1965
|
-
label: string;
|
|
1965
|
+
label: string | ReactFragment;
|
|
1966
1966
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
1967
1967
|
checked?: boolean;
|
|
1968
1968
|
disabled?: boolean;
|
|
@@ -2591,7 +2591,7 @@ interface RadioProps {
|
|
|
2591
2591
|
name: string;
|
|
2592
2592
|
value: string;
|
|
2593
2593
|
id: string;
|
|
2594
|
-
label: string;
|
|
2594
|
+
label: string | ReactFragment;
|
|
2595
2595
|
size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
2596
2596
|
checked?: boolean;
|
|
2597
2597
|
disabled?: boolean;
|
package/build/index.esm.js
CHANGED
|
@@ -12495,7 +12495,7 @@ var CustomRadio = newStyled.div(function (props) { return [
|
|
|
12495
12495
|
CustomRadioStyles.baseStyles(props.theme, props.disabled, props.isChecked),
|
|
12496
12496
|
CustomRadioStyles[props.size](props.theme, props.isChecked),
|
|
12497
12497
|
]; });
|
|
12498
|
-
var StyledLabel$1 = newStyled(Label$4)(templateObject_3$D || (templateObject_3$D = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", " !important;\n
|
|
12498
|
+
var StyledLabel$1 = newStyled(Label$4)(templateObject_3$D || (templateObject_3$D = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", " !important;\n"], ["\n font-size: ", ";\n line-height: ", " !important;\n"])), function (_a) {
|
|
12499
12499
|
var theme = _a.theme;
|
|
12500
12500
|
return theme.component.radio.textSize;
|
|
12501
12501
|
}, function (_a) {
|
package/build/index.js
CHANGED
|
@@ -12521,7 +12521,7 @@ var CustomRadio = newStyled.div(function (props) { return [
|
|
|
12521
12521
|
CustomRadioStyles.baseStyles(props.theme, props.disabled, props.isChecked),
|
|
12522
12522
|
CustomRadioStyles[props.size](props.theme, props.isChecked),
|
|
12523
12523
|
]; });
|
|
12524
|
-
var StyledLabel$1 = newStyled(Label$4)(templateObject_3$D || (templateObject_3$D = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", " !important;\n
|
|
12524
|
+
var StyledLabel$1 = newStyled(Label$4)(templateObject_3$D || (templateObject_3$D = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", " !important;\n"], ["\n font-size: ", ";\n line-height: ", " !important;\n"])), function (_a) {
|
|
12525
12525
|
var theme = _a.theme;
|
|
12526
12526
|
return theme.component.radio.textSize;
|
|
12527
12527
|
}, function (_a) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Trafilea's Design System",
|
|
4
4
|
"author": "Trafilea",
|
|
5
5
|
"repository": "https://github.com/trafilea/afrodita-components",
|
|
6
|
-
"version": "5.0.0-beta.
|
|
6
|
+
"version": "5.0.0-beta.259",
|
|
7
7
|
"private": false,
|
|
8
8
|
"main": "build/index.js",
|
|
9
9
|
"style": "build/index.css",
|