@ntbjs/react-components 2.0.0-rc.11 → 2.0.0-rc.13
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/cjs/components/data/Alert/Alert.js +8 -10
- package/cjs/components/data/Alert/Alert.styled.js +17 -10
- package/cjs/components/data/Badge/Badge.js +13 -13
- package/cjs/components/data/Badge/Badge.styled.js +37 -26
- package/cjs/components/data/Popover/Popover.js +4 -2
- package/cjs/components/data/Tab/Tab.styled.js +6 -1
- package/cjs/components/data/Tabs/Tabs.js +22 -12
- package/cjs/components/data/Tabs/Tabs.styled.js +29 -16
- package/cjs/components/data/Tooltip/Tooltip.js +3 -1
- package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +6 -6
- package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +24 -15
- package/cjs/components/inputs/ActionButton/ActionButton.js +5 -3
- package/cjs/components/inputs/ActionButton/ActionButton.styled.js +17 -8
- package/cjs/components/inputs/Button/Button.js +45 -38
- package/cjs/components/inputs/Button/Button.styled.js +84 -38
- package/cjs/components/inputs/Checkbox/Checkbox.js +1 -1
- package/cjs/components/inputs/Checkbox/Checkbox.styled.js +23 -8
- package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +2 -2
- package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +46 -35
- package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +3 -4
- package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +36 -25
- package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +5 -5
- package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +79 -25
- package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +24 -7
- package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +1 -1
- package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +38 -13
- package/cjs/components/inputs/MultiSelect/MultiSelect.js +5 -48
- package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +27 -31
- package/cjs/components/inputs/Radio/Radio.styled.js +9 -2
- package/cjs/components/inputs/Switch/Switch.js +1 -1
- package/cjs/components/inputs/Switch/Switch.styled.js +22 -7
- package/cjs/components/inputs/TextArea/TextArea.js +10 -20
- package/cjs/components/inputs/TextArea/TextArea.styled.js +208 -133
- package/cjs/components/inputs/TextInput/TextInput.js +21 -22
- package/cjs/components/inputs/TextInput/TextInput.styled.js +58 -45
- package/cjs/components/layout/InputGroup/InputGroup.styled.js +6 -1
- package/cjs/components/layout/SectionSeparator/SectionSeparator.js +7 -7
- package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +12 -5
- package/cjs/components/widgets/AssetAction/AssetAction.js +1 -1
- package/cjs/components/widgets/AssetAction/AssetAction.styled.js +16 -5
- package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +6 -1
- package/cjs/components/widgets/AssetGallery/AssetGallery.js +5 -1
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +9 -6
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +12 -3
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +7 -4
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +80 -33
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +1 -1
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +22 -22
- package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +2 -2
- package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +18 -7
- package/cjs/components/widgets/ContextMenu/ContextMenu.js +2 -1
- package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +6 -1
- package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +4 -4
- package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +16 -7
- package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +6 -1
- package/cjs/components/widgets/InfoCard/InfoCard.js +17 -9
- package/cjs/components/widgets/InfoCard/InfoCard.styled.js +40 -13
- package/cjs/components/widgets/ProgressBar/ProgressBar.js +43 -22
- package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +78 -22
- package/cjs/components/widgets/SummaryCard/SummaryCard.js +9 -8
- package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +46 -19
- package/cjs/components/widgets/widgets/index.js +0 -2
- package/cjs/node_modules/@emotion/cache/dist/{emotion-cache.browser.esm.js → emotion-cache.esm.js} +61 -3
- package/cjs/node_modules/@emotion/react/dist/{emotion-element-f0de968e.browser.esm.js → emotion-element-d59e098f.esm.js} +54 -12
- package/cjs/node_modules/@emotion/react/dist/{emotion-react.browser.esm.js → emotion-react.esm.js} +10 -7
- package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/{emotion-use-insertion-effect-with-fallbacks.browser.esm.js → emotion-use-insertion-effect-with-fallbacks.esm.js} +3 -1
- package/cjs/node_modules/@emotion/utils/dist/{emotion-utils.browser.esm.js → emotion-utils.esm.js} +12 -3
- package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +20 -0
- package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +20 -12
- package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +1 -1
- package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +4 -2
- package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +9 -8
- package/cjs/node_modules/@restart/hooks/{esm → lib}/useMergedRefs.js +8 -11
- package/cjs/node_modules/@restart/hooks/{esm → lib}/useUpdateEffect.js +2 -4
- package/cjs/node_modules/react/cjs/react.development.js +125 -82
- package/cjs/node_modules/react/cjs/react.production.js +88 -92
- package/cjs/node_modules/react-dom/cjs/react-dom.development.js +1 -1
- package/cjs/node_modules/react-dom/cjs/react-dom.production.js +1 -1
- package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +5 -5
- package/cjs/node_modules/react-select/dist/{Select-aab027f3.esm.js → Select-ef7c0426.esm.js} +23 -17
- package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +47 -47
- package/cjs/node_modules/react-select/dist/{useCreatable-84008237.esm.js → useCreatable-09aaeb9a.esm.js} +3 -3
- package/cjs/node_modules/use-isomorphic-layout-effect/dist/{use-isomorphic-layout-effect.browser.esm.js → use-isomorphic-layout-effect.esm.js} +4 -1
- package/cjs/styles/utils/colors-export.js +41 -0
- package/cjs/utils/defaultTheme.js +28 -5
- package/esm/components/data/Alert/Alert.js +8 -10
- package/esm/components/data/Alert/Alert.styled.js +17 -10
- package/esm/components/data/Badge/Badge.js +13 -13
- package/esm/components/data/Badge/Badge.styled.js +37 -26
- package/esm/components/data/Popover/Popover.js +4 -2
- package/esm/components/data/Tab/Tab.styled.js +6 -1
- package/esm/components/data/Tabs/Tabs.js +23 -13
- package/esm/components/data/Tabs/Tabs.styled.js +29 -16
- package/esm/components/data/Tooltip/Tooltip.js +3 -1
- package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +6 -6
- package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +24 -15
- package/esm/components/inputs/ActionButton/ActionButton.js +5 -3
- package/esm/components/inputs/ActionButton/ActionButton.styled.js +17 -8
- package/esm/components/inputs/Button/Button.js +45 -38
- package/esm/components/inputs/Button/Button.styled.js +84 -38
- package/esm/components/inputs/Checkbox/Checkbox.js +1 -1
- package/esm/components/inputs/Checkbox/Checkbox.styled.js +23 -8
- package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +4 -4
- package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +46 -35
- package/esm/components/inputs/CompactStarRating/CompactStarRating.js +3 -4
- package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +36 -25
- package/esm/components/inputs/CompactTextInput/CompactTextInput.js +5 -5
- package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +79 -25
- package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +24 -7
- package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +1 -1
- package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +38 -13
- package/esm/components/inputs/MultiSelect/MultiSelect.js +6 -49
- package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +28 -28
- package/esm/components/inputs/Radio/Radio.styled.js +9 -2
- package/esm/components/inputs/Switch/Switch.js +1 -1
- package/esm/components/inputs/Switch/Switch.styled.js +22 -7
- package/esm/components/inputs/TextArea/TextArea.js +10 -20
- package/esm/components/inputs/TextArea/TextArea.styled.js +208 -133
- package/esm/components/inputs/TextInput/TextInput.js +21 -22
- package/esm/components/inputs/TextInput/TextInput.styled.js +58 -45
- package/esm/components/layout/InputGroup/InputGroup.styled.js +6 -1
- package/esm/components/layout/SectionSeparator/SectionSeparator.js +7 -7
- package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +12 -5
- package/esm/components/widgets/AssetAction/AssetAction.js +1 -1
- package/esm/components/widgets/AssetAction/AssetAction.styled.js +16 -5
- package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +6 -1
- package/esm/components/widgets/AssetGallery/AssetGallery.js +5 -1
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +9 -6
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +12 -3
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +7 -4
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +80 -33
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +1 -1
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +22 -22
- package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +2 -2
- package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +18 -7
- package/esm/components/widgets/ContextMenu/ContextMenu.js +2 -1
- package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +6 -1
- package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +4 -4
- package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +16 -7
- package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +6 -1
- package/esm/components/widgets/InfoCard/InfoCard.js +10 -2
- package/esm/components/widgets/InfoCard/InfoCard.styled.js +40 -13
- package/esm/components/widgets/ProgressBar/ProgressBar.js +31 -10
- package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +77 -23
- package/esm/components/widgets/SummaryCard/SummaryCard.js +9 -8
- package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +46 -19
- package/esm/components/widgets/widgets/index.js +0 -1
- package/esm/node_modules/@emotion/cache/dist/{emotion-cache.browser.esm.js → emotion-cache.esm.js} +61 -3
- package/esm/node_modules/@emotion/react/dist/{emotion-element-f0de968e.browser.esm.js → emotion-element-d59e098f.esm.js} +47 -5
- package/esm/node_modules/@emotion/react/dist/{emotion-react.browser.esm.js → emotion-react.esm.js} +3 -3
- package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/{emotion-use-insertion-effect-with-fallbacks.browser.esm.js → emotion-use-insertion-effect-with-fallbacks.esm.js} +3 -1
- package/esm/node_modules/@emotion/utils/dist/{emotion-utils.browser.esm.js → emotion-utils.esm.js} +12 -3
- package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +16 -0
- package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +20 -12
- package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +4 -4
- package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +4 -2
- package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +9 -8
- package/esm/node_modules/@restart/hooks/{esm → lib}/useMergedRefs.js +8 -11
- package/esm/node_modules/@restart/hooks/{esm → lib}/useUpdateEffect.js +2 -4
- package/esm/node_modules/react/cjs/react.development.js +125 -82
- package/esm/node_modules/react/cjs/react.production.js +88 -92
- package/esm/node_modules/react-dom/cjs/react-dom.development.js +1 -1
- package/esm/node_modules/react-dom/cjs/react-dom.production.js +1 -1
- package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +3 -3
- package/esm/node_modules/react-select/dist/{Select-aab027f3.esm.js → Select-ef7c0426.esm.js} +12 -6
- package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +2 -2
- package/esm/node_modules/react-select/dist/{useCreatable-84008237.esm.js → useCreatable-09aaeb9a.esm.js} +1 -1
- package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +9 -0
- package/esm/styles/utils/colors-export.js +37 -0
- package/esm/utils/defaultTheme.js +28 -5
- package/package.json +16 -22
- package/styles/utils/colors-export.js +35 -0
- package/cjs/components/widgets/Instructions/Instructions.js +0 -217
- package/cjs/components/widgets/Instructions/Instructions.styled.js +0 -47
- package/cjs/components/widgets/Instructions/widgets/Instructions/index.js +0 -9
- package/cjs/styles/utils/colors.scss.js +0 -11
- package/esm/components/widgets/Instructions/Instructions.js +0 -213
- package/esm/components/widgets/Instructions/Instructions.styled.js +0 -36
- package/esm/components/widgets/Instructions/widgets/Instructions/index.js +0 -1
- package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -6
- package/esm/styles/utils/colors.scss.js +0 -7
- package/styles/config.scss +0 -37
- /package/styles/utils/{colors.scss → .colors.scss} +0 -0
|
@@ -16,6 +16,8 @@ let _ = t => t,
|
|
|
16
16
|
_t7,
|
|
17
17
|
_t8,
|
|
18
18
|
_t9,
|
|
19
|
+
_t0,
|
|
20
|
+
_t1,
|
|
19
21
|
_t10,
|
|
20
22
|
_t11,
|
|
21
23
|
_t12,
|
|
@@ -43,9 +45,7 @@ let _ = t => t,
|
|
|
43
45
|
_t34,
|
|
44
46
|
_t35,
|
|
45
47
|
_t36,
|
|
46
|
-
_t37
|
|
47
|
-
_t38,
|
|
48
|
-
_t39;
|
|
48
|
+
_t37;
|
|
49
49
|
const fadeIn = keyframes(_t || (_t = _`
|
|
50
50
|
from {
|
|
51
51
|
background-color: ${0};
|
|
@@ -88,7 +88,12 @@ const sharedStyle = css(_t5 || (_t5 = _`
|
|
|
88
88
|
box-shadow: 'none';
|
|
89
89
|
flex-basis: ${0};
|
|
90
90
|
`), props => props.theme.primaryFontFamily, props => props.$hasLabel ? '66.66%' : '100%');
|
|
91
|
-
const
|
|
91
|
+
const shouldForwardProp = prop => {
|
|
92
|
+
return prop !== 'theme' && !prop.startsWith('$');
|
|
93
|
+
};
|
|
94
|
+
const CompactAutocompleteSelect = styled.div.withConfig({
|
|
95
|
+
shouldForwardProp
|
|
96
|
+
}).attrs(applyDefaultTheme)(_t6 || (_t6 = _`
|
|
92
97
|
display: flex;
|
|
93
98
|
align-items: center;
|
|
94
99
|
height: 24px;
|
|
@@ -98,7 +103,9 @@ const CompactAutocompleteSelect = styled.div.attrs(applyDefaultTheme)(_t6 || (_t
|
|
|
98
103
|
opacity: 0.5;
|
|
99
104
|
cursor: not-allowed;
|
|
100
105
|
`)));
|
|
101
|
-
const Label = styled.label.
|
|
106
|
+
const Label = styled.label.withConfig({
|
|
107
|
+
shouldForwardProp
|
|
108
|
+
}).attrs(applyDefaultTheme)(_t8 || (_t8 = _`
|
|
102
109
|
${0};
|
|
103
110
|
flex-basis: 33.33%;
|
|
104
111
|
font-size: 0.875rem;
|
|
@@ -112,12 +119,16 @@ const Label = styled.label.attrs(applyDefaultTheme)(_t8 || (_t8 = _`
|
|
|
112
119
|
`), props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700')), props => props.disabled && css(_t9 || (_t9 = _`
|
|
113
120
|
cursor: not-allowed;
|
|
114
121
|
`)));
|
|
115
|
-
const InputContainer = styled.div.
|
|
122
|
+
const InputContainer = styled.div.withConfig({
|
|
123
|
+
shouldForwardProp
|
|
124
|
+
}).attrs(applyDefaultTheme)(_t0 || (_t0 = _`
|
|
116
125
|
display: flex;
|
|
117
126
|
width: 100%;
|
|
118
127
|
height: 19px;
|
|
119
128
|
`));
|
|
120
|
-
const SuccessContainer = styled.div.
|
|
129
|
+
const SuccessContainer = styled.div.withConfig({
|
|
130
|
+
shouldForwardProp
|
|
131
|
+
}).attrs(applyDefaultTheme)(_t1 || (_t1 = _`
|
|
121
132
|
opacity: 1;
|
|
122
133
|
pointer-events: none;
|
|
123
134
|
display: flex;
|
|
@@ -130,50 +141,50 @@ const SuccessContainer = styled.div.attrs(applyDefaultTheme)(_t11 || (_t11 = _`
|
|
|
130
141
|
width: 13px;
|
|
131
142
|
}
|
|
132
143
|
`), props => props.fadeIn ? 0 : 1, props => props.fadeIn ? fadeOutCheck : fadeInCheck, props => props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-500')));
|
|
133
|
-
const AsyncCreatableAutocompleteSelect = styled(AsyncCreatableSelectPaginate).attrs(applyDefaultTheme)(
|
|
144
|
+
const AsyncCreatableAutocompleteSelect = styled(AsyncCreatableSelectPaginate).attrs(applyDefaultTheme)(_t10 || (_t10 = _`
|
|
134
145
|
${0}
|
|
135
146
|
${0}
|
|
136
147
|
&&:hover:not(:focus) {
|
|
137
148
|
${0}
|
|
138
149
|
}
|
|
139
|
-
`), sharedStyle, props => props.disabled && css(
|
|
150
|
+
`), sharedStyle, props => props.disabled && css(_t11 || (_t11 = _`
|
|
140
151
|
opacity: 0.5;
|
|
141
152
|
cursor: not-allowed;
|
|
142
|
-
`)), props => props.disabled && css(
|
|
153
|
+
`)), props => props.disabled && css(_t12 || (_t12 = _`
|
|
143
154
|
background: none !important;
|
|
144
155
|
cursor: not-allowed;
|
|
145
156
|
`)));
|
|
146
|
-
const AsyncAutocompleteSelect = styled(AsyncPaginate).attrs(applyDefaultTheme)(
|
|
157
|
+
const AsyncAutocompleteSelect = styled(AsyncPaginate).attrs(applyDefaultTheme)(_t13 || (_t13 = _`
|
|
147
158
|
${0}
|
|
148
159
|
${0}
|
|
149
160
|
&&:hover:not(:focus) {
|
|
150
161
|
${0}
|
|
151
162
|
}
|
|
152
|
-
`), sharedStyle, props => props.disabled && css(
|
|
163
|
+
`), sharedStyle, props => props.disabled && css(_t14 || (_t14 = _`
|
|
153
164
|
opacity: 0.5;
|
|
154
|
-
`)), props => props.disabled && css(
|
|
165
|
+
`)), props => props.disabled && css(_t15 || (_t15 = _`
|
|
155
166
|
background: none !important;
|
|
156
167
|
cursor: not-allowed;
|
|
157
168
|
`)));
|
|
158
|
-
const AutocompletSelect = styled(Select).attrs(applyDefaultTheme)(
|
|
169
|
+
const AutocompletSelect = styled(Select).attrs(applyDefaultTheme)(_t16 || (_t16 = _`
|
|
159
170
|
${0}
|
|
160
171
|
${0}
|
|
161
172
|
&&:hover:not(:focus) {
|
|
162
173
|
${0}
|
|
163
174
|
}
|
|
164
|
-
`), sharedStyle, props => props.disabled && css(
|
|
175
|
+
`), sharedStyle, props => props.disabled && css(_t17 || (_t17 = _`
|
|
165
176
|
opacity: 0.5;
|
|
166
|
-
`)), props => props.disabled && css(
|
|
177
|
+
`)), props => props.disabled && css(_t18 || (_t18 = _`
|
|
167
178
|
background: none !important;
|
|
168
179
|
cursor: not-allowed;
|
|
169
180
|
`)));
|
|
170
|
-
const AutocompletCreatableSelect = styled(CreatableSelect$1).attrs(applyDefaultTheme)(
|
|
181
|
+
const AutocompletCreatableSelect = styled(CreatableSelect$1).attrs(applyDefaultTheme)(_t19 || (_t19 = _`
|
|
171
182
|
${0}
|
|
172
183
|
${0}
|
|
173
|
-
`), sharedStyle, props => props.disabled && css(
|
|
184
|
+
`), sharedStyle, props => props.disabled && css(_t20 || (_t20 = _`
|
|
174
185
|
opacity: 0.5;
|
|
175
186
|
`)));
|
|
176
|
-
const Control = styled(components.Control).attrs(applyDefaultTheme)(
|
|
187
|
+
const Control = styled(components.Control).attrs(applyDefaultTheme)(_t21 || (_t21 = _`
|
|
177
188
|
&& {
|
|
178
189
|
${0};
|
|
179
190
|
${0};
|
|
@@ -219,10 +230,10 @@ const Control = styled(components.Control).attrs(applyDefaultTheme)(_t23 || (_t2
|
|
|
219
230
|
|
|
220
231
|
${0};
|
|
221
232
|
}
|
|
222
|
-
`), props => props.edit && props.theme.themeProp('background', 'rgba(39,39,42, 0.7)', 'rgba(244,244,245, 0.3)'), props => props.edit && props.theme.themeProp('border-color', 'rgba(39,39,42, 0.7)', 'rgba(228,228,231, 0.3)'), props => props.type && css(
|
|
233
|
+
`), props => props.edit && props.theme.themeProp('background', 'rgba(39,39,42, 0.7)', 'rgba(244,244,245, 0.3)'), props => props.edit && props.theme.themeProp('border-color', 'rgba(39,39,42, 0.7)', 'rgba(228,228,231, 0.3)'), props => props.type && css(_t22 || (_t22 = _`
|
|
223
234
|
animation: ${0} 0.5s ease-in-out;
|
|
224
235
|
`), props => props.type === 'success' ? fadeIn : fadeOut), props => props.type === 'warning' && !props.isFocused && props.theme.themeProp('background-color', '#634e01', '#FFFDE8'), props => props.type === 'instructions-warning' && !props.isFocused && props.theme.themeProp('background-color', '#634e01', '#FFF36C'), props => props.type === 'instructions-warning' && props.isFocused && props.theme.themeProp('background-color', '#634e01', '#FFF36C'), props => props.type === 'error' && !props.isFocused && props.theme.themeProp('background-color', '#7f1b1b', '#FBEAE6'), props => props.isFocused && !props.type === 'instructions-warning' && props.theme.themeProp('border-color', props.theme.getColor('gray-600'), props.theme.getColor('gray-600')), props => props.type === 'warning' && props.isFocused && props.theme.themeProp('border-color', '#F4E21E', '#F4E21E'), props => props.type === 'error' && props.isFocused && props.theme.themeProp('border-color', props.theme.getColor('red-500'), props.theme.getColor('red-500')), props => !props.isFocused && props.theme.themeProp('background-color', props.theme.getColor('gray-700'), props.theme.getColor('gray-100')), props => props.type === 'warning' && !props.isFocused && props.theme.themeProp('background', '#806403', '#FFFEBF'), props => props.type === 'instructions-warning' && !props.isFocused && props.theme.themeProp('background', '#806403', '#F4E21E'), props => props.type === 'error' && !props.isFocused && props.theme.themeProp('background', '#901d1d', '#f7d5d0'));
|
|
225
|
-
const Option = styled(components.Option).attrs(applyDefaultTheme)(
|
|
236
|
+
const Option = styled(components.Option).attrs(applyDefaultTheme)(_t23 || (_t23 = _`
|
|
226
237
|
&& {
|
|
227
238
|
min-height: 22px;
|
|
228
239
|
height: 22px;
|
|
@@ -245,29 +256,29 @@ const Option = styled(components.Option).attrs(applyDefaultTheme)(_t25 || (_t25
|
|
|
245
256
|
text-decoration: none;
|
|
246
257
|
color: inherit;
|
|
247
258
|
}
|
|
248
|
-
`), props => props.theme.themeProp('color', props.theme.getColor('gray-200'), props.theme.getColor('gray-700')), props => props.isFocused && css(
|
|
259
|
+
`), props => props.theme.themeProp('color', props.theme.getColor('gray-200'), props.theme.getColor('gray-700')), props => props.isFocused && css(_t24 || (_t24 = _`
|
|
249
260
|
${0}
|
|
250
|
-
`), props.theme.themeProp('background-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-200'))), props => props.isSelected && css(
|
|
261
|
+
`), props.theme.themeProp('background-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-200'))), props => props.isSelected && css(_t25 || (_t25 = _`
|
|
251
262
|
${0}
|
|
252
263
|
|
|
253
264
|
${0}
|
|
254
|
-
`), props.theme.themeProp('background-color', 'transparent', 'transparent'), props.theme.themeProp('color', props.theme.getColor('gray-200'), props.theme.getColor('gray-700'))), props => props.isFocused && props.isSelected && css(
|
|
265
|
+
`), props.theme.themeProp('background-color', 'transparent', 'transparent'), props.theme.themeProp('color', props.theme.getColor('gray-200'), props.theme.getColor('gray-700'))), props => props.isFocused && props.isSelected && css(_t26 || (_t26 = _`
|
|
255
266
|
${0}
|
|
256
267
|
`), props.theme.themeProp('background-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-200'))));
|
|
257
|
-
const Placeholder = styled(components.Placeholder).attrs(applyDefaultTheme)(
|
|
268
|
+
const Placeholder = styled(components.Placeholder).attrs(applyDefaultTheme)(_t27 || (_t27 = _`
|
|
258
269
|
&& {
|
|
259
270
|
${0}
|
|
260
271
|
${0};
|
|
261
272
|
}
|
|
262
|
-
`), props => (props.type === 'error' || props.type === 'warning') && css(
|
|
273
|
+
`), props => (props.type === 'error' || props.type === 'warning') && css(_t28 || (_t28 = _`
|
|
263
274
|
${0}
|
|
264
275
|
`), props.theme.themeProp('color', props.theme.getColor('gray-200'), props.theme.getColor('gray-700'))), props => (props.type === 'error' || props.type === 'warning') && props.theme.themeProp('opacity', '0.6', '0.6'));
|
|
265
|
-
const SingleValue = styled(components.SingleValue).attrs(applyDefaultTheme)(
|
|
276
|
+
const SingleValue = styled(components.SingleValue).attrs(applyDefaultTheme)(_t29 || (_t29 = _`
|
|
266
277
|
&& {
|
|
267
278
|
${0};
|
|
268
279
|
}
|
|
269
280
|
`), props => props.theme.themeProp('color', props.theme.getColor('gray-200'), props.theme.getColor('gray-700')));
|
|
270
|
-
const Input = styled(components.Input).attrs(applyDefaultTheme)(
|
|
281
|
+
const Input = styled(components.Input).attrs(applyDefaultTheme)(_t30 || (_t30 = _`
|
|
271
282
|
&& {
|
|
272
283
|
margin: 0;
|
|
273
284
|
padding: 0;
|
|
@@ -275,17 +286,17 @@ const Input = styled(components.Input).attrs(applyDefaultTheme)(_t32 || (_t32 =
|
|
|
275
286
|
${0}
|
|
276
287
|
}
|
|
277
288
|
`), props => props.theme.themeProp('color', props.theme.getColor('gray-200'), props.theme.getColor('gray-700')));
|
|
278
|
-
const Menu = styled(components.Menu).attrs(applyDefaultTheme)(
|
|
289
|
+
const Menu = styled(components.Menu).attrs(applyDefaultTheme)(_t31 || (_t31 = _`
|
|
279
290
|
&& {
|
|
280
291
|
${0};
|
|
281
292
|
}
|
|
282
293
|
`), props => props.theme.themeProp('background', props.theme.getColor('gray-700'), props.theme.getColor('white')));
|
|
283
|
-
const ValueContainer = styled(components.ValueContainer).attrs(applyDefaultTheme)(
|
|
294
|
+
const ValueContainer = styled(components.ValueContainer).attrs(applyDefaultTheme)(_t32 || (_t32 = _`
|
|
284
295
|
&& {
|
|
285
296
|
padding: 0;
|
|
286
297
|
}
|
|
287
298
|
`));
|
|
288
|
-
const ClearIndicator = styled(components.ClearIndicator).attrs(applyDefaultTheme)(
|
|
299
|
+
const ClearIndicator = styled(components.ClearIndicator).attrs(applyDefaultTheme)(_t33 || (_t33 = _`
|
|
289
300
|
&& {
|
|
290
301
|
display: ${0};
|
|
291
302
|
padding: 0;
|
|
@@ -293,7 +304,7 @@ const ClearIndicator = styled(components.ClearIndicator).attrs(applyDefaultTheme
|
|
|
293
304
|
${0};
|
|
294
305
|
}
|
|
295
306
|
`), props => props.isFocused ? 'flex' : 'none', props => props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-500')));
|
|
296
|
-
const DropdownIndicator = styled(components.DropdownIndicator).attrs(applyDefaultTheme)(
|
|
307
|
+
const DropdownIndicator = styled(components.DropdownIndicator).attrs(applyDefaultTheme)(_t34 || (_t34 = _`
|
|
297
308
|
&& {
|
|
298
309
|
display: ${0};
|
|
299
310
|
padding: 0;
|
|
@@ -304,16 +315,16 @@ const DropdownIndicator = styled(components.DropdownIndicator).attrs(applyDefaul
|
|
|
304
315
|
${0};
|
|
305
316
|
}
|
|
306
317
|
`), props => props.isFocused ? 'flex' : 'none', props => props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-500')));
|
|
307
|
-
const DropdownIndicatorIcon = styled(SvgExpandMore).attrs(applyDefaultTheme)(
|
|
318
|
+
const DropdownIndicatorIcon = styled(SvgExpandMore).attrs(applyDefaultTheme)(_t35 || (_t35 = _`
|
|
308
319
|
width: 12px;
|
|
309
320
|
`));
|
|
310
|
-
const ClearIndicatorIcon = styled(SvgClose).attrs(applyDefaultTheme)(
|
|
321
|
+
const ClearIndicatorIcon = styled(SvgClose).attrs(applyDefaultTheme)(_t36 || (_t36 = _`
|
|
311
322
|
width: 8px;
|
|
312
323
|
margin-right: 4px;
|
|
313
324
|
${0};
|
|
314
325
|
stroke-width: 2px;
|
|
315
326
|
`), props => props.theme.themeProp('stroke', props.theme.getColor('gray-400'), props.theme.getColor('gray-500')));
|
|
316
|
-
const IndicatorSeparator = styled(components.IndicatorSeparator).attrs(applyDefaultTheme)(
|
|
327
|
+
const IndicatorSeparator = styled(components.IndicatorSeparator).attrs(applyDefaultTheme)(_t37 || (_t37 = _`
|
|
317
328
|
&& {
|
|
318
329
|
display: ${0};
|
|
319
330
|
margin: 4px;
|
|
@@ -77,7 +77,7 @@ const CompactStarRating = React.forwardRef(function CompactStarRating(_ref, forw
|
|
|
77
77
|
setTempRating(0);
|
|
78
78
|
setHover(false);
|
|
79
79
|
},
|
|
80
|
-
hover: hover && key + 1 <= tempRating,
|
|
80
|
+
$hover: hover && key + 1 <= tempRating,
|
|
81
81
|
type: "button",
|
|
82
82
|
key: key
|
|
83
83
|
}, iconFill);
|
|
@@ -97,7 +97,7 @@ const CompactStarRating = React.forwardRef(function CompactStarRating(_ref, forw
|
|
|
97
97
|
setTempRating(0);
|
|
98
98
|
setHover(false);
|
|
99
99
|
},
|
|
100
|
-
hover: hover && key + 1 <= tempRating,
|
|
100
|
+
$hover: hover && key + 1 <= tempRating,
|
|
101
101
|
type: "button",
|
|
102
102
|
key: key
|
|
103
103
|
}, icon);
|
|
@@ -113,7 +113,7 @@ const CompactStarRating = React.forwardRef(function CompactStarRating(_ref, forw
|
|
|
113
113
|
}, props), React.createElement(labelWidth, {
|
|
114
114
|
disabled: disabled
|
|
115
115
|
}, label, React.createElement(SuccessContainer, null, type === 'loading' && loadingIcon, type === 'success' && successIcon)), React.createElement(starsWidth, {
|
|
116
|
-
edit: edit,
|
|
116
|
+
$edit: edit,
|
|
117
117
|
type: type,
|
|
118
118
|
readOnly: readOnly
|
|
119
119
|
}, stars.map(key => {
|
|
@@ -166,7 +166,6 @@ CompactStarRating.defaultProps = {
|
|
|
166
166
|
hidden: false,
|
|
167
167
|
type: '',
|
|
168
168
|
descriptionToolTip: '',
|
|
169
|
-
displayDescriptionToolTip: false,
|
|
170
169
|
onChange: () => {}
|
|
171
170
|
};
|
|
172
171
|
var CompactStarRating$1 = CompactStarRating;
|
|
@@ -11,6 +11,8 @@ let _ = t => t,
|
|
|
11
11
|
_t7,
|
|
12
12
|
_t8,
|
|
13
13
|
_t9,
|
|
14
|
+
_t0,
|
|
15
|
+
_t1,
|
|
14
16
|
_t10,
|
|
15
17
|
_t11,
|
|
16
18
|
_t12,
|
|
@@ -21,10 +23,7 @@ let _ = t => t,
|
|
|
21
23
|
_t17,
|
|
22
24
|
_t18,
|
|
23
25
|
_t19,
|
|
24
|
-
_t20
|
|
25
|
-
_t21,
|
|
26
|
-
_t22,
|
|
27
|
-
_t23;
|
|
26
|
+
_t20;
|
|
28
27
|
const fadeIn = keyframes(_t || (_t = _`
|
|
29
28
|
from {
|
|
30
29
|
background-color: ${0};
|
|
@@ -57,7 +56,12 @@ const fadeOutCheck = keyframes(_t4 || (_t4 = _`
|
|
|
57
56
|
opacity: 0
|
|
58
57
|
}
|
|
59
58
|
`));
|
|
60
|
-
const
|
|
59
|
+
const shouldForwardProp = prop => {
|
|
60
|
+
return prop !== 'theme' && !prop.startsWith('$');
|
|
61
|
+
};
|
|
62
|
+
const CompactStarRating = styled.div.withConfig({
|
|
63
|
+
shouldForwardProp
|
|
64
|
+
}).attrs(applyDefaultTheme)(_t5 || (_t5 = _`
|
|
61
65
|
font-family: ${0};
|
|
62
66
|
font-size: 1rem;
|
|
63
67
|
font-weight: 500;
|
|
@@ -82,7 +86,9 @@ const CompactStarRating = styled.div.attrs(applyDefaultTheme)(_t5 || (_t5 = _`
|
|
|
82
86
|
opacity: 0.5;
|
|
83
87
|
cursor: not-allowed;
|
|
84
88
|
`)));
|
|
85
|
-
const labelWidth = styled.div.
|
|
89
|
+
const labelWidth = styled.div.withConfig({
|
|
90
|
+
shouldForwardProp
|
|
91
|
+
}).attrs(applyDefaultTheme)(_t8 || (_t8 = _`
|
|
86
92
|
width: 33.33%;
|
|
87
93
|
display: flex;
|
|
88
94
|
align-items: center;
|
|
@@ -98,7 +104,9 @@ const labelWidth = styled.div.attrs(applyDefaultTheme)(_t8 || (_t8 = _`
|
|
|
98
104
|
`), props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700')), props => props.disabled && css(_t9 || (_t9 = _`
|
|
99
105
|
cursor: not-allowed;
|
|
100
106
|
`)));
|
|
101
|
-
const SuccessContainer = styled.div.
|
|
107
|
+
const SuccessContainer = styled.div.withConfig({
|
|
108
|
+
shouldForwardProp
|
|
109
|
+
}).attrs(applyDefaultTheme)(_t0 || (_t0 = _`
|
|
102
110
|
opacity: 1;
|
|
103
111
|
pointer-events: none;
|
|
104
112
|
display: flex;
|
|
@@ -111,7 +119,9 @@ const SuccessContainer = styled.div.attrs(applyDefaultTheme)(_t10 || (_t10 = _`
|
|
|
111
119
|
width: 13px;
|
|
112
120
|
}
|
|
113
121
|
`), props => props.fadeIn ? 0 : 1, props => props.fadeIn ? fadeOutCheck : fadeInCheck, props => props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-500')));
|
|
114
|
-
const starsWidth = styled.div.
|
|
122
|
+
const starsWidth = styled.div.withConfig({
|
|
123
|
+
shouldForwardProp
|
|
124
|
+
}).attrs(applyDefaultTheme)(_t1 || (_t1 = _`
|
|
115
125
|
display: flex;
|
|
116
126
|
width: 66.66%;
|
|
117
127
|
border-radius: 3px;
|
|
@@ -143,23 +153,20 @@ const starsWidth = styled.div.attrs(applyDefaultTheme)(_t11 || (_t11 = _`
|
|
|
143
153
|
|
|
144
154
|
${0};
|
|
145
155
|
}
|
|
146
|
-
|
|
147
|
-
${0}
|
|
148
|
-
`), props => props.readOnly && css(_t12 || (_t12 = _`
|
|
156
|
+
`), props => props.readOnly && css(_t10 || (_t10 = _`
|
|
149
157
|
border: none;
|
|
150
|
-
`)), props => props.theme.themeProp('border-color', props.theme.getColor('gray-900'), props.theme.getColor('white')), props => props.type === 'success' && css(
|
|
158
|
+
`)), props => props.theme.themeProp('border-color', props.theme.getColor('gray-900'), props.theme.getColor('white')), props => props.type === 'success' && css(_t11 || (_t11 = _`
|
|
151
159
|
animation: ${0} 0.5s ease-in-out;
|
|
152
|
-
`), props => props.success ? fadeIn : fadeOut), props => props.type === 'error' && css(
|
|
160
|
+
`), props => props.success ? fadeIn : fadeOut), props => props.type === 'error' && css(_t12 || (_t12 = _`
|
|
153
161
|
${0};
|
|
154
162
|
${0}
|
|
155
|
-
`), props.theme.themeProp('background', '#7F1B1B', '#FBEAE6'), props.theme.themeProp('border-color', '#7f1b1b', '#FBEAE6')), props => props.type === 'warning' && css(
|
|
163
|
+
`), props.theme.themeProp('background', '#7F1B1B', '#FBEAE6'), props.theme.themeProp('border-color', '#7f1b1b', '#FBEAE6')), props => props.type === 'warning' && css(_t13 || (_t13 = _`
|
|
156
164
|
${0};
|
|
157
165
|
${0}
|
|
158
|
-
`), props.theme.themeProp('background', '#634E01', '#FFFDE8'), props.theme.themeProp('border-color', '#2F2402 ', '#FFFDE8')), props => props
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
const Star = styled.button.attrs(applyDefaultTheme)(_t17 || (_t17 = _`
|
|
166
|
+
`), props.theme.themeProp('background', '#634E01', '#FFFDE8'), props.theme.themeProp('border-color', '#2F2402 ', '#FFFDE8')), props => props.$edit && props.theme.themeProp('background', 'rgba(39,39,42, 0.7)', 'rgba(244,244,245, 0.3)'), props => props.$edit && props.theme.themeProp('border-color', 'rgba(39,39,42, 0.7)', 'rgba(228,228,231, 0.3)'), props => props.$edit && props.theme.themeProp('background', props.theme.getColor('gray-700'), props.theme.getColor('gray-100')), props => props.$edit && props.theme.themeProp('border-color', props.theme.getColor('gray-700'), props.theme.getColor('gray-100')), props => props.type === 'warning' && !props.readOnly && props.theme.themeProp('background', '#806403', '#FFFEBF'), props => props.type === 'error' && !props.readOnly && props.theme.themeProp('background', '#901d1d', '#f7d5d0'));
|
|
167
|
+
const Star = styled.button.withConfig({
|
|
168
|
+
shouldForwardProp
|
|
169
|
+
}).attrs(applyDefaultTheme)(_t14 || (_t14 = _`
|
|
163
170
|
display: flex;
|
|
164
171
|
align-items: center;
|
|
165
172
|
background: none;
|
|
@@ -184,9 +191,9 @@ const Star = styled.button.attrs(applyDefaultTheme)(_t17 || (_t17 = _`
|
|
|
184
191
|
${0}
|
|
185
192
|
|
|
186
193
|
${0}
|
|
187
|
-
`), props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props.type === 'warning' && props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props.type === 'warning' && props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props
|
|
194
|
+
`), props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props.type === 'warning' && props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props.type === 'warning' && props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props.$hover && props.theme.themeProp('color', props.theme.getColor('orange-500'), props.theme.getColor('orange-500')), props => props.readOnly && css(_t15 || (_t15 = _`
|
|
188
195
|
pointer-events: none;
|
|
189
|
-
`)), props => props.disabled && css(
|
|
196
|
+
`)), props => props.disabled && css(_t16 || (_t16 = _`
|
|
190
197
|
button {
|
|
191
198
|
cursor: not-allowed;
|
|
192
199
|
}
|
|
@@ -194,7 +201,9 @@ const Star = styled.button.attrs(applyDefaultTheme)(_t17 || (_t17 = _`
|
|
|
194
201
|
cursor: not-allowed;
|
|
195
202
|
}
|
|
196
203
|
`)));
|
|
197
|
-
const StarFill = styled.button.
|
|
204
|
+
const StarFill = styled.button.withConfig({
|
|
205
|
+
shouldForwardProp
|
|
206
|
+
}).attrs(applyDefaultTheme)(_t17 || (_t17 = _`
|
|
198
207
|
display: flex;
|
|
199
208
|
align-items: center;
|
|
200
209
|
background: none;
|
|
@@ -219,9 +228,9 @@ const StarFill = styled.button.attrs(applyDefaultTheme)(_t20 || (_t20 = _`
|
|
|
219
228
|
${0}
|
|
220
229
|
|
|
221
230
|
${0}
|
|
222
|
-
`), props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props.type === 'error' && props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props.type === 'warning' && props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props
|
|
231
|
+
`), props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props.type === 'error' && props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props.type === 'warning' && props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('black')), props => props.$hover && props.theme.themeProp('color', props.theme.getColor('orange-500'), props.theme.getColor('orange-500')), props => props.readOnly && css(_t18 || (_t18 = _`
|
|
223
232
|
pointer-events: none;
|
|
224
|
-
`)), props => props.disabled && css(
|
|
233
|
+
`)), props => props.disabled && css(_t19 || (_t19 = _`
|
|
225
234
|
button {
|
|
226
235
|
cursor: not-allowed;
|
|
227
236
|
}
|
|
@@ -229,7 +238,9 @@ const StarFill = styled.button.attrs(applyDefaultTheme)(_t20 || (_t20 = _`
|
|
|
229
238
|
cursor: not-allowed;
|
|
230
239
|
}
|
|
231
240
|
`)));
|
|
232
|
-
styled.div.
|
|
241
|
+
styled.div.withConfig({
|
|
242
|
+
shouldForwardProp
|
|
243
|
+
}).attrs(applyDefaultTheme)(_t20 || (_t20 = _`
|
|
233
244
|
opacity: 1;
|
|
234
245
|
pointer-events: none;
|
|
235
246
|
margin-left: auto;
|
|
@@ -76,17 +76,17 @@ const CompactTextInput = React.forwardRef(function CompactTextInput(_ref, forwar
|
|
|
76
76
|
id: uniqueId,
|
|
77
77
|
key: uniqueId,
|
|
78
78
|
autoFocus: autoFocus,
|
|
79
|
-
|
|
79
|
+
inputtype: inputType,
|
|
80
80
|
name: name,
|
|
81
81
|
readOnly: readOnly,
|
|
82
82
|
disabled: disabled,
|
|
83
|
-
edit: edit,
|
|
83
|
+
$edit: edit,
|
|
84
84
|
placeholder: placeholder,
|
|
85
85
|
defaultValue: defaultValue,
|
|
86
86
|
value: value,
|
|
87
87
|
type: type,
|
|
88
|
-
bold: bold,
|
|
89
|
-
|
|
88
|
+
$bold: bold,
|
|
89
|
+
$haslink: !isEmpty(link),
|
|
90
90
|
onFocus: onFocus,
|
|
91
91
|
onChange: onChange,
|
|
92
92
|
onBlur: onBlur
|
|
@@ -98,7 +98,7 @@ const CompactTextInput = React.forwardRef(function CompactTextInput(_ref, forwar
|
|
|
98
98
|
disabled: disabled
|
|
99
99
|
}, label, React.createElement(SuccessContainer, null, type === 'loading' && loadingIcon, type === 'success' && successIcon)), React.createElement(InputContainer, {
|
|
100
100
|
$hasLabel: !isEmpty(label)
|
|
101
|
-
}, !memoizedDescriptionToolTip && !link && input(), memoizedDescriptionToolTip && !link && React.createElement("div", null, React.createElement(Tooltip, {
|
|
101
|
+
}, !memoizedDescriptionToolTip && !link && React.createElement("div", null, input()), memoizedDescriptionToolTip && !link && React.createElement("div", null, React.createElement(Tooltip, {
|
|
102
102
|
content: memoizedDescriptionToolTip,
|
|
103
103
|
key: "tooltip1",
|
|
104
104
|
placement: "bottom-end",
|