@dmsi/wedgekit-react 0.0.415 → 0.0.417
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/chunk-3HBYDOYE.js +114 -0
- package/dist/{chunk-JIMJIJOF.js → chunk-5TGP5EFM.js} +2 -2
- package/dist/{chunk-2HMCS25C.js → chunk-6LHBY2IH.js} +1 -1
- package/dist/{chunk-6I5LZ2ZC.js → chunk-7AXHAWJX.js} +3 -3
- package/dist/{chunk-MQX7GFLX.js → chunk-CAQWLY5V.js} +24 -6
- package/dist/{chunk-QQ5G773N.js → chunk-DCLNAUC4.js} +1 -1
- package/dist/{chunk-GB4ZTUQV.js → chunk-DTW7JCBR.js} +36 -0
- package/dist/{chunk-BK7SPR6Y.js → chunk-HYJIDHAK.js} +6 -6
- package/dist/{chunk-ZHZIIVJN.js → chunk-IMOIZFJZ.js} +5 -5
- package/dist/chunk-KBJZUVLM.js +65 -0
- package/dist/{chunk-AA6GE3TH.js → chunk-LUPHOXAQ.js} +1 -1
- package/dist/chunk-NRNWEQD7.js +66 -0
- package/dist/{chunk-44TDIHUP.js → chunk-P3MIP2FD.js} +1 -1
- package/dist/{chunk-7ULLUUVJ.js → chunk-PQWWVBSR.js} +1 -1
- package/dist/{chunk-ERW5DEIO.js → chunk-RQLWSLVE.js} +1 -1
- package/dist/chunk-TYAQWVIM.js +159 -0
- package/dist/{chunk-KZZKQLKF.js → chunk-W55J2KJZ.js} +1 -1
- package/dist/chunk-Y2GK27RX.js +79 -0
- package/dist/components/Accordion.cjs +74 -2
- package/dist/components/Accordion.js +3 -3
- package/dist/components/CalendarRange.cjs +228 -53
- package/dist/components/CalendarRange.css +169 -65
- package/dist/components/CalendarRange.js +23 -16
- package/dist/components/Card.cjs +38 -2
- package/dist/components/Card.js +1 -1
- package/dist/components/CompactImagesPreview.cjs +59 -5
- package/dist/components/CompactImagesPreview.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +186 -11
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +169 -65
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +23 -16
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +195 -20
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +169 -65
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +23 -16
- package/dist/components/DataGrid/PinnedColumns.cjs +211 -36
- package/dist/components/DataGrid/PinnedColumns.css +169 -65
- package/dist/components/DataGrid/PinnedColumns.js +23 -16
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +187 -12
- package/dist/components/DataGrid/TableBody/LoadingCell.css +169 -65
- package/dist/components/DataGrid/TableBody/LoadingCell.js +23 -16
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +193 -18
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +169 -65
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +23 -16
- package/dist/components/DataGrid/TableBody/index.cjs +208 -33
- package/dist/components/DataGrid/TableBody/index.css +169 -65
- package/dist/components/DataGrid/TableBody/index.js +23 -16
- package/dist/components/DataGrid/index.cjs +297 -122
- package/dist/components/DataGrid/index.css +169 -65
- package/dist/components/DataGrid/index.js +23 -16
- package/dist/components/DataGrid/utils.cjs +187 -12
- package/dist/components/DataGrid/utils.css +169 -65
- package/dist/components/DataGrid/utils.js +23 -16
- package/dist/components/DateInput.cjs +247 -72
- package/dist/components/DateInput.css +169 -65
- package/dist/components/DateInput.js +23 -16
- package/dist/components/DateRangeInput.cjs +247 -72
- package/dist/components/DateRangeInput.css +169 -65
- package/dist/components/DateRangeInput.js +23 -16
- package/dist/components/Grid.cjs +81 -76
- package/dist/components/Grid.js +1 -1
- package/dist/components/ListGroup.cjs +553 -0
- package/dist/components/ListGroup.js +11 -0
- package/dist/components/MobileDataGrid/ColumnList.cjs +36 -0
- package/dist/components/MobileDataGrid/ColumnList.js +3 -3
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +194 -19
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +169 -65
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +23 -16
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +36 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +238 -27
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +169 -65
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +23 -16
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +36 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +2 -2
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +36 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +5 -5
- package/dist/components/MobileDataGrid/index.cjs +740 -529
- package/dist/components/MobileDataGrid/index.css +169 -65
- package/dist/components/MobileDataGrid/index.js +23 -16
- package/dist/components/Modal.js +2 -2
- package/dist/components/Notification.cjs +36 -0
- package/dist/components/Notification.js +1 -1
- package/dist/components/PDFViewer/PDFElement.cjs +36 -0
- package/dist/components/PDFViewer/PDFElement.js +2 -2
- package/dist/components/PDFViewer/PDFNavigation.cjs +36 -0
- package/dist/components/PDFViewer/PDFNavigation.js +2 -2
- package/dist/components/PDFViewer/index.cjs +36 -0
- package/dist/components/PDFViewer/index.js +8 -111
- package/dist/components/Pagination.cjs +427 -0
- package/dist/components/Pagination.js +10 -0
- package/dist/components/ProductImagePreview/index.cjs +139 -127
- package/dist/components/ProductImagePreview/index.js +4 -4
- package/dist/components/SideMenuGroup.cjs +36 -0
- package/dist/components/SideMenuGroup.js +1 -1
- package/dist/components/SideMenuItem.cjs +36 -0
- package/dist/components/SideMenuItem.js +1 -1
- package/dist/components/SimpleTable.cjs +36 -0
- package/dist/components/SimpleTable.js +2 -2
- package/dist/components/Stack.cjs +36 -0
- package/dist/components/Stack.js +1 -1
- package/dist/components/Swatch.cjs +36 -0
- package/dist/components/Swatch.js +1 -1
- package/dist/components/Time.cjs +36 -0
- package/dist/components/Time.js +1 -1
- package/dist/components/Tooltip.cjs +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Upload.cjs +36 -0
- package/dist/components/Upload.js +1 -1
- package/dist/components/index.cjs +686 -131
- package/dist/components/index.css +169 -65
- package/dist/components/index.js +33 -17
- package/dist/index.css +169 -65
- package/package.json +1 -1
- package/src/components/Card.tsx +60 -2
- package/src/components/CompactImagesPreview.tsx +54 -30
- package/src/components/Grid.tsx +59 -91
- package/src/components/ListGroup.tsx +82 -0
- package/src/components/Pagination.tsx +182 -0
- package/src/components/Stack.tsx +76 -0
- package/src/components/Tooltip.tsx +4 -3
- package/src/components/index.ts +3 -0
- package/dist/chunk-ER6RCOH3.js +0 -97
- package/dist/chunk-EZCH4PQS.js +0 -29
- package/dist/{chunk-D6YCMQPO.js → chunk-SBCFBHNG.js} +3 -3
|
@@ -690,6 +690,9 @@
|
|
|
690
690
|
.ml-auto {
|
|
691
691
|
margin-left: auto;
|
|
692
692
|
}
|
|
693
|
+
.box-content {
|
|
694
|
+
box-sizing: content-box;
|
|
695
|
+
}
|
|
693
696
|
.block {
|
|
694
697
|
display: block;
|
|
695
698
|
}
|
|
@@ -1002,6 +1005,9 @@
|
|
|
1002
1005
|
.cursor-grab {
|
|
1003
1006
|
cursor: grab;
|
|
1004
1007
|
}
|
|
1008
|
+
.cursor-not-allowed {
|
|
1009
|
+
cursor: not-allowed;
|
|
1010
|
+
}
|
|
1005
1011
|
.cursor-pointer {
|
|
1006
1012
|
cursor: pointer;
|
|
1007
1013
|
}
|
|
@@ -1080,6 +1086,9 @@
|
|
|
1080
1086
|
.justify-start {
|
|
1081
1087
|
justify-content: flex-start;
|
|
1082
1088
|
}
|
|
1089
|
+
.gap-0 {
|
|
1090
|
+
gap: calc(var(--spacing) * 0);
|
|
1091
|
+
}
|
|
1083
1092
|
.gap-0\.5 {
|
|
1084
1093
|
gap: calc(var(--spacing) * 0.5);
|
|
1085
1094
|
}
|
|
@@ -1290,6 +1299,10 @@
|
|
|
1290
1299
|
border-inline-style: var(--tw-border-style);
|
|
1291
1300
|
border-inline-width: 0px;
|
|
1292
1301
|
}
|
|
1302
|
+
.border-x-1 {
|
|
1303
|
+
border-inline-style: var(--tw-border-style);
|
|
1304
|
+
border-inline-width: 1px;
|
|
1305
|
+
}
|
|
1293
1306
|
.border-y {
|
|
1294
1307
|
border-block-style: var(--tw-border-style);
|
|
1295
1308
|
border-block-width: 1px;
|
|
@@ -1306,6 +1319,10 @@
|
|
|
1306
1319
|
border-right-style: var(--tw-border-style);
|
|
1307
1320
|
border-right-width: 0px;
|
|
1308
1321
|
}
|
|
1322
|
+
.border-r-1 {
|
|
1323
|
+
border-right-style: var(--tw-border-style);
|
|
1324
|
+
border-right-width: 1px;
|
|
1325
|
+
}
|
|
1309
1326
|
.border-b {
|
|
1310
1327
|
border-bottom-style: var(--tw-border-style);
|
|
1311
1328
|
border-bottom-width: 1px;
|
|
@@ -1314,6 +1331,10 @@
|
|
|
1314
1331
|
border-left-style: var(--tw-border-style);
|
|
1315
1332
|
border-left-width: 1px;
|
|
1316
1333
|
}
|
|
1334
|
+
.border-l-1 {
|
|
1335
|
+
border-left-style: var(--tw-border-style);
|
|
1336
|
+
border-left-width: 1px;
|
|
1337
|
+
}
|
|
1317
1338
|
.border-dashed {
|
|
1318
1339
|
--tw-border-style: dashed;
|
|
1319
1340
|
border-style: dashed;
|
|
@@ -1891,6 +1912,9 @@
|
|
|
1891
1912
|
.\!p-0 {
|
|
1892
1913
|
padding: calc(var(--spacing) * 0) !important;
|
|
1893
1914
|
}
|
|
1915
|
+
.p-0 {
|
|
1916
|
+
padding: calc(var(--spacing) * 0);
|
|
1917
|
+
}
|
|
1894
1918
|
.p-0\.5 {
|
|
1895
1919
|
padding: calc(var(--spacing) * 0.5);
|
|
1896
1920
|
}
|
|
@@ -2005,12 +2029,33 @@
|
|
|
2005
2029
|
.pt-\[7px\] {
|
|
2006
2030
|
padding-top: 7px;
|
|
2007
2031
|
}
|
|
2032
|
+
.pt-mobile-component-padding {
|
|
2033
|
+
padding-top: var(--spacing-mobile-component-padding);
|
|
2034
|
+
}
|
|
2035
|
+
.pt-mobile-container-padding {
|
|
2036
|
+
padding-top: var(--spacing-mobile-container-padding);
|
|
2037
|
+
}
|
|
2038
|
+
.pt-mobile-layout-padding {
|
|
2039
|
+
padding-top: var(--spacing-mobile-layout-padding);
|
|
2040
|
+
}
|
|
2041
|
+
.pr-mobile-component-padding {
|
|
2042
|
+
padding-right: var(--spacing-mobile-component-padding);
|
|
2043
|
+
}
|
|
2044
|
+
.pr-mobile-container-padding {
|
|
2045
|
+
padding-right: var(--spacing-mobile-container-padding);
|
|
2046
|
+
}
|
|
2047
|
+
.pr-mobile-layout-padding {
|
|
2048
|
+
padding-right: var(--spacing-mobile-layout-padding);
|
|
2049
|
+
}
|
|
2008
2050
|
.pb-2 {
|
|
2009
2051
|
padding-bottom: calc(var(--spacing) * 2);
|
|
2010
2052
|
}
|
|
2011
2053
|
.pb-mobile-component-padding {
|
|
2012
2054
|
padding-bottom: var(--spacing-mobile-component-padding);
|
|
2013
2055
|
}
|
|
2056
|
+
.pb-mobile-container-padding {
|
|
2057
|
+
padding-bottom: var(--spacing-mobile-container-padding);
|
|
2058
|
+
}
|
|
2014
2059
|
.pb-mobile-layout-padding {
|
|
2015
2060
|
padding-bottom: var(--spacing-mobile-layout-padding);
|
|
2016
2061
|
}
|
|
@@ -2032,6 +2077,12 @@
|
|
|
2032
2077
|
.pl-mobile-component-padding {
|
|
2033
2078
|
padding-left: var(--spacing-mobile-component-padding);
|
|
2034
2079
|
}
|
|
2080
|
+
.pl-mobile-container-padding {
|
|
2081
|
+
padding-left: var(--spacing-mobile-container-padding);
|
|
2082
|
+
}
|
|
2083
|
+
.pl-mobile-layout-padding {
|
|
2084
|
+
padding-left: var(--spacing-mobile-layout-padding);
|
|
2085
|
+
}
|
|
2035
2086
|
.text-center {
|
|
2036
2087
|
text-align: center;
|
|
2037
2088
|
}
|
|
@@ -2252,6 +2303,9 @@
|
|
|
2252
2303
|
.text-text-action-normal {
|
|
2253
2304
|
color: var(--color-text-action-normal);
|
|
2254
2305
|
}
|
|
2306
|
+
.text-text-action-primary-disabled {
|
|
2307
|
+
color: var(--color-text-action-primary-disabled);
|
|
2308
|
+
}
|
|
2255
2309
|
.text-text-action-primary-normal {
|
|
2256
2310
|
color: var(--color-text-action-primary-normal);
|
|
2257
2311
|
}
|
|
@@ -2330,6 +2384,9 @@
|
|
|
2330
2384
|
.opacity-40 {
|
|
2331
2385
|
opacity: 40%;
|
|
2332
2386
|
}
|
|
2387
|
+
.opacity-50 {
|
|
2388
|
+
opacity: 50%;
|
|
2389
|
+
}
|
|
2333
2390
|
.opacity-70 {
|
|
2334
2391
|
opacity: 70%;
|
|
2335
2392
|
}
|
|
@@ -3069,6 +3126,13 @@
|
|
|
3069
3126
|
}
|
|
3070
3127
|
}
|
|
3071
3128
|
}
|
|
3129
|
+
.hover\:bg-background-grouped-secondary-normal {
|
|
3130
|
+
&:hover {
|
|
3131
|
+
@media (hover: hover) {
|
|
3132
|
+
background-color: var(--color-background-grouped-secondary-normal);
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3072
3136
|
.hover\:\!text-brand-text-on-action-primary-hover {
|
|
3073
3137
|
&:hover {
|
|
3074
3138
|
@media (hover: hover) {
|
|
@@ -3215,6 +3279,11 @@
|
|
|
3215
3279
|
background-color: var(--color-background-action-secondary-hover);
|
|
3216
3280
|
}
|
|
3217
3281
|
}
|
|
3282
|
+
.focus\:bg-background-grouped-secondary-normal {
|
|
3283
|
+
&:focus {
|
|
3284
|
+
background-color: var(--color-background-grouped-secondary-normal);
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3218
3287
|
.focus\:text-text-action-critical-hover {
|
|
3219
3288
|
&:focus {
|
|
3220
3289
|
color: var(--color-text-action-critical-hover);
|
|
@@ -3425,6 +3494,11 @@
|
|
|
3425
3494
|
pointer-events: none;
|
|
3426
3495
|
}
|
|
3427
3496
|
}
|
|
3497
|
+
.disabled\:cursor-default {
|
|
3498
|
+
&:disabled {
|
|
3499
|
+
cursor: default;
|
|
3500
|
+
}
|
|
3501
|
+
}
|
|
3428
3502
|
.disabled\:\!border-border-primary-normal {
|
|
3429
3503
|
&:disabled {
|
|
3430
3504
|
border-color: var(--color-border-primary-normal) !important;
|
|
@@ -3731,11 +3805,6 @@
|
|
|
3731
3805
|
width: 100%;
|
|
3732
3806
|
}
|
|
3733
3807
|
}
|
|
3734
|
-
.sm\:grid-cols-2 {
|
|
3735
|
-
@media (width >= 320px) {
|
|
3736
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3737
|
-
}
|
|
3738
|
-
}
|
|
3739
3808
|
.md\:block {
|
|
3740
3809
|
@media (width >= 768px) {
|
|
3741
3810
|
display: block;
|
|
@@ -3766,66 +3835,6 @@
|
|
|
3766
3835
|
gap: calc(var(--spacing) * 2);
|
|
3767
3836
|
}
|
|
3768
3837
|
}
|
|
3769
|
-
.lg\:grid-cols-4 {
|
|
3770
|
-
@media (width >= 1024px) {
|
|
3771
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3772
|
-
}
|
|
3773
|
-
}
|
|
3774
|
-
.xl\:grid-cols-4 {
|
|
3775
|
-
@media (width >= 1280px) {
|
|
3776
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3777
|
-
}
|
|
3778
|
-
}
|
|
3779
|
-
.xl\:grid-cols-5 {
|
|
3780
|
-
@media (width >= 1280px) {
|
|
3781
|
-
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
3782
|
-
}
|
|
3783
|
-
}
|
|
3784
|
-
.xl\:grid-cols-6 {
|
|
3785
|
-
@media (width >= 1280px) {
|
|
3786
|
-
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
3787
|
-
}
|
|
3788
|
-
}
|
|
3789
|
-
.xl\:grid-cols-8 {
|
|
3790
|
-
@media (width >= 1280px) {
|
|
3791
|
-
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
3792
|
-
}
|
|
3793
|
-
}
|
|
3794
|
-
.\32xl\:grid-cols-6 {
|
|
3795
|
-
@media (width >= 1536px) {
|
|
3796
|
-
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
3797
|
-
}
|
|
3798
|
-
}
|
|
3799
|
-
.\32xl\:grid-cols-7 {
|
|
3800
|
-
@media (width >= 1536px) {
|
|
3801
|
-
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
3802
|
-
}
|
|
3803
|
-
}
|
|
3804
|
-
.\32xl\:grid-cols-8 {
|
|
3805
|
-
@media (width >= 1536px) {
|
|
3806
|
-
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
3807
|
-
}
|
|
3808
|
-
}
|
|
3809
|
-
.\32xl\:grid-cols-9 {
|
|
3810
|
-
@media (width >= 1536px) {
|
|
3811
|
-
grid-template-columns: repeat(9, minmax(0, 1fr));
|
|
3812
|
-
}
|
|
3813
|
-
}
|
|
3814
|
-
.\32xl\:grid-cols-10 {
|
|
3815
|
-
@media (width >= 1536px) {
|
|
3816
|
-
grid-template-columns: repeat(10, minmax(0, 1fr));
|
|
3817
|
-
}
|
|
3818
|
-
}
|
|
3819
|
-
.\32xl\:grid-cols-11 {
|
|
3820
|
-
@media (width >= 1536px) {
|
|
3821
|
-
grid-template-columns: repeat(11, minmax(0, 1fr));
|
|
3822
|
-
}
|
|
3823
|
-
}
|
|
3824
|
-
.\32xl\:grid-cols-12 {
|
|
3825
|
-
@media (width >= 1536px) {
|
|
3826
|
-
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
3827
|
-
}
|
|
3828
|
-
}
|
|
3829
3838
|
.compact\:mt-desktop-compact-component-gap {
|
|
3830
3839
|
&:where([data-compact]) {
|
|
3831
3840
|
margin-top: var(--spacing-desktop-compact-component-gap);
|
|
@@ -3931,11 +3940,46 @@
|
|
|
3931
3940
|
padding-block: var(--spacing-desktop-compact-layout-padding);
|
|
3932
3941
|
}
|
|
3933
3942
|
}
|
|
3943
|
+
.compact\:pt-desktop-compact-component-padding {
|
|
3944
|
+
&:where([data-compact]) {
|
|
3945
|
+
padding-top: var(--spacing-desktop-compact-component-padding);
|
|
3946
|
+
}
|
|
3947
|
+
}
|
|
3948
|
+
.compact\:pt-desktop-compact-container-padding {
|
|
3949
|
+
&:where([data-compact]) {
|
|
3950
|
+
padding-top: var(--spacing-desktop-compact-container-padding);
|
|
3951
|
+
}
|
|
3952
|
+
}
|
|
3953
|
+
.compact\:pt-desktop-compact-layout-padding {
|
|
3954
|
+
&:where([data-compact]) {
|
|
3955
|
+
padding-top: var(--spacing-desktop-compact-layout-padding);
|
|
3956
|
+
}
|
|
3957
|
+
}
|
|
3958
|
+
.compact\:pr-desktop-compact-component-padding {
|
|
3959
|
+
&:where([data-compact]) {
|
|
3960
|
+
padding-right: var(--spacing-desktop-compact-component-padding);
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3963
|
+
.compact\:pr-desktop-compact-container-padding {
|
|
3964
|
+
&:where([data-compact]) {
|
|
3965
|
+
padding-right: var(--spacing-desktop-compact-container-padding);
|
|
3966
|
+
}
|
|
3967
|
+
}
|
|
3968
|
+
.compact\:pr-desktop-compact-layout-padding {
|
|
3969
|
+
&:where([data-compact]) {
|
|
3970
|
+
padding-right: var(--spacing-desktop-compact-layout-padding);
|
|
3971
|
+
}
|
|
3972
|
+
}
|
|
3934
3973
|
.compact\:pb-desktop-compact-component-padding {
|
|
3935
3974
|
&:where([data-compact]) {
|
|
3936
3975
|
padding-bottom: var(--spacing-desktop-compact-component-padding);
|
|
3937
3976
|
}
|
|
3938
3977
|
}
|
|
3978
|
+
.compact\:pb-desktop-compact-container-padding {
|
|
3979
|
+
&:where([data-compact]) {
|
|
3980
|
+
padding-bottom: var(--spacing-desktop-compact-container-padding);
|
|
3981
|
+
}
|
|
3982
|
+
}
|
|
3939
3983
|
.compact\:pb-desktop-compact-layout-padding {
|
|
3940
3984
|
&:where([data-compact]) {
|
|
3941
3985
|
padding-bottom: var(--spacing-desktop-compact-layout-padding);
|
|
@@ -3946,6 +3990,16 @@
|
|
|
3946
3990
|
padding-left: var(--spacing-desktop-compact-component-padding);
|
|
3947
3991
|
}
|
|
3948
3992
|
}
|
|
3993
|
+
.compact\:pl-desktop-compact-container-padding {
|
|
3994
|
+
&:where([data-compact]) {
|
|
3995
|
+
padding-left: var(--spacing-desktop-compact-container-padding);
|
|
3996
|
+
}
|
|
3997
|
+
}
|
|
3998
|
+
.compact\:pl-desktop-compact-layout-padding {
|
|
3999
|
+
&:where([data-compact]) {
|
|
4000
|
+
padding-left: var(--spacing-desktop-compact-layout-padding);
|
|
4001
|
+
}
|
|
4002
|
+
}
|
|
3949
4003
|
.compact\:text-caption-desktop-compact {
|
|
3950
4004
|
&:where([data-compact]) {
|
|
3951
4005
|
font-size: var(--text-caption-desktop-compact);
|
|
@@ -4117,6 +4171,11 @@
|
|
|
4117
4171
|
flex-grow: 0;
|
|
4118
4172
|
}
|
|
4119
4173
|
}
|
|
4174
|
+
.desktop\:grid-cols-4 {
|
|
4175
|
+
@container root (width >= 48rem) {
|
|
4176
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
4177
|
+
}
|
|
4178
|
+
}
|
|
4120
4179
|
.desktop\:flex-col {
|
|
4121
4180
|
@container root (width >= 48rem) {
|
|
4122
4181
|
flex-direction: column;
|
|
@@ -4252,16 +4311,51 @@
|
|
|
4252
4311
|
padding-block: var(--spacing-desktop-layout-padding);
|
|
4253
4312
|
}
|
|
4254
4313
|
}
|
|
4314
|
+
.desktop\:pt-desktop-component-padding {
|
|
4315
|
+
@container root (width >= 48rem) {
|
|
4316
|
+
padding-top: var(--spacing-desktop-component-padding);
|
|
4317
|
+
}
|
|
4318
|
+
}
|
|
4319
|
+
.desktop\:pt-desktop-container-padding {
|
|
4320
|
+
@container root (width >= 48rem) {
|
|
4321
|
+
padding-top: var(--spacing-desktop-container-padding);
|
|
4322
|
+
}
|
|
4323
|
+
}
|
|
4255
4324
|
.desktop\:pt-desktop-layout-gap {
|
|
4256
4325
|
@container root (width >= 48rem) {
|
|
4257
4326
|
padding-top: var(--spacing-desktop-layout-gap);
|
|
4258
4327
|
}
|
|
4259
4328
|
}
|
|
4329
|
+
.desktop\:pt-desktop-layout-padding {
|
|
4330
|
+
@container root (width >= 48rem) {
|
|
4331
|
+
padding-top: var(--spacing-desktop-layout-padding);
|
|
4332
|
+
}
|
|
4333
|
+
}
|
|
4334
|
+
.desktop\:pr-desktop-component-padding {
|
|
4335
|
+
@container root (width >= 48rem) {
|
|
4336
|
+
padding-right: var(--spacing-desktop-component-padding);
|
|
4337
|
+
}
|
|
4338
|
+
}
|
|
4339
|
+
.desktop\:pr-desktop-container-padding {
|
|
4340
|
+
@container root (width >= 48rem) {
|
|
4341
|
+
padding-right: var(--spacing-desktop-container-padding);
|
|
4342
|
+
}
|
|
4343
|
+
}
|
|
4344
|
+
.desktop\:pr-desktop-layout-padding {
|
|
4345
|
+
@container root (width >= 48rem) {
|
|
4346
|
+
padding-right: var(--spacing-desktop-layout-padding);
|
|
4347
|
+
}
|
|
4348
|
+
}
|
|
4260
4349
|
.desktop\:pb-desktop-component-padding {
|
|
4261
4350
|
@container root (width >= 48rem) {
|
|
4262
4351
|
padding-bottom: var(--spacing-desktop-component-padding);
|
|
4263
4352
|
}
|
|
4264
4353
|
}
|
|
4354
|
+
.desktop\:pb-desktop-container-padding {
|
|
4355
|
+
@container root (width >= 48rem) {
|
|
4356
|
+
padding-bottom: var(--spacing-desktop-container-padding);
|
|
4357
|
+
}
|
|
4358
|
+
}
|
|
4265
4359
|
.desktop\:pb-desktop-layout-padding {
|
|
4266
4360
|
@container root (width >= 48rem) {
|
|
4267
4361
|
padding-bottom: var(--spacing-desktop-layout-padding);
|
|
@@ -4272,6 +4366,16 @@
|
|
|
4272
4366
|
padding-left: var(--spacing-desktop-component-padding);
|
|
4273
4367
|
}
|
|
4274
4368
|
}
|
|
4369
|
+
.desktop\:pl-desktop-container-padding {
|
|
4370
|
+
@container root (width >= 48rem) {
|
|
4371
|
+
padding-left: var(--spacing-desktop-container-padding);
|
|
4372
|
+
}
|
|
4373
|
+
}
|
|
4374
|
+
.desktop\:pl-desktop-layout-padding {
|
|
4375
|
+
@container root (width >= 48rem) {
|
|
4376
|
+
padding-left: var(--spacing-desktop-layout-padding);
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4275
4379
|
.desktop\:text-caption-desktop {
|
|
4276
4380
|
@container root (width >= 48rem) {
|
|
4277
4381
|
font-size: var(--text-caption-desktop);
|
|
@@ -1,38 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CalendarRange
|
|
3
3
|
} from "../chunk-UOHCOOC2.js";
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-6I5LZ2ZC.js";
|
|
4
|
+
import "../chunk-HYJIDHAK.js";
|
|
6
5
|
import "../chunk-M7INAUAJ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-7AXHAWJX.js";
|
|
7
|
+
import "../chunk-P3MIP2FD.js";
|
|
8
|
+
import "../chunk-3HBYDOYE.js";
|
|
9
|
+
import "../chunk-IMOIZFJZ.js";
|
|
10
|
+
import "../chunk-MBZ55T2D.js";
|
|
9
11
|
import "../chunk-2IKT6IHB.js";
|
|
10
12
|
import "../chunk-G5DEC7H3.js";
|
|
11
13
|
import "../chunk-3X3Y4TMS.js";
|
|
12
14
|
import "../chunk-BQNPOGD5.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-KZZKQLKF.js";
|
|
15
|
+
import "../chunk-LUPHOXAQ.js";
|
|
16
|
+
import "../chunk-W55J2KJZ.js";
|
|
16
17
|
import "../chunk-5IFPG6TS.js";
|
|
17
18
|
import "../chunk-AJ5M6MVX.js";
|
|
18
19
|
import "../chunk-M6TSTDNZ.js";
|
|
20
|
+
import "../chunk-EJSPFQCY.js";
|
|
21
|
+
import "../chunk-RQLWSLVE.js";
|
|
22
|
+
import "../chunk-6LHBY2IH.js";
|
|
23
|
+
import "../chunk-VJVY6NPF.js";
|
|
19
24
|
import "../chunk-EWGHVZL5.js";
|
|
20
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-DCLNAUC4.js";
|
|
26
|
+
import "../chunk-PQWWVBSR.js";
|
|
21
27
|
import "../chunk-AT4AWD6B.js";
|
|
22
28
|
import "../chunk-J5V2JRIK.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-TYAQWVIM.js";
|
|
30
|
+
import "../chunk-SBCFBHNG.js";
|
|
25
31
|
import "../chunk-4RJKB7LC.js";
|
|
32
|
+
import "../chunk-AG43RS4Q.js";
|
|
26
33
|
import "../chunk-XM7IQHBU.js";
|
|
27
34
|
import "../chunk-FRHPFACM.js";
|
|
28
35
|
import "../chunk-T36HX6QY.js";
|
|
29
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-NRNWEQD7.js";
|
|
30
37
|
import "../chunk-SBRRNFOP.js";
|
|
31
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-Y2GK27RX.js";
|
|
32
39
|
import "../chunk-EU73QPW7.js";
|
|
33
40
|
import "../chunk-QVWYTQKL.js";
|
|
34
41
|
import "../chunk-NO5BIKWS.js";
|
|
35
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-CAQWLY5V.js";
|
|
36
43
|
import "../chunk-V47RTW7E.js";
|
|
37
44
|
import "../chunk-22VBZWJG.js";
|
|
38
45
|
import "../chunk-NVOZAVEX.js";
|
|
@@ -57,9 +64,9 @@ import {
|
|
|
57
64
|
} from "../chunk-TYTD4FLW.js";
|
|
58
65
|
import "../chunk-5UH6QUFB.js";
|
|
59
66
|
import "../chunk-FA7IFW66.js";
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
62
|
-
import "../chunk-
|
|
67
|
+
import "../chunk-5TGP5EFM.js";
|
|
68
|
+
import "../chunk-KBJZUVLM.js";
|
|
69
|
+
import "../chunk-DTW7JCBR.js";
|
|
63
70
|
import "../chunk-OGIFIPKH.js";
|
|
64
71
|
import {
|
|
65
72
|
Icon
|
package/dist/components/Grid.cjs
CHANGED
|
@@ -1,10 +1,39 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
|
+
var __defProps = Object.defineProperties;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
5
7
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
9
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
10
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
12
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
+
var __spreadValues = (a, b) => {
|
|
14
|
+
for (var prop in b || (b = {}))
|
|
15
|
+
if (__hasOwnProp.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
if (__getOwnPropSymbols)
|
|
18
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
+
if (__propIsEnum.call(b, prop))
|
|
20
|
+
__defNormalProp(a, prop, b[prop]);
|
|
21
|
+
}
|
|
22
|
+
return a;
|
|
23
|
+
};
|
|
24
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
+
var __objRest = (source, exclude) => {
|
|
26
|
+
var target = {};
|
|
27
|
+
for (var prop in source)
|
|
28
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
+
target[prop] = source[prop];
|
|
30
|
+
if (source != null && __getOwnPropSymbols)
|
|
31
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
+
target[prop] = source[prop];
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
36
|
+
};
|
|
8
37
|
var __export = (target, all) => {
|
|
9
38
|
for (var name in all)
|
|
10
39
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -33,96 +62,72 @@ __export(Grid_exports, {
|
|
|
33
62
|
Grid: () => Grid
|
|
34
63
|
});
|
|
35
64
|
module.exports = __toCommonJS(Grid_exports);
|
|
36
|
-
var import_react = require("react");
|
|
37
65
|
var import_clsx = __toESM(require("clsx"), 1);
|
|
38
66
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
6: "sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4",
|
|
46
|
-
7: "sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-6",
|
|
47
|
-
8: "sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-6",
|
|
48
|
-
9: "sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-6",
|
|
49
|
-
10: "sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-6",
|
|
50
|
-
11: "sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-8",
|
|
51
|
-
12: "sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-8"
|
|
67
|
+
var GAP_BY_SIZING = {
|
|
68
|
+
none: "gap-0",
|
|
69
|
+
"layout-group": "gap-mobile-layout-group-gap desktop:gap-desktop-layout-group-gap compact:gap-compact-layout-group-gap",
|
|
70
|
+
layout: "gap-mobile-layout-gap desktop:gap-desktop-layout-gap compact:gap-compact-layout-gap",
|
|
71
|
+
container: "gap-mobile-container-gap desktop:gap-desktop-container-gap compact:gap-compact-container-gap",
|
|
72
|
+
component: "gap-mobile-component-gap desktop:gap-desktop-component-gap compact:gap-compact-component-gap"
|
|
52
73
|
};
|
|
53
|
-
var
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
6: "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6",
|
|
60
|
-
7: "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 2xl:grid-cols-7",
|
|
61
|
-
8: "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 2xl:grid-cols-8",
|
|
62
|
-
9: "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 2xl:grid-cols-9",
|
|
63
|
-
10: "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-8 2xl:grid-cols-10",
|
|
64
|
-
11: "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-8 2xl:grid-cols-11",
|
|
65
|
-
12: "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-8 2xl:grid-cols-12"
|
|
74
|
+
var PADDING_BY_SIZING = {
|
|
75
|
+
none: "p-0",
|
|
76
|
+
container: "p-mobile-container-padding desktop:p-desktop-container-padding compact:p-desktop-compact-container-padding",
|
|
77
|
+
layout: "p-mobile-layout-padding desktop:p-desktop-layout-padding compact:p-desktop-compact-layout-padding",
|
|
78
|
+
"layout-group": "p-mobile-layout-group-padding desktop:p-desktop-layout-group-padding compact:p-desktop-compact-layout-group-padding",
|
|
79
|
+
component: "p-mobile-component-padding desktop:p-desktop-component-padding compact:p-desktop-compact-component-padding"
|
|
66
80
|
};
|
|
67
|
-
var
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
return "sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-6";
|
|
81
|
+
var buildColumnClasses = (base, responsive) => {
|
|
82
|
+
const classes = [`grid-cols-${base}`];
|
|
83
|
+
if (responsive) {
|
|
84
|
+
Object.entries(responsive).forEach(([bp, value]) => {
|
|
85
|
+
if (value && value > 0) classes.push(`${bp}:grid-cols-${value}`);
|
|
86
|
+
});
|
|
74
87
|
}
|
|
75
|
-
|
|
76
|
-
if (childCount <= 2) return "sm:grid-cols-2";
|
|
77
|
-
if (childCount === 3) return "sm:grid-cols-2 md:grid-cols-3";
|
|
78
|
-
if (childCount <= 5) return "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4";
|
|
79
|
-
if (childCount <= 6)
|
|
80
|
-
return "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6";
|
|
81
|
-
if (childCount === 7)
|
|
82
|
-
return "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6";
|
|
83
|
-
if (childCount <= 11)
|
|
84
|
-
return "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 2xl:grid-cols-8";
|
|
85
|
-
return "sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-8 2xl:grid-cols-12";
|
|
88
|
+
return classes.join(" ");
|
|
86
89
|
};
|
|
87
|
-
var
|
|
88
|
-
var _a
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
90
|
+
var Grid = (_a) => {
|
|
91
|
+
var _b = _a, {
|
|
92
|
+
children,
|
|
93
|
+
sizing = "container",
|
|
94
|
+
padding,
|
|
95
|
+
columns,
|
|
96
|
+
responsive,
|
|
97
|
+
id,
|
|
98
|
+
testid,
|
|
99
|
+
style,
|
|
100
|
+
className
|
|
101
|
+
} = _b, rest = __objRest(_b, [
|
|
102
|
+
"children",
|
|
103
|
+
"sizing",
|
|
104
|
+
"padding",
|
|
105
|
+
"columns",
|
|
106
|
+
"responsive",
|
|
107
|
+
"id",
|
|
108
|
+
"testid",
|
|
109
|
+
"style",
|
|
110
|
+
"className"
|
|
111
|
+
]);
|
|
112
|
+
var _a2, _b2;
|
|
113
|
+
const columnClasses = buildColumnClasses(columns, responsive);
|
|
106
114
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
107
115
|
"div",
|
|
108
|
-
{
|
|
116
|
+
__spreadProps(__spreadValues({
|
|
109
117
|
id,
|
|
110
118
|
"data-testid": testid,
|
|
119
|
+
style
|
|
120
|
+
}, rest), {
|
|
111
121
|
className: (0, import_clsx.default)(
|
|
112
|
-
padding && sizing === "container" && "p-mobile-container-padding desktop:p-desktop-container-padding compact:p-desktop-compact-container-padding",
|
|
113
|
-
padding && sizing === "layout" && "p-mobile-layout-padding desktop:p-desktop-layout-padding compact:p-desktop-compact-layout-padding",
|
|
114
|
-
padding && sizing === "layout-group" && "p-mobile-layout-group-padding desktop:p-desktop-layout-group-padding compact:p-desktop-compact-layout-group-padding",
|
|
115
|
-
padding && sizing === "component" && "p-mobile-component-padding desktop:p-desktop-component-padding compact:p-desktop-compact-component-padding",
|
|
116
|
-
sizing === "layout-group" && "gap-mobile-layout-group-gap desktop:gap-desktop-layout-group-gap compact:gap-compact-layout-group-gap",
|
|
117
|
-
sizing === "layout" && "gap-mobile-layout-gap desktop:gap-desktop-layout-gap compact:gap-compact-layout-gap",
|
|
118
|
-
sizing === "container" && "gap-mobile-container-gap desktop:gap-desktop-container-gap compact:gap-compact-container-gap",
|
|
119
|
-
sizing === "component" && "gap-mobile-component-gap desktop:gap-desktop-component-gap compact:gap-compact-component-gap",
|
|
120
122
|
"w-full grid",
|
|
121
|
-
|
|
123
|
+
(_a2 = GAP_BY_SIZING[sizing]) != null ? _a2 : GAP_BY_SIZING.container,
|
|
124
|
+
padding && ((_b2 = PADDING_BY_SIZING[sizing]) != null ? _b2 : PADDING_BY_SIZING.container),
|
|
125
|
+
columnClasses,
|
|
126
|
+
"grid-cols-1 desktop:grid-cols-4",
|
|
127
|
+
className
|
|
122
128
|
),
|
|
123
|
-
style,
|
|
124
129
|
children
|
|
125
|
-
}
|
|
130
|
+
})
|
|
126
131
|
);
|
|
127
132
|
};
|
|
128
133
|
// Annotate the CommonJS export names for ESM import in node:
|