@wpic/ui 0.9.22 → 0.9.24
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/CHANGELOG.md +11 -0
- package/COMPONENTS.md +14 -0
- package/dist/components/WBottomSheet.vue.d.ts +31 -0
- package/dist/components/WChatPanel.vue.d.ts +2 -2
- package/dist/components/WDateRangePicker.vue.d.ts +1 -0
- package/dist/components/WPopover.vue.d.ts +8 -3
- package/dist/components/WSelect.vue.d.ts +1 -0
- package/dist/components/WSlidePanel.vue.d.ts +24 -19
- package/dist/components/WTable.vue.d.ts +13 -0
- package/dist/composables/lockBodyScroll.d.ts +2 -0
- package/dist/composables/useMobileViewport.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/wpic-ui.cjs +65 -65
- package/dist/wpic-ui.css +19 -1
- package/dist/wpic-ui.js +3133 -2937
- package/package.json +1 -1
- package/src/style.css +18 -0
package/package.json
CHANGED
package/src/style.css
CHANGED
|
@@ -486,3 +486,21 @@ input[type="range"].wpic-legacy-slider-themed::-webkit-slider-thumb {
|
|
|
486
486
|
.wpic-theme .wpic-card--bordered:has(> .wpic-card__body > .wpic-table) {
|
|
487
487
|
border-color: var(--wpic-table-border, var(--wpic-border));
|
|
488
488
|
}
|
|
489
|
+
|
|
490
|
+
/* Touch controls keep their desktop density on wider displays. */
|
|
491
|
+
@media (max-width: 767px) {
|
|
492
|
+
.wpic-control, .wpic-button, .wpic-select-option, .wpic-action-menu-item { min-height: 44px; }
|
|
493
|
+
.wpic-split-button > .wpic-button:last-child { min-width: 44px; }
|
|
494
|
+
.wpic-control:is(input, textarea), .wpic-theme textarea { font-size: 16px; }
|
|
495
|
+
.wpic-bottom-sheet input, .wpic-bottom-sheet select, .wpic-bottom-sheet textarea { font-size: 16px; }
|
|
496
|
+
.wpic-bottom-sheet input { min-width: 0; }
|
|
497
|
+
.wpic-bottom-sheet .wpic-select-option { padding-block: 12px; }
|
|
498
|
+
.wpic-modal-overlay { height: 100dvh; }
|
|
499
|
+
.wpic-modal-panel { max-height: 94dvh; }
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
@media (max-width: 767px) {
|
|
503
|
+
.wpic-table__footer, .wpic-table__pagination { flex-wrap: wrap; gap: 8px; }
|
|
504
|
+
.wpic-table__pagination { max-width: 100%; }
|
|
505
|
+
.wpic-table__pagination button { min-width: 44px; height: 44px; flex-shrink: 0; }
|
|
506
|
+
}
|