@aivenio/aquarium 1.42.0 → 1.44.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/_variables.scss +1 -1
- package/dist/atoms.cjs +537 -283
- package/dist/atoms.mjs +536 -283
- package/dist/charts.cjs +360 -17
- package/dist/charts.mjs +351 -16
- package/dist/src/atoms/Banner/Banner.d.ts +1 -1
- package/dist/src/atoms/Banner/Banner.js +1 -1
- package/dist/src/atoms/Card/Card.d.ts +9 -0
- package/dist/src/atoms/Card/Card.js +18 -1
- package/dist/src/charts/AreaChart/AreaChart.d.ts +12 -0
- package/dist/src/charts/AreaChart/AreaChart.js +46 -0
- package/dist/src/charts/BarChart/BarChart.d.ts +2 -0
- package/dist/src/charts/BarChart/BarChart.js +6 -1
- package/dist/src/charts/Cell/Cell.d.ts +2 -0
- package/dist/src/charts/Cell/Cell.js +2 -0
- package/dist/src/charts/LineChart/LineChart.d.ts +12 -0
- package/dist/src/charts/LineChart/LineChart.js +39 -0
- package/dist/src/charts/PieChart/ChartValue.d.ts +8 -0
- package/dist/src/charts/PieChart/ChartValue.js +10 -0
- package/dist/src/charts/PieChart/DoughnutChart.d.ts +15 -0
- package/dist/src/charts/PieChart/DoughnutChart.js +31 -0
- package/dist/src/charts/PieChart/PieChart.d.ts +13 -0
- package/dist/src/charts/PieChart/PieChart.js +17 -0
- package/dist/src/charts/PieChart/TooltipContentWrapper.d.ts +9 -0
- package/dist/src/charts/PieChart/TooltipContentWrapper.js +31 -0
- package/dist/src/charts/PieChart/renderPieChildren.d.ts +2 -0
- package/dist/src/charts/PieChart/renderPieChildren.js +30 -0
- package/dist/src/charts/PieChart/renderScaledChartValue.d.ts +8 -0
- package/dist/src/charts/PieChart/renderScaledChartValue.js +15 -0
- package/dist/src/charts/Reference/Reference.d.ts +10 -0
- package/dist/src/charts/Reference/Reference.js +9 -0
- package/dist/src/charts/Tooltip/Tooltip.d.ts +6 -3
- package/dist/src/charts/Tooltip/Tooltip.js +19 -7
- package/dist/src/charts/index.d.ts +6 -0
- package/dist/src/charts/index.js +7 -1
- package/dist/src/charts/lib/utils.d.ts +6 -1
- package/dist/src/charts/lib/utils.js +9 -2
- package/dist/src/icons/appUsers.d.ts +9 -0
- package/dist/src/icons/appUsers.js +11 -0
- package/dist/src/icons/deliveryLocation.d.ts +9 -0
- package/dist/src/icons/deliveryLocation.js +11 -0
- package/dist/src/icons/gitDiff.d.ts +9 -0
- package/dist/src/icons/gitDiff.js +11 -0
- package/dist/src/icons/index.d.ts +11 -0
- package/dist/src/icons/index.js +12 -1
- package/dist/src/icons/managedUsers.d.ts +9 -0
- package/dist/src/icons/managedUsers.js +11 -0
- package/dist/src/icons/orgAdmin.d.ts +9 -0
- package/dist/src/icons/orgAdmin.js +11 -0
- package/dist/src/icons/orgUnit.d.ts +9 -0
- package/dist/src/icons/orgUnit.js +11 -0
- package/dist/src/icons/proPlans.d.ts +9 -0
- package/dist/src/icons/proPlans.js +11 -0
- package/dist/src/icons/queriesEditor.d.ts +9 -0
- package/dist/src/icons/queriesEditor.js +11 -0
- package/dist/src/icons/queriesStatistics.d.ts +9 -0
- package/dist/src/icons/queriesStatistics.js +11 -0
- package/dist/src/icons/save.d.ts +9 -0
- package/dist/src/icons/save.js +11 -0
- package/dist/src/icons/tools.d.ts +9 -0
- package/dist/src/icons/tools.js +11 -0
- package/dist/src/molecules/Accordion/Accordion.d.ts +23 -5
- package/dist/src/molecules/Accordion/Accordion.js +41 -17
- package/dist/src/molecules/Alert/Alert.js +7 -6
- package/dist/src/molecules/Box/Box.d.ts +9 -36
- package/dist/src/molecules/Box/Box.js +4 -2
- package/dist/src/molecules/Card/Card.d.ts +4 -2
- package/dist/src/molecules/Card/Card.js +10 -11
- package/dist/src/molecules/Card/Compact.d.ts +3 -2
- package/dist/src/molecules/Card/Compact.js +9 -12
- package/dist/src/molecules/Card/types.d.ts +12 -2
- package/dist/src/molecules/CheckboxGroup/CheckboxGroup.js +3 -3
- package/dist/src/molecules/Combobox/Combobox.js +7 -6
- package/dist/src/molecules/DataList/DataList.d.ts +11 -2
- package/dist/src/molecules/DataList/DataList.js +9 -9
- package/dist/src/molecules/DropdownMenu/DropdownMenu.js +3 -2
- package/dist/src/molecules/Element/Element.d.ts +1 -1
- package/dist/src/molecules/Element/Element.js +1 -1
- package/dist/src/molecules/EmptyState/EmptyState.js +4 -4
- package/dist/src/molecules/Grid/Grid.js +2 -1
- package/dist/src/molecules/Input/Input.js +8 -7
- package/dist/src/molecules/ListItem/ListItem.js +2 -2
- package/dist/src/molecules/MultiInput/MultiInput.js +7 -6
- package/dist/src/molecules/MultiSelect/MultiSelect.js +7 -6
- package/dist/src/molecules/NativeSelect/NativeSelect.js +8 -6
- package/dist/src/molecules/PageHeader/PageHeader.js +3 -3
- package/dist/src/molecules/Popover/PopoverOverlay.d.ts +1 -1
- package/dist/src/molecules/RadioButtonGroup/RadioButtonGroup.js +3 -3
- package/dist/src/molecules/Section/Section.d.ts +10 -3
- package/dist/src/molecules/Section/Section.js +9 -7
- package/dist/src/molecules/Select/Select.js +7 -6
- package/dist/src/molecules/Skeleton/Skeleton.d.ts +1 -1
- package/dist/src/molecules/Skeleton/Skeleton.js +16 -4
- package/dist/src/molecules/Spacing/Spacing.d.ts +1 -1
- package/dist/src/molecules/Spacing/Spacing.js +1 -1
- package/dist/src/molecules/SwitchGroup/SwitchGroup.js +3 -3
- package/dist/src/molecules/Textarea/Textarea.js +8 -7
- package/dist/src/utils/Blueprint.js +3 -5
- package/dist/src/utils/actions.d.ts +8 -1
- package/dist/src/utils/actions.js +3 -3
- package/dist/src/utils/setupTests.js +7 -1
- package/dist/styles.css +64 -14
- package/dist/system.cjs +918 -648
- package/dist/system.mjs +906 -636
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/tailwindGenerated.d.ts +1 -1
- package/package.json +2 -2
package/dist/atoms.mjs
CHANGED
@@ -305,6 +305,22 @@ var require_announcement = __commonJS({
|
|
305
305
|
}
|
306
306
|
});
|
307
307
|
|
308
|
+
// src/icons/appUsers.js
|
309
|
+
var require_appUsers = __commonJS({
|
310
|
+
"src/icons/appUsers.js"(exports) {
|
311
|
+
"use strict";
|
312
|
+
var data = {
|
313
|
+
"body": '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path stroke-width="1.5" d="M11.167 14.458H7.042c-1.28 0-1.92 0-2.44.158a3.667 3.667 0 00-2.444 2.445C2 17.58 2 18.22 2 19.5M13.458 7.125a4.125 4.125 0 11-8.25 0 4.125 4.125 0 018.25 0Z"/><path d="M16.865 17.598a1.1 1.1 0 100-2.2 1.1 1.1 0 000 2.2Z"/><path d="M19.33 17.498a.55.55 0 00.11.606l.02.02a.665.665 0 01-.471 1.139.667.667 0 01-.471-.196l-.02-.02a.55.55 0 00-.607-.11.55.55 0 00-.333.503v.057a.666.666 0 11-1.333 0v-.03a.55.55 0 00-.36-.503.55.55 0 00-.606.11l-.02.02a.665.665 0 01-1.138-.472.667.667 0 01.195-.471l.02-.02a.55.55 0 00.11-.607.55.55 0 00-.503-.333h-.057a.667.667 0 110-1.332h.03a.55.55 0 00.503-.36.551.551 0 00-.11-.607l-.02-.02a.667.667 0 11.943-.942l.02.02a.55.55 0 00.607.11h.027a.55.55 0 00.333-.504V13.5a.667.667 0 011.332 0v.03a.55.55 0 00.334.503.55.55 0 00.606-.11l.02-.02a.667.667 0 11.943.943l-.02.02a.55.55 0 00-.11.606v.027a.55.55 0 00.503.333h.057a.666.666 0 010 1.333h-.03a.55.55 0 00-.503.333Z"/></g>',
|
314
|
+
"left": 0,
|
315
|
+
"top": 0,
|
316
|
+
"width": 22,
|
317
|
+
"height": 22
|
318
|
+
};
|
319
|
+
exports.__esModule = true;
|
320
|
+
exports.default = data;
|
321
|
+
}
|
322
|
+
});
|
323
|
+
|
308
324
|
// src/icons/applications.js
|
309
325
|
var require_applications = __commonJS({
|
310
326
|
"src/icons/applications.js"(exports) {
|
@@ -1345,6 +1361,22 @@ var require_delete = __commonJS({
|
|
1345
1361
|
}
|
1346
1362
|
});
|
1347
1363
|
|
1364
|
+
// src/icons/deliveryLocation.js
|
1365
|
+
var require_deliveryLocation = __commonJS({
|
1366
|
+
"src/icons/deliveryLocation.js"(exports) {
|
1367
|
+
"use strict";
|
1368
|
+
var data = {
|
1369
|
+
"body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.75 13.262C3.053 14.012 2 15.054 2 16.209c0 2.279 4.104 4.125 9.167 4.125 5.062 0 9.166-1.846 9.166-4.125 0-1.154-1.053-2.197-2.75-2.945M16.667 7.5c0 3.725-4.125 5.5-5.5 8.25-1.375-2.75-5.5-4.525-5.5-8.25a5.5 5.5 0 0111 0Zm-4.584 0a.917.917 0 11-1.833 0 .917.917 0 011.833 0Z"/>',
|
1370
|
+
"left": 0,
|
1371
|
+
"top": 0,
|
1372
|
+
"width": 22,
|
1373
|
+
"height": 22
|
1374
|
+
};
|
1375
|
+
exports.__esModule = true;
|
1376
|
+
exports.default = data;
|
1377
|
+
}
|
1378
|
+
});
|
1379
|
+
|
1348
1380
|
// src/icons/document.js
|
1349
1381
|
var require_document = __commonJS({
|
1350
1382
|
"src/icons/document.js"(exports) {
|
@@ -1841,6 +1873,22 @@ var require_gitCommit = __commonJS({
|
|
1841
1873
|
}
|
1842
1874
|
});
|
1843
1875
|
|
1876
|
+
// src/icons/gitDiff.js
|
1877
|
+
var require_gitDiff = __commonJS({
|
1878
|
+
"src/icons/gitDiff.js"(exports) {
|
1879
|
+
"use strict";
|
1880
|
+
var data = {
|
1881
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="M12.348 7.824a.75.75 0 101.06-1.06l-.991-.992h2.96a1.067 1.067 0 011.067 1.067v5.692a3.477 3.477 0 101.5 0V6.84a2.567 2.567 0 00-2.567-2.567h-2.96l.991-.992a.75.75 0 00-1.06-1.06L10.076 4.49a.75.75 0 000 1.061l2.272 2.272Zm2.87 8.102a1.976 1.976 0 113.952 0 1.976 1.976 0 01-3.952 0Zm-6.327-2.347a.75.75 0 10-1.06 1.06l.991.992H6.294a1.067 1.067 0 01-1.068-1.068V8.871A3.477 3.477 0 004.476 2a3.476 3.476 0 00-.75 6.871v5.692a2.567 2.567 0 002.568 2.568h2.528l-.991.991a.75.75 0 001.06 1.06l2.272-2.27a.75.75 0 000-1.062l-2.272-2.27ZM6.452 5.476a1.976 1.976 0 11-3.952 0 1.976 1.976 0 013.952 0Z" clip-rule="evenodd"/>',
|
1882
|
+
"left": 0,
|
1883
|
+
"top": 0,
|
1884
|
+
"width": 22,
|
1885
|
+
"height": 22
|
1886
|
+
};
|
1887
|
+
exports.__esModule = true;
|
1888
|
+
exports.default = data;
|
1889
|
+
}
|
1890
|
+
});
|
1891
|
+
|
1844
1892
|
// src/icons/gitMerge.js
|
1845
1893
|
var require_gitMerge = __commonJS({
|
1846
1894
|
"src/icons/gitMerge.js"(exports) {
|
@@ -2433,6 +2481,22 @@ var require_logOut = __commonJS({
|
|
2433
2481
|
}
|
2434
2482
|
});
|
2435
2483
|
|
2484
|
+
// src/icons/managedUsers.js
|
2485
|
+
var require_managedUsers = __commonJS({
|
2486
|
+
"src/icons/managedUsers.js"(exports) {
|
2487
|
+
"use strict";
|
2488
|
+
var data = {
|
2489
|
+
"body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8.417 14.458H7.042c-1.28 0-1.92 0-2.44.158a3.667 3.667 0 00-2.444 2.445C2 17.58 2 18.22 2 19.5M13.458 7.125a4.125 4.125 0 11-8.25 0 4.125 4.125 0 018.25 0ZM10.25 19.5l2.843-.812c.136-.04.204-.059.268-.088a.911.911 0 00.16-.094c.056-.041.106-.091.206-.191l5.919-5.92a1.62 1.62 0 00-2.292-2.29l-5.919 5.918c-.1.1-.15.15-.191.206a.911.911 0 00-.094.16c-.03.064-.049.132-.088.268L10.25 19.5Z"/>',
|
2490
|
+
"left": 0,
|
2491
|
+
"top": 0,
|
2492
|
+
"width": 22,
|
2493
|
+
"height": 22
|
2494
|
+
};
|
2495
|
+
exports.__esModule = true;
|
2496
|
+
exports.default = data;
|
2497
|
+
}
|
2498
|
+
});
|
2499
|
+
|
2436
2500
|
// src/icons/manual.js
|
2437
2501
|
var require_manual = __commonJS({
|
2438
2502
|
"src/icons/manual.js"(exports) {
|
@@ -2737,6 +2801,38 @@ var require_office = __commonJS({
|
|
2737
2801
|
}
|
2738
2802
|
});
|
2739
2803
|
|
2804
|
+
// src/icons/orgAdmin.js
|
2805
|
+
var require_orgAdmin = __commonJS({
|
2806
|
+
"src/icons/orgAdmin.js"(exports) {
|
2807
|
+
"use strict";
|
2808
|
+
var data = {
|
2809
|
+
"body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.508 3.27a9.167 9.167 0 0113.825 7.988M3.266 6.515A9.124 9.124 0 002 11.167a9.169 9.169 0 006.875 8.877m10.274-4.367a9.186 9.186 0 01-5.69 4.367M13.081 6.01a5.5 5.5 0 00-7.069 7.082m10.31-3.842a5.5 5.5 0 01-7.06 7.08m1.904-6.996V13"/>',
|
2810
|
+
"left": 0,
|
2811
|
+
"top": 0,
|
2812
|
+
"width": 22,
|
2813
|
+
"height": 22
|
2814
|
+
};
|
2815
|
+
exports.__esModule = true;
|
2816
|
+
exports.default = data;
|
2817
|
+
}
|
2818
|
+
});
|
2819
|
+
|
2820
|
+
// src/icons/orgUnit.js
|
2821
|
+
var require_orgUnit = __commonJS({
|
2822
|
+
"src/icons/orgUnit.js"(exports) {
|
2823
|
+
"use strict";
|
2824
|
+
var data = {
|
2825
|
+
"body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8.708 6.417h4.584m-4.584 3.666h4.584M8.708 13.75h4.584m3.208 5.5V5.683c0-1.026 0-1.54-.2-1.932a1.833 1.833 0 00-.801-.801c-.392-.2-.905-.2-1.932-.2H8.433c-1.026 0-1.54 0-1.932.2a1.833 1.833 0 00-.801.801c-.2.392-.2.906-.2 1.932V19.25m12.833 0H3.667"/>',
|
2826
|
+
"left": 0,
|
2827
|
+
"top": 0,
|
2828
|
+
"width": 22,
|
2829
|
+
"height": 22
|
2830
|
+
};
|
2831
|
+
exports.__esModule = true;
|
2832
|
+
exports.default = data;
|
2833
|
+
}
|
2834
|
+
});
|
2835
|
+
|
2740
2836
|
// src/icons/outdated.js
|
2741
2837
|
var require_outdated = __commonJS({
|
2742
2838
|
"src/icons/outdated.js"(exports) {
|
@@ -2993,6 +3089,22 @@ var require_power = __commonJS({
|
|
2993
3089
|
}
|
2994
3090
|
});
|
2995
3091
|
|
3092
|
+
// src/icons/proPlans.js
|
3093
|
+
var require_proPlans = __commonJS({
|
3094
|
+
"src/icons/proPlans.js"(exports) {
|
3095
|
+
"use strict";
|
3096
|
+
var data = {
|
3097
|
+
"body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.292 20.333V15.75m0-9.167V2M2 4.292h4.583M2 18.042h4.583m5.5-15.125-1.59 4.133c-.258.672-.387 1.008-.588 1.29a2.75 2.75 0 01-.648.648c-.282.201-.618.33-1.29.589l-4.134 1.59 4.133 1.59c.673.258 1.009.387 1.291.588.25.178.47.397.648.648.2.282.33.618.589 1.29l1.59 4.134 1.589-4.134c.258-.672.388-1.008.589-1.29.178-.25.397-.47.647-.648.283-.2.62-.33 1.291-.589l4.133-1.59L16.2 9.578c-.672-.259-1.008-.388-1.29-.589a2.75 2.75 0 01-.648-.647c-.201-.283-.33-.62-.589-1.291l-1.59-4.133Z"/>',
|
3098
|
+
"left": 0,
|
3099
|
+
"top": 0,
|
3100
|
+
"width": 22,
|
3101
|
+
"height": 22
|
3102
|
+
};
|
3103
|
+
exports.__esModule = true;
|
3104
|
+
exports.default = data;
|
3105
|
+
}
|
3106
|
+
});
|
3107
|
+
|
2996
3108
|
// src/icons/projects.js
|
2997
3109
|
var require_projects = __commonJS({
|
2998
3110
|
"src/icons/projects.js"(exports) {
|
@@ -3073,6 +3185,38 @@ var require_puzzlePiece = __commonJS({
|
|
3073
3185
|
}
|
3074
3186
|
});
|
3075
3187
|
|
3188
|
+
// src/icons/queriesEditor.js
|
3189
|
+
var require_queriesEditor = __commonJS({
|
3190
|
+
"src/icons/queriesEditor.js"(exports) {
|
3191
|
+
"use strict";
|
3192
|
+
var data = {
|
3193
|
+
"body": '<g fill="none"><path fill="currentColor" d="m14 19.992.75.044-.75-.044Zm.281.19.289.693-.289-.692Zm1.877-.783.609.438-.609-.438Zm-.001 0 .289.693-.289-.692Zm-2.04-1.39.609.439-.609-.439Zm0 .003.748.044-.749-.044Zm3.233-4.488.608.439-.608-.439Zm2.042 1.39-.609-.44.609.44Zm-2.65-1.828-3.233 4.485 1.217.877 3.232-4.485-1.216-.877Zm.025 6.751L20 15.352l-1.217-.877-3.233 4.485 1.217.877Zm-3.4-1.868-.115 1.98 1.497.087.116-1.98-1.498-.087Zm1.203 2.906 1.876-.783-.578-1.384-1.876.783.578 1.384Zm-1.318-.927c-.043.736.702 1.183 1.318.927l-.578-1.384a.55.55 0 01.757.545l-1.497-.088Zm2.298-.988a.747.747 0 01.318-.252l.578 1.384a.752.752 0 00.32-.255l-1.216-.877Zm-2.041-1.39a.755.755 0 00-.142.399l1.498.087a.743.743 0 01-.14.392l-1.216-.877Zm6.006-4.973a2.026 2.026 0 00-2.773.489l1.216.877a.526.526 0 01.713-.126l.844-1.24Zm-.844 1.24a.445.445 0 01.112.638l1.217.877a1.945 1.945 0 00-.485-2.755l-.844 1.24Z"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.25 4.583c0 1.52-3.694 2.75-8.25 2.75s-8.25-1.23-8.25-2.75m16.5 0c0-1.518-3.694-2.75-8.25-2.75s-8.25 1.232-8.25 2.75m16.5 0V9M2.75 4.583v12.834c0 1.521 3.667 2.75 8.25 2.75M19.25 8.91c0 1.522-3.667 2.75-8.25 2.75s-8.25-1.228-8.25-2.75M11 15.987c-4.583 0-8.25-1.229-8.25-2.75"/></g>',
|
3194
|
+
"left": 0,
|
3195
|
+
"top": 0,
|
3196
|
+
"width": 22,
|
3197
|
+
"height": 22
|
3198
|
+
};
|
3199
|
+
exports.__esModule = true;
|
3200
|
+
exports.default = data;
|
3201
|
+
}
|
3202
|
+
});
|
3203
|
+
|
3204
|
+
// src/icons/queriesStatistics.js
|
3205
|
+
var require_queriesStatistics = __commonJS({
|
3206
|
+
"src/icons/queriesStatistics.js"(exports) {
|
3207
|
+
"use strict";
|
3208
|
+
var data = {
|
3209
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="M3.5 4.583c0-.051.03-.22.363-.481.323-.255.838-.517 1.54-.752C6.802 2.884 8.78 2.583 11 2.583c2.22 0 4.199.301 5.596.767.703.235 1.218.497 1.541.752.332.262.363.43.363.481 0 .052-.03.22-.363.482-.323.255-.838.517-1.54.751-1.398.466-3.377.767-5.597.767-2.22 0-4.199-.3-5.596-.767-.703-.234-1.218-.496-1.541-.751-.332-.262-.363-.43-.363-.482ZM17.07 7.24a8.024 8.024 0 001.43-.619v2.29c0 .055-.032.224-.36.484-.321.254-.833.516-1.534.75-1.394.466-3.372.766-5.606.766s-4.212-.3-5.606-.766c-.701-.234-1.213-.496-1.534-.75-.328-.26-.36-.43-.36-.484V6.62c.416.238.901.443 1.43.62 1.587.529 3.734.843 6.07.843 2.336 0 4.483-.314 6.07-.844ZM4.92 11.567a7.978 7.978 0 01-1.419-.615v2.285c0 .044.018.155.193.334.179.183.477.388.917.592.876.407 2.165.741 3.727.924.829.097 1.725.15 2.663.15a.75.75 0 010 1.5c-.994 0-1.948-.056-2.837-.16-1.655-.194-3.115-.556-4.185-1.053a6.391 6.391 0 01-.478-.246v2.139c0 .054.032.223.36.483.321.255.833.517 1.534.75 1.394.466 3.372.767 5.606.767a.75.75 0 010 1.5c-2.35 0-4.496-.314-6.081-.843-.79-.264-1.48-.594-1.99-.998-.502-.398-.929-.953-.929-1.66V4.584c0-.708.431-1.263.934-1.66.511-.402 1.205-.732 1.995-.996 1.588-.53 3.735-.844 6.071-.844s4.483.315 6.07.844c.791.264 1.485.594 1.996.997.503.396.934.951.934 1.66V8.91c0 .706-.427 1.262-.929 1.66-.51.403-1.2.734-1.99.997-1.585.53-3.732.843-6.081.843-2.35 0-4.496-.313-6.081-.843ZM17.45 14.7a.75.75 0 00-1.5 0v5.5a.75.75 0 001.5 0v-5.5Zm-3.45.75a.75.75 0 01.75.75v4a.75.75 0 01-1.5 0v-4a.75.75 0 01.75-.75Zm6.05-2.25a.75.75 0 00-1.5 0v7a.75.75 0 001.5 0v-7Z" clip-rule="evenodd"/>',
|
3210
|
+
"left": 0,
|
3211
|
+
"top": 0,
|
3212
|
+
"width": 22,
|
3213
|
+
"height": 22
|
3214
|
+
};
|
3215
|
+
exports.__esModule = true;
|
3216
|
+
exports.default = data;
|
3217
|
+
}
|
3218
|
+
});
|
3219
|
+
|
3076
3220
|
// src/icons/queries.js
|
3077
3221
|
var require_queries = __commonJS({
|
3078
3222
|
"src/icons/queries.js"(exports) {
|
@@ -3217,6 +3361,22 @@ var require_roadmap = __commonJS({
|
|
3217
3361
|
}
|
3218
3362
|
});
|
3219
3363
|
|
3364
|
+
// src/icons/save.js
|
3365
|
+
var require_save = __commonJS({
|
3366
|
+
"src/icons/save.js"(exports) {
|
3367
|
+
"use strict";
|
3368
|
+
var data = {
|
3369
|
+
"body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.417 2.75v3.117c0 .513 0 .77.1.966a.917.917 0 00.4.4c.196.1.453.1.966.1h6.234c.513 0 .77 0 .966-.1a.917.917 0 00.4-.4c.1-.196.1-.453.1-.966v-2.2m0 15.583v-5.867c0-.513 0-.77-.1-.966a.917.917 0 00-.4-.4c-.196-.1-.453-.1-.966-.1H7.883c-.513 0-.77 0-.966.1a.917.917 0 00-.4.4c-.1.196-.1.453-.1.966v5.867M19.25 8.548v6.302c0 1.54 0 2.31-.3 2.899a2.751 2.751 0 01-1.201 1.201c-.589.3-1.359.3-2.899.3h-7.7c-1.54 0-2.31 0-2.898-.3a2.75 2.75 0 01-1.202-1.2c-.3-.589-.3-1.359-.3-2.899v-7.7c0-1.54 0-2.31.3-2.898A2.75 2.75 0 014.252 3.05c.588-.3 1.358-.3 2.898-.3h6.302c.448 0 .672 0 .883.05.187.046.366.12.53.22.185.114.344.272.66.59l2.866 2.864c.317.317.476.476.589.66.1.165.174.344.22.53.05.212.05.436.05.884Z"/>',
|
3370
|
+
"left": 0,
|
3371
|
+
"top": 0,
|
3372
|
+
"width": 22,
|
3373
|
+
"height": 22
|
3374
|
+
};
|
3375
|
+
exports.__esModule = true;
|
3376
|
+
exports.default = data;
|
3377
|
+
}
|
3378
|
+
});
|
3379
|
+
|
3220
3380
|
// src/icons/saved.js
|
3221
3381
|
var require_saved = __commonJS({
|
3222
3382
|
"src/icons/saved.js"(exports) {
|
@@ -3697,6 +3857,22 @@ var require_timelineLineChart = __commonJS({
|
|
3697
3857
|
}
|
3698
3858
|
});
|
3699
3859
|
|
3860
|
+
// src/icons/tools.js
|
3861
|
+
var require_tools = __commonJS({
|
3862
|
+
"src/icons/tools.js"(exports) {
|
3863
|
+
"use strict";
|
3864
|
+
var data = {
|
3865
|
+
"body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m5.667 5.667 4.125 4.125M5.667 5.667h-2.75L2 2.917 2.917 2l2.75.917v2.75ZM17.82 2.679l-2.409 2.409c-.363.363-.544.544-.612.754a.916.916 0 000 .566c.068.21.25.391.612.754l.218.218c.363.363.544.544.753.612.184.06.383.06.567 0 .21-.068.39-.25.754-.612l2.253-2.254a5.042 5.042 0 01-5.646 6.861c-.446-.087-.669-.13-.804-.117a.766.766 0 00-.341.104c-.12.063-.24.184-.48.424l-6.561 6.56a1.945 1.945 0 11-2.75-2.75l6.56-6.56c.24-.24.36-.36.425-.48a.766.766 0 00.104-.342c.013-.135-.03-.358-.119-.803A5.042 5.042 0 0117.82 2.68Zm-6.654 11.238 5.041 5.041a1.945 1.945 0 102.75-2.75l-4.147-4.147a5.029 5.029 0 01-.857-.157c-.357-.098-.748-.027-1.01.235l-1.777 1.778Z"/>',
|
3866
|
+
"left": 0,
|
3867
|
+
"top": 0,
|
3868
|
+
"width": 22,
|
3869
|
+
"height": 22
|
3870
|
+
};
|
3871
|
+
exports.__esModule = true;
|
3872
|
+
exports.default = data;
|
3873
|
+
}
|
3874
|
+
});
|
3875
|
+
|
3700
3876
|
// src/icons/trash.js
|
3701
3877
|
var require_trash = __commonJS({
|
3702
3878
|
"src/icons/trash.js"(exports) {
|
@@ -5198,7 +5374,11 @@ var Box = (_a) => {
|
|
5198
5374
|
style: __spreadValues(__spreadValues({}, styles), style)
|
5199
5375
|
}, rest));
|
5200
5376
|
};
|
5201
|
-
|
5377
|
+
var FlexBox = (props) => /* @__PURE__ */ React3.createElement(Box, __spreadValues({
|
5378
|
+
display: "flex"
|
5379
|
+
}, props));
|
5380
|
+
FlexBox.displayName = "Box.Flex";
|
5381
|
+
Box.Flex = FlexBox;
|
5202
5382
|
var BorderBox = createSimpleComponent(
|
5203
5383
|
Box,
|
5204
5384
|
{ className: "rounded border", borderColor: "grey-10" },
|
@@ -5263,6 +5443,7 @@ var import_alignmentVerticalCenter = __toESM(require_alignmentVerticalCenter());
|
|
5263
5443
|
var import_amexCard = __toESM(require_amexCard());
|
5264
5444
|
var import_annotation = __toESM(require_annotation());
|
5265
5445
|
var import_announcement = __toESM(require_announcement());
|
5446
|
+
var import_appUsers = __toESM(require_appUsers());
|
5266
5447
|
var import_applications = __toESM(require_applications());
|
5267
5448
|
var import_archive = __toESM(require_archive());
|
5268
5449
|
var import_arrowCircleDown = __toESM(require_arrowCircleDown());
|
@@ -5328,6 +5509,7 @@ var import_dataflow02 = __toESM(require_dataflow02());
|
|
5328
5509
|
var import_dataflow03 = __toESM(require_dataflow03());
|
5329
5510
|
var import_dbBackup = __toESM(require_dbBackup());
|
5330
5511
|
var import_delete = __toESM(require_delete());
|
5512
|
+
var import_deliveryLocation = __toESM(require_deliveryLocation());
|
5331
5513
|
var import_document = __toESM(require_document());
|
5332
5514
|
var import_dot = __toESM(require_dot());
|
5333
5515
|
var import_doubleCaretHorizontal = __toESM(require_doubleCaretHorizontal());
|
@@ -5359,6 +5541,7 @@ var import_following = __toESM(require_following());
|
|
5359
5541
|
var import_gift = __toESM(require_gift());
|
5360
5542
|
var import_gitBranch = __toESM(require_gitBranch());
|
5361
5543
|
var import_gitCommit = __toESM(require_gitCommit());
|
5544
|
+
var import_gitDiff = __toESM(require_gitDiff());
|
5362
5545
|
var import_gitMerge = __toESM(require_gitMerge());
|
5363
5546
|
var import_gitNewBranch = __toESM(require_gitNewBranch());
|
5364
5547
|
var import_gitPull = __toESM(require_gitPull());
|
@@ -5396,6 +5579,7 @@ var import_loading = __toESM(require_loading());
|
|
5396
5579
|
var import_lock = __toESM(require_lock());
|
5397
5580
|
var import_logIn = __toESM(require_logIn());
|
5398
5581
|
var import_logOut = __toESM(require_logOut());
|
5582
|
+
var import_managedUsers = __toESM(require_managedUsers());
|
5399
5583
|
var import_manual = __toESM(require_manual());
|
5400
5584
|
var import_mapMarker = __toESM(require_mapMarker());
|
5401
5585
|
var import_map = __toESM(require_map());
|
@@ -5415,6 +5599,8 @@ var import_nodes = __toESM(require_nodes());
|
|
5415
5599
|
var import_notificationsUpdated = __toESM(require_notificationsUpdated());
|
5416
5600
|
var import_notifications = __toESM(require_notifications());
|
5417
5601
|
var import_office = __toESM(require_office());
|
5602
|
+
var import_orgAdmin = __toESM(require_orgAdmin());
|
5603
|
+
var import_orgUnit = __toESM(require_orgUnit());
|
5418
5604
|
var import_outdated = __toESM(require_outdated());
|
5419
5605
|
var import_packageCheck = __toESM(require_packageCheck());
|
5420
5606
|
var import_packageSearch = __toESM(require_packageSearch());
|
@@ -5431,11 +5617,14 @@ var import_plusCircle = __toESM(require_plusCircle());
|
|
5431
5617
|
var import_plus = __toESM(require_plus());
|
5432
5618
|
var import_pools = __toESM(require_pools());
|
5433
5619
|
var import_power = __toESM(require_power());
|
5620
|
+
var import_proPlans = __toESM(require_proPlans());
|
5434
5621
|
var import_projects = __toESM(require_projects());
|
5435
5622
|
var import_properties = __toESM(require_properties());
|
5436
5623
|
var import_property = __toESM(require_property());
|
5437
5624
|
var import_pulse = __toESM(require_pulse());
|
5438
5625
|
var import_puzzlePiece = __toESM(require_puzzlePiece());
|
5626
|
+
var import_queriesEditor = __toESM(require_queriesEditor());
|
5627
|
+
var import_queriesStatistics = __toESM(require_queriesStatistics());
|
5439
5628
|
var import_queries = __toESM(require_queries());
|
5440
5629
|
var import_questionMark = __toESM(require_questionMark());
|
5441
5630
|
var import_recoverySwap = __toESM(require_recoverySwap());
|
@@ -5445,6 +5634,7 @@ var import_repeat = __toESM(require_repeat());
|
|
5445
5634
|
var import_replicationFlow = __toESM(require_replicationFlow());
|
5446
5635
|
var import_reset = __toESM(require_reset());
|
5447
5636
|
var import_roadmap = __toESM(require_roadmap());
|
5637
|
+
var import_save = __toESM(require_save());
|
5448
5638
|
var import_saved = __toESM(require_saved());
|
5449
5639
|
var import_scatterPlot = __toESM(require_scatterPlot());
|
5450
5640
|
var import_search = __toESM(require_search());
|
@@ -5475,6 +5665,7 @@ var import_time = __toESM(require_time());
|
|
5475
5665
|
var import_timelineAreaChart = __toESM(require_timelineAreaChart());
|
5476
5666
|
var import_timelineBarChart = __toESM(require_timelineBarChart());
|
5477
5667
|
var import_timelineLineChart = __toESM(require_timelineLineChart());
|
5668
|
+
var import_tools = __toESM(require_tools());
|
5478
5669
|
var import_trash = __toESM(require_trash());
|
5479
5670
|
var import_unlock = __toESM(require_unlock());
|
5480
5671
|
var import_unpin = __toESM(require_unpin());
|
@@ -6323,12 +6514,144 @@ Alert.Dismiss = (_a) => {
|
|
6323
6514
|
};
|
6324
6515
|
|
6325
6516
|
// src/atoms/Card/Card.tsx
|
6326
|
-
import
|
6517
|
+
import React19 from "react";
|
6327
6518
|
import isNumber from "lodash/isNumber";
|
6328
|
-
|
6519
|
+
|
6520
|
+
// src/molecules/Typography/Typography.tsx
|
6521
|
+
import React17 from "react";
|
6522
|
+
var Typography2 = (props) => /* @__PURE__ */ React17.createElement(Typography, __spreadValues({}, props));
|
6523
|
+
Typography2.LargeHeading = (_a) => {
|
6524
|
+
var _b = _a, { htmlTag = "h1" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6525
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6526
|
+
htmlTag,
|
6527
|
+
variant: "large-heading"
|
6528
|
+
}));
|
6529
|
+
};
|
6530
|
+
Typography2.Heading = (_a) => {
|
6531
|
+
var _b = _a, { htmlTag = "h1", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
6532
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6533
|
+
htmlTag,
|
6534
|
+
variant: "heading"
|
6535
|
+
}));
|
6536
|
+
};
|
6537
|
+
Typography2.Subheading = (_a) => {
|
6538
|
+
var _b = _a, { htmlTag = "h2", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
6539
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6540
|
+
htmlTag,
|
6541
|
+
variant: "subheading"
|
6542
|
+
}));
|
6543
|
+
};
|
6544
|
+
Typography2.LargeStrong = (_a) => {
|
6545
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6546
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6547
|
+
htmlTag,
|
6548
|
+
variant: "large-strong"
|
6549
|
+
}));
|
6550
|
+
};
|
6551
|
+
Typography2.Large = (_a) => {
|
6552
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6553
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6554
|
+
htmlTag,
|
6555
|
+
variant: "large"
|
6556
|
+
}));
|
6557
|
+
};
|
6558
|
+
Typography2.DefaultStrong = (_a) => {
|
6559
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6560
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6561
|
+
htmlTag,
|
6562
|
+
variant: "default-strong"
|
6563
|
+
}));
|
6564
|
+
};
|
6565
|
+
Typography2.Default = (_a) => {
|
6566
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6567
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6568
|
+
htmlTag,
|
6569
|
+
variant: "default"
|
6570
|
+
}));
|
6571
|
+
};
|
6572
|
+
Typography2.Paragraph = (_a) => {
|
6573
|
+
var _b = _a, { htmlTag = "p", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
6574
|
+
return /* @__PURE__ */ React17.createElement(Typography2.Default, __spreadProps(__spreadValues({}, props), {
|
6575
|
+
htmlTag
|
6576
|
+
}));
|
6577
|
+
};
|
6578
|
+
Typography2.P = Typography2.Paragraph;
|
6579
|
+
Typography2.SmallStrong = (_a) => {
|
6580
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6581
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6582
|
+
htmlTag,
|
6583
|
+
variant: "small-strong"
|
6584
|
+
}));
|
6585
|
+
};
|
6586
|
+
Typography2.Small = (_a) => {
|
6587
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6588
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6589
|
+
htmlTag,
|
6590
|
+
variant: "small"
|
6591
|
+
}));
|
6592
|
+
};
|
6593
|
+
Typography2.Caption = (_a) => {
|
6594
|
+
var _b = _a, { htmlTag = "div", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
6595
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6596
|
+
htmlTag,
|
6597
|
+
variant: "caption"
|
6598
|
+
}));
|
6599
|
+
};
|
6600
|
+
Typography2.LargeText = (_a) => {
|
6601
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6602
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6603
|
+
htmlTag,
|
6604
|
+
variant: "large-strong"
|
6605
|
+
}));
|
6606
|
+
};
|
6607
|
+
Typography2.MediumText = (_a) => {
|
6608
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6609
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6610
|
+
htmlTag,
|
6611
|
+
variant: "default-strong"
|
6612
|
+
}));
|
6613
|
+
};
|
6614
|
+
Typography2.Text = (_a) => {
|
6615
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6616
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6617
|
+
htmlTag,
|
6618
|
+
variant: "default"
|
6619
|
+
}));
|
6620
|
+
};
|
6621
|
+
Typography2.SmallText = (_a) => {
|
6622
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6623
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6624
|
+
htmlTag,
|
6625
|
+
variant: "small"
|
6626
|
+
}));
|
6627
|
+
};
|
6628
|
+
Typography2.SmallTextBold = (_a) => {
|
6629
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6630
|
+
return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6631
|
+
htmlTag,
|
6632
|
+
variant: "small-strong"
|
6633
|
+
}));
|
6634
|
+
};
|
6635
|
+
|
6636
|
+
// src/atoms/LineClamp/LineClamp.tsx
|
6637
|
+
import React18 from "react";
|
6638
|
+
var LineClamp = React18.forwardRef(
|
6639
|
+
(_a, ref) => {
|
6640
|
+
var _b = _a, { lines = 1, clamped = true, children, className, wordBreak = "break-words" } = _b, props = __objRest(_b, ["lines", "clamped", "children", "className", "wordBreak"]);
|
6641
|
+
return /* @__PURE__ */ React18.createElement("div", __spreadValues({
|
6642
|
+
ref,
|
6643
|
+
className: classNames(className, wordBreak === "break-words" ? "break-words" : "break-all", {
|
6644
|
+
[`line-clamp-${lines}`]: clamped
|
6645
|
+
})
|
6646
|
+
}, props), children);
|
6647
|
+
}
|
6648
|
+
);
|
6649
|
+
|
6650
|
+
// src/atoms/Card/Card.tsx
|
6651
|
+
var Card = React19.forwardRef(
|
6329
6652
|
(_a, ref) => {
|
6330
6653
|
var _b = _a, { disabled, fullWidth, enableMinWidth = true, clickable, className, children } = _b, rest = __objRest(_b, ["disabled", "fullWidth", "enableMinWidth", "clickable", "className", "children"]);
|
6331
|
-
return /* @__PURE__ */
|
6654
|
+
return /* @__PURE__ */ React19.createElement("div", __spreadProps(__spreadValues({
|
6332
6655
|
ref
|
6333
6656
|
}, rest), {
|
6334
6657
|
className: classNames(
|
@@ -6346,14 +6669,14 @@ var Card = React17.forwardRef(
|
|
6346
6669
|
);
|
6347
6670
|
var ColorHighlight = (_a) => {
|
6348
6671
|
var _b = _a, { color, className } = _b, rest = __objRest(_b, ["color", "className"]);
|
6349
|
-
return /* @__PURE__ */
|
6672
|
+
return /* @__PURE__ */ React19.createElement(Box, __spreadProps(__spreadValues({}, rest), {
|
6350
6673
|
backgroundColor: color,
|
6351
6674
|
className: classNames(tw("h-1 w-full absolute top-0 left-0 right-0"), className)
|
6352
6675
|
}));
|
6353
6676
|
};
|
6354
6677
|
var ImageContainer = (_a) => {
|
6355
6678
|
var _b = _a, { className, fullSize } = _b, rest = __objRest(_b, ["className", "fullSize"]);
|
6356
|
-
return /* @__PURE__ */
|
6679
|
+
return /* @__PURE__ */ React19.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
6357
6680
|
className: classNames(
|
6358
6681
|
tw("-mx-4", {
|
6359
6682
|
"-mt-4": Boolean(fullSize)
|
@@ -6363,7 +6686,7 @@ var ImageContainer = (_a) => {
|
|
6363
6686
|
}));
|
6364
6687
|
};
|
6365
6688
|
var classes = "w-full bg-cover object-cover";
|
6366
|
-
var Image = ({ image, imageAlt, fullSize = false, imageHeight }) => /* @__PURE__ */
|
6689
|
+
var Image = ({ image, imageAlt, fullSize = false, imageHeight }) => /* @__PURE__ */ React19.createElement("img", {
|
6367
6690
|
src: image,
|
6368
6691
|
alt: imageAlt,
|
6369
6692
|
className: tw(classes, {
|
@@ -6372,37 +6695,68 @@ var Image = ({ image, imageAlt, fullSize = false, imageHeight }) => /* @__PURE__
|
|
6372
6695
|
}),
|
6373
6696
|
style: { height: isNumber(imageHeight) ? `${imageHeight}px` : imageHeight }
|
6374
6697
|
});
|
6698
|
+
var Title = (props) => /* @__PURE__ */ React19.createElement(Box.Flex, __spreadValues({
|
6699
|
+
component: "div",
|
6700
|
+
alignItems: "center",
|
6701
|
+
gap: "2"
|
6702
|
+
}, props));
|
6375
6703
|
var Content = (_a) => {
|
6376
6704
|
var _b = _a, { className, dense } = _b, rest = __objRest(_b, ["className", "dense"]);
|
6377
|
-
return /* @__PURE__ */
|
6705
|
+
return /* @__PURE__ */ React19.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
6378
6706
|
className: classNames(tw("flex flex-col", { "gap-4": !dense }), className)
|
6379
6707
|
}));
|
6380
6708
|
};
|
6381
6709
|
var Actions = (_a) => {
|
6382
6710
|
var _b = _a, { className, dense } = _b, rest = __objRest(_b, ["className", "dense"]);
|
6383
|
-
return /* @__PURE__ */
|
6711
|
+
return /* @__PURE__ */ React19.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
6384
6712
|
className: classNames(tw("flex gap-3 items-center", { "pt-3 ": !dense }), className)
|
6385
6713
|
}));
|
6386
6714
|
};
|
6715
|
+
Card.Title = Title;
|
6387
6716
|
Card.Content = Content;
|
6388
6717
|
Card.Actions = Actions;
|
6389
6718
|
Card.ImageContainer = ImageContainer;
|
6390
6719
|
Card.Image = Image;
|
6391
6720
|
Card.ColorHiglight = ColorHighlight;
|
6721
|
+
var isCardTitleComponent = (c) => {
|
6722
|
+
return React19.isValidElement(c) && c.type === Card.Title;
|
6723
|
+
};
|
6724
|
+
var getTitleContent = ({
|
6725
|
+
title,
|
6726
|
+
clampTitle,
|
6727
|
+
dense = false
|
6728
|
+
}) => {
|
6729
|
+
if (typeof title !== "string" && !isCardTitleComponent(title)) {
|
6730
|
+
throw new Error(
|
6731
|
+
"Wrap a custom card title element with <Card.Title> to get the desired spacing between children elements applied."
|
6732
|
+
);
|
6733
|
+
}
|
6734
|
+
const titleContent = /* @__PURE__ */ React19.createElement(Typography2, {
|
6735
|
+
variant: dense ? "small-strong" : "default-strong",
|
6736
|
+
color: "black"
|
6737
|
+
}, title);
|
6738
|
+
if (clampTitle) {
|
6739
|
+
return /* @__PURE__ */ React19.createElement(LineClamp, {
|
6740
|
+
lines: clampTitle,
|
6741
|
+
wordBreak: "break-all"
|
6742
|
+
}, titleContent);
|
6743
|
+
}
|
6744
|
+
return titleContent;
|
6745
|
+
};
|
6392
6746
|
|
6393
6747
|
// src/atoms/Checkbox/Checkbox.tsx
|
6394
|
-
import
|
6748
|
+
import React20 from "react";
|
6395
6749
|
var import_minus2 = __toESM(require_minus());
|
6396
6750
|
var import_tick2 = __toESM(require_tick());
|
6397
|
-
var Checkbox =
|
6751
|
+
var Checkbox = React20.forwardRef(
|
6398
6752
|
(_a, ref) => {
|
6399
6753
|
var _b = _a, { id, children, name, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly", "indeterminate"]);
|
6400
|
-
return /* @__PURE__ */
|
6754
|
+
return /* @__PURE__ */ React20.createElement("span", {
|
6401
6755
|
className: classNames(tw("inline-flex justify-center items-center self-center relative"), {
|
6402
6756
|
"hover:border-grey-50 peer-checked:border-primary-80": !disabled,
|
6403
6757
|
"border-grey-5": disabled
|
6404
6758
|
})
|
6405
|
-
}, /* @__PURE__ */
|
6759
|
+
}, /* @__PURE__ */ React20.createElement("input", __spreadProps(__spreadValues({
|
6406
6760
|
id,
|
6407
6761
|
ref,
|
6408
6762
|
type: "checkbox",
|
@@ -6416,7 +6770,7 @@ var Checkbox = React18.forwardRef(
|
|
6416
6770
|
),
|
6417
6771
|
readOnly,
|
6418
6772
|
disabled
|
6419
|
-
})), /* @__PURE__ */
|
6773
|
+
})), /* @__PURE__ */ React20.createElement(Icon, {
|
6420
6774
|
icon: indeterminate ? import_minus2.default : import_tick2.default,
|
6421
6775
|
strokeWidth: "2px",
|
6422
6776
|
className: classNames(
|
@@ -6436,11 +6790,11 @@ var Checkbox = React18.forwardRef(
|
|
6436
6790
|
);
|
6437
6791
|
|
6438
6792
|
// src/atoms/Chip/Chip.tsx
|
6439
|
-
import
|
6440
|
-
var Container =
|
6793
|
+
import React21 from "react";
|
6794
|
+
var Container = React21.forwardRef(
|
6441
6795
|
(_a, ref) => {
|
6442
6796
|
var _b = _a, { dense = false, className, children } = _b, rest = __objRest(_b, ["dense", "className", "children"]);
|
6443
|
-
return /* @__PURE__ */
|
6797
|
+
return /* @__PURE__ */ React21.createElement("span", __spreadValues({
|
6444
6798
|
ref,
|
6445
6799
|
className: classNames(
|
6446
6800
|
tw("inline-flex items-center rounded-sm transition whitespace-nowrap", {
|
@@ -6476,29 +6830,42 @@ var DIALOG_ICONS_AND_COLORS = {
|
|
6476
6830
|
};
|
6477
6831
|
|
6478
6832
|
// src/atoms/DropdownMenu/DropdownMenu.tsx
|
6479
|
-
import
|
6833
|
+
import React24 from "react";
|
6480
6834
|
|
6481
6835
|
// src/molecules/Badge/Badge.tsx
|
6482
|
-
import
|
6836
|
+
import React23 from "react";
|
6483
6837
|
|
6484
6838
|
// src/molecules/Skeleton/Skeleton.tsx
|
6485
|
-
import
|
6839
|
+
import React22 from "react";
|
6486
6840
|
import isNumber2 from "lodash/isNumber";
|
6487
6841
|
import isUndefined7 from "lodash/isUndefined";
|
6488
|
-
var Skeleton = ({
|
6489
|
-
|
6490
|
-
|
6491
|
-
|
6492
|
-
|
6493
|
-
|
6494
|
-
|
6495
|
-
|
6842
|
+
var Skeleton = (_a) => {
|
6843
|
+
var _b = _a, {
|
6844
|
+
width,
|
6845
|
+
height,
|
6846
|
+
display = "block",
|
6847
|
+
className,
|
6848
|
+
animate = true,
|
6849
|
+
rounded = false,
|
6850
|
+
style
|
6851
|
+
} = _b, rest = __objRest(_b, [
|
6852
|
+
"width",
|
6853
|
+
"height",
|
6854
|
+
"display",
|
6855
|
+
"className",
|
6856
|
+
"animate",
|
6857
|
+
"rounded",
|
6858
|
+
"style"
|
6859
|
+
]);
|
6496
6860
|
const styles = {
|
6497
6861
|
width: isNumber2(width) ? `${width}px` : width,
|
6498
6862
|
height: isNumber2(height) ? `${height}px` : height
|
6499
6863
|
};
|
6500
|
-
return /* @__PURE__ */
|
6501
|
-
|
6864
|
+
return /* @__PURE__ */ React22.createElement("div", __spreadProps(__spreadValues({
|
6865
|
+
"aria-label": "Loading..."
|
6866
|
+
}, rest), {
|
6867
|
+
style: __spreadValues(__spreadValues({}, styles), style),
|
6868
|
+
role: "progressbar",
|
6502
6869
|
className: classNames(
|
6503
6870
|
"Aquarium-Skeleton",
|
6504
6871
|
tw("bg-grey-5", {
|
@@ -6510,7 +6877,7 @@ var Skeleton = ({
|
|
6510
6877
|
}),
|
6511
6878
|
className
|
6512
6879
|
)
|
6513
|
-
});
|
6880
|
+
}));
|
6514
6881
|
};
|
6515
6882
|
|
6516
6883
|
// src/molecules/Badge/Badge.tsx
|
@@ -6518,7 +6885,7 @@ var createBadge = (type, displayName) => {
|
|
6518
6885
|
const Component = (props) => {
|
6519
6886
|
const _a = props, { kind = "filled", value, textClassname, dense = false } = _a, rest = __objRest(_a, ["kind", "value", "textClassname", "dense"]);
|
6520
6887
|
const valueStr = value.toString();
|
6521
|
-
return /* @__PURE__ */
|
6888
|
+
return /* @__PURE__ */ React23.createElement("span", __spreadProps(__spreadValues({}, rest), {
|
6522
6889
|
className: classNames(
|
6523
6890
|
tw("inline-block text-center", {
|
6524
6891
|
"rounded-full": type === "default" || type === "chip",
|
@@ -6533,7 +6900,7 @@ var createBadge = (type, displayName) => {
|
|
6533
6900
|
}),
|
6534
6901
|
"Aquarium-Badge"
|
6535
6902
|
)
|
6536
|
-
}), /* @__PURE__ */
|
6903
|
+
}), /* @__PURE__ */ React23.createElement("span", {
|
6537
6904
|
className: classNames(
|
6538
6905
|
textClassname,
|
6539
6906
|
tw("inline-block", {
|
@@ -6544,7 +6911,7 @@ var createBadge = (type, displayName) => {
|
|
6544
6911
|
}, valueStr));
|
6545
6912
|
};
|
6546
6913
|
Component.displayName = displayName;
|
6547
|
-
Component.Skeleton = () => /* @__PURE__ */
|
6914
|
+
Component.Skeleton = () => /* @__PURE__ */ React23.createElement(Skeleton, {
|
6548
6915
|
height: 16,
|
6549
6916
|
width: 16,
|
6550
6917
|
display: "inline-block",
|
@@ -6558,15 +6925,15 @@ var NotificationBadge = ({
|
|
6558
6925
|
top = "-2px",
|
6559
6926
|
right = "-2px"
|
6560
6927
|
}) => {
|
6561
|
-
return /* @__PURE__ */
|
6928
|
+
return /* @__PURE__ */ React23.createElement("div", {
|
6562
6929
|
className: tw("relative inline-flex")
|
6563
|
-
}, children, /* @__PURE__ */
|
6930
|
+
}, children, /* @__PURE__ */ React23.createElement("span", {
|
6564
6931
|
style: { top, right },
|
6565
6932
|
className: tw("absolute rounded-full w-[6px] h-[6px] bg-error-70")
|
6566
6933
|
}));
|
6567
6934
|
};
|
6568
6935
|
var DotBadge = ({ dense = false }) => {
|
6569
|
-
return /* @__PURE__ */
|
6936
|
+
return /* @__PURE__ */ React23.createElement("span", {
|
6570
6937
|
className: tw("rounded-full bg-current", {
|
6571
6938
|
"w-[6px] h-[6px]": dense,
|
6572
6939
|
"w-[9px] h-[9px]": !dense
|
@@ -6581,154 +6948,38 @@ Badge.Dot.displayName = "Badge.Dot";
|
|
6581
6948
|
var TabBadge = createBadge("tab", "TabBadge");
|
6582
6949
|
var ChipBadge = createBadge("chip", "ChipBadge");
|
6583
6950
|
|
6584
|
-
// src/molecules/Typography/Typography.tsx
|
6585
|
-
import React22 from "react";
|
6586
|
-
var Typography2 = (props) => /* @__PURE__ */ React22.createElement(Typography, __spreadValues({}, props));
|
6587
|
-
Typography2.LargeHeading = (_a) => {
|
6588
|
-
var _b = _a, { htmlTag = "h1" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6589
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6590
|
-
htmlTag,
|
6591
|
-
variant: "large-heading"
|
6592
|
-
}));
|
6593
|
-
};
|
6594
|
-
Typography2.Heading = (_a) => {
|
6595
|
-
var _b = _a, { htmlTag = "h1", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
6596
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6597
|
-
htmlTag,
|
6598
|
-
variant: "heading"
|
6599
|
-
}));
|
6600
|
-
};
|
6601
|
-
Typography2.Subheading = (_a) => {
|
6602
|
-
var _b = _a, { htmlTag = "h2", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
6603
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6604
|
-
htmlTag,
|
6605
|
-
variant: "subheading"
|
6606
|
-
}));
|
6607
|
-
};
|
6608
|
-
Typography2.LargeStrong = (_a) => {
|
6609
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6610
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6611
|
-
htmlTag,
|
6612
|
-
variant: "large-strong"
|
6613
|
-
}));
|
6614
|
-
};
|
6615
|
-
Typography2.Large = (_a) => {
|
6616
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6617
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6618
|
-
htmlTag,
|
6619
|
-
variant: "large"
|
6620
|
-
}));
|
6621
|
-
};
|
6622
|
-
Typography2.DefaultStrong = (_a) => {
|
6623
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6624
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6625
|
-
htmlTag,
|
6626
|
-
variant: "default-strong"
|
6627
|
-
}));
|
6628
|
-
};
|
6629
|
-
Typography2.Default = (_a) => {
|
6630
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6631
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6632
|
-
htmlTag,
|
6633
|
-
variant: "default"
|
6634
|
-
}));
|
6635
|
-
};
|
6636
|
-
Typography2.Paragraph = (_a) => {
|
6637
|
-
var _b = _a, { htmlTag = "p", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
6638
|
-
return /* @__PURE__ */ React22.createElement(Typography2.Default, __spreadProps(__spreadValues({}, props), {
|
6639
|
-
htmlTag
|
6640
|
-
}));
|
6641
|
-
};
|
6642
|
-
Typography2.P = Typography2.Paragraph;
|
6643
|
-
Typography2.SmallStrong = (_a) => {
|
6644
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6645
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6646
|
-
htmlTag,
|
6647
|
-
variant: "small-strong"
|
6648
|
-
}));
|
6649
|
-
};
|
6650
|
-
Typography2.Small = (_a) => {
|
6651
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6652
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6653
|
-
htmlTag,
|
6654
|
-
variant: "small"
|
6655
|
-
}));
|
6656
|
-
};
|
6657
|
-
Typography2.Caption = (_a) => {
|
6658
|
-
var _b = _a, { htmlTag = "div", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
|
6659
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6660
|
-
htmlTag,
|
6661
|
-
variant: "caption"
|
6662
|
-
}));
|
6663
|
-
};
|
6664
|
-
Typography2.LargeText = (_a) => {
|
6665
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6666
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6667
|
-
htmlTag,
|
6668
|
-
variant: "large-strong"
|
6669
|
-
}));
|
6670
|
-
};
|
6671
|
-
Typography2.MediumText = (_a) => {
|
6672
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6673
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6674
|
-
htmlTag,
|
6675
|
-
variant: "default-strong"
|
6676
|
-
}));
|
6677
|
-
};
|
6678
|
-
Typography2.Text = (_a) => {
|
6679
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6680
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6681
|
-
htmlTag,
|
6682
|
-
variant: "default"
|
6683
|
-
}));
|
6684
|
-
};
|
6685
|
-
Typography2.SmallText = (_a) => {
|
6686
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6687
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6688
|
-
htmlTag,
|
6689
|
-
variant: "small"
|
6690
|
-
}));
|
6691
|
-
};
|
6692
|
-
Typography2.SmallTextBold = (_a) => {
|
6693
|
-
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
6694
|
-
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
6695
|
-
htmlTag,
|
6696
|
-
variant: "small-strong"
|
6697
|
-
}));
|
6698
|
-
};
|
6699
|
-
|
6700
6951
|
// src/atoms/DropdownMenu/DropdownMenu.tsx
|
6701
6952
|
var import_tick3 = __toESM(require_tick());
|
6702
|
-
var DropdownMenu =
|
6953
|
+
var DropdownMenu = React24.forwardRef(
|
6703
6954
|
(_a, ref) => {
|
6704
6955
|
var _b = _a, { maxHeight = "450px", minWidth = "125px", maxWidth, className, children } = _b, props = __objRest(_b, ["maxHeight", "minWidth", "maxWidth", "className", "children"]);
|
6705
|
-
return /* @__PURE__ */
|
6956
|
+
return /* @__PURE__ */ React24.createElement("div", __spreadValues({
|
6706
6957
|
ref,
|
6707
6958
|
style: { maxHeight, minWidth, maxWidth },
|
6708
6959
|
className: classNames(className, "bg-white w-full flex flex-col overflow-x-hidden typography-small text-grey-70")
|
6709
6960
|
}, props), children);
|
6710
6961
|
}
|
6711
6962
|
);
|
6712
|
-
var ContentContainer = ({ children }) => /* @__PURE__ */
|
6963
|
+
var ContentContainer = ({ children }) => /* @__PURE__ */ React24.createElement("div", {
|
6713
6964
|
className: tw("p-3 overflow-y-auto overflow-x-hidden")
|
6714
6965
|
}, children);
|
6715
6966
|
DropdownMenu.ContentContainer = ContentContainer;
|
6716
|
-
var List =
|
6967
|
+
var List = React24.forwardRef(
|
6717
6968
|
(_a, ref) => {
|
6718
6969
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
6719
|
-
return /* @__PURE__ */
|
6970
|
+
return /* @__PURE__ */ React24.createElement("ul", __spreadValues({
|
6720
6971
|
ref,
|
6721
6972
|
className: classNames(className, "outline-none ring-0")
|
6722
6973
|
}, props), children);
|
6723
6974
|
}
|
6724
6975
|
);
|
6725
6976
|
DropdownMenu.List = List;
|
6726
|
-
var Group =
|
6977
|
+
var Group = React24.forwardRef(
|
6727
6978
|
(_a, ref) => {
|
6728
6979
|
var _b = _a, { className, title, titleProps, children } = _b, props = __objRest(_b, ["className", "title", "titleProps", "children"]);
|
6729
|
-
return /* @__PURE__ */
|
6980
|
+
return /* @__PURE__ */ React24.createElement("li", __spreadValues({
|
6730
6981
|
ref
|
6731
|
-
}, props), title && /* @__PURE__ */
|
6982
|
+
}, props), title && /* @__PURE__ */ React24.createElement("div", __spreadValues({
|
6732
6983
|
className: classNames(className, "p-3 text-grey-40 uppercase cursor-default typography-caption", {
|
6733
6984
|
"text-grey-20": props.disabled
|
6734
6985
|
})
|
@@ -6736,10 +6987,10 @@ var Group = React23.forwardRef(
|
|
6736
6987
|
}
|
6737
6988
|
);
|
6738
6989
|
DropdownMenu.Group = Group;
|
6739
|
-
var Item =
|
6990
|
+
var Item = React24.forwardRef(
|
6740
6991
|
(_a, ref) => {
|
6741
6992
|
var _b = _a, { kind, highlighted, selected, className, icon, showNotification = false, children } = _b, props = __objRest(_b, ["kind", "highlighted", "selected", "className", "icon", "showNotification", "children"]);
|
6742
|
-
return /* @__PURE__ */
|
6993
|
+
return /* @__PURE__ */ React24.createElement("li", __spreadValues({
|
6743
6994
|
ref,
|
6744
6995
|
className: classNames(className, "flex items-center gap-x-3 p-3 outline-none", {
|
6745
6996
|
"cursor-pointer hover:bg-grey-0": !props.disabled,
|
@@ -6747,42 +6998,42 @@ var Item = React23.forwardRef(
|
|
6747
6998
|
"text-primary-80": kind === "action",
|
6748
6999
|
"text-grey-20 cursor-not-allowed": props.disabled
|
6749
7000
|
})
|
6750
|
-
}, props), icon && showNotification && /* @__PURE__ */
|
7001
|
+
}, props), icon && showNotification && /* @__PURE__ */ React24.createElement(Badge.Notification, null, /* @__PURE__ */ React24.createElement(InlineIcon, {
|
6751
7002
|
icon
|
6752
|
-
})), icon && !showNotification && /* @__PURE__ */
|
7003
|
+
})), icon && !showNotification && /* @__PURE__ */ React24.createElement(InlineIcon, {
|
6753
7004
|
icon
|
6754
|
-
}), /* @__PURE__ */
|
7005
|
+
}), /* @__PURE__ */ React24.createElement("span", {
|
6755
7006
|
className: tw("grow")
|
6756
|
-
}, children), selected && /* @__PURE__ */
|
7007
|
+
}, children), selected && /* @__PURE__ */ React24.createElement(InlineIcon, {
|
6757
7008
|
icon: import_tick3.default
|
6758
7009
|
}));
|
6759
7010
|
}
|
6760
7011
|
);
|
6761
7012
|
DropdownMenu.Item = Item;
|
6762
|
-
var Description = ({ disabled, children }) => /* @__PURE__ */
|
7013
|
+
var Description = ({ disabled, children }) => /* @__PURE__ */ React24.createElement(Typography2.Caption, {
|
6763
7014
|
color: disabled ? "grey-20" : "grey-40"
|
6764
7015
|
}, children);
|
6765
7016
|
DropdownMenu.Description = Description;
|
6766
7017
|
var Separator = (_a) => {
|
6767
7018
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
6768
|
-
return /* @__PURE__ */
|
7019
|
+
return /* @__PURE__ */ React24.createElement("li", __spreadProps(__spreadValues({}, props), {
|
6769
7020
|
className: classNames(className, tw("m-3 block bg-grey-5 h-[1px]"))
|
6770
7021
|
}));
|
6771
7022
|
};
|
6772
7023
|
DropdownMenu.Separator = Separator;
|
6773
7024
|
var EmptyStateContainer = (_a) => {
|
6774
7025
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
6775
|
-
return /* @__PURE__ */
|
7026
|
+
return /* @__PURE__ */ React24.createElement("div", __spreadValues({
|
6776
7027
|
className: classNames(tw("border border-dashed border-grey-10 p-3"), className)
|
6777
7028
|
}, props), children);
|
6778
7029
|
};
|
6779
7030
|
DropdownMenu.EmptyStateContainer = EmptyStateContainer;
|
6780
7031
|
|
6781
7032
|
// src/atoms/InputGroup/InputGroup.tsx
|
6782
|
-
import
|
7033
|
+
import React26 from "react";
|
6783
7034
|
|
6784
7035
|
// src/molecules/Grid/Grid.tsx
|
6785
|
-
import
|
7036
|
+
import React25 from "react";
|
6786
7037
|
import isEmpty from "lodash/isEmpty";
|
6787
7038
|
import mapValues from "lodash/mapValues";
|
6788
7039
|
import pick from "lodash/pick";
|
@@ -6833,14 +7084,14 @@ var GridItem = Tailwindify(
|
|
6833
7084
|
gridRowEnd: rowEnd
|
6834
7085
|
});
|
6835
7086
|
const HtmlElement = htmlTag;
|
6836
|
-
return /* @__PURE__ */
|
7087
|
+
return /* @__PURE__ */ React25.createElement(HtmlElement, {
|
6837
7088
|
style: __spreadValues(__spreadValues({}, hookStyle), style),
|
6838
7089
|
className
|
6839
7090
|
}, children);
|
6840
7091
|
}
|
6841
7092
|
);
|
6842
7093
|
var Grid = (props) => {
|
6843
|
-
return /* @__PURE__ */
|
7094
|
+
return /* @__PURE__ */ React25.createElement(GridComponent, __spreadValues({}, props));
|
6844
7095
|
};
|
6845
7096
|
var GridComponent = Tailwindify(
|
6846
7097
|
({
|
@@ -6894,12 +7145,13 @@ var GridComponent = Tailwindify(
|
|
6894
7145
|
gridRowEnd: rowEnd
|
6895
7146
|
});
|
6896
7147
|
const HtmlElement = htmlTag;
|
6897
|
-
return /* @__PURE__ */
|
7148
|
+
return /* @__PURE__ */ React25.createElement(HtmlElement, {
|
6898
7149
|
style: __spreadValues(__spreadValues({}, hookStyle), style),
|
6899
7150
|
className
|
6900
7151
|
}, children);
|
6901
7152
|
}
|
6902
7153
|
);
|
7154
|
+
Grid.displayName = "Grid";
|
6903
7155
|
Grid.Item = GridItem;
|
6904
7156
|
Grid.Item.displayName = "Grid.Item";
|
6905
7157
|
|
@@ -6912,7 +7164,7 @@ var gridColumnStyles = {
|
|
6912
7164
|
};
|
6913
7165
|
var InputGroup = (_a) => {
|
6914
7166
|
var _b = _a, { cols = "1", children } = _b, rest = __objRest(_b, ["cols", "children"]);
|
6915
|
-
return /* @__PURE__ */
|
7167
|
+
return /* @__PURE__ */ React26.createElement(Grid, __spreadProps(__spreadValues({}, rest), {
|
6916
7168
|
display: "inline-grid",
|
6917
7169
|
colGap: "l4",
|
6918
7170
|
rowGap: "3",
|
@@ -6922,19 +7174,19 @@ var InputGroup = (_a) => {
|
|
6922
7174
|
};
|
6923
7175
|
|
6924
7176
|
// src/atoms/Link/Link.tsx
|
6925
|
-
import
|
7177
|
+
import React27 from "react";
|
6926
7178
|
var Link = (_a) => {
|
6927
7179
|
var _b = _a, { children, className } = _b, props = __objRest(_b, ["children", "className"]);
|
6928
|
-
return /* @__PURE__ */
|
7180
|
+
return /* @__PURE__ */ React27.createElement("a", __spreadValues({
|
6929
7181
|
className: classNames(className, linkStyle)
|
6930
7182
|
}, props), children);
|
6931
7183
|
};
|
6932
7184
|
|
6933
7185
|
// src/atoms/Modal/Modal.tsx
|
6934
|
-
import
|
7186
|
+
import React28 from "react";
|
6935
7187
|
var Modal = (_a) => {
|
6936
7188
|
var _b = _a, { children, className, open } = _b, rest = __objRest(_b, ["children", "className", "open"]);
|
6937
|
-
return open ? /* @__PURE__ */
|
7189
|
+
return open ? /* @__PURE__ */ React28.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
6938
7190
|
className: classNames(
|
6939
7191
|
tw("inset-0 overflow-y-auto z-modal flex justify-center items-center fixed py-7"),
|
6940
7192
|
className
|
@@ -6943,14 +7195,14 @@ var Modal = (_a) => {
|
|
6943
7195
|
};
|
6944
7196
|
Modal.BackDrop = (_a) => {
|
6945
7197
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
6946
|
-
return /* @__PURE__ */
|
7198
|
+
return /* @__PURE__ */ React28.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
6947
7199
|
className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-primary-100 opacity-60"), className)
|
6948
7200
|
}));
|
6949
7201
|
};
|
6950
|
-
Modal.Dialog =
|
7202
|
+
Modal.Dialog = React28.forwardRef(
|
6951
7203
|
(_a, ref) => {
|
6952
7204
|
var _b = _a, { children, className, size = "sm" } = _b, rest = __objRest(_b, ["children", "className", "size"]);
|
6953
|
-
return /* @__PURE__ */
|
7205
|
+
return /* @__PURE__ */ React28.createElement("div", __spreadProps(__spreadValues({
|
6954
7206
|
ref,
|
6955
7207
|
"aria-modal": "true"
|
6956
7208
|
}, rest), {
|
@@ -6968,31 +7220,31 @@ Modal.Dialog = React27.forwardRef(
|
|
6968
7220
|
);
|
6969
7221
|
Modal.Header = (_a) => {
|
6970
7222
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
6971
|
-
return /* @__PURE__ */
|
7223
|
+
return /* @__PURE__ */ React28.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
6972
7224
|
className: classNames(tw("px-7 py-6 gap-3 flex items-center"), className)
|
6973
7225
|
}), children);
|
6974
7226
|
};
|
6975
7227
|
Modal.HeaderImage = (_a) => {
|
6976
7228
|
var _b = _a, { backgroundImage, className } = _b, rest = __objRest(_b, ["backgroundImage", "className"]);
|
6977
7229
|
const common = tw("h-[120px] min-h-[120px] w-full ");
|
6978
|
-
return backgroundImage ? /* @__PURE__ */
|
7230
|
+
return backgroundImage ? /* @__PURE__ */ React28.createElement("img", __spreadProps(__spreadValues({
|
6979
7231
|
"aria-hidden": true,
|
6980
7232
|
src: backgroundImage != null ? backgroundImage : void 0
|
6981
7233
|
}, rest), {
|
6982
7234
|
className: classNames(common, tw("object-cover"), className)
|
6983
|
-
})) : /* @__PURE__ */
|
7235
|
+
})) : /* @__PURE__ */ React28.createElement("div", {
|
6984
7236
|
className: classNames(common, tw("bg-grey-5"), className)
|
6985
7237
|
});
|
6986
7238
|
};
|
6987
7239
|
Modal.CloseButtonContainer = (_a) => {
|
6988
7240
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
6989
|
-
return /* @__PURE__ */
|
7241
|
+
return /* @__PURE__ */ React28.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
6990
7242
|
className: classNames(tw("absolute top-[20px] right-[28px]"), className)
|
6991
7243
|
}));
|
6992
7244
|
};
|
6993
7245
|
Modal.Title = (_a) => {
|
6994
7246
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
6995
|
-
return /* @__PURE__ */
|
7247
|
+
return /* @__PURE__ */ React28.createElement(Typography, __spreadValues({
|
6996
7248
|
htmlTag: "h2",
|
6997
7249
|
variant: "subheading",
|
6998
7250
|
color: "grey-90",
|
@@ -7001,77 +7253,77 @@ Modal.Title = (_a) => {
|
|
7001
7253
|
};
|
7002
7254
|
Modal.Subtitle = (_a) => {
|
7003
7255
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
7004
|
-
return /* @__PURE__ */
|
7256
|
+
return /* @__PURE__ */ React28.createElement(Typography, __spreadValues({
|
7005
7257
|
variant: "small",
|
7006
7258
|
color: "grey-60"
|
7007
7259
|
}, rest), children);
|
7008
7260
|
};
|
7009
7261
|
Modal.TitleContainer = (_a) => {
|
7010
7262
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7011
|
-
return /* @__PURE__ */
|
7263
|
+
return /* @__PURE__ */ React28.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7012
7264
|
className: classNames(tw("flex flex-col grow gap-2"), className)
|
7013
7265
|
}), children);
|
7014
7266
|
};
|
7015
7267
|
Modal.Body = (_a) => {
|
7016
7268
|
var _b = _a, { children, className, noFooter = false, maxHeight, style } = _b, rest = __objRest(_b, ["children", "className", "noFooter", "maxHeight", "style"]);
|
7017
|
-
return /* @__PURE__ */
|
7269
|
+
return /* @__PURE__ */ React28.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7018
7270
|
className: classNames(tw("px-7 grow overflow-y-auto", { "pb-6": noFooter }), className),
|
7019
7271
|
style: __spreadValues({ maxHeight }, style)
|
7020
7272
|
}), children);
|
7021
7273
|
};
|
7022
7274
|
Modal.Footer = (_a) => {
|
7023
7275
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7024
|
-
return /* @__PURE__ */
|
7276
|
+
return /* @__PURE__ */ React28.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7025
7277
|
className: classNames(tw("px-7 py-6"), className)
|
7026
7278
|
}), children);
|
7027
7279
|
};
|
7028
7280
|
Modal.Actions = (_a) => {
|
7029
7281
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7030
|
-
return /* @__PURE__ */
|
7282
|
+
return /* @__PURE__ */ React28.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7031
7283
|
className: classNames(tw("flex gap-4 justify-end"), className)
|
7032
7284
|
}), children);
|
7033
7285
|
};
|
7034
7286
|
|
7035
7287
|
// src/atoms/Navigation/Navigation.tsx
|
7036
|
-
import
|
7288
|
+
import React29 from "react";
|
7037
7289
|
var Navigation = (_a) => {
|
7038
7290
|
var _b = _a, { className, children } = _b, rest = __objRest(_b, ["className", "children"]);
|
7039
|
-
return /* @__PURE__ */
|
7291
|
+
return /* @__PURE__ */ React29.createElement("nav", {
|
7040
7292
|
className: classNames(tw("bg-grey-0 h-full"))
|
7041
|
-
}, /* @__PURE__ */
|
7293
|
+
}, /* @__PURE__ */ React29.createElement("ul", __spreadProps(__spreadValues({}, rest), {
|
7042
7294
|
className: classNames(tw("flex flex-col h-full"), className),
|
7043
7295
|
role: "menu"
|
7044
7296
|
}), children));
|
7045
7297
|
};
|
7046
7298
|
var Header = (_a) => {
|
7047
7299
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
7048
|
-
return /* @__PURE__ */
|
7300
|
+
return /* @__PURE__ */ React29.createElement("li", __spreadProps(__spreadValues({}, rest), {
|
7049
7301
|
role: "presentation",
|
7050
7302
|
className: classNames(tw("px-6 py-5"), className)
|
7051
7303
|
}));
|
7052
7304
|
};
|
7053
7305
|
var Footer = (_a) => {
|
7054
7306
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
7055
|
-
return /* @__PURE__ */
|
7307
|
+
return /* @__PURE__ */ React29.createElement("li", __spreadProps(__spreadValues({}, rest), {
|
7056
7308
|
role: "presentation",
|
7057
7309
|
className: classNames(tw("px-6 py-5 mt-auto"), className)
|
7058
7310
|
}));
|
7059
7311
|
};
|
7060
7312
|
var Section = (_a) => {
|
7061
7313
|
var _b = _a, { title, className } = _b, rest = __objRest(_b, ["title", "className"]);
|
7062
|
-
return /* @__PURE__ */
|
7314
|
+
return /* @__PURE__ */ React29.createElement("li", {
|
7063
7315
|
role: "presentation",
|
7064
7316
|
className: tw("py-5")
|
7065
|
-
}, title && /* @__PURE__ */
|
7317
|
+
}, title && /* @__PURE__ */ React29.createElement("div", {
|
7066
7318
|
className: classNames(className, "py-2 px-6 text-grey-40 uppercase cursor-default typography-caption")
|
7067
|
-
}, title), /* @__PURE__ */
|
7319
|
+
}, title), /* @__PURE__ */ React29.createElement("ul", __spreadProps(__spreadValues({}, rest), {
|
7068
7320
|
role: "group",
|
7069
7321
|
className: classNames(tw("flex flex-col"), className)
|
7070
7322
|
})));
|
7071
7323
|
};
|
7072
7324
|
var Divider = (_a) => {
|
7073
7325
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
7074
|
-
return /* @__PURE__ */
|
7326
|
+
return /* @__PURE__ */ React29.createElement("li", __spreadProps(__spreadValues({
|
7075
7327
|
role: "separator"
|
7076
7328
|
}, rest), {
|
7077
7329
|
className: classNames(tw("border-t-2 border-grey-5"), className)
|
@@ -7079,9 +7331,9 @@ var Divider = (_a) => {
|
|
7079
7331
|
};
|
7080
7332
|
var Item2 = (_a) => {
|
7081
7333
|
var _b = _a, { className, active } = _b, rest = __objRest(_b, ["className", "active"]);
|
7082
|
-
return /* @__PURE__ */
|
7334
|
+
return /* @__PURE__ */ React29.createElement("li", {
|
7083
7335
|
role: "presentation"
|
7084
|
-
}, /* @__PURE__ */
|
7336
|
+
}, /* @__PURE__ */ React29.createElement("a", __spreadProps(__spreadValues({}, rest), {
|
7085
7337
|
role: "menuitem",
|
7086
7338
|
className: classNames(
|
7087
7339
|
tw("py-3 px-6 hover:bg-grey-5 cursor-pointer flex gap-4 items-center typography-small focusable", {
|
@@ -7099,10 +7351,10 @@ Navigation.Item = Item2;
|
|
7099
7351
|
Navigation.Divider = Divider;
|
7100
7352
|
|
7101
7353
|
// src/atoms/Popover/Popover.tsx
|
7102
|
-
import
|
7103
|
-
var PopoverPanel =
|
7354
|
+
import React30 from "react";
|
7355
|
+
var PopoverPanel = React30.forwardRef((_a, ref) => {
|
7104
7356
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
7105
|
-
return /* @__PURE__ */
|
7357
|
+
return /* @__PURE__ */ React30.createElement("div", __spreadValues({
|
7106
7358
|
ref,
|
7107
7359
|
className: classNames(
|
7108
7360
|
className,
|
@@ -7111,7 +7363,7 @@ var PopoverPanel = React29.forwardRef((_a, ref) => {
|
|
7111
7363
|
}, props), children);
|
7112
7364
|
});
|
7113
7365
|
PopoverPanel.displayName = "Popover.Panel";
|
7114
|
-
var PopoverUnderlay =
|
7366
|
+
var PopoverUnderlay = React30.forwardRef((props, ref) => /* @__PURE__ */ React30.createElement("div", __spreadProps(__spreadValues({
|
7115
7367
|
ref
|
7116
7368
|
}, props), {
|
7117
7369
|
className: tw("fixed inset-0")
|
@@ -7123,23 +7375,23 @@ var Popover = {
|
|
7123
7375
|
};
|
7124
7376
|
|
7125
7377
|
// src/atoms/PopoverDialog/PopoverDialog.tsx
|
7126
|
-
import
|
7378
|
+
import React31 from "react";
|
7127
7379
|
var Header2 = (_a) => {
|
7128
7380
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7129
|
-
return /* @__PURE__ */
|
7381
|
+
return /* @__PURE__ */ React31.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7130
7382
|
className: classNames(tw("p-5 gap-3 flex items-center"), className)
|
7131
7383
|
}), children);
|
7132
7384
|
};
|
7133
|
-
var
|
7385
|
+
var Title2 = (_a) => {
|
7134
7386
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7135
|
-
return /* @__PURE__ */
|
7387
|
+
return /* @__PURE__ */ React31.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
|
7136
7388
|
htmlTag: "h1",
|
7137
7389
|
variant: "small-strong"
|
7138
7390
|
}), children);
|
7139
7391
|
};
|
7140
7392
|
var Body = (_a) => {
|
7141
7393
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7142
|
-
return /* @__PURE__ */
|
7394
|
+
return /* @__PURE__ */ React31.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
|
7143
7395
|
htmlTag: "div",
|
7144
7396
|
variant: "caption",
|
7145
7397
|
className: classNames(tw("px-5 overflow-y-auto"), className)
|
@@ -7147,30 +7399,30 @@ var Body = (_a) => {
|
|
7147
7399
|
};
|
7148
7400
|
var Footer2 = (_a) => {
|
7149
7401
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7150
|
-
return /* @__PURE__ */
|
7402
|
+
return /* @__PURE__ */ React31.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7151
7403
|
className: classNames(tw("p-5"), className)
|
7152
7404
|
}), children);
|
7153
7405
|
};
|
7154
7406
|
var Actions2 = (_a) => {
|
7155
7407
|
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
7156
|
-
return /* @__PURE__ */
|
7408
|
+
return /* @__PURE__ */ React31.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7157
7409
|
className: classNames(tw("flex gap-4"), className)
|
7158
7410
|
}), children);
|
7159
7411
|
};
|
7160
7412
|
var PopoverDialog = {
|
7161
7413
|
Header: Header2,
|
7162
|
-
Title,
|
7414
|
+
Title: Title2,
|
7163
7415
|
Body,
|
7164
7416
|
Footer: Footer2,
|
7165
7417
|
Actions: Actions2
|
7166
7418
|
};
|
7167
7419
|
|
7168
7420
|
// src/atoms/RadioButton/RadioButton.tsx
|
7169
|
-
import
|
7170
|
-
var RadioButton =
|
7421
|
+
import React32 from "react";
|
7422
|
+
var RadioButton = React32.forwardRef(
|
7171
7423
|
(_a, ref) => {
|
7172
7424
|
var _b = _a, { id, children, name, disabled = false, readOnly = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly"]);
|
7173
|
-
return /* @__PURE__ */
|
7425
|
+
return /* @__PURE__ */ React32.createElement("input", __spreadProps(__spreadValues({
|
7174
7426
|
id,
|
7175
7427
|
ref,
|
7176
7428
|
type: "radio",
|
@@ -7194,7 +7446,7 @@ var RadioButton = React31.forwardRef(
|
|
7194
7446
|
);
|
7195
7447
|
|
7196
7448
|
// src/atoms/Select/Select.tsx
|
7197
|
-
import
|
7449
|
+
import React33 from "react";
|
7198
7450
|
var import_chevronDown3 = __toESM(require_chevronDown());
|
7199
7451
|
var import_chevronUp2 = __toESM(require_chevronUp());
|
7200
7452
|
var import_search2 = __toESM(require_search());
|
@@ -7214,16 +7466,16 @@ function isOptionDisabledBuiltin(option) {
|
|
7214
7466
|
}
|
7215
7467
|
var getValues = (children) => {
|
7216
7468
|
var _a;
|
7217
|
-
const values =
|
7469
|
+
const values = React33.Children.map(children, (c) => {
|
7218
7470
|
var _a2;
|
7219
7471
|
return (_a2 = c == null ? void 0 : c.props) == null ? void 0 : _a2.value;
|
7220
7472
|
});
|
7221
7473
|
return (_a = values == null ? void 0 : values.filter((v) => v !== void 0 && v !== null)) != null ? _a : [];
|
7222
7474
|
};
|
7223
|
-
var InputContainer =
|
7475
|
+
var InputContainer = React33.forwardRef(
|
7224
7476
|
(_a, ref) => {
|
7225
7477
|
var _b = _a, { variant = "default", className } = _b, props = __objRest(_b, ["variant", "className"]);
|
7226
|
-
return /* @__PURE__ */
|
7478
|
+
return /* @__PURE__ */ React33.createElement("div", __spreadValues({
|
7227
7479
|
ref,
|
7228
7480
|
className: classNames(
|
7229
7481
|
className,
|
@@ -7242,9 +7494,9 @@ var InputContainer = React32.forwardRef(
|
|
7242
7494
|
}, props));
|
7243
7495
|
}
|
7244
7496
|
);
|
7245
|
-
var Input =
|
7497
|
+
var Input = React33.forwardRef((_a, ref) => {
|
7246
7498
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
7247
|
-
return /* @__PURE__ */
|
7499
|
+
return /* @__PURE__ */ React33.createElement("input", __spreadValues({
|
7248
7500
|
ref,
|
7249
7501
|
type: "text",
|
7250
7502
|
className: classNames(
|
@@ -7258,39 +7510,39 @@ var Input = React32.forwardRef((_a, ref) => {
|
|
7258
7510
|
)
|
7259
7511
|
}, props));
|
7260
7512
|
});
|
7261
|
-
var Menu =
|
7513
|
+
var Menu = React33.forwardRef(
|
7262
7514
|
(_a, ref) => {
|
7263
7515
|
var _b = _a, { maxHeight = "450px", className, children } = _b, props = __objRest(_b, ["maxHeight", "className", "children"]);
|
7264
|
-
return /* @__PURE__ */
|
7516
|
+
return /* @__PURE__ */ React33.createElement("ul", __spreadValues({
|
7265
7517
|
ref,
|
7266
7518
|
style: { maxHeight },
|
7267
7519
|
className
|
7268
7520
|
}, props), children);
|
7269
7521
|
}
|
7270
7522
|
);
|
7271
|
-
var NoResults =
|
7523
|
+
var NoResults = React33.forwardRef(
|
7272
7524
|
(_a, ref) => {
|
7273
7525
|
var _b = _a, { className, children } = _b, rest = __objRest(_b, ["className", "children"]);
|
7274
|
-
return /* @__PURE__ */
|
7526
|
+
return /* @__PURE__ */ React33.createElement("li", __spreadProps(__spreadValues({
|
7275
7527
|
ref
|
7276
7528
|
}, rest), {
|
7277
7529
|
className: classNames(tw("p-3 text-grey-40 italic"), className)
|
7278
7530
|
}), children);
|
7279
7531
|
}
|
7280
7532
|
);
|
7281
|
-
var EmptyStateContainer2 =
|
7533
|
+
var EmptyStateContainer2 = React33.forwardRef((_a, ref) => {
|
7282
7534
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
7283
|
-
return /* @__PURE__ */
|
7535
|
+
return /* @__PURE__ */ React33.createElement("li", __spreadValues({
|
7284
7536
|
ref,
|
7285
7537
|
className: tw("border border-dashed border-grey-10 m-4 p-6")
|
7286
7538
|
}, props), children);
|
7287
7539
|
});
|
7288
|
-
var Divider2 = (props) => /* @__PURE__ */
|
7540
|
+
var Divider2 = (props) => /* @__PURE__ */ React33.createElement("div", __spreadValues({
|
7289
7541
|
className: tw("border-b-[1px] border-grey-5 mx-3 my-4")
|
7290
7542
|
}, props));
|
7291
|
-
var Group2 =
|
7543
|
+
var Group2 = React33.forwardRef((_a, ref) => {
|
7292
7544
|
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
7293
|
-
return /* @__PURE__ */
|
7545
|
+
return /* @__PURE__ */ React33.createElement("li", __spreadValues({
|
7294
7546
|
ref,
|
7295
7547
|
className: classNames(
|
7296
7548
|
className,
|
@@ -7301,10 +7553,10 @@ var Group2 = React32.forwardRef((_a, ref) => {
|
|
7301
7553
|
)
|
7302
7554
|
}, props), children);
|
7303
7555
|
});
|
7304
|
-
var Item3 =
|
7556
|
+
var Item3 = React33.forwardRef(
|
7305
7557
|
(_a, ref) => {
|
7306
7558
|
var _b = _a, { highlighted, selected, className, children } = _b, props = __objRest(_b, ["highlighted", "selected", "className", "children"]);
|
7307
|
-
return /* @__PURE__ */
|
7559
|
+
return /* @__PURE__ */ React33.createElement("li", __spreadValues({
|
7308
7560
|
ref,
|
7309
7561
|
className: classNames(className, "flex items-center gap-x-3 p-3 typography-small", {
|
7310
7562
|
"cursor-pointer": !props.disabled,
|
@@ -7312,17 +7564,17 @@ var Item3 = React32.forwardRef(
|
|
7312
7564
|
"text-grey-20": props.disabled,
|
7313
7565
|
"hover:bg-grey-0": !props.disabled
|
7314
7566
|
})
|
7315
|
-
}, props), /* @__PURE__ */
|
7567
|
+
}, props), /* @__PURE__ */ React33.createElement("span", {
|
7316
7568
|
className: tw("grow flex gap-x-3")
|
7317
|
-
}, children), selected && /* @__PURE__ */
|
7569
|
+
}, children), selected && /* @__PURE__ */ React33.createElement(InlineIcon, {
|
7318
7570
|
icon: import_tick4.default
|
7319
7571
|
}));
|
7320
7572
|
}
|
7321
7573
|
);
|
7322
|
-
var ActionItem =
|
7574
|
+
var ActionItem = React33.forwardRef(
|
7323
7575
|
(_a, ref) => {
|
7324
7576
|
var _b = _a, { className, dense, icon, onClick, children } = _b, props = __objRest(_b, ["className", "dense", "icon", "onClick", "children"]);
|
7325
|
-
return /* @__PURE__ */
|
7577
|
+
return /* @__PURE__ */ React33.createElement("li", __spreadValues({
|
7326
7578
|
ref,
|
7327
7579
|
role: "button",
|
7328
7580
|
onClick: () => !props.disabled && (onClick == null ? void 0 : onClick()),
|
@@ -7333,21 +7585,21 @@ var ActionItem = React32.forwardRef(
|
|
7333
7585
|
"text-grey-20": props.disabled,
|
7334
7586
|
"hover:text-primary-70": !props.disabled
|
7335
7587
|
})
|
7336
|
-
}, props), icon && /* @__PURE__ */
|
7588
|
+
}, props), icon && /* @__PURE__ */ React33.createElement(InlineIcon, {
|
7337
7589
|
icon
|
7338
7590
|
}), children);
|
7339
7591
|
}
|
7340
7592
|
);
|
7341
|
-
var Toggle =
|
7593
|
+
var Toggle = React33.forwardRef((_a, ref) => {
|
7342
7594
|
var _b = _a, { hasFocus, isOpen } = _b, props = __objRest(_b, ["hasFocus", "isOpen"]);
|
7343
7595
|
var _a2;
|
7344
|
-
return /* @__PURE__ */
|
7596
|
+
return /* @__PURE__ */ React33.createElement("button", __spreadProps(__spreadValues({
|
7345
7597
|
ref,
|
7346
7598
|
type: "button",
|
7347
7599
|
"aria-label": "Toggle"
|
7348
7600
|
}, props), {
|
7349
7601
|
className: tw("grow-0 leading-none", { "cursor-not-allowed": (_a2 = props.disabled) != null ? _a2 : false })
|
7350
|
-
}), /* @__PURE__ */
|
7602
|
+
}), /* @__PURE__ */ React33.createElement(InlineIcon, {
|
7351
7603
|
color: props.disabled ? "grey-40" : "grey-70",
|
7352
7604
|
icon: hasFocus ? import_search2.default : isOpen ? import_chevronUp2.default : import_chevronDown3.default
|
7353
7605
|
}));
|
@@ -7366,11 +7618,11 @@ var Select = {
|
|
7366
7618
|
};
|
7367
7619
|
|
7368
7620
|
// src/atoms/Stepper/Stepper.tsx
|
7369
|
-
import
|
7621
|
+
import React34 from "react";
|
7370
7622
|
var import_tick5 = __toESM(require_tick());
|
7371
7623
|
var Stepper = (_a) => {
|
7372
7624
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
7373
|
-
return /* @__PURE__ */
|
7625
|
+
return /* @__PURE__ */ React34.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7374
7626
|
className: classNames(className)
|
7375
7627
|
}));
|
7376
7628
|
};
|
@@ -7384,7 +7636,7 @@ var ConnectorContainer = (_a) => {
|
|
7384
7636
|
"completed",
|
7385
7637
|
"dense"
|
7386
7638
|
]);
|
7387
|
-
return /* @__PURE__ */
|
7639
|
+
return /* @__PURE__ */ React34.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7388
7640
|
className: classNames(
|
7389
7641
|
tw("absolute w-full -left-1/2", {
|
7390
7642
|
"top-[3px] px-[14px]": Boolean(dense),
|
@@ -7396,7 +7648,7 @@ var ConnectorContainer = (_a) => {
|
|
7396
7648
|
};
|
7397
7649
|
var Connector = (_a) => {
|
7398
7650
|
var _b = _a, { children, className, completed, dense } = _b, rest = __objRest(_b, ["children", "className", "completed", "dense"]);
|
7399
|
-
return /* @__PURE__ */
|
7651
|
+
return /* @__PURE__ */ React34.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7400
7652
|
className: classNames(
|
7401
7653
|
tw("w-full", {
|
7402
7654
|
"bg-grey-20": !completed,
|
@@ -7410,7 +7662,7 @@ var Connector = (_a) => {
|
|
7410
7662
|
};
|
7411
7663
|
var Step = (_a) => {
|
7412
7664
|
var _b = _a, { className, state } = _b, rest = __objRest(_b, ["className", "state"]);
|
7413
|
-
return /* @__PURE__ */
|
7665
|
+
return /* @__PURE__ */ React34.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7414
7666
|
className: classNames(
|
7415
7667
|
tw("flex flex-col items-center text-grey-90 relative text-center", {
|
7416
7668
|
"text-grey-20": state === "inactive"
|
@@ -7431,13 +7683,13 @@ var getDenseClassNames = (state) => tw("h-[8px] w-[8px]", {
|
|
7431
7683
|
});
|
7432
7684
|
var Indicator = (_a) => {
|
7433
7685
|
var _b = _a, { children, className, state, dense } = _b, rest = __objRest(_b, ["children", "className", "state", "dense"]);
|
7434
|
-
return /* @__PURE__ */
|
7686
|
+
return /* @__PURE__ */ React34.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
7435
7687
|
className: classNames(
|
7436
7688
|
tw("rounded-full flex justify-center items-center mx-2 mb-3"),
|
7437
7689
|
dense ? getDenseClassNames(state) : getClassNames(state),
|
7438
7690
|
className
|
7439
7691
|
)
|
7440
|
-
}), state === "completed" ? /* @__PURE__ */
|
7692
|
+
}), state === "completed" ? /* @__PURE__ */ React34.createElement(InlineIcon, {
|
7441
7693
|
icon: import_tick5.default
|
7442
7694
|
}) : dense ? null : children);
|
7443
7695
|
};
|
@@ -7447,14 +7699,14 @@ ConnectorContainer.Connector = Connector;
|
|
7447
7699
|
Stepper.ConnectorContainer = ConnectorContainer;
|
7448
7700
|
|
7449
7701
|
// src/atoms/Switch/Switch.tsx
|
7450
|
-
import
|
7702
|
+
import React35 from "react";
|
7451
7703
|
var import_ban2 = __toESM(require_ban());
|
7452
|
-
var Switch =
|
7704
|
+
var Switch = React35.forwardRef(
|
7453
7705
|
(_a, ref) => {
|
7454
7706
|
var _b = _a, { id, children, name, disabled = false, readOnly = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly"]);
|
7455
|
-
return /* @__PURE__ */
|
7707
|
+
return /* @__PURE__ */ React35.createElement("span", {
|
7456
7708
|
className: tw("relative inline-flex justify-center items-center self-center group")
|
7457
|
-
}, /* @__PURE__ */
|
7709
|
+
}, /* @__PURE__ */ React35.createElement("input", __spreadProps(__spreadValues({
|
7458
7710
|
id,
|
7459
7711
|
ref,
|
7460
7712
|
type: "checkbox",
|
@@ -7473,7 +7725,7 @@ var Switch = React34.forwardRef(
|
|
7473
7725
|
),
|
7474
7726
|
readOnly,
|
7475
7727
|
disabled
|
7476
|
-
})), /* @__PURE__ */
|
7728
|
+
})), /* @__PURE__ */ React35.createElement("span", {
|
7477
7729
|
className: tw(
|
7478
7730
|
"pointer-events-none rounded-full absolute inline-flex justify-center items-center transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
|
7479
7731
|
"bg-white left-2 peer-checked/switch:left-1 text-grey-30 peer-checked/switch:text-primary-60",
|
@@ -7481,7 +7733,7 @@ var Switch = React34.forwardRef(
|
|
7481
7733
|
"shadow-4dp": !disabled
|
7482
7734
|
}
|
7483
7735
|
)
|
7484
|
-
}, disabled && /* @__PURE__ */
|
7736
|
+
}, disabled && /* @__PURE__ */ React35.createElement(Icon, {
|
7485
7737
|
icon: import_ban2.default,
|
7486
7738
|
width: "10px",
|
7487
7739
|
height: "10px"
|
@@ -7490,32 +7742,32 @@ var Switch = React34.forwardRef(
|
|
7490
7742
|
);
|
7491
7743
|
|
7492
7744
|
// src/atoms/Table/Table.tsx
|
7493
|
-
import
|
7745
|
+
import React36 from "react";
|
7494
7746
|
var import_chevronDown4 = __toESM(require_chevronDown());
|
7495
7747
|
var import_chevronUp3 = __toESM(require_chevronUp());
|
7496
|
-
var HeadContext =
|
7748
|
+
var HeadContext = React36.createContext(null);
|
7497
7749
|
var tableClassNames = tw("w-full relative typography-default border-spacing-0");
|
7498
7750
|
var Table = (_a) => {
|
7499
7751
|
var _b = _a, { children, ariaLabel, className } = _b, rest = __objRest(_b, ["children", "ariaLabel", "className"]);
|
7500
|
-
return /* @__PURE__ */
|
7752
|
+
return /* @__PURE__ */ React36.createElement("table", __spreadProps(__spreadValues({}, rest), {
|
7501
7753
|
className: classNames(tableClassNames, className),
|
7502
7754
|
"aria-label": ariaLabel
|
7503
7755
|
}), children);
|
7504
7756
|
};
|
7505
7757
|
var TableHead = (_a) => {
|
7506
7758
|
var _b = _a, { children, sticky } = _b, rest = __objRest(_b, ["children", "sticky"]);
|
7507
|
-
return /* @__PURE__ */
|
7759
|
+
return /* @__PURE__ */ React36.createElement("thead", __spreadValues({}, rest), /* @__PURE__ */ React36.createElement("tr", null, /* @__PURE__ */ React36.createElement(HeadContext.Provider, {
|
7508
7760
|
value: { children, sticky }
|
7509
7761
|
}, children)));
|
7510
7762
|
};
|
7511
7763
|
var TableBody = (_a) => {
|
7512
7764
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
7513
|
-
return /* @__PURE__ */
|
7765
|
+
return /* @__PURE__ */ React36.createElement("tbody", __spreadValues({}, rest), children);
|
7514
7766
|
};
|
7515
7767
|
var rowClassNames = tw("children:border-grey-10 group children:last:border-b-0 hover:bg-grey-0");
|
7516
7768
|
var TableRow = (_a) => {
|
7517
7769
|
var _b = _a, { children, className, disabled } = _b, rest = __objRest(_b, ["children", "className", "disabled"]);
|
7518
|
-
return /* @__PURE__ */
|
7770
|
+
return /* @__PURE__ */ React36.createElement("tr", __spreadProps(__spreadValues(__spreadValues({}, rest), { inert: disabled ? "" : void 0 }), {
|
7519
7771
|
className: classNames(rowClassNames, className, {
|
7520
7772
|
"opacity-70": disabled
|
7521
7773
|
})
|
@@ -7544,15 +7796,15 @@ var getHeadCellClassNames = (sticky = true, stickyColumn) => {
|
|
7544
7796
|
};
|
7545
7797
|
var TableCell = (_a) => {
|
7546
7798
|
var _b = _a, { children, className, stickyColumn, align = "left" } = _b, rest = __objRest(_b, ["children", "className", "stickyColumn", "align"]);
|
7547
|
-
const headContext =
|
7548
|
-
return headContext ? /* @__PURE__ */
|
7799
|
+
const headContext = React36.useContext(HeadContext);
|
7800
|
+
return headContext ? /* @__PURE__ */ React36.createElement("th", __spreadProps(__spreadValues({}, rest), {
|
7549
7801
|
className: classNames(
|
7550
7802
|
cellClassNames,
|
7551
7803
|
getHeadCellClassNames(headContext.sticky, stickyColumn),
|
7552
7804
|
getAlignClassNames(align),
|
7553
7805
|
className
|
7554
7806
|
)
|
7555
|
-
}), children) : /* @__PURE__ */
|
7807
|
+
}), children) : /* @__PURE__ */ React36.createElement("td", __spreadProps(__spreadValues({}, rest), {
|
7556
7808
|
className: classNames(
|
7557
7809
|
cellClassNames,
|
7558
7810
|
getBodyCellClassNames(true, stickyColumn),
|
@@ -7563,11 +7815,11 @@ var TableCell = (_a) => {
|
|
7563
7815
|
};
|
7564
7816
|
var TableSelectCell = (_a) => {
|
7565
7817
|
var _b = _a, { ariaLabel } = _b, props = __objRest(_b, ["ariaLabel"]);
|
7566
|
-
return /* @__PURE__ */
|
7818
|
+
return /* @__PURE__ */ React36.createElement(Table.Cell, {
|
7567
7819
|
className: tw("leading-[0px]")
|
7568
|
-
}, props.type === "radio" ? /* @__PURE__ */
|
7820
|
+
}, props.type === "radio" ? /* @__PURE__ */ React36.createElement(RadioButton, __spreadValues({
|
7569
7821
|
"aria-label": ariaLabel
|
7570
|
-
}, props)) : /* @__PURE__ */
|
7822
|
+
}, props)) : /* @__PURE__ */ React36.createElement(Checkbox, __spreadValues({
|
7571
7823
|
"aria-label": ariaLabel
|
7572
7824
|
}, props)));
|
7573
7825
|
};
|
@@ -7577,39 +7829,39 @@ var getSortCellIconClassNames = (active) => {
|
|
7577
7829
|
};
|
7578
7830
|
var TableSortCell = (_a) => {
|
7579
7831
|
var _b = _a, { children, direction = "none", onClick } = _b, rest = __objRest(_b, ["children", "direction", "onClick"]);
|
7580
|
-
return /* @__PURE__ */
|
7832
|
+
return /* @__PURE__ */ React36.createElement(Table.Cell, __spreadProps(__spreadValues({}, rest), {
|
7581
7833
|
"aria-sort": direction
|
7582
|
-
}), /* @__PURE__ */
|
7834
|
+
}), /* @__PURE__ */ React36.createElement("span", {
|
7583
7835
|
className: getSortCellButtonClassNames(rest.align),
|
7584
7836
|
role: "button",
|
7585
7837
|
tabIndex: -1,
|
7586
7838
|
onClick
|
7587
|
-
}, children, /* @__PURE__ */
|
7839
|
+
}, children, /* @__PURE__ */ React36.createElement("div", {
|
7588
7840
|
"data-sort-icons": true,
|
7589
7841
|
className: tw("flex flex-col", {
|
7590
7842
|
"invisible group-hover:visible": direction === "none"
|
7591
7843
|
})
|
7592
|
-
}, /* @__PURE__ */
|
7844
|
+
}, /* @__PURE__ */ React36.createElement(InlineIcon, {
|
7593
7845
|
icon: import_chevronUp3.default,
|
7594
7846
|
className: getSortCellIconClassNames(direction === "descending")
|
7595
|
-
}), /* @__PURE__ */
|
7847
|
+
}), /* @__PURE__ */ React36.createElement(InlineIcon, {
|
7596
7848
|
icon: import_chevronDown4.default,
|
7597
7849
|
className: getSortCellIconClassNames(direction === "ascending")
|
7598
7850
|
}))));
|
7599
7851
|
};
|
7600
|
-
var Item4 = ({ image, imageAlt, imageSize = 35, title, caption }) => /* @__PURE__ */
|
7852
|
+
var Item4 = ({ image, imageAlt, imageSize = 35, title, caption }) => /* @__PURE__ */ React36.createElement("div", {
|
7601
7853
|
className: tw("flex gap-4 items-center")
|
7602
|
-
}, image && /* @__PURE__ */
|
7854
|
+
}, image && /* @__PURE__ */ React36.createElement("img", {
|
7603
7855
|
src: image,
|
7604
7856
|
alt: imageAlt,
|
7605
7857
|
style: { width: imageSize, height: imageSize }
|
7606
|
-
}), /* @__PURE__ */
|
7607
|
-
Table.Head =
|
7608
|
-
Table.Body =
|
7609
|
-
Table.Row =
|
7610
|
-
Table.Cell =
|
7611
|
-
Table.SortCell =
|
7612
|
-
Table.SelectCell =
|
7858
|
+
}), /* @__PURE__ */ React36.createElement("div", null, title, caption && /* @__PURE__ */ React36.createElement(Typography2.Caption, null, caption)));
|
7859
|
+
Table.Head = React36.memo(TableHead);
|
7860
|
+
Table.Body = React36.memo(TableBody);
|
7861
|
+
Table.Row = React36.memo(TableRow);
|
7862
|
+
Table.Cell = React36.memo(TableCell);
|
7863
|
+
Table.SortCell = React36.memo(TableSortCell);
|
7864
|
+
Table.SelectCell = React36.memo(TableSelectCell);
|
7613
7865
|
export {
|
7614
7866
|
Alert,
|
7615
7867
|
Card,
|
@@ -7637,6 +7889,7 @@ export {
|
|
7637
7889
|
getOptionLabelBuiltin,
|
7638
7890
|
getSortCellButtonClassNames,
|
7639
7891
|
getSortCellIconClassNames,
|
7892
|
+
getTitleContent,
|
7640
7893
|
getValues,
|
7641
7894
|
isOptionDisabledBuiltin,
|
7642
7895
|
rowClassNames
|