@dfds-ui/forms 2.0.16 → 2.0.17-alpha.893e7dcd
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/checkbox/Checkbox.d.ts +6 -0
- package/checkbox/Checkbox.js +15 -10
- package/checkbox/CheckboxGroup.d.ts +2 -2
- package/checkbox/CheckboxGroup.js +19 -7
- package/cjs/checkbox/Checkbox.d.ts +6 -0
- package/cjs/checkbox/Checkbox.js +14 -9
- package/cjs/checkbox/CheckboxGroup.d.ts +2 -2
- package/cjs/checkbox/CheckboxGroup.js +19 -7
- package/cjs/field-wrap/FieldWrap.js +8 -5
- package/cjs/help-icon/HelpIcon.d.ts +2 -1
- package/cjs/help-icon/HelpIcon.js +3 -2
- package/cjs/index.d.ts +4 -1
- package/cjs/index.js +44 -11
- package/cjs/radio/Radio.js +8 -8
- package/cjs/radio/RadioGroup.d.ts +2 -2
- package/cjs/radio/RadioGroup.js +13 -5
- package/cjs/select-field/AsyncSelectField.d.ts +99 -0
- package/cjs/select-field/AsyncSelectField.js +114 -0
- package/cjs/select-field/SelectField.d.ts +46 -36
- package/cjs/select-field/SelectField.js +59 -35
- package/cjs/switch/SwitchGroup.js +12 -3
- package/cjs/switch/index.d.ts +2 -1
- package/cjs/switch/index.js +21 -6
- package/cjs/text-field/TextField.d.ts +12 -2
- package/cjs/text-field/TextField.js +42 -47
- package/cjs/textarea-field/TextareaField.js +2 -1
- package/cjs/types/field.d.ts +24 -24
- package/field-wrap/FieldWrap.js +8 -5
- package/help-icon/HelpIcon.d.ts +2 -1
- package/help-icon/HelpIcon.js +3 -2
- package/index.d.ts +4 -1
- package/index.js +5 -2
- package/package.json +7 -7
- package/radio/Radio.js +9 -9
- package/radio/RadioGroup.d.ts +2 -2
- package/radio/RadioGroup.js +13 -5
- package/select-field/AsyncSelectField.d.ts +99 -0
- package/select-field/AsyncSelectField.js +126 -0
- package/select-field/SelectField.d.ts +46 -36
- package/select-field/SelectField.js +65 -37
- package/switch/SwitchGroup.js +21 -12
- package/switch/index.d.ts +2 -1
- package/switch/index.js +2 -1
- package/text-field/TextField.d.ts +12 -2
- package/text-field/TextField.js +42 -47
- package/textarea-field/TextareaField.js +2 -1
- package/types/field.d.ts +24 -24
package/help-icon/HelpIcon.js
CHANGED
|
@@ -6,11 +6,12 @@ import { UnstableWithTooltip } from '@dfds-ui/react-components/tooltip';
|
|
|
6
6
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
7
7
|
export var HelpIcon = function HelpIcon(_ref) {
|
|
8
8
|
var content = _ref.content,
|
|
9
|
-
className = _ref.className
|
|
9
|
+
className = _ref.className,
|
|
10
|
+
disabled = _ref.disabled;
|
|
10
11
|
return ___EmotionJSX(UnstableWithTooltip, {
|
|
11
12
|
content: content
|
|
12
13
|
}, ___EmotionJSX(Help, {
|
|
13
|
-
css: /*#__PURE__*/css("font-size:1.25rem;color:", theme.colors.text.dark.secondary, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:HelpIcon;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
14
|
+
css: /*#__PURE__*/css("font-size:1.25rem;color:", disabled ? theme.colors.text.primary.disabled : theme.colors.text.dark.secondary, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:HelpIcon;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9oZWxwLWljb24vSGVscEljb24udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdCZ0IiLCJmaWxlIjoiLi4vLi4vc3JjL2hlbHAtaWNvbi9IZWxwSWNvbi50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IEhlbHAgfSBmcm9tICdAZGZkcy11aS9pY29ucy9zeXN0ZW0nXG5pbXBvcnQgeyB0aGVtZSB9IGZyb20gJ0BkZmRzLXVpL3RoZW1lJ1xuaW1wb3J0IHsgVW5zdGFibGVXaXRoVG9vbHRpcCB9IGZyb20gJ0BkZmRzLXVpL3JlYWN0LWNvbXBvbmVudHMvdG9vbHRpcCdcblxuZXhwb3J0IHR5cGUgSGVscEljb25Qcm9wcyA9IHtcbiAgY29udGVudDogc3RyaW5nXG4gIGNsYXNzTmFtZT86IHN0cmluZ1xuICBkaXNhYmxlZD86IGJvb2xlYW5cbn1cblxuZXhwb3J0IGNvbnN0IEhlbHBJY29uID0gKHsgY29udGVudCwgY2xhc3NOYW1lLCBkaXNhYmxlZCB9OiBIZWxwSWNvblByb3BzKSA9PiB7XG4gIHJldHVybiAoXG4gICAgPFVuc3RhYmxlV2l0aFRvb2x0aXAgY29udGVudD17Y29udGVudH0+XG4gICAgICA8SGVscFxuICAgICAgICBjc3M9e2Nzc2BcbiAgICAgICAgICBmb250LXNpemU6IDEuMjVyZW07XG4gICAgICAgICAgY29sb3I6ICR7ZGlzYWJsZWQgPyB0aGVtZS5jb2xvcnMudGV4dC5wcmltYXJ5LmRpc2FibGVkIDogdGhlbWUuY29sb3JzLnRleHQuZGFyay5zZWNvbmRhcnl9O1xuICAgICAgICBgfVxuICAgICAgICBjbGFzc05hbWU9e2NsYXNzTmFtZX1cbiAgICAgIC8+XG4gICAgPC9VbnN0YWJsZVdpdGhUb29sdGlwPlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IEhlbHBJY29uXG4iXX0= */"),
|
|
14
15
|
className: className
|
|
15
16
|
}));
|
|
16
17
|
};
|
package/index.d.ts
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
export * from './assistive-text/AssistiveText';
|
|
1
2
|
export * from './checkbox';
|
|
3
|
+
export * from './counter/Counter';
|
|
2
4
|
export * from './enhanced';
|
|
3
5
|
export * from './error-text/ErrorText';
|
|
4
6
|
export * from './field-wrap';
|
|
7
|
+
export * from './help-icon/HelpIcon';
|
|
5
8
|
export * from './label/Label';
|
|
6
9
|
export * from './password-field/PasswordField';
|
|
7
10
|
export * from './radio';
|
|
8
11
|
export * from './rating';
|
|
12
|
+
export * from './select-field/AsyncSelectField';
|
|
9
13
|
export * from './select-field/NativeSelectField';
|
|
10
14
|
export * from './select-field/SelectField';
|
|
11
15
|
export * from './switch/index';
|
|
12
16
|
export * from './tel-field/TelField';
|
|
13
17
|
export * from './text-field/TextField';
|
|
14
18
|
export * from './textarea-field/TextareaField';
|
|
15
|
-
export * from './counter/Counter';
|
package/index.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
export * from './assistive-text/AssistiveText';
|
|
1
2
|
export * from './checkbox';
|
|
3
|
+
export * from './counter/Counter';
|
|
2
4
|
export * from './enhanced';
|
|
3
5
|
export * from './error-text/ErrorText';
|
|
4
6
|
export * from './field-wrap';
|
|
7
|
+
export * from './help-icon/HelpIcon';
|
|
5
8
|
export * from './label/Label';
|
|
6
9
|
export * from './password-field/PasswordField';
|
|
7
10
|
export * from './radio';
|
|
8
11
|
export * from './rating';
|
|
12
|
+
export * from './select-field/AsyncSelectField';
|
|
9
13
|
export * from './select-field/NativeSelectField';
|
|
10
14
|
export * from './select-field/SelectField';
|
|
11
15
|
export * from './switch/index';
|
|
12
16
|
export * from './tel-field/TelField';
|
|
13
17
|
export * from './text-field/TextField';
|
|
14
|
-
export * from './textarea-field/TextareaField';
|
|
15
|
-
export * from './counter/Counter';
|
|
18
|
+
export * from './textarea-field/TextareaField';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Form components",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "2.0.
|
|
6
|
+
"version": "2.0.17-alpha.893e7dcd",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"react-select": "^4.0.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@dfds-ui/hooks": "2.0.
|
|
21
|
-
"@dfds-ui/icons": "2.0.
|
|
22
|
-
"@dfds-ui/react-components": "2.0.
|
|
23
|
-
"@dfds-ui/theme": "2.0.
|
|
24
|
-
"@dfds-ui/typography": "2.0.
|
|
20
|
+
"@dfds-ui/hooks": "2.0.17-alpha.893e7dcd",
|
|
21
|
+
"@dfds-ui/icons": "2.0.17-alpha.893e7dcd",
|
|
22
|
+
"@dfds-ui/react-components": "2.0.17-alpha.893e7dcd",
|
|
23
|
+
"@dfds-ui/theme": "2.0.17-alpha.893e7dcd",
|
|
24
|
+
"@dfds-ui/typography": "2.0.17-alpha.893e7dcd"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "893e7dcdd885fff23e74d03a1f3212797232c437",
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
}
|