@economic/taco 2.69.2-search-race-condition.0 → 2.69.2-search-racecondition-v2.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/dist/taco.cjs +670 -6176
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.css +3 -9
- package/dist/taco.d.ts +4 -4
- package/dist/taco.js +670 -6176
- package/dist/taco.js.map +1 -1
- package/package.json +3 -17
package/dist/taco.css
CHANGED
@@ -547,20 +547,20 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
547
547
|
/* Radio button indicator */
|
548
548
|
[data-taco='radio-group'] > label::before {
|
549
549
|
content: '';
|
550
|
-
@apply border-grey-
|
550
|
+
@apply border-grey-700 mt-[0.2rem] flex h-4 w-4 flex-shrink-0 items-center justify-center self-start rounded-full border-2 bg-white;
|
551
551
|
}
|
552
552
|
/* Add focus ring when focused */
|
553
553
|
[data-taco='radio-group'] > label::before[data-focus-visible='true'] {
|
554
554
|
@apply ring-2 ring-blue-500 ring-offset-2;
|
555
555
|
}
|
556
556
|
[data-taco='radio-group'] > label::before:not([data-disabled]):not([data-readonly]):not([data-invalid]):not([data-selected]):hover {
|
557
|
-
@apply border-grey-
|
557
|
+
@apply border-grey-900;
|
558
558
|
}
|
559
559
|
[data-taco='radio-group'] > label::before:not([data-disabled]):not([data-readonly]):hover {
|
560
560
|
@apply border-4;
|
561
561
|
}
|
562
562
|
[data-taco='radio-group'] > label::before[data-disabled] {
|
563
|
-
@apply
|
563
|
+
@apply opacity-50;
|
564
564
|
}
|
565
565
|
/* Selected state */
|
566
566
|
[data-taco='radio-group'] > label[data-selected]::before {
|
@@ -569,9 +569,6 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
569
569
|
[data-taco='radio-group'] > label[data-selected]::before:not([data-readonly]):not([data-invalid]):not([data-disabled]):hover {
|
570
570
|
@apply border-blue-700;
|
571
571
|
}
|
572
|
-
[data-taco='radio-group'] > label[data-selected]::before[data-disabled] {
|
573
|
-
@apply border-blue-500/50;
|
574
|
-
}
|
575
572
|
/* Invalid state */
|
576
573
|
[data-taco='radio-group'] > label[data-invalid]::before {
|
577
574
|
@apply border-red-500;
|
@@ -579,9 +576,6 @@ table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
|
579
576
|
[data-taco='radio-group'] > label[data-invalid]::before:not([data-readonly]):not([data-disabled]):hover {
|
580
577
|
@apply border-red-700;
|
581
578
|
}
|
582
|
-
[data-taco='radio-group'] > label[data-invalid]::before[data-disabled] {
|
583
|
-
@apply border-red-500/50;
|
584
|
-
}
|
585
579
|
table[data-taco^='table'] {
|
586
580
|
/* reset table */
|
587
581
|
@apply border-separate border-spacing-0;
|
package/dist/taco.d.ts
CHANGED
@@ -1057,7 +1057,7 @@ export declare type DialogContentDrawerRenderProps = DialogContext['drawer'];
|
|
1057
1057
|
export declare type DialogContentProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, 'children'> & {
|
1058
1058
|
/** An accessible label to be announced when the dialog is opened */
|
1059
1059
|
'aria-label': string;
|
1060
|
-
children:
|
1060
|
+
children: React_2.ReactNode | ((props: DialogContentRenderProps) => React_2.ReactNode);
|
1061
1061
|
onOpenAutoFocus?: DialogPrimitive.DialogContentProps['onOpenAutoFocus'];
|
1062
1062
|
onCloseAutoFocus?: DialogPrimitive.DialogContentProps['onCloseAutoFocus'];
|
1063
1063
|
};
|
@@ -1165,7 +1165,7 @@ declare type DrawerCloseProps = default_2.HTMLAttributes<HTMLButtonElement>;
|
|
1165
1165
|
declare type DrawerContentProps = Omit<default_2.HTMLAttributes<HTMLDivElement>, 'children'> & {
|
1166
1166
|
/** An accessible label to be announced when the side drawer is opened */
|
1167
1167
|
'aria-label': string;
|
1168
|
-
children:
|
1168
|
+
children: default_2.ReactNode | ((props: DrawerContentRenderProps) => default_2.ReactNode);
|
1169
1169
|
};
|
1170
1170
|
|
1171
1171
|
declare type DrawerContentRenderProps = {
|
@@ -3071,7 +3071,7 @@ export declare type Table3Ref = TableRef & {
|
|
3071
3071
|
createRow?: (row: unknown) => Promise<void>;
|
3072
3072
|
save: (rowId?: string) => Promise<boolean>;
|
3073
3073
|
removeRowChanges: (rowId: string) => Promise<void>;
|
3074
|
-
forceValidate
|
3074
|
+
forceValidate?: () => Promise<string[]>;
|
3075
3075
|
};
|
3076
3076
|
};
|
3077
3077
|
};
|
@@ -3930,7 +3930,7 @@ export declare const Truncate: ({ children, tooltip }: TruncateProps) => default
|
|
3930
3930
|
|
3931
3931
|
export declare type TruncateProps = {
|
3932
3932
|
children: default_2.ReactElement;
|
3933
|
-
tooltip: string;
|
3933
|
+
tooltip: string | JSX.Element;
|
3934
3934
|
};
|
3935
3935
|
|
3936
3936
|
export declare interface UncontrolledCheckboxProps extends CheckboxBaseProps {
|