@trackunit/react-components 0.0.66 → 0.0.69
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/components/DateField/DateField.d.ts +1 -1
- package/index.js +170 -167
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Matcher } from "react-day-picker";
|
|
3
3
|
import { BaseInputProps } from "../BaseInput";
|
|
4
|
-
export interface DateFieldProps extends Pick<BaseInputProps, "placeholder" | "id" | "dataTestId" | "onChange"> {
|
|
4
|
+
export interface DateFieldProps extends Pick<BaseInputProps, "placeholder" | "id" | "dataTestId" | "onChange" | "readOnly"> {
|
|
5
5
|
/**
|
|
6
6
|
* A text label to be displayed next to the indicator
|
|
7
7
|
*/
|
package/index.js
CHANGED
|
@@ -123,10 +123,10 @@ const getSpinnerStyles = () => ({
|
|
|
123
123
|
}) => {
|
|
124
124
|
switch ($size) {
|
|
125
125
|
case "small":
|
|
126
|
-
return tws`spinner--small`;
|
|
126
|
+
return tws`tu-spinner--small`;
|
|
127
127
|
|
|
128
128
|
case "large":
|
|
129
|
-
return tws`spinner--large`;
|
|
129
|
+
return tws`tu-spinner--large`;
|
|
130
130
|
|
|
131
131
|
case "regular":
|
|
132
132
|
default:
|
|
@@ -135,13 +135,13 @@ const getSpinnerStyles = () => ({
|
|
|
135
135
|
};
|
|
136
136
|
|
|
137
137
|
const StyledSpinner$1 = tw.span`
|
|
138
|
-
spinner
|
|
139
|
-
${p => p.$mode === "dark" ? tws`spinner--dark` : null}
|
|
138
|
+
tu-spinner
|
|
139
|
+
${p => p.$mode === "dark" ? tws`tu-spinner--dark` : null}
|
|
140
140
|
${getSpinnerStyles()}
|
|
141
141
|
`;
|
|
142
142
|
const Container$8 = tw.div`
|
|
143
|
-
spinner--container
|
|
144
|
-
${p => p.$centered ? tws`spinner--container-centered` : null}
|
|
143
|
+
tu-spinner--container
|
|
144
|
+
${p => p.$centered ? tws`tu-spinner--container-centered` : null}
|
|
145
145
|
`;
|
|
146
146
|
|
|
147
147
|
/**
|
|
@@ -156,18 +156,18 @@ const getStyles = () => ({
|
|
|
156
156
|
}) => {
|
|
157
157
|
const styles = {
|
|
158
158
|
filled: {
|
|
159
|
-
primary: tws`button--primary`,
|
|
160
|
-
secondary: tws`button--secondary`,
|
|
161
|
-
danger: tws`button--danger`,
|
|
162
|
-
tertiary: tws`button--tertiary`,
|
|
163
|
-
warning: tws`button--warning`
|
|
159
|
+
primary: tws`tu-button--primary`,
|
|
160
|
+
secondary: tws`tu-button--secondary`,
|
|
161
|
+
danger: tws`tu-button--danger`,
|
|
162
|
+
tertiary: tws`tu-button--tertiary`,
|
|
163
|
+
warning: tws`tu-button--warning`
|
|
164
164
|
},
|
|
165
165
|
transparent: {
|
|
166
|
-
primary: tws`button--transparent button--transparent-primary`,
|
|
167
|
-
secondary: tws`button--transparent button--transparent-secondary`,
|
|
168
|
-
danger: tws`button--transparent button--transparent-danger`,
|
|
169
|
-
tertiary: tws`button--transparent button--transparent-tertiary`,
|
|
170
|
-
warning: tws`button--transparent button--transparent-warning`
|
|
166
|
+
primary: tws`tu-button--transparent tu-button--transparent-primary`,
|
|
167
|
+
secondary: tws`tu-button--transparent tu-button--transparent-secondary`,
|
|
168
|
+
danger: tws`tu-button--transparent tu-button--transparent-danger`,
|
|
169
|
+
tertiary: tws`tu-button--transparent tu-button--transparent-tertiary`,
|
|
170
|
+
warning: tws`tu-button--transparent tu-button--transparent-warning`
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
return styles[$variant][$intent];
|
|
@@ -183,10 +183,10 @@ const getPadding = () => ({
|
|
|
183
183
|
}) => {
|
|
184
184
|
switch ($size) {
|
|
185
185
|
case "small":
|
|
186
|
-
return tws`button--small`;
|
|
186
|
+
return tws`tu-button--small`;
|
|
187
187
|
|
|
188
188
|
case "large":
|
|
189
|
-
return tws`button--large`;
|
|
189
|
+
return tws`tu-button--large`;
|
|
190
190
|
|
|
191
191
|
default:
|
|
192
192
|
return "";
|
|
@@ -240,14 +240,14 @@ const Button = React.forwardRef((_a, ref) => {
|
|
|
240
240
|
}));
|
|
241
241
|
});
|
|
242
242
|
const StyledButton$1 = tw.button`
|
|
243
|
-
button
|
|
244
|
-
${p => p.$square ? tws`button--square` : null}
|
|
245
|
-
${p => p.$fullWidth ? tws`button--fullWidth` : null}
|
|
243
|
+
tu-button
|
|
244
|
+
${p => p.$square ? tws`tu-button--square` : null}
|
|
245
|
+
${p => p.$fullWidth ? tws`tu-button--fullWidth` : null}
|
|
246
246
|
${getStyles()}
|
|
247
247
|
${getPadding()}
|
|
248
248
|
`;
|
|
249
249
|
const StyledSpinner = tw(Spinner)`
|
|
250
|
-
button__spinner
|
|
250
|
+
tu-button__spinner
|
|
251
251
|
`;
|
|
252
252
|
|
|
253
253
|
const IconButton = React.forwardRef((_a, ref) => {
|
|
@@ -272,7 +272,7 @@ const IconButton = React.forwardRef((_a, ref) => {
|
|
|
272
272
|
}));
|
|
273
273
|
});
|
|
274
274
|
const StyledButton = tw(Button)`
|
|
275
|
-
${p => p.$circular ? tws`button--rounded` : null}
|
|
275
|
+
${p => p.$circular ? tws`tu-button--rounded` : null}
|
|
276
276
|
`;
|
|
277
277
|
|
|
278
278
|
/**
|
|
@@ -726,39 +726,39 @@ const Alert = ({
|
|
|
726
726
|
}));
|
|
727
727
|
};
|
|
728
728
|
const CloseButtonContainer = tw.div`
|
|
729
|
-
${p => p.$inline ? tws`alert__close-button-container--inline` : tws`alert__close-button-container`}
|
|
729
|
+
${p => p.$inline ? tws`tu-alert__close-button-container--inline` : tws`tu-alert__close-button-container`}
|
|
730
730
|
`;
|
|
731
731
|
|
|
732
732
|
const getBackgroundColor = () => ({
|
|
733
733
|
$intent
|
|
734
734
|
}) => {
|
|
735
735
|
const colors = {
|
|
736
|
-
danger: tws`alert--danger`,
|
|
737
|
-
warning: tws`alert--warning`,
|
|
738
|
-
success: tws`alert--success`,
|
|
739
|
-
info: tws`alert--info`
|
|
736
|
+
danger: tws`tu-alert--danger`,
|
|
737
|
+
warning: tws`tu-alert--warning`,
|
|
738
|
+
success: tws`tu-alert--success`,
|
|
739
|
+
info: tws`tu-alert--info`
|
|
740
740
|
};
|
|
741
741
|
return colors[$intent];
|
|
742
742
|
};
|
|
743
743
|
|
|
744
744
|
const Container$7 = tw.div`
|
|
745
|
-
alert
|
|
746
|
-
${p => p.$inline ? tws`alert--inline` : null}
|
|
745
|
+
tu-alert
|
|
746
|
+
${p => p.$inline ? tws`tu-alert--inline` : null}
|
|
747
747
|
${getBackgroundColor()}
|
|
748
748
|
`;
|
|
749
749
|
const Content$2 = tw.div`
|
|
750
|
-
${p => p.$inline ? tws`alert__content--inline` : tws`alert__content`}
|
|
750
|
+
${p => p.$inline ? tws`tu-alert__content--inline` : tws`tu-alert__content`}
|
|
751
751
|
`;
|
|
752
752
|
const Description$1 = tw(Text)`
|
|
753
|
-
${p => p.$hasTitle ? tws`alert__description` : null}
|
|
753
|
+
${p => p.$hasTitle ? tws`tu-alert__description` : null}
|
|
754
754
|
`;
|
|
755
755
|
const RightAligned = tw.div`
|
|
756
|
-
alert__right-aligned
|
|
757
|
-
${p => p.$inline ? tws`alert__right-aligned--inline` : null}
|
|
756
|
+
tu-alert__right-aligned
|
|
757
|
+
${p => p.$inline ? tws`tu-alert__right-aligned--inline` : null}
|
|
758
758
|
`;
|
|
759
759
|
const IconContainer$1 = tw.div`
|
|
760
|
-
alert__icon-container
|
|
761
|
-
${p => p.$inline ? tws`alert__icon-container--inline` : null}
|
|
760
|
+
tu-alert__icon-container
|
|
761
|
+
${p => p.$inline ? tws`tu-alert__icon-container--inline` : null}
|
|
762
762
|
`;
|
|
763
763
|
|
|
764
764
|
/**
|
|
@@ -803,7 +803,7 @@ const getSizeModifierClass$1 = () => ({
|
|
|
803
803
|
$variant
|
|
804
804
|
}) => {
|
|
805
805
|
const sizeModifierClass = {
|
|
806
|
-
large: tws`badge--large`,
|
|
806
|
+
large: tws`tu-badge--large`,
|
|
807
807
|
default: ""
|
|
808
808
|
};
|
|
809
809
|
return sizeModifierClass[$size];
|
|
@@ -814,20 +814,20 @@ const getBadgeModifierClass = () => ({
|
|
|
814
814
|
$subtle
|
|
815
815
|
}) => {
|
|
816
816
|
const colorClasses = {
|
|
817
|
-
primary: $subtle ? tws`badge--primary-subtle` : tws`badge--primary`,
|
|
818
|
-
accent: $subtle ? tws`badge--accent-subtle` : tws`badge--accent`,
|
|
819
|
-
success: $subtle ? tws`badge--success-subtle` : tws`badge--success`,
|
|
820
|
-
danger: $subtle ? tws`badge--danger-subtle` : tws`badge--danger`,
|
|
821
|
-
warning: $subtle ? tws`badge--warning-subtle` : tws`badge--warning`,
|
|
822
|
-
info: $subtle ? tws`badge--info-subtle` : tws`badge--info`,
|
|
823
|
-
neutral: $subtle ? tws`badge--neutral-subtle` : tws`badge--neutral`,
|
|
824
|
-
good: $subtle ? tws`badge--good-subtle` : tws`badge--good`,
|
|
825
|
-
low: $subtle ? tws`badge--low-subtle` : tws`badge--low`,
|
|
826
|
-
critical: $subtle ? tws`badge--critical-subtle` : tws`badge--critical`,
|
|
827
|
-
working: $subtle ? tws`badge--working-subtle` : tws`badge--working`,
|
|
828
|
-
idle: $subtle ? tws`badge--idle-subtle` : tws`badge--idle`,
|
|
829
|
-
stopped: $subtle ? tws`badge--stopped-subtle` : tws`badge--stopped`,
|
|
830
|
-
unknown: $subtle ? tws`badge--unknown-subtle` : tws`badge--unknown`
|
|
817
|
+
primary: $subtle ? tws`tu-badge--primary-subtle` : tws`tu-badge--primary`,
|
|
818
|
+
accent: $subtle ? tws`tu-badge--accent-subtle` : tws`tu-badge--accent`,
|
|
819
|
+
success: $subtle ? tws`tu-badge--success-subtle` : tws`tu-badge--success`,
|
|
820
|
+
danger: $subtle ? tws`tu-badge--danger-subtle` : tws`tu-badge--danger`,
|
|
821
|
+
warning: $subtle ? tws`tu-badge--warning-subtle` : tws`tu-badge--warning`,
|
|
822
|
+
info: $subtle ? tws`tu-badge--info-subtle` : tws`tu-badge--info`,
|
|
823
|
+
neutral: $subtle ? tws`tu-badge--neutral-subtle` : tws`badge--neutral`,
|
|
824
|
+
good: $subtle ? tws`tu-badge--good-subtle` : tws`tu-badge--good`,
|
|
825
|
+
low: $subtle ? tws`tu-badge--low-subtle` : tws`tu-badge--low`,
|
|
826
|
+
critical: $subtle ? tws`tu-badge--critical-subtle` : tws`tu-badge--critical`,
|
|
827
|
+
working: $subtle ? tws`tu-badge--working-subtle` : tws`tu-badge--working`,
|
|
828
|
+
idle: $subtle ? tws`tu-badge--idle-subtle` : tws`tu-badge--idle`,
|
|
829
|
+
stopped: $subtle ? tws`tu-badge--stopped-subtle` : tws`tu-badge--stopped`,
|
|
830
|
+
unknown: $subtle ? tws`tu-badge--unknown-subtle` : tws`tu-badge--unknown`
|
|
831
831
|
};
|
|
832
832
|
return colorClasses[$color];
|
|
833
833
|
};
|
|
@@ -836,13 +836,13 @@ const StyledText$3 = tw.text`
|
|
|
836
836
|
${p => {
|
|
837
837
|
switch (p.$variant) {
|
|
838
838
|
case "badge":
|
|
839
|
-
return tws`badge`;
|
|
839
|
+
return tws`tu-badge`;
|
|
840
840
|
|
|
841
841
|
case "pill":
|
|
842
|
-
return tws`badge--pill`;
|
|
842
|
+
return tws`tu-badge--pill`;
|
|
843
843
|
|
|
844
844
|
default:
|
|
845
|
-
return tws`badge`;
|
|
845
|
+
return tws`tu-badge`;
|
|
846
846
|
}
|
|
847
847
|
}}
|
|
848
848
|
${getBadgeModifierClass()}
|
|
@@ -875,7 +875,7 @@ const BaseInput = React.forwardRef((_a, ref) => {
|
|
|
875
875
|
return jsxs(InputContainer, Object.assign({
|
|
876
876
|
"$fieldSize": fieldSize,
|
|
877
877
|
"$invalid": isInvalid,
|
|
878
|
-
"$disabled": rest.disabled,
|
|
878
|
+
"$disabled": rest.disabled || rest.readOnly,
|
|
879
879
|
className: className,
|
|
880
880
|
"data-testid": `${dataTestId}-container`
|
|
881
881
|
}, {
|
|
@@ -890,7 +890,7 @@ const BaseInput = React.forwardRef((_a, ref) => {
|
|
|
890
890
|
})) : null, jsx("input", Object.assign({
|
|
891
891
|
ref: ref,
|
|
892
892
|
"data-testid": dataTestId,
|
|
893
|
-
className: tws`input__field`
|
|
893
|
+
className: tws`tu-input__field`
|
|
894
894
|
}, rest)), suffix !== null && addonBefore !== suffix ? jsx(InputSuffix, Object.assign({
|
|
895
895
|
"data-testid": `${dataTestId}-suffix`
|
|
896
896
|
}, {
|
|
@@ -903,28 +903,28 @@ const BaseInput = React.forwardRef((_a, ref) => {
|
|
|
903
903
|
}));
|
|
904
904
|
});
|
|
905
905
|
const InputPrefix = tw.div`
|
|
906
|
-
input__prefix
|
|
906
|
+
tu-input__prefix
|
|
907
907
|
`;
|
|
908
908
|
const InputSuffix = tw.div`
|
|
909
|
-
input__suffix
|
|
909
|
+
tu-input__suffix
|
|
910
910
|
`;
|
|
911
911
|
const AddonBefore = tw.div`
|
|
912
|
-
input__addon-before
|
|
912
|
+
tu-input__addon-before
|
|
913
913
|
`;
|
|
914
914
|
const AddonAfter = tw.div`
|
|
915
|
-
input__addon-after
|
|
915
|
+
tu-input__addon-after
|
|
916
916
|
`;
|
|
917
917
|
const InputContainer = tw.div`
|
|
918
|
-
input
|
|
918
|
+
tu-input
|
|
919
919
|
${({
|
|
920
920
|
$invalid
|
|
921
|
-
}) => $invalid ? tws`input--invalid` : null}
|
|
921
|
+
}) => $invalid ? tws`tu-input--invalid` : null}
|
|
922
922
|
${({
|
|
923
923
|
$disabled
|
|
924
|
-
}) => $disabled ? tws`input--disabled` : null}
|
|
924
|
+
}) => $disabled ? tws`tu-input--disabled` : null}
|
|
925
925
|
${({
|
|
926
926
|
$fieldSize
|
|
927
|
-
}) => $fieldSize === "small" ? tws`input--small` : null}
|
|
927
|
+
}) => $fieldSize === "small" ? tws`tu-input--small` : null}
|
|
928
928
|
`;
|
|
929
929
|
|
|
930
930
|
const ROLE_CARD = "region";
|
|
@@ -981,10 +981,10 @@ const getOverflow$1 = () => ({
|
|
|
981
981
|
};
|
|
982
982
|
|
|
983
983
|
const StyledCard$1 = tw.div`
|
|
984
|
-
card
|
|
984
|
+
tu-card
|
|
985
985
|
${p => p.$fullHeight ? `h-full` : null}
|
|
986
986
|
|
|
987
|
-
${p => p.onClick && `card--clickable`}
|
|
987
|
+
${p => p.onClick && `tu-card--clickable`}
|
|
988
988
|
${getOverflow$1()}
|
|
989
989
|
`;
|
|
990
990
|
|
|
@@ -1113,7 +1113,7 @@ const getOverflow = () => ({
|
|
|
1113
1113
|
|
|
1114
1114
|
const StyledDensityContainer = tw(DensityContainer)`
|
|
1115
1115
|
${getOverflow()}
|
|
1116
|
-
card__body
|
|
1116
|
+
tu-card__body
|
|
1117
1117
|
`;
|
|
1118
1118
|
|
|
1119
1119
|
/**
|
|
@@ -1189,10 +1189,10 @@ const getVariantStyles = () => ({
|
|
|
1189
1189
|
$variant
|
|
1190
1190
|
}) => {
|
|
1191
1191
|
const variants = {
|
|
1192
|
-
primary: tws`heading--primary`,
|
|
1193
|
-
secondary: tws`heading--secondary`,
|
|
1194
|
-
tertiary: tws`heading--tertiary`,
|
|
1195
|
-
subtitle: tws`heading--subtitle`
|
|
1192
|
+
primary: tws`tu-heading--primary`,
|
|
1193
|
+
secondary: tws`tu-heading--secondary`,
|
|
1194
|
+
tertiary: tws`tu-heading--tertiary`,
|
|
1195
|
+
subtitle: tws`tu-heading--subtitle`
|
|
1196
1196
|
};
|
|
1197
1197
|
return variants[$variant];
|
|
1198
1198
|
};
|
|
@@ -1201,13 +1201,13 @@ const getFontColor = () => ({
|
|
|
1201
1201
|
$inverted,
|
|
1202
1202
|
$subtle
|
|
1203
1203
|
}) => {
|
|
1204
|
-
const subtle = $inverted ? tws`heading--subtle-inverted` : tws`heading--subtle`;
|
|
1205
|
-
const inverted = $inverted ? tws`heading--inverted` : null;
|
|
1204
|
+
const subtle = $inverted ? tws`tu-heading--subtle-inverted` : tws`tu-heading--subtle`;
|
|
1205
|
+
const inverted = $inverted ? tws`tu-heading--inverted` : null;
|
|
1206
1206
|
return $subtle ? subtle : inverted;
|
|
1207
1207
|
};
|
|
1208
1208
|
|
|
1209
1209
|
const StyledHeading = tw.div`
|
|
1210
|
-
heading
|
|
1210
|
+
tu-heading
|
|
1211
1211
|
${getFontColor()}
|
|
1212
1212
|
${getVariantStyles()}
|
|
1213
1213
|
`;
|
|
@@ -1373,10 +1373,10 @@ const Chart = ({
|
|
|
1373
1373
|
}));
|
|
1374
1374
|
};
|
|
1375
1375
|
const SpinnerContainer = tw.div`
|
|
1376
|
-
chart-spinner-container
|
|
1376
|
+
tu-chart-spinner-container
|
|
1377
1377
|
`;
|
|
1378
1378
|
const ChartContainer = tw.div`
|
|
1379
|
-
chart-container
|
|
1379
|
+
tu-chart-container
|
|
1380
1380
|
`;
|
|
1381
1381
|
|
|
1382
1382
|
/**
|
|
@@ -1466,6 +1466,7 @@ const Checkbox = React.forwardRef((_a, ref) => {
|
|
|
1466
1466
|
|
|
1467
1467
|
const icon = indeterminate ? jsx(StyledIndeterminateIcon, {}) : checked && jsx(StyledCheckIcon, {});
|
|
1468
1468
|
const internalRef = React.useRef(null);
|
|
1469
|
+
const isReadonly = disabled || readOnly;
|
|
1469
1470
|
|
|
1470
1471
|
const onKeyPress = e => {
|
|
1471
1472
|
var _a;
|
|
@@ -1494,20 +1495,20 @@ const Checkbox = React.forwardRef((_a, ref) => {
|
|
|
1494
1495
|
}, rest, {
|
|
1495
1496
|
ref: ref
|
|
1496
1497
|
})), jsx(CheckboxWrapper, Object.assign({
|
|
1497
|
-
"$disabled":
|
|
1498
|
+
"$disabled": isReadonly,
|
|
1498
1499
|
"$checked": checked,
|
|
1499
1500
|
"$indeterminate": indeterminate,
|
|
1500
|
-
"$isInvalid":
|
|
1501
|
+
"$isInvalid": isReadonly ? false : isInvalid,
|
|
1501
1502
|
className: className,
|
|
1502
|
-
tabIndex:
|
|
1503
|
+
tabIndex: isReadonly ? -1 : tabIndex,
|
|
1503
1504
|
onKeyPress: onKeyPress
|
|
1504
1505
|
}, {
|
|
1505
1506
|
children: icon
|
|
1506
1507
|
})), label && jsx(Label$4, Object.assign({
|
|
1507
1508
|
ref: internalRef,
|
|
1508
1509
|
htmlFor: uuid,
|
|
1509
|
-
"$disabled":
|
|
1510
|
-
"$isInvalid":
|
|
1510
|
+
"$disabled": isReadonly,
|
|
1511
|
+
"$isInvalid": isReadonly ? false : isInvalid,
|
|
1511
1512
|
"data-testid": dataTestId ? `${dataTestId}Label` : ""
|
|
1512
1513
|
}, {
|
|
1513
1514
|
children: label
|
|
@@ -1515,13 +1516,13 @@ const Checkbox = React.forwardRef((_a, ref) => {
|
|
|
1515
1516
|
}));
|
|
1516
1517
|
});
|
|
1517
1518
|
const StyledCheckIcon = tw(CheckIcon)`
|
|
1518
|
-
checkbox--icon
|
|
1519
|
+
tu-checkbox--icon
|
|
1519
1520
|
`;
|
|
1520
1521
|
const StyledIndeterminateIcon = tw(IndeterminateIcon)`
|
|
1521
|
-
checkbox--icon
|
|
1522
|
+
tu-checkbox--icon
|
|
1522
1523
|
`;
|
|
1523
1524
|
const CheckboxWrapper = tw.span`
|
|
1524
|
-
checkbox
|
|
1525
|
+
tu-checkbox
|
|
1525
1526
|
transition
|
|
1526
1527
|
${({
|
|
1527
1528
|
$checked,
|
|
@@ -1529,36 +1530,36 @@ const CheckboxWrapper = tw.span`
|
|
|
1529
1530
|
$indeterminate
|
|
1530
1531
|
}) => {
|
|
1531
1532
|
if ($disabled) {
|
|
1532
|
-
return tws`checkbox--disabled`;
|
|
1533
|
+
return tws`tu-checkbox--disabled`;
|
|
1533
1534
|
}
|
|
1534
1535
|
|
|
1535
|
-
return $indeterminate ? tws`checkbox--indeterminate` : $checked ? tws`checkbox--selected` : tws`checkbox--deselected`;
|
|
1536
|
+
return $indeterminate ? tws`tu-checkbox--indeterminate` : $checked ? tws`tu-checkbox--selected` : tws`tu-checkbox--deselected`;
|
|
1536
1537
|
}}
|
|
1537
1538
|
|
|
1538
1539
|
${({
|
|
1539
1540
|
$isInvalid
|
|
1540
1541
|
}) => {
|
|
1541
1542
|
if ($isInvalid) {
|
|
1542
|
-
return tws`checkbox--invalid`;
|
|
1543
|
+
return tws`tu-checkbox--invalid`;
|
|
1543
1544
|
}
|
|
1544
1545
|
|
|
1545
1546
|
return tws``;
|
|
1546
1547
|
}}
|
|
1547
1548
|
`;
|
|
1548
1549
|
const HiddenInput$1 = tw.input`
|
|
1549
|
-
checkbox--input
|
|
1550
|
+
tu-checkbox--input
|
|
1550
1551
|
`;
|
|
1551
1552
|
const CheckboxContainer = tw.label`
|
|
1552
|
-
checkbox--container group
|
|
1553
|
+
tu-checkbox--container group
|
|
1553
1554
|
`;
|
|
1554
1555
|
const Label$4 = tw.label`
|
|
1555
|
-
checkbox__label
|
|
1556
|
+
tu-checkbox__label
|
|
1556
1557
|
${({
|
|
1557
1558
|
$disabled
|
|
1558
|
-
}) => $disabled ? tws`checkbox-item--disabled` : null}
|
|
1559
|
+
}) => $disabled ? tws`tu-checkbox-item--disabled` : null}
|
|
1559
1560
|
${({
|
|
1560
1561
|
$isInvalid
|
|
1561
|
-
}) => $isInvalid ? tws`checkbox--invalid` : null}
|
|
1562
|
+
}) => $isInvalid ? tws`tu-checkbox--invalid` : null}
|
|
1562
1563
|
`;
|
|
1563
1564
|
|
|
1564
1565
|
/**
|
|
@@ -1620,17 +1621,17 @@ const Collapse = ({
|
|
|
1620
1621
|
}));
|
|
1621
1622
|
};
|
|
1622
1623
|
const Rotate = tw(Icon$1)`
|
|
1623
|
-
${p => p.$expanded ? tws`icon--animated-rotate-expanded` : null}
|
|
1624
|
-
icon--animated-rotate
|
|
1624
|
+
${p => p.$expanded ? tws`tu-icon--animated-rotate-expanded` : null}
|
|
1625
|
+
tu-icon--animated-rotate
|
|
1625
1626
|
`;
|
|
1626
1627
|
const StyledCollapse = tw.div`
|
|
1627
|
-
collapse
|
|
1628
|
+
tu-collapse
|
|
1628
1629
|
`;
|
|
1629
1630
|
const CollapseLabel = tw.div`
|
|
1630
|
-
collapse__label
|
|
1631
|
+
tu-collapse__label
|
|
1631
1632
|
`;
|
|
1632
1633
|
const LabelContainer = tw.div`
|
|
1633
|
-
collapse__label__container
|
|
1634
|
+
tu-collapse__label__container
|
|
1634
1635
|
`;
|
|
1635
1636
|
|
|
1636
1637
|
const Collapsible = ({
|
|
@@ -1670,10 +1671,10 @@ const Collapsible = ({
|
|
|
1670
1671
|
};
|
|
1671
1672
|
|
|
1672
1673
|
const AnimatedCollapsible = tw(animated.div)`
|
|
1673
|
-
collapsible--animated
|
|
1674
|
+
tu-collapsible--animated
|
|
1674
1675
|
`;
|
|
1675
1676
|
const StyledCollapsible = tw.div`
|
|
1676
|
-
collapsible
|
|
1677
|
+
tu-collapsible
|
|
1677
1678
|
`;
|
|
1678
1679
|
|
|
1679
1680
|
/**
|
|
@@ -1988,6 +1989,7 @@ const DateField = forwardRef(({
|
|
|
1988
1989
|
defaultValue,
|
|
1989
1990
|
onChange,
|
|
1990
1991
|
disabled = false,
|
|
1992
|
+
readOnly = false,
|
|
1991
1993
|
id,
|
|
1992
1994
|
dataTestId,
|
|
1993
1995
|
placeholder,
|
|
@@ -2019,6 +2021,7 @@ const DateField = forwardRef(({
|
|
|
2019
2021
|
value: (selectedDay === null || selectedDay === void 0 ? void 0 : selectedDay.toLocaleDateString()) || "",
|
|
2020
2022
|
onChange: () => {},
|
|
2021
2023
|
disabled: disabled,
|
|
2024
|
+
readOnly: readOnly,
|
|
2022
2025
|
dataTestId: dataTestId,
|
|
2023
2026
|
id: id,
|
|
2024
2027
|
ref: ref,
|
|
@@ -2341,11 +2344,11 @@ const Flex$1 = tw.div`
|
|
|
2341
2344
|
inline-flex
|
|
2342
2345
|
`;
|
|
2343
2346
|
const Container$4 = tw(AnimatedPopover)`
|
|
2344
|
-
tooltip__container
|
|
2347
|
+
tu-tooltip__container
|
|
2345
2348
|
`;
|
|
2346
2349
|
const Content$1 = tw.div`
|
|
2347
|
-
tooltip__content
|
|
2348
|
-
${p => p.$mode === "light" ? tws`tooltip--light` : null}
|
|
2350
|
+
tu-tooltip__content
|
|
2351
|
+
${p => p.$mode === "light" ? tws`tu-tooltip--light` : null}
|
|
2349
2352
|
`;
|
|
2350
2353
|
|
|
2351
2354
|
/**
|
|
@@ -2384,7 +2387,7 @@ const Tip = _a => {
|
|
|
2384
2387
|
}));
|
|
2385
2388
|
};
|
|
2386
2389
|
const TipContainer = tw.span`
|
|
2387
|
-
tip
|
|
2390
|
+
tu-tip
|
|
2388
2391
|
`;
|
|
2389
2392
|
|
|
2390
2393
|
/**
|
|
@@ -2435,7 +2438,7 @@ const FormGroup = ({
|
|
|
2435
2438
|
}));
|
|
2436
2439
|
};
|
|
2437
2440
|
const FormGroupRoot = tw.label`
|
|
2438
|
-
formgroup
|
|
2441
|
+
tu-formgroup
|
|
2439
2442
|
`; // TODO: Update and use Label component instead
|
|
2440
2443
|
|
|
2441
2444
|
const StyledTitle = tw.span`
|
|
@@ -2446,16 +2449,16 @@ const StyledTitle = tw.span`
|
|
|
2446
2449
|
mb-1
|
|
2447
2450
|
`;
|
|
2448
2451
|
const ContainerBefore = tw.div`
|
|
2449
|
-
formGroup-container-before
|
|
2452
|
+
tu-formGroup-container-before
|
|
2450
2453
|
`;
|
|
2451
2454
|
const ContainerAfter = tw.div`
|
|
2452
|
-
formGroup-container-after
|
|
2455
|
+
tu-formGroup-container-after
|
|
2453
2456
|
${({
|
|
2454
2457
|
$isInvalid
|
|
2455
|
-
}) => $isInvalid ? tws`formGroup-container-after--invalid` : null}
|
|
2458
|
+
}) => $isInvalid ? tws`tu-formGroup-container-after--invalid` : null}
|
|
2456
2459
|
`;
|
|
2457
2460
|
const HelpAddon = tw.span`
|
|
2458
|
-
formGroup-helpAddon
|
|
2461
|
+
tu-formGroup-helpAddon
|
|
2459
2462
|
`;
|
|
2460
2463
|
|
|
2461
2464
|
/**
|
|
@@ -2498,52 +2501,52 @@ const Indicator$1 = _a => {
|
|
|
2498
2501
|
}));
|
|
2499
2502
|
};
|
|
2500
2503
|
const Container$3 = tw.div`
|
|
2501
|
-
indicator
|
|
2504
|
+
tu-indicator
|
|
2502
2505
|
${({
|
|
2503
2506
|
$color
|
|
2504
2507
|
}) => {
|
|
2505
2508
|
switch ($color) {
|
|
2506
2509
|
case colors.PRIMARY:
|
|
2507
|
-
return tws`indicator--primary`;
|
|
2510
|
+
return tws`tu-indicator--primary`;
|
|
2508
2511
|
|
|
2509
2512
|
case colors.ACCENT:
|
|
2510
|
-
return tws`indicator--accent`;
|
|
2513
|
+
return tws`tu-indicator--accent`;
|
|
2511
2514
|
|
|
2512
2515
|
case colors.NEUTRAL:
|
|
2513
|
-
return tws`indicator--neutral`;
|
|
2516
|
+
return tws`tu-indicator--neutral`;
|
|
2514
2517
|
|
|
2515
2518
|
case colors.INFO:
|
|
2516
|
-
return tws`indicator--info`;
|
|
2519
|
+
return tws`tu-indicator--info`;
|
|
2517
2520
|
|
|
2518
2521
|
case colors.SUCCESS:
|
|
2519
|
-
return tws`indicator--success`;
|
|
2522
|
+
return tws`tu-indicator--success`;
|
|
2520
2523
|
|
|
2521
2524
|
case colors.WARNING:
|
|
2522
|
-
return tws`indicator--warning`;
|
|
2525
|
+
return tws`tu-indicator--warning`;
|
|
2523
2526
|
|
|
2524
2527
|
case colors.DANGER:
|
|
2525
|
-
return tws`indicator--danger`;
|
|
2528
|
+
return tws`tu-indicator--danger`;
|
|
2526
2529
|
|
|
2527
2530
|
case colors.GOOD:
|
|
2528
|
-
return tws`indicator--good`;
|
|
2531
|
+
return tws`tu-indicator--good`;
|
|
2529
2532
|
|
|
2530
2533
|
case colors.LOW:
|
|
2531
|
-
return tws`indicator--low`;
|
|
2534
|
+
return tws`tu-indicator--low`;
|
|
2532
2535
|
|
|
2533
2536
|
case colors.CRITICAL:
|
|
2534
|
-
return tws`indicator--critical`;
|
|
2537
|
+
return tws`tu-indicator--critical`;
|
|
2535
2538
|
|
|
2536
2539
|
case colors.WORKING:
|
|
2537
|
-
return tws`indicator--working`;
|
|
2540
|
+
return tws`tu-indicator--working`;
|
|
2538
2541
|
|
|
2539
2542
|
case colors.IDLE:
|
|
2540
|
-
return tws`indicator--idle`;
|
|
2543
|
+
return tws`tu-indicator--idle`;
|
|
2541
2544
|
|
|
2542
2545
|
case colors.STOPPED:
|
|
2543
|
-
return tws`indicator--stopped`;
|
|
2546
|
+
return tws`tu-indicator--stopped`;
|
|
2544
2547
|
|
|
2545
2548
|
case colors.UNKNOWN:
|
|
2546
|
-
return tws`indicator--unknown`;
|
|
2549
|
+
return tws`tu-indicator--unknown`;
|
|
2547
2550
|
|
|
2548
2551
|
default:
|
|
2549
2552
|
return "";
|
|
@@ -2551,16 +2554,16 @@ const Container$3 = tw.div`
|
|
|
2551
2554
|
}}
|
|
2552
2555
|
`;
|
|
2553
2556
|
const IconBackground = tw.div`
|
|
2554
|
-
indicator__icon-background
|
|
2557
|
+
tu-indicator__icon-background
|
|
2555
2558
|
|
|
2556
2559
|
${({
|
|
2557
2560
|
$withBackground
|
|
2558
2561
|
}) => {
|
|
2559
|
-
return $withBackground ? "" : "indicator__icon-background--none";
|
|
2562
|
+
return $withBackground ? "" : "tu-indicator__icon-background--none";
|
|
2560
2563
|
}}
|
|
2561
2564
|
`;
|
|
2562
2565
|
const Label$3 = tw.div`
|
|
2563
|
-
indicator__label
|
|
2566
|
+
tu-indicator__label
|
|
2564
2567
|
`;
|
|
2565
2568
|
|
|
2566
2569
|
/**
|
|
@@ -2602,7 +2605,7 @@ const Label$2 = ({
|
|
|
2602
2605
|
});
|
|
2603
2606
|
};
|
|
2604
2607
|
const Description = tw(Text)`
|
|
2605
|
-
label
|
|
2608
|
+
tu-label
|
|
2606
2609
|
`;
|
|
2607
2610
|
|
|
2608
2611
|
/**
|
|
@@ -2725,16 +2728,16 @@ const MenuItem = ({
|
|
|
2725
2728
|
}));
|
|
2726
2729
|
};
|
|
2727
2730
|
const Container$2 = tw.div`
|
|
2728
|
-
group menuItem
|
|
2731
|
+
group tu-menuItem
|
|
2729
2732
|
`;
|
|
2730
2733
|
const Content = tw.div`
|
|
2731
|
-
menuItem__content
|
|
2734
|
+
tu-menuItem__content
|
|
2732
2735
|
`;
|
|
2733
2736
|
const Icon = tw.div`
|
|
2734
|
-
menuItem__icon
|
|
2737
|
+
tu-menuItem__icon
|
|
2735
2738
|
`;
|
|
2736
2739
|
const Label = tw.div`
|
|
2737
|
-
menuItem__label
|
|
2740
|
+
tu-menuItem__label
|
|
2738
2741
|
`;
|
|
2739
2742
|
|
|
2740
2743
|
/**
|
|
@@ -2772,13 +2775,13 @@ const MenuList = _a => {
|
|
|
2772
2775
|
});
|
|
2773
2776
|
};
|
|
2774
2777
|
const Wrapper = tw.div`
|
|
2775
|
-
menuList__wrapper
|
|
2778
|
+
tu-menuList__wrapper
|
|
2776
2779
|
`;
|
|
2777
2780
|
const Container$1 = tw.div`
|
|
2778
|
-
menuList
|
|
2781
|
+
tu-menuList
|
|
2779
2782
|
`;
|
|
2780
2783
|
const Divider = tw.div`
|
|
2781
|
-
menuList__divider
|
|
2784
|
+
tu-menuList__divider
|
|
2782
2785
|
`;
|
|
2783
2786
|
|
|
2784
2787
|
/**
|
|
@@ -2830,7 +2833,7 @@ const ModalBackdrop = ({
|
|
|
2830
2833
|
});
|
|
2831
2834
|
};
|
|
2832
2835
|
const Backdrop = tw(animated.div)`
|
|
2833
|
-
modal--backdrop
|
|
2836
|
+
tu-modal--backdrop
|
|
2834
2837
|
`;
|
|
2835
2838
|
|
|
2836
2839
|
/** Preferred usage is with useModal(), so the modal is placed at highest level. */
|
|
@@ -2888,21 +2891,21 @@ const getCardMaxWidth = () => ({
|
|
|
2888
2891
|
}) => {
|
|
2889
2892
|
maxWidth = maxWidth ? maxWidth : "full";
|
|
2890
2893
|
const widths = {
|
|
2891
|
-
slim: tws`modal-card--slim`,
|
|
2892
|
-
narrow: tws`modal-card--narrow`,
|
|
2893
|
-
wide: tws`modal-card--wide`,
|
|
2894
|
-
normal: tws`modal-card--normal`,
|
|
2894
|
+
slim: tws`tu-modal-card--slim`,
|
|
2895
|
+
narrow: tws`tu-modal-card--narrow`,
|
|
2896
|
+
wide: tws`tu-modal-card--wide`,
|
|
2897
|
+
normal: tws`tu-modal-card--normal`,
|
|
2895
2898
|
full: ""
|
|
2896
2899
|
};
|
|
2897
2900
|
return widths[maxWidth];
|
|
2898
2901
|
};
|
|
2899
2902
|
|
|
2900
2903
|
const StyledCard = tw(Card)`
|
|
2901
|
-
modal__card
|
|
2904
|
+
tu-modal__card
|
|
2902
2905
|
${getCardMaxWidth()}
|
|
2903
2906
|
`;
|
|
2904
2907
|
const StyledDiv = tw.div`
|
|
2905
|
-
modal__container
|
|
2908
|
+
tu-modal__container
|
|
2906
2909
|
`;
|
|
2907
2910
|
const AnimatedDiv = animated(StyledDiv);
|
|
2908
2911
|
|
|
@@ -3004,7 +3007,7 @@ const FilterListMapLayout = ({
|
|
|
3004
3007
|
children: children
|
|
3005
3008
|
});
|
|
3006
3009
|
const Layout$4 = tw.span`
|
|
3007
|
-
layout-FilterListMap
|
|
3010
|
+
tu-layout-FilterListMap
|
|
3008
3011
|
`;
|
|
3009
3012
|
|
|
3010
3013
|
/**
|
|
@@ -3031,17 +3034,17 @@ const FullWidthRepeatingLayout = ({
|
|
|
3031
3034
|
children: children
|
|
3032
3035
|
}));
|
|
3033
3036
|
const Layout$3 = tw.span`
|
|
3034
|
-
layout-FullWidthRepeatingLayout
|
|
3037
|
+
tu-layout-FullWidthRepeatingLayout
|
|
3035
3038
|
|
|
3036
3039
|
${({
|
|
3037
3040
|
$rowSizing
|
|
3038
3041
|
}) => {
|
|
3039
3042
|
switch ($rowSizing) {
|
|
3040
3043
|
case "MinContent":
|
|
3041
|
-
return tws` layout-FullWidthRepeatingLayout--MinContent`;
|
|
3044
|
+
return tws` tu-layout-FullWidthRepeatingLayout--MinContent`;
|
|
3042
3045
|
|
|
3043
3046
|
case "Equal":
|
|
3044
|
-
return tws` layout-FullWidthRepeatingLayout--Equal`;
|
|
3047
|
+
return tws` tu-layout-FullWidthRepeatingLayout--Equal`;
|
|
3045
3048
|
|
|
3046
3049
|
case "Unmanaged":
|
|
3047
3050
|
default:
|
|
@@ -3097,17 +3100,17 @@ const IntrinsicallyResponsiveGrid = ({
|
|
|
3097
3100
|
children: children
|
|
3098
3101
|
}));
|
|
3099
3102
|
const Layout$2 = tw.span`
|
|
3100
|
-
layout-IntrinsicallyResponsiveGrid
|
|
3103
|
+
tu-layout-IntrinsicallyResponsiveGrid
|
|
3101
3104
|
${({
|
|
3102
3105
|
$occupation
|
|
3103
3106
|
}) => {
|
|
3104
3107
|
switch ($occupation) {
|
|
3105
3108
|
case "auto-fit":
|
|
3106
|
-
return tws`layout-IntrinsicallyResponsiveGrid--fit`;
|
|
3109
|
+
return tws`tu-layout-IntrinsicallyResponsiveGrid--fit`;
|
|
3107
3110
|
|
|
3108
3111
|
case "auto-fill":
|
|
3109
3112
|
default:
|
|
3110
|
-
return tws`layout-IntrinsicallyResponsiveGrid--fill`;
|
|
3113
|
+
return tws`tu-layout-IntrinsicallyResponsiveGrid--fill`;
|
|
3111
3114
|
}
|
|
3112
3115
|
}}
|
|
3113
3116
|
|
|
@@ -3116,17 +3119,17 @@ const Layout$2 = tw.span`
|
|
|
3116
3119
|
}) => {
|
|
3117
3120
|
switch ($minColumnWidth) {
|
|
3118
3121
|
case "slim":
|
|
3119
|
-
return tws`layout-IntrinsicallyResponsiveGrid--slim`;
|
|
3122
|
+
return tws`tu-layout-IntrinsicallyResponsiveGrid--slim`;
|
|
3120
3123
|
|
|
3121
3124
|
case "narrow":
|
|
3122
|
-
return tws`layout-IntrinsicallyResponsiveGrid--narrow`;
|
|
3125
|
+
return tws`tu-layout-IntrinsicallyResponsiveGrid--narrow`;
|
|
3123
3126
|
|
|
3124
3127
|
case "wide":
|
|
3125
|
-
return tws`layout-IntrinsicallyResponsiveGrid--wide`;
|
|
3128
|
+
return tws`tu-layout-IntrinsicallyResponsiveGrid--wide`;
|
|
3126
3129
|
|
|
3127
3130
|
case "normal":
|
|
3128
3131
|
default:
|
|
3129
|
-
return tws`layout-IntrinsicallyResponsiveGrid--normal`;
|
|
3132
|
+
return tws`tu-layout-IntrinsicallyResponsiveGrid--normal`;
|
|
3130
3133
|
}
|
|
3131
3134
|
}}
|
|
3132
3135
|
|
|
@@ -3181,7 +3184,7 @@ const TitleNavContentLayout = ({
|
|
|
3181
3184
|
children: children
|
|
3182
3185
|
});
|
|
3183
3186
|
const Layout$1 = tw.div`
|
|
3184
|
-
layout-TitleNavContentLayout
|
|
3187
|
+
tu-layout-TitleNavContentLayout
|
|
3185
3188
|
`;
|
|
3186
3189
|
|
|
3187
3190
|
/**
|
|
@@ -3197,7 +3200,7 @@ const TwoColumnLayout = ({
|
|
|
3197
3200
|
children: children
|
|
3198
3201
|
});
|
|
3199
3202
|
const Layout = tw.div`
|
|
3200
|
-
layout-TwoColumnLayout
|
|
3203
|
+
tu-layout-TwoColumnLayout
|
|
3201
3204
|
`;
|
|
3202
3205
|
|
|
3203
3206
|
/**
|
|
@@ -3225,15 +3228,15 @@ const MultiRowTableCell = ({
|
|
|
3225
3228
|
}));
|
|
3226
3229
|
};
|
|
3227
3230
|
const Root$1 = tw(GridArea)`
|
|
3228
|
-
multi-row-table-cell-container
|
|
3231
|
+
tu-multi-row-table-cell-container
|
|
3229
3232
|
`;
|
|
3230
3233
|
const Header = tw.div`
|
|
3231
|
-
multi-row-table-cell
|
|
3232
|
-
multi-row-table-cell__header
|
|
3234
|
+
tu-multi-row-table-cell
|
|
3235
|
+
tu-multi-row-table-cell__header
|
|
3233
3236
|
`;
|
|
3234
3237
|
const Secondary = tw.div`
|
|
3235
|
-
multi-row-table-cell
|
|
3236
|
-
multi-row-table-cell__secondary
|
|
3238
|
+
tu-multi-row-table-cell
|
|
3239
|
+
tu-multi-row-table-cell__secondary
|
|
3237
3240
|
`;
|
|
3238
3241
|
|
|
3239
3242
|
/**
|
|
@@ -3329,7 +3332,7 @@ const Spacer = ({
|
|
|
3329
3332
|
});
|
|
3330
3333
|
};
|
|
3331
3334
|
const Space = tw.div`
|
|
3332
|
-
${p => `${p.border ? `spacer--border` : null}`}
|
|
3335
|
+
${p => `${p.border ? `tu-spacer--border` : null}`}
|
|
3333
3336
|
${GetSpacerHeight()}
|
|
3334
3337
|
`;
|
|
3335
3338
|
|
|
@@ -3576,11 +3579,11 @@ const SelectContainer = ({
|
|
|
3576
3579
|
}));
|
|
3577
3580
|
};
|
|
3578
3581
|
const Container = tw.label`
|
|
3579
|
-
select__container
|
|
3582
|
+
tu-select__container
|
|
3580
3583
|
`;
|
|
3581
3584
|
const InformativeText$1 = tw(Text)`
|
|
3582
|
-
informative-text
|
|
3583
|
-
${p => p.$hasError ? `informative-text--error` : null}
|
|
3585
|
+
tu-informative-text
|
|
3586
|
+
${p => p.$hasError ? `tu-informative-text--error` : null}
|
|
3584
3587
|
`;
|
|
3585
3588
|
|
|
3586
3589
|
const getSelectHeight = size => {
|
|
@@ -3850,7 +3853,7 @@ const SkeletonLines = memo(({
|
|
|
3850
3853
|
});
|
|
3851
3854
|
});
|
|
3852
3855
|
const SkeletonLine = tw.div`
|
|
3853
|
-
skeleton-line
|
|
3856
|
+
tu-skeleton-line
|
|
3854
3857
|
`;
|
|
3855
3858
|
|
|
3856
3859
|
/**
|
|
@@ -4017,10 +4020,10 @@ const StyledTextArea = tw.textarea`
|
|
|
4017
4020
|
|
|
4018
4021
|
${({
|
|
4019
4022
|
$hasError
|
|
4020
|
-
}) => $hasError ? tws`input--invalid` : null}
|
|
4023
|
+
}) => $hasError ? tws`tu-input--invalid` : null}
|
|
4021
4024
|
${({
|
|
4022
4025
|
disabled
|
|
4023
|
-
}) => disabled ? tws`input--disabled` : null}
|
|
4026
|
+
}) => disabled ? tws`tu-input--disabled` : null}
|
|
4024
4027
|
${({
|
|
4025
4028
|
$resize
|
|
4026
4029
|
}) => {
|
|
@@ -4211,7 +4214,7 @@ const SwitchContainer = tw.label`
|
|
|
4211
4214
|
active:shadow
|
|
4212
4215
|
`;
|
|
4213
4216
|
const HiddenInput = tw.input`
|
|
4214
|
-
absolute
|
|
4217
|
+
absolute
|
|
4215
4218
|
opacity-0
|
|
4216
4219
|
-z-10
|
|
4217
4220
|
`;
|