@universe-platform/ui 0.1.0-beta.32 → 0.1.0-beta.33
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/globals.css +75 -0
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1520 -1264
- package/dist/index.mjs +1464 -1211
- package/package.json +1 -1
package/dist/globals.css
CHANGED
|
@@ -512,6 +512,9 @@
|
|
|
512
512
|
.ml-1 {
|
|
513
513
|
margin-left: var(--spacing);
|
|
514
514
|
}
|
|
515
|
+
.ml-1\.5 {
|
|
516
|
+
margin-left: calc(var(--spacing) * 1.5);
|
|
517
|
+
}
|
|
515
518
|
.ml-2 {
|
|
516
519
|
margin-left: calc(var(--spacing) * 2);
|
|
517
520
|
}
|
|
@@ -629,6 +632,9 @@
|
|
|
629
632
|
.max-h-60 {
|
|
630
633
|
max-height: calc(var(--spacing) * 60);
|
|
631
634
|
}
|
|
635
|
+
.max-h-\[22rem\] {
|
|
636
|
+
max-height: 22rem;
|
|
637
|
+
}
|
|
632
638
|
.max-h-\[92vh\] {
|
|
633
639
|
max-height: 92vh;
|
|
634
640
|
}
|
|
@@ -641,6 +647,9 @@
|
|
|
641
647
|
.min-h-0 {
|
|
642
648
|
min-height: 0;
|
|
643
649
|
}
|
|
650
|
+
.min-h-\[12rem\] {
|
|
651
|
+
min-height: 12rem;
|
|
652
|
+
}
|
|
644
653
|
.min-h-\[26rem\] {
|
|
645
654
|
min-height: 26rem;
|
|
646
655
|
}
|
|
@@ -1027,12 +1036,18 @@
|
|
|
1027
1036
|
margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
|
|
1028
1037
|
}
|
|
1029
1038
|
}
|
|
1039
|
+
.gap-x-2 {
|
|
1040
|
+
column-gap: calc(var(--spacing) * 2);
|
|
1041
|
+
}
|
|
1030
1042
|
.gap-x-6 {
|
|
1031
1043
|
column-gap: calc(var(--spacing) * 6);
|
|
1032
1044
|
}
|
|
1033
1045
|
.gap-y-1\.5 {
|
|
1034
1046
|
row-gap: calc(var(--spacing) * 1.5);
|
|
1035
1047
|
}
|
|
1048
|
+
.gap-y-2\.5 {
|
|
1049
|
+
row-gap: calc(var(--spacing) * 2.5);
|
|
1050
|
+
}
|
|
1036
1051
|
.divide-y {
|
|
1037
1052
|
:where(& > :not(:last-child)) {
|
|
1038
1053
|
--tw-divide-y-reverse: 0;
|
|
@@ -1209,6 +1224,9 @@
|
|
|
1209
1224
|
.border-indigo-200 {
|
|
1210
1225
|
border-color: var(--color-indigo-200);
|
|
1211
1226
|
}
|
|
1227
|
+
.border-indigo-600 {
|
|
1228
|
+
border-color: var(--color-indigo-600);
|
|
1229
|
+
}
|
|
1212
1230
|
.border-lime-200 {
|
|
1213
1231
|
border-color: var(--color-lime-200);
|
|
1214
1232
|
}
|
|
@@ -1338,6 +1356,9 @@
|
|
|
1338
1356
|
.bg-amber-400 {
|
|
1339
1357
|
background-color: var(--color-amber-400);
|
|
1340
1358
|
}
|
|
1359
|
+
.bg-amber-500 {
|
|
1360
|
+
background-color: var(--color-amber-500);
|
|
1361
|
+
}
|
|
1341
1362
|
.bg-blue-50 {
|
|
1342
1363
|
background-color: var(--color-blue-50);
|
|
1343
1364
|
}
|
|
@@ -1437,6 +1458,9 @@
|
|
|
1437
1458
|
background-color: color-mix(in oklab, var(--color-indigo-50) 60%, transparent);
|
|
1438
1459
|
}
|
|
1439
1460
|
}
|
|
1461
|
+
.bg-indigo-600 {
|
|
1462
|
+
background-color: var(--color-indigo-600);
|
|
1463
|
+
}
|
|
1440
1464
|
.bg-lime-50 {
|
|
1441
1465
|
background-color: var(--color-lime-50);
|
|
1442
1466
|
}
|
|
@@ -1650,6 +1674,9 @@
|
|
|
1650
1674
|
.px-3 {
|
|
1651
1675
|
padding-inline: calc(var(--spacing) * 3);
|
|
1652
1676
|
}
|
|
1677
|
+
.px-3\.5 {
|
|
1678
|
+
padding-inline: calc(var(--spacing) * 3.5);
|
|
1679
|
+
}
|
|
1653
1680
|
.px-4 {
|
|
1654
1681
|
padding-inline: calc(var(--spacing) * 4);
|
|
1655
1682
|
}
|
|
@@ -1830,6 +1857,10 @@
|
|
|
1830
1857
|
.text-\[11px\] {
|
|
1831
1858
|
font-size: 11px;
|
|
1832
1859
|
}
|
|
1860
|
+
.leading-none {
|
|
1861
|
+
--tw-leading: 1;
|
|
1862
|
+
line-height: 1;
|
|
1863
|
+
}
|
|
1833
1864
|
.leading-normal {
|
|
1834
1865
|
--tw-leading: var(--leading-normal);
|
|
1835
1866
|
line-height: var(--leading-normal);
|
|
@@ -2371,6 +2402,13 @@
|
|
|
2371
2402
|
}
|
|
2372
2403
|
}
|
|
2373
2404
|
}
|
|
2405
|
+
.hover\:border-slate-400 {
|
|
2406
|
+
&:hover {
|
|
2407
|
+
@media (hover: hover) {
|
|
2408
|
+
border-color: var(--color-slate-400);
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2374
2412
|
.hover\:bg-amber-100 {
|
|
2375
2413
|
&:hover {
|
|
2376
2414
|
@media (hover: hover) {
|
|
@@ -2491,6 +2529,13 @@
|
|
|
2491
2529
|
}
|
|
2492
2530
|
}
|
|
2493
2531
|
}
|
|
2532
|
+
.hover\:bg-indigo-700 {
|
|
2533
|
+
&:hover {
|
|
2534
|
+
@media (hover: hover) {
|
|
2535
|
+
background-color: var(--color-indigo-700);
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2494
2539
|
.hover\:bg-rose-50 {
|
|
2495
2540
|
&:hover {
|
|
2496
2541
|
@media (hover: hover) {
|
|
@@ -2903,6 +2948,11 @@
|
|
|
2903
2948
|
padding: calc(var(--spacing) * 4);
|
|
2904
2949
|
}
|
|
2905
2950
|
}
|
|
2951
|
+
.sm\:px-4 {
|
|
2952
|
+
@media (width >= 40rem) {
|
|
2953
|
+
padding-inline: calc(var(--spacing) * 4);
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2906
2956
|
.sm\:text-base {
|
|
2907
2957
|
@media (width >= 40rem) {
|
|
2908
2958
|
font-size: var(--text-base);
|
|
@@ -2959,6 +3009,31 @@
|
|
|
2959
3009
|
flex-direction: row;
|
|
2960
3010
|
}
|
|
2961
3011
|
}
|
|
3012
|
+
.\32 xl\:absolute {
|
|
3013
|
+
@media (width >= 96rem) {
|
|
3014
|
+
position: absolute;
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
.\32 xl\:inset-0 {
|
|
3018
|
+
@media (width >= 96rem) {
|
|
3019
|
+
inset: 0;
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
.\32 xl\:max-h-none {
|
|
3023
|
+
@media (width >= 96rem) {
|
|
3024
|
+
max-height: none;
|
|
3025
|
+
}
|
|
3026
|
+
}
|
|
3027
|
+
.\32 xl\:min-h-0 {
|
|
3028
|
+
@media (width >= 96rem) {
|
|
3029
|
+
min-height: 0;
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
.\32 xl\:grid-cols-2 {
|
|
3033
|
+
@media (width >= 96rem) {
|
|
3034
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
2962
3037
|
}
|
|
2963
3038
|
@property --tw-translate-x {
|
|
2964
3039
|
syntax: "*";
|
package/dist/index.d.mts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './whatsappValidation';
|
|
|
12
12
|
export { StatusConfig, TemplateIdentity, TemplateValidationParams, TemplateValidationResult, extractUniqueVariableIndices, extractVariableIndices, findVariableAtPosition, formatFileSize, getNextVariableIndex, getStatusConfig, hasBracketSpaces, hasConsecutiveVariables, hasFloatingVariables, hasInsufficientContextBetweenVariables, isDuplicateTemplate, isDuplicateTemplateName, isValidTemplateName, isWordToken, reindexVariables, sanitizeTemplateNameInput, seamlessVariableEngine, validateSequentialVariables, validateTemplateBody, validateWhatsAppTemplate, validateWordToVariableRatio } from './whatsappValidation';
|
|
13
13
|
export * from './formula';
|
|
14
14
|
export * from './relationCopy';
|
|
15
|
+
export * from './relationButtons';
|
|
15
16
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
16
17
|
import * as react from 'react';
|
|
17
18
|
import react__default, { ReactNode } from 'react';
|
|
@@ -137,6 +138,7 @@ interface TableBlockProps extends Partial<BaseComponentProps<TableData, TableCon
|
|
|
137
138
|
tooltip?: string;
|
|
138
139
|
} | RowStatusType>;
|
|
139
140
|
editModelUrl?: string;
|
|
141
|
+
hideRelationButtons?: boolean;
|
|
140
142
|
}
|
|
141
143
|
interface CreateRecordPayload {
|
|
142
144
|
records: RecordData[];
|
|
@@ -148,7 +150,7 @@ interface DeleteRecordPayload {
|
|
|
148
150
|
ids: string[];
|
|
149
151
|
}
|
|
150
152
|
|
|
151
|
-
declare function TableBlockClient({ data: initialRecords, settings: schema, executeAction, exportAction, emitEvent, pageState, isLoading, isUpdating, error, isEmpty: isStateEmpty, componentId, orgId, className, 'data-testid': dataTestId, role, permissions, readOnly, selectedRowIds, onSelectionChange, onRowToggle, rowStatusMap, editModelUrl, }: TableBlockProps): react_jsx_runtime.JSX.Element;
|
|
153
|
+
declare function TableBlockClient({ data: initialRecords, settings: schema, executeAction, exportAction, emitEvent, pageState, isLoading, isUpdating, error, isEmpty: isStateEmpty, componentId, orgId, className, 'data-testid': dataTestId, role, permissions, readOnly, selectedRowIds, onSelectionChange, onRowToggle, rowStatusMap, editModelUrl, hideRelationButtons, }: TableBlockProps): react_jsx_runtime.JSX.Element;
|
|
152
154
|
|
|
153
155
|
declare function TableBlock(props: TableBlockProps): react_jsx_runtime.JSX.Element;
|
|
154
156
|
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './whatsappValidation';
|
|
|
12
12
|
export { StatusConfig, TemplateIdentity, TemplateValidationParams, TemplateValidationResult, extractUniqueVariableIndices, extractVariableIndices, findVariableAtPosition, formatFileSize, getNextVariableIndex, getStatusConfig, hasBracketSpaces, hasConsecutiveVariables, hasFloatingVariables, hasInsufficientContextBetweenVariables, isDuplicateTemplate, isDuplicateTemplateName, isValidTemplateName, isWordToken, reindexVariables, sanitizeTemplateNameInput, seamlessVariableEngine, validateSequentialVariables, validateTemplateBody, validateWhatsAppTemplate, validateWordToVariableRatio } from './whatsappValidation';
|
|
13
13
|
export * from './formula';
|
|
14
14
|
export * from './relationCopy';
|
|
15
|
+
export * from './relationButtons';
|
|
15
16
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
16
17
|
import * as react from 'react';
|
|
17
18
|
import react__default, { ReactNode } from 'react';
|
|
@@ -137,6 +138,7 @@ interface TableBlockProps extends Partial<BaseComponentProps<TableData, TableCon
|
|
|
137
138
|
tooltip?: string;
|
|
138
139
|
} | RowStatusType>;
|
|
139
140
|
editModelUrl?: string;
|
|
141
|
+
hideRelationButtons?: boolean;
|
|
140
142
|
}
|
|
141
143
|
interface CreateRecordPayload {
|
|
142
144
|
records: RecordData[];
|
|
@@ -148,7 +150,7 @@ interface DeleteRecordPayload {
|
|
|
148
150
|
ids: string[];
|
|
149
151
|
}
|
|
150
152
|
|
|
151
|
-
declare function TableBlockClient({ data: initialRecords, settings: schema, executeAction, exportAction, emitEvent, pageState, isLoading, isUpdating, error, isEmpty: isStateEmpty, componentId, orgId, className, 'data-testid': dataTestId, role, permissions, readOnly, selectedRowIds, onSelectionChange, onRowToggle, rowStatusMap, editModelUrl, }: TableBlockProps): react_jsx_runtime.JSX.Element;
|
|
153
|
+
declare function TableBlockClient({ data: initialRecords, settings: schema, executeAction, exportAction, emitEvent, pageState, isLoading, isUpdating, error, isEmpty: isStateEmpty, componentId, orgId, className, 'data-testid': dataTestId, role, permissions, readOnly, selectedRowIds, onSelectionChange, onRowToggle, rowStatusMap, editModelUrl, hideRelationButtons, }: TableBlockProps): react_jsx_runtime.JSX.Element;
|
|
152
154
|
|
|
153
155
|
declare function TableBlock(props: TableBlockProps): react_jsx_runtime.JSX.Element;
|
|
154
156
|
|