@salutejs/plasma-new-hope 0.389.0-dev.0 → 0.390.0-dev.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/css/cjs/components/BottomSheet/BottomSheet.css +8 -8
- package/dist/css/cjs/components/BottomSheet/BottomSheet.js +7 -5
- package/dist/css/cjs/components/BottomSheet/BottomSheet.styles.js +5 -5
- package/dist/css/cjs/components/BottomSheet/{BottomSheet.styles_1d26yjd.css → BottomSheet.styles_i1yfau.css} +1 -1
- package/dist/css/cjs/components/BottomSheet/BottomSheet.tokens.js +1 -0
- package/dist/css/cjs/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
- package/dist/css/cjs/components/BottomSheet/utils/index.js +0 -5
- package/dist/css/cjs/components/Editable/Editable.css +5 -5
- package/dist/css/cjs/components/Editable/Editable.js +19 -3
- package/dist/css/cjs/components/Editable/Editable.styles.js +2 -2
- package/dist/css/cjs/components/Editable/Editable.styles_1ts4ksj.css +4 -0
- package/dist/css/cjs/components/Editable/Editable.tokens.js +5 -1
- package/dist/css/cjs/components/Editable/variations/_size/base.js +1 -1
- package/dist/css/cjs/components/Editable/variations/_size/base_60mm8z.css +1 -0
- package/dist/css/cjs/components/Editable/variations/_view/base.js +1 -1
- package/dist/css/cjs/components/Editable/variations/_view/base_fulhkl.css +1 -0
- package/dist/css/cjs/components/Pagination/Pagination.css +13 -12
- package/dist/css/cjs/components/Pagination/Pagination.js +35 -19
- package/dist/css/cjs/components/Pagination/Pagination.styles.js +8 -2
- package/dist/css/cjs/components/Pagination/{Pagination.styles_6rozng.css → Pagination.styles_1af8kwt.css} +2 -1
- package/dist/css/cjs/components/Pagination/Pagination.tokens.js +3 -1
- package/dist/css/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.css +3 -3
- package/dist/css/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +49 -18
- package/dist/css/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +1 -1
- package/dist/css/cjs/components/Pagination/ui/PaginationQuickJumpToPage/{PaginationQuickJumpToPage.styles_1rsjxrs.css → PaginationQuickJumpToPage.styles_7bgblc.css} +1 -1
- package/dist/css/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
- package/dist/css/cjs/components/Pagination/utils/index.js +2 -0
- package/dist/css/cjs/components/Wheel/Wheel.css +22 -0
- package/dist/css/cjs/components/Wheel/Wheel.js +109 -0
- package/dist/css/cjs/components/Wheel/Wheel.styles.js +138 -0
- package/dist/css/cjs/components/Wheel/Wheel.styles_vgli5z.css +16 -0
- package/dist/css/cjs/components/Wheel/Wheel.tokens.js +79 -0
- package/dist/css/cjs/components/Wheel/hooks/useStaticTextAfter.js +58 -0
- package/dist/css/cjs/components/Wheel/hooks/useWheelAnimation.js +219 -0
- package/dist/css/cjs/components/Wheel/hooks/useWheelInteraction.js +178 -0
- package/dist/css/cjs/components/Wheel/ui/WheelColumn.css +18 -0
- package/dist/css/cjs/components/Wheel/ui/WheelColumn.js +166 -0
- package/dist/css/cjs/components/Wheel/ui/WheelColumnWidth.js +40 -0
- package/dist/css/cjs/components/Wheel/ui/WheelItem.css +16 -0
- package/dist/css/cjs/components/Wheel/ui/WheelItem.js +62 -0
- package/dist/css/cjs/components/Wheel/ui/WheelItemContent.js +26 -0
- package/dist/css/cjs/components/Wheel/utils.js +39 -0
- package/dist/css/cjs/components/Wheel/variations/_disabled/base.js +8 -0
- package/dist/css/cjs/components/Wheel/variations/_disabled/base_r9b0ts.css +1 -0
- package/dist/css/cjs/components/Wheel/variations/_size/base.js +8 -0
- package/dist/css/cjs/components/Wheel/variations/_size/base_x642ct.css +1 -0
- package/dist/css/cjs/components/Wheel/variations/_view/base.js +8 -0
- package/dist/css/cjs/components/Wheel/variations/_view/base_9e3071.css +1 -0
- package/dist/css/cjs/index.css +47 -25
- package/dist/css/cjs/index.js +8 -0
- package/dist/css/cjs/utils/getPanelZIndex.js +10 -0
- package/dist/css/es/components/BottomSheet/BottomSheet.css +8 -8
- package/dist/css/es/components/BottomSheet/BottomSheet.js +6 -4
- package/dist/css/es/components/BottomSheet/BottomSheet.styles.js +5 -5
- package/dist/css/es/components/BottomSheet/{BottomSheet.styles_1d26yjd.css → BottomSheet.styles_i1yfau.css} +1 -1
- package/dist/css/es/components/BottomSheet/BottomSheet.tokens.js +1 -0
- package/dist/css/es/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
- package/dist/css/es/components/BottomSheet/utils/index.js +1 -5
- package/dist/css/es/components/Editable/Editable.css +5 -5
- package/dist/css/es/components/Editable/Editable.js +19 -4
- package/dist/css/es/components/Editable/Editable.styles.js +2 -2
- package/dist/css/es/components/Editable/Editable.styles_1ts4ksj.css +4 -0
- package/dist/css/es/components/Editable/Editable.tokens.js +5 -1
- package/dist/css/es/components/Editable/variations/_size/base.js +1 -1
- package/dist/css/es/components/Editable/variations/_size/base_60mm8z.css +1 -0
- package/dist/css/es/components/Editable/variations/_view/base.js +1 -1
- package/dist/css/es/components/Editable/variations/_view/base_fulhkl.css +1 -0
- package/dist/css/es/components/Pagination/Pagination.css +13 -12
- package/dist/css/es/components/Pagination/Pagination.js +36 -20
- package/dist/css/es/components/Pagination/Pagination.styles.js +8 -3
- package/dist/css/es/components/Pagination/{Pagination.styles_6rozng.css → Pagination.styles_1af8kwt.css} +2 -1
- package/dist/css/es/components/Pagination/Pagination.tokens.js +3 -1
- package/dist/css/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.css +3 -3
- package/dist/css/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +50 -19
- package/dist/css/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +1 -1
- package/dist/css/es/components/Pagination/ui/PaginationQuickJumpToPage/{PaginationQuickJumpToPage.styles_1rsjxrs.css → PaginationQuickJumpToPage.styles_7bgblc.css} +1 -1
- package/dist/css/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
- package/dist/css/es/components/Pagination/utils/index.js +2 -0
- package/dist/css/es/components/Wheel/Wheel.css +22 -0
- package/dist/css/es/components/Wheel/Wheel.js +99 -0
- package/dist/css/es/components/Wheel/Wheel.styles.js +119 -0
- package/dist/css/es/components/Wheel/Wheel.styles_vgli5z.css +16 -0
- package/dist/css/es/components/Wheel/Wheel.tokens.js +73 -0
- package/dist/css/es/components/Wheel/hooks/useStaticTextAfter.js +54 -0
- package/dist/css/es/components/Wheel/hooks/useWheelAnimation.js +215 -0
- package/dist/css/es/components/Wheel/hooks/useWheelInteraction.js +174 -0
- package/dist/css/es/components/Wheel/ui/WheelColumn.css +18 -0
- package/dist/css/es/components/Wheel/ui/WheelColumn.js +157 -0
- package/dist/css/es/components/Wheel/ui/WheelColumnWidth.js +32 -0
- package/dist/css/es/components/Wheel/ui/WheelItem.css +16 -0
- package/dist/css/es/components/Wheel/ui/WheelItem.js +54 -0
- package/dist/css/es/components/Wheel/ui/WheelItemContent.js +18 -0
- package/dist/css/es/components/Wheel/utils.js +32 -0
- package/dist/css/es/components/Wheel/variations/_disabled/base.js +4 -0
- package/dist/css/es/components/Wheel/variations/_disabled/base_r9b0ts.css +1 -0
- package/dist/css/es/components/Wheel/variations/_size/base.js +4 -0
- package/dist/css/es/components/Wheel/variations/_size/base_x642ct.css +1 -0
- package/dist/css/es/components/Wheel/variations/_view/base.js +4 -0
- package/dist/css/es/components/Wheel/variations/_view/base_9e3071.css +1 -0
- package/dist/css/es/index.css +47 -25
- package/dist/css/es/index.js +3 -0
- package/dist/css/es/utils/getPanelZIndex.js +6 -0
- package/dist/emotion/cjs/components/BottomSheet/BottomSheet.js +4 -5
- package/dist/emotion/cjs/components/BottomSheet/BottomSheet.styles.js +9 -9
- package/dist/emotion/cjs/components/BottomSheet/BottomSheet.tokens.js +1 -0
- package/dist/emotion/cjs/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
- package/dist/emotion/cjs/components/BottomSheet/utils/index.js +0 -7
- package/dist/emotion/cjs/components/Editable/Editable.js +21 -3
- package/dist/emotion/cjs/components/Editable/Editable.styles.js +5 -5
- package/dist/emotion/cjs/components/Editable/Editable.tokens.js +5 -1
- package/dist/emotion/cjs/components/Editable/variations/_size/base.js +1 -1
- package/dist/emotion/cjs/components/Editable/variations/_view/base.js +1 -1
- package/dist/emotion/cjs/components/Pagination/Pagination.js +31 -19
- package/dist/emotion/cjs/components/Pagination/Pagination.styles.js +16 -9
- package/dist/emotion/cjs/components/Pagination/Pagination.tokens.js +3 -1
- package/dist/emotion/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +40 -15
- package/dist/emotion/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +4 -4
- package/dist/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
- package/dist/emotion/cjs/components/Pagination/utils/index.js +2 -0
- package/dist/emotion/cjs/components/Wheel/Wheel.js +136 -0
- package/dist/emotion/cjs/components/Wheel/Wheel.styles.js +137 -0
- package/dist/emotion/cjs/components/Wheel/Wheel.tokens.js +92 -0
- package/dist/emotion/cjs/components/Wheel/Wheel.types.js +4 -0
- package/dist/emotion/cjs/components/Wheel/hooks/useStaticTextAfter.js +63 -0
- package/dist/emotion/cjs/components/Wheel/hooks/useWheelAnimation.js +207 -0
- package/dist/emotion/cjs/components/Wheel/hooks/useWheelInteraction.js +165 -0
- package/dist/emotion/cjs/components/Wheel/index.js +26 -0
- package/dist/emotion/cjs/components/Wheel/ui/WheelColumn.js +186 -0
- package/dist/emotion/cjs/components/Wheel/ui/WheelColumnWidth.js +70 -0
- package/dist/emotion/cjs/components/Wheel/ui/WheelItem.js +88 -0
- package/dist/emotion/cjs/components/Wheel/ui/WheelItemContent.js +60 -0
- package/dist/emotion/cjs/components/Wheel/utils.js +43 -0
- package/dist/emotion/cjs/components/Wheel/variations/_disabled/base.js +14 -0
- package/dist/emotion/cjs/components/Wheel/variations/_size/base.js +12 -0
- package/dist/emotion/cjs/components/Wheel/variations/_view/base.js +13 -0
- package/dist/emotion/cjs/index.js +1 -0
- package/dist/emotion/cjs/utils/getPanelZIndex.js +14 -0
- package/dist/emotion/cjs/utils/index.js +4 -0
- package/dist/emotion/es/components/BottomSheet/BottomSheet.js +4 -5
- package/dist/emotion/es/components/BottomSheet/BottomSheet.styles.js +9 -9
- package/dist/emotion/es/components/BottomSheet/BottomSheet.tokens.js +1 -0
- package/dist/emotion/es/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
- package/dist/emotion/es/components/BottomSheet/utils/index.js +0 -4
- package/dist/emotion/es/components/Editable/Editable.js +16 -3
- package/dist/emotion/es/components/Editable/Editable.styles.js +5 -5
- package/dist/emotion/es/components/Editable/Editable.tokens.js +5 -1
- package/dist/emotion/es/components/Editable/variations/_size/base.js +1 -1
- package/dist/emotion/es/components/Editable/variations/_view/base.js +1 -1
- package/dist/emotion/es/components/Pagination/Pagination.js +32 -20
- package/dist/emotion/es/components/Pagination/Pagination.styles.js +13 -9
- package/dist/emotion/es/components/Pagination/Pagination.tokens.js +3 -1
- package/dist/emotion/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +40 -15
- package/dist/emotion/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +4 -4
- package/dist/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
- package/dist/emotion/es/components/Pagination/utils/index.js +2 -0
- package/dist/emotion/es/components/Wheel/Wheel.js +72 -0
- package/dist/emotion/es/components/Wheel/Wheel.styles.js +73 -0
- package/dist/emotion/es/components/Wheel/Wheel.tokens.js +71 -0
- package/dist/emotion/es/components/Wheel/Wheel.types.js +3 -0
- package/dist/emotion/es/components/Wheel/hooks/useStaticTextAfter.js +53 -0
- package/dist/emotion/es/components/Wheel/hooks/useWheelAnimation.js +197 -0
- package/dist/emotion/es/components/Wheel/hooks/useWheelInteraction.js +155 -0
- package/dist/emotion/es/components/Wheel/index.js +2 -0
- package/dist/emotion/es/components/Wheel/ui/WheelColumn.js +130 -0
- package/dist/emotion/es/components/Wheel/ui/WheelColumnWidth.js +19 -0
- package/dist/emotion/es/components/Wheel/ui/WheelItem.js +37 -0
- package/dist/emotion/es/components/Wheel/ui/WheelItemContent.js +9 -0
- package/dist/emotion/es/components/Wheel/utils.js +19 -0
- package/dist/emotion/es/components/Wheel/variations/_disabled/base.js +4 -0
- package/dist/emotion/es/components/Wheel/variations/_size/base.js +2 -0
- package/dist/emotion/es/components/Wheel/variations/_view/base.js +3 -0
- package/dist/emotion/es/index.js +1 -0
- package/dist/emotion/es/utils/getPanelZIndex.js +4 -0
- package/dist/emotion/es/utils/index.js +1 -0
- package/dist/styled-components/cjs/components/BottomSheet/BottomSheet.js +4 -5
- package/dist/styled-components/cjs/components/BottomSheet/BottomSheet.styles.js +12 -10
- package/dist/styled-components/cjs/components/BottomSheet/BottomSheet.tokens.js +1 -0
- package/dist/styled-components/cjs/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
- package/dist/styled-components/cjs/components/BottomSheet/utils/index.js +0 -7
- package/dist/styled-components/cjs/components/Editable/Editable.js +21 -3
- package/dist/styled-components/cjs/components/Editable/Editable.styles.js +18 -9
- package/dist/styled-components/cjs/components/Editable/Editable.tokens.js +5 -1
- package/dist/styled-components/cjs/components/Editable/variations/_size/base.js +7 -1
- package/dist/styled-components/cjs/components/Editable/variations/_view/base.js +5 -3
- package/dist/styled-components/cjs/components/Pagination/Pagination.js +31 -19
- package/dist/styled-components/cjs/components/Pagination/Pagination.styles.js +19 -9
- package/dist/styled-components/cjs/components/Pagination/Pagination.tokens.js +3 -1
- package/dist/styled-components/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +40 -15
- package/dist/styled-components/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +6 -5
- package/dist/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
- package/dist/styled-components/cjs/components/Pagination/utils/index.js +2 -0
- package/dist/styled-components/cjs/components/Wheel/Wheel.js +136 -0
- package/dist/styled-components/cjs/components/Wheel/Wheel.styles.js +320 -0
- package/dist/styled-components/cjs/components/Wheel/Wheel.tokens.js +92 -0
- package/dist/styled-components/cjs/components/Wheel/Wheel.types.js +4 -0
- package/dist/styled-components/cjs/components/Wheel/hooks/useStaticTextAfter.js +63 -0
- package/dist/styled-components/cjs/components/Wheel/hooks/useWheelAnimation.js +207 -0
- package/dist/styled-components/cjs/components/Wheel/hooks/useWheelInteraction.js +165 -0
- package/dist/styled-components/cjs/components/Wheel/index.js +26 -0
- package/dist/styled-components/cjs/components/Wheel/ui/WheelColumn.js +186 -0
- package/dist/styled-components/cjs/components/Wheel/ui/WheelColumnWidth.js +70 -0
- package/dist/styled-components/cjs/components/Wheel/ui/WheelItem.js +88 -0
- package/dist/styled-components/cjs/components/Wheel/ui/WheelItemContent.js +60 -0
- package/dist/styled-components/cjs/components/Wheel/utils.js +43 -0
- package/dist/styled-components/cjs/components/Wheel/variations/_disabled/base.js +28 -0
- package/dist/styled-components/cjs/components/Wheel/variations/_size/base.js +14 -0
- package/dist/styled-components/cjs/components/Wheel/variations/_view/base.js +26 -0
- package/dist/styled-components/cjs/index.js +1 -0
- package/dist/styled-components/cjs/utils/getPanelZIndex.js +14 -0
- package/dist/styled-components/cjs/utils/index.js +4 -0
- package/dist/styled-components/es/components/BottomSheet/BottomSheet.js +4 -5
- package/dist/styled-components/es/components/BottomSheet/BottomSheet.styles.js +12 -10
- package/dist/styled-components/es/components/BottomSheet/BottomSheet.tokens.js +1 -0
- package/dist/styled-components/es/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
- package/dist/styled-components/es/components/BottomSheet/utils/index.js +0 -4
- package/dist/styled-components/es/components/Editable/Editable.js +16 -3
- package/dist/styled-components/es/components/Editable/Editable.styles.js +18 -9
- package/dist/styled-components/es/components/Editable/Editable.tokens.js +5 -1
- package/dist/styled-components/es/components/Editable/variations/_size/base.js +7 -1
- package/dist/styled-components/es/components/Editable/variations/_view/base.js +5 -3
- package/dist/styled-components/es/components/Pagination/Pagination.js +32 -20
- package/dist/styled-components/es/components/Pagination/Pagination.styles.js +16 -9
- package/dist/styled-components/es/components/Pagination/Pagination.tokens.js +3 -1
- package/dist/styled-components/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +40 -15
- package/dist/styled-components/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +6 -5
- package/dist/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
- package/dist/styled-components/es/components/Pagination/utils/index.js +2 -0
- package/dist/styled-components/es/components/Wheel/Wheel.js +72 -0
- package/dist/styled-components/es/components/Wheel/Wheel.styles.js +220 -0
- package/dist/styled-components/es/components/Wheel/Wheel.tokens.js +71 -0
- package/dist/styled-components/es/components/Wheel/Wheel.types.js +3 -0
- package/dist/styled-components/es/components/Wheel/hooks/useStaticTextAfter.js +53 -0
- package/dist/styled-components/es/components/Wheel/hooks/useWheelAnimation.js +197 -0
- package/dist/styled-components/es/components/Wheel/hooks/useWheelInteraction.js +155 -0
- package/dist/styled-components/es/components/Wheel/index.js +2 -0
- package/dist/styled-components/es/components/Wheel/ui/WheelColumn.js +130 -0
- package/dist/styled-components/es/components/Wheel/ui/WheelColumnWidth.js +19 -0
- package/dist/styled-components/es/components/Wheel/ui/WheelItem.js +37 -0
- package/dist/styled-components/es/components/Wheel/ui/WheelItemContent.js +9 -0
- package/dist/styled-components/es/components/Wheel/utils.js +19 -0
- package/dist/styled-components/es/components/Wheel/variations/_disabled/base.js +18 -0
- package/dist/styled-components/es/components/Wheel/variations/_size/base.js +4 -0
- package/dist/styled-components/es/components/Wheel/variations/_view/base.js +16 -0
- package/dist/styled-components/es/index.js +1 -0
- package/dist/styled-components/es/utils/getPanelZIndex.js +4 -0
- package/dist/styled-components/es/utils/index.js +1 -0
- package/package.json +4 -4
- package/types/components/Attach/Attach.types.d.ts +2 -0
- package/types/components/Attach/Attach.types.d.ts.map +1 -1
- package/types/components/Attach/ui/Dropdown/Dropdown.styles.d.ts.map +1 -1
- package/types/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/types/components/BottomSheet/BottomSheet.styles.d.ts.map +1 -1
- package/types/components/BottomSheet/BottomSheet.tokens.d.ts +1 -0
- package/types/components/BottomSheet/BottomSheet.tokens.d.ts.map +1 -1
- package/types/components/BottomSheet/BottomSheet.types.d.ts +6 -0
- package/types/components/BottomSheet/BottomSheet.types.d.ts.map +1 -1
- package/types/components/BottomSheet/hooks/useBottomSheetDrag.d.ts.map +1 -1
- package/types/components/BottomSheet/utils/index.d.ts +0 -2
- package/types/components/BottomSheet/utils/index.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.types.d.ts +10 -1
- package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/types/components/Editable/Editable.d.ts.map +1 -1
- package/types/components/Editable/Editable.styles.d.ts.map +1 -1
- package/types/components/Editable/Editable.tokens.d.ts +4 -0
- package/types/components/Editable/Editable.tokens.d.ts.map +1 -1
- package/types/components/Editable/Editable.types.d.ts +4 -0
- package/types/components/Editable/Editable.types.d.ts.map +1 -1
- package/types/components/Editable/variations/_size/base.d.ts.map +1 -1
- package/types/components/Editable/variations/_view/base.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.styles.d.ts +1 -0
- package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.tokens.d.ts +4 -0
- package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
- package/types/components/Pagination/Pagination.types.d.ts +10 -0
- package/types/components/Pagination/Pagination.types.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.types.d.ts +2 -0
- package/types/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.types.d.ts.map +1 -1
- package/types/components/Pagination/utils/index.d.ts +2 -0
- package/types/components/Pagination/utils/index.d.ts.map +1 -1
- package/types/components/Wheel/Wheel.d.ts +55 -0
- package/types/components/Wheel/Wheel.d.ts.map +1 -0
- package/types/components/Wheel/Wheel.styles.d.ts +25 -0
- package/types/components/Wheel/Wheel.styles.d.ts.map +1 -0
- package/types/components/Wheel/Wheel.tokens.d.ts +116 -0
- package/types/components/Wheel/Wheel.tokens.d.ts.map +1 -0
- package/types/components/Wheel/Wheel.types.d.ts +159 -0
- package/types/components/Wheel/Wheel.types.d.ts.map +1 -0
- package/types/components/Wheel/hooks/useStaticTextAfter.d.ts +7 -0
- package/types/components/Wheel/hooks/useStaticTextAfter.d.ts.map +1 -0
- package/types/components/Wheel/hooks/useWheelAnimation.d.ts +19 -0
- package/types/components/Wheel/hooks/useWheelAnimation.d.ts.map +1 -0
- package/types/components/Wheel/hooks/useWheelInteraction.d.ts +35 -0
- package/types/components/Wheel/hooks/useWheelInteraction.d.ts.map +1 -0
- package/types/components/Wheel/index.d.ts +4 -0
- package/types/components/Wheel/index.d.ts.map +1 -0
- package/types/components/Wheel/ui/WheelColumn.d.ts +13 -0
- package/types/components/Wheel/ui/WheelColumn.d.ts.map +1 -0
- package/types/components/Wheel/ui/WheelColumnWidth.d.ts +9 -0
- package/types/components/Wheel/ui/WheelColumnWidth.d.ts.map +1 -0
- package/types/components/Wheel/ui/WheelItem.d.ts +17 -0
- package/types/components/Wheel/ui/WheelItem.d.ts.map +1 -0
- package/types/components/Wheel/ui/WheelItemContent.d.ts +7 -0
- package/types/components/Wheel/ui/WheelItemContent.d.ts.map +1 -0
- package/types/components/Wheel/utils.d.ts +7 -0
- package/types/components/Wheel/utils.d.ts.map +1 -0
- package/types/components/Wheel/variations/_disabled/base.d.ts +2 -0
- package/types/components/Wheel/variations/_disabled/base.d.ts.map +1 -0
- package/types/components/Wheel/variations/_size/base.d.ts +2 -0
- package/types/components/Wheel/variations/_size/base.d.ts.map +1 -0
- package/types/components/Wheel/variations/_view/base.d.ts +2 -0
- package/types/components/Wheel/variations/_view/base.d.ts.map +1 -0
- package/types/examples/components/Attach/Attach.d.ts.map +1 -1
- package/types/examples/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/examples/components/Editable/Editable.config.d.ts.map +1 -1
- package/types/examples/components/Pagination/Pagination.config.d.ts.map +1 -1
- package/types/examples/components/Wheel/Wheel.config.d.ts +29 -0
- package/types/examples/components/Wheel/Wheel.config.d.ts.map +1 -0
- package/types/examples/components/Wheel/Wheel.d.ts +46 -0
- package/types/examples/components/Wheel/Wheel.d.ts.map +1 -0
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/utils/getPanelZIndex.d.ts +3 -0
- package/types/utils/getPanelZIndex.d.ts.map +1 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/index.d.ts.map +1 -1
- package/dist/css/cjs/components/Editable/Editable.styles_z2slj0.css +0 -4
- package/dist/css/cjs/components/Editable/variations/_size/base_1xzgyr1.css +0 -1
- package/dist/css/cjs/components/Editable/variations/_view/base_xbahf.css +0 -1
- package/dist/css/es/components/Editable/Editable.styles_z2slj0.css +0 -4
- package/dist/css/es/components/Editable/variations/_size/base_1xzgyr1.css +0 -1
- package/dist/css/es/components/Editable/variations/_view/base_xbahf.css +0 -1
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
|
|
32
32
|
.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e{--box-shadow-spread:var(--plasma-button-border-width,0.063rem);position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);color:var(--plasma-button-color);background:var(--plasma-button-background-color);box-shadow:inset 0 0 0 var(--box-shadow-spread) var(--plasma-button-border-color,inset 0 0 0 0 transparent);height:var(--plasma-button-height);width:var(--plasma-button-width);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);position:relative;--plasma-button-padding:0;--plasma-button-color:var(--plasma-icon-button-color);--plasma-button-background-color:var(--plasma-icon-button-background-color);--plasma-button-border-color:var(--plasma-icon-button-border-color);--plasma-button-color-hover:var(--plasma-icon-button-color-hover);--plasma-button-background-color-hover:var(--plasma-icon-button-background-color-hover);--plasma-button-border-color-hover:var(--plasma-icon-button-border-color-hover);--plasma-button-color-active:var(--plasma-icon-button-color-active);--plasma-button-background-color-active:var(--plasma-icon-button-background-color-active);--plasma-button-border-color-active:var(--plasma-icon-button-border-color-active);--plasma-button-loading-background-color:var(--plasma-icon-button-loading-background-color);--plasma-button-font-family:var(--plasma-icon-button-font-family);--plasma-button-font-size:var(--plasma-icon-button-font-size);--plasma-button-font-style:var(--plasma-icon-button-font-style);--plasma-button-font-weight:var(--plasma-icon-button-font-weight);--plasma-button-letter-spacing:var(--plasma-icon-button-letter-spacing);--plasma-button-line-height:var(--plasma-icon-button-line-height);--plasma-button-width:var(--plasma-icon-button-width);--plasma-button-height:var(--plasma-icon-button-height);--plasma-button-radius:var(--plasma-icon-button-radius);--plasma-button-disabled-opacity:var(--plasma-icon-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-icon-button-focus-color);--plasma-button-spinner-size:var(--plasma-icon-button-spinner-size);--plasma-button-spinner-color:var(--plasma-icon-button-spinner-color);--plasma-button-border-width:var(--plasma-icon-button-border-width);}a.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e{-webkit-text-decoration:none;text-decoration:none;}.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e.IconButton_styles_1ek7d1f_buttonSquare__03e8ec5e{width:var(--plasma-button-height);padding:0;}@media (hover:hover) and (pointer:fine){.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));box-shadow:inset 0 0 0 var(--box-shadow-spread) var(--plasma-button-border-color-hover,inset 0 0 0 0 transparent);scale:var(--plasma-button-scale-hover);}}.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background:var(--plasma-button-background-color-active,var(--plasma-button-background-color));box-shadow:inset 0 0 0 var(--box-shadow-spread) var(--plasma-button-border-color-active,inset 0 0 0 0 transparent);scale:var(---plasma-button-scale-active);}.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e:focus-visible{outline:none;}.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e::before{content:'';position:absolute;inset:0;z-index:1;border-radius:calc(0.125rem + var(--plasma_private-btn-br));outline:var(--plasma_private-btn-outline-size) solid transparent;outline-offset:0.125rem;-webkit-transition:outline-color 0.2s ease-in-out;transition:outline-color 0.2s ease-in-out;pointer-events:none;}.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e.IconButton_styles_1ek7d1f_focusVisible__03e8ec5e:focus::before,.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e[data-focus-visible-added]::before{outline-color:var(--plasma-button-focus-color);}.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}@media (hover:hover) and (pointer:fine){.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e[disabled]:hover,.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e[disabled]:active{scale:none;color:var(--plasma-button-color);background:var(--plasma-button-background-color);}}.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e.IconButton_styles_1ek7d1f_buttonStretchingFixed__03e8ec5e{width:var(--plasma-button-width);}.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e.IconButton_styles_1ek7d1f_buttonStretchingFilled__03e8ec5e{width:100%;}.IconButton_styles_1ek7d1f_blr36gw__03e8ec5e.IconButton_styles_1ek7d1f_buttonStretchingAuto__03e8ec5e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
|
|
33
33
|
|
|
34
|
-
.
|
|
35
|
-
.
|
|
36
|
-
.
|
|
37
|
-
.
|
|
38
|
-
.
|
|
39
|
-
.
|
|
40
|
-
.
|
|
41
|
-
.
|
|
34
|
+
.BottomSheet_styles_i1yfau_pd6pofm__da553b43{position:fixed;left:0;bottom:0;width:100%;max-height:inherit;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;border-radius:var(--plasma-bottom-sheet-border-radius);overflow:visible;}.BottomSheet_styles_i1yfau_pd6pofm__da553b43.BottomSheet_styles_i1yfau_bottomSheetAnimated__da553b43{-webkit-transition:-webkit-transform 0.4s ease,opacity 0.4s ease,height 0.3s ease,visibility 0.4s ease;-webkit-transition:transform 0.4s ease,opacity 0.4s ease,height 0.3s ease,visibility 0.4s ease;transition:transform 0.4s ease,opacity 0.4s ease,height 0.3s ease,visibility 0.4s ease;}.BottomSheet_styles_i1yfau_pd6pofm__da553b43.BottomSheet_styles_i1yfau_bottomSheetClosed__da553b43{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);opacity:0;visibility:hidden;}
|
|
35
|
+
.BottomSheet_styles_i1yfau_pks5zb5__da553b43{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;min-height:0;max-height:inherit;padding-left:var(--plasma-bottom-sheet-content-padding-horizontal,0);padding-right:var(--plasma-bottom-sheet-content-padding-horizontal,0);background-color:var(--plasma-bottom-sheet-content-background-color);border-radius:inherit;overflow:hidden;}
|
|
36
|
+
.BottomSheet_styles_i1yfau_h3iv5vx__da553b43{position:absolute;z-index:1;top:var(--h3iv5vx-0);left:0;right:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;box-sizing:border-box;padding:var(--plasma-bottom-sheet-handle-gap) 0;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab;}.BottomSheet_styles_i1yfau_h3iv5vx__da553b43::before{content:'';display:none;width:var(--plasma-bottom-sheet-handle-width);height:var(--plasma-bottom-sheet-handle-height);border-radius:var(--plasma-bottom-sheet-handle-border-radius);background-color:var(--plasma-bottom-sheet-handle-background-color);}.BottomSheet_styles_i1yfau_h3iv5vx__da553b43.BottomSheet_styles_i1yfau_bottomSheetHasHandle__da553b43::before{display:block;}
|
|
37
|
+
.BottomSheet_styles_i1yfau_s1vjzza6__da553b43{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:none;}.BottomSheet_styles_i1yfau_s1vjzza6__da553b43::-webkit-scrollbar{display:none;}
|
|
38
|
+
.BottomSheet_styles_i1yfau_h1lksfmy__da553b43{position:relative;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}.BottomSheet_styles_i1yfau_h1lksfmy__da553b43::after{content:'';position:absolute;left:0;right:0;display:block;height:var(--plasma-bottom-sheet-divider-width);background-color:var(--plasma-bottom-sheet-divider-color);opacity:0;-webkit-transition:opacity 0.2s ease;transition:opacity 0.2s ease;bottom:0;}.BottomSheet_styles_i1yfau_h1lksfmy__da553b43.BottomSheet_styles_i1yfau_bottomSheetHeaderDividerVisible__da553b43::after{opacity:1;}
|
|
39
|
+
.BottomSheet_styles_i1yfau_f116a410__da553b43{position:relative;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}.BottomSheet_styles_i1yfau_f116a410__da553b43::before{content:'';position:absolute;left:0;right:0;display:block;height:var(--plasma-bottom-sheet-divider-width);background-color:var(--plasma-bottom-sheet-divider-color);opacity:0;-webkit-transition:opacity 0.2s ease;transition:opacity 0.2s ease;top:0;}.BottomSheet_styles_i1yfau_f116a410__da553b43.BottomSheet_styles_i1yfau_bottomSheetFooterDividerVisible__da553b43::before{opacity:1;}
|
|
40
|
+
.BottomSheet_styles_i1yfau_b8ms4js__da553b43{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}
|
|
41
|
+
.BottomSheet_styles_i1yfau_com5ybz__da553b43{position:absolute;z-index:2;top:var(--plasma-bottom-sheet-close-icon-offset);right:var(--plasma-bottom-sheet-close-icon-offset);-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;--plasma-icon-button-width:var(--plasma-bottom-sheet-close-icon-size);--plasma-icon-button-height:var(--plasma-bottom-sheet-close-icon-size);--plasma-icon-button-radius:var(--plasma-bottom-sheet-close-icon-radius);--plasma-icon-button-color:var(--plasma-bottom-sheet-close-icon-color);--plasma-icon-button-color-hover:var(--plasma-bottom-sheet-close-icon-color);--plasma-icon-button-color-active:var(--plasma-bottom-sheet-close-icon-color);--plasma-icon-button-background-color:var(--plasma-bottom-sheet-close-icon-background-color);--plasma-icon-button-background-color-hover:var(--plasma-bottom-sheet-close-icon-background-color-hover);}
|
|
@@ -6,7 +6,6 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var IconClose = require('../_Icon/Icons/IconClose.js');
|
|
8
8
|
var index = require('../../utils/index.js');
|
|
9
|
-
var index$1 = require('./utils/index.js');
|
|
10
9
|
var BottomSheet_tokens = require('./BottomSheet.tokens.js');
|
|
11
10
|
var useBottomSheet = require('./hooks/useBottomSheet.js');
|
|
12
11
|
var base = require('./variations/_view/base.js');
|
|
@@ -14,13 +13,14 @@ var base$1 = require('./variations/_size/base.js');
|
|
|
14
13
|
var BottomSheet_styles = require('./BottomSheet.styles.js');
|
|
15
14
|
var useEscKeyDown = require('../../hooks/useEscKeyDown.js');
|
|
16
15
|
var Overlay = require('../Overlay/Overlay.js');
|
|
16
|
+
var getPanelZIndex = require('../../utils/getPanelZIndex.js');
|
|
17
17
|
|
|
18
18
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
19
19
|
|
|
20
20
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
21
21
|
|
|
22
22
|
var _IconClose;
|
|
23
|
-
var _excluded = ["opened", "children", "contentBeforeHeader", "contentHeader", "contentFooter", "handlePlacement", "hasClose", "hasHandle", "withOverlay", "withBlur", "withTransition", "closeOnEsc", "maxHeight", "zIndex", "onClose", "onOverlayClick", "onEscKeyDown", "snapPoints", "initialSnapPoint", "onSnapPointChange", "className", "view", "size"];
|
|
23
|
+
var _excluded = ["opened", "children", "contentBeforeHeader", "contentHeader", "contentFooter", "handlePlacement", "hasClose", "hasHandle", "withOverlay", "withBlur", "withTransition", "closeOnEsc", "maxHeight", "zIndex", "onClose", "onOverlayClick", "closeOnOverlayClick", "onEscKeyDown", "snapPoints", "initialSnapPoint", "onSnapPointChange", "className", "view", "size"];
|
|
24
24
|
var noop = function noop() {};
|
|
25
25
|
var bottomSheetRoot = function bottomSheetRoot(Root) {
|
|
26
26
|
return /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
@@ -51,6 +51,8 @@ var bottomSheetRoot = function bottomSheetRoot(Root) {
|
|
|
51
51
|
_ref$onClose = _ref.onClose,
|
|
52
52
|
onClose = _ref$onClose === void 0 ? noop : _ref$onClose,
|
|
53
53
|
onOverlayClick = _ref.onOverlayClick,
|
|
54
|
+
_ref$closeOnOverlayCl = _ref.closeOnOverlayClick,
|
|
55
|
+
closeOnOverlayClick = _ref$closeOnOverlayCl === void 0 ? true : _ref$closeOnOverlayCl,
|
|
54
56
|
onEscKeyDown = _ref.onEscKeyDown,
|
|
55
57
|
snapPoints = _ref.snapPoints,
|
|
56
58
|
initialSnapPoint = _ref.initialSnapPoint,
|
|
@@ -101,14 +103,14 @@ var bottomSheetRoot = function bottomSheetRoot(Root) {
|
|
|
101
103
|
zIndex: String(zIndex),
|
|
102
104
|
backgroundColorProperty: withBlur ? "var(".concat(BottomSheet_tokens.tokens.overlayWithBlurColor, ")") : "var(".concat(BottomSheet_tokens.tokens.overlayColor, ")"),
|
|
103
105
|
withBlur: withBlur,
|
|
104
|
-
isClickable:
|
|
106
|
+
isClickable: closeOnOverlayClick,
|
|
105
107
|
onOverlayClick: handleOverlayClick
|
|
106
108
|
}), /*#__PURE__*/React__default.default.createElement(BottomSheet_styles.Panel, {
|
|
107
109
|
ref: panelRef,
|
|
108
110
|
className: panelClassName,
|
|
109
111
|
style: {
|
|
110
|
-
maxHeight: hasSnapPoints ? '100%' : maxHeight,
|
|
111
|
-
zIndex:
|
|
112
|
+
maxHeight: hasSnapPoints ? 'calc(100% - env(safe-area-inset-top, 0px))' : maxHeight,
|
|
113
|
+
zIndex: getPanelZIndex.getPanelZIndex(zIndex)
|
|
112
114
|
}
|
|
113
115
|
}, hasHandle && /*#__PURE__*/React__default.default.createElement(BottomSheet_styles.Handler, {
|
|
114
116
|
ref: handleRef,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('./BottomSheet.
|
|
1
|
+
require('./BottomSheet.styles_i1yfau.css');
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -19,7 +19,7 @@ var PanelContent = /*#__PURE__*/react.styled('div')({
|
|
|
19
19
|
"class": "pks5zb5",
|
|
20
20
|
propsAsIs: false
|
|
21
21
|
});
|
|
22
|
-
var
|
|
22
|
+
var _exp7 = function _exp7() {
|
|
23
23
|
return function (_ref) {
|
|
24
24
|
var $placement = _ref.$placement;
|
|
25
25
|
return $placement === 'outer' ? "calc(-1 * (2 * var(".concat(BottomSheet_tokens.tokens.handleGap, ") + var(").concat(BottomSheet_tokens.tokens.handleHeight, ")))") : '0';
|
|
@@ -30,7 +30,7 @@ var Handler = /*#__PURE__*/react.styled('div')({
|
|
|
30
30
|
"class": "h3iv5vx",
|
|
31
31
|
propsAsIs: false,
|
|
32
32
|
vars: {
|
|
33
|
-
"h3iv5vx-0": [/*#__PURE__*/
|
|
33
|
+
"h3iv5vx-0": [/*#__PURE__*/_exp7()]
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
var StyledBody = /*#__PURE__*/react.styled('div')({
|
|
@@ -53,10 +53,10 @@ var BeforeHeader = /*#__PURE__*/react.styled('div')({
|
|
|
53
53
|
"class": "b8ms4js",
|
|
54
54
|
propsAsIs: false
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var _exp16 = function _exp16() {
|
|
57
57
|
return IconButton;
|
|
58
58
|
};
|
|
59
|
-
var CloseButton = /*#__PURE__*/react.styled(
|
|
59
|
+
var CloseButton = /*#__PURE__*/react.styled(_exp16())({
|
|
60
60
|
name: "CloseButton",
|
|
61
61
|
"class": "com5ybz",
|
|
62
62
|
propsAsIs: true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.pd6pofm{position:fixed;left:0;bottom:0;width:100%;max-height:inherit;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;border-radius:var(--plasma-bottom-sheet-border-radius);overflow:visible;}.pd6pofm.bottom-sheet-animated{-webkit-transition:-webkit-transform 0.4s ease,opacity 0.4s ease,height 0.3s ease,visibility 0.4s ease;-webkit-transition:transform 0.4s ease,opacity 0.4s ease,height 0.3s ease,visibility 0.4s ease;transition:transform 0.4s ease,opacity 0.4s ease,height 0.3s ease,visibility 0.4s ease;}.pd6pofm.bottom-sheet-closed{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);opacity:0;visibility:hidden;}
|
|
2
|
-
.pks5zb5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;min-height:0;max-height:inherit;background-color:var(--plasma-bottom-sheet-content-background-color);border-radius:inherit;overflow:hidden;}
|
|
2
|
+
.pks5zb5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;min-height:0;max-height:inherit;padding-left:var(--plasma-bottom-sheet-content-padding-horizontal,0);padding-right:var(--plasma-bottom-sheet-content-padding-horizontal,0);background-color:var(--plasma-bottom-sheet-content-background-color);border-radius:inherit;overflow:hidden;}
|
|
3
3
|
.h3iv5vx{position:absolute;z-index:1;top:var(--h3iv5vx-0);left:0;right:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;box-sizing:border-box;padding:var(--plasma-bottom-sheet-handle-gap) 0;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab;}.h3iv5vx::before{content:'';display:none;width:var(--plasma-bottom-sheet-handle-width);height:var(--plasma-bottom-sheet-handle-height);border-radius:var(--plasma-bottom-sheet-handle-border-radius);background-color:var(--plasma-bottom-sheet-handle-background-color);}.h3iv5vx.bottom-sheet-has-handle::before{display:block;}
|
|
4
4
|
.s1vjzza6{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:none;}.s1vjzza6::-webkit-scrollbar{display:none;}
|
|
5
5
|
.h1lksfmy{position:relative;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}.h1lksfmy::after{content:'';position:absolute;left:0;right:0;display:block;height:var(--plasma-bottom-sheet-divider-width);background-color:var(--plasma-bottom-sheet-divider-color);opacity:0;-webkit-transition:opacity 0.2s ease;transition:opacity 0.2s ease;bottom:0;}.h1lksfmy.bottom-sheet-header-divider-visible::after{opacity:1;}
|
|
@@ -19,6 +19,7 @@ var tokens = {
|
|
|
19
19
|
overlayColor: '--plasma-bottom-sheet-overlay-color',
|
|
20
20
|
overlayWithBlurColor: '--plasma-bottom-sheet-overlay-with-blur-color',
|
|
21
21
|
contentBackgroundColor: '--plasma-bottom-sheet-content-background-color',
|
|
22
|
+
contentPaddingHorizontal: '--plasma-bottom-sheet-content-padding-horizontal',
|
|
22
23
|
borderRadius: '--plasma-bottom-sheet-border-radius',
|
|
23
24
|
handleBackgroundColor: '--plasma-bottom-sheet-handle-background-color',
|
|
24
25
|
handleWidth: '--plasma-bottom-sheet-handle-width',
|
|
@@ -50,6 +50,7 @@ var useBottomSheetDrag = function useBottomSheetDrag(args) {
|
|
|
50
50
|
var startY = 0;
|
|
51
51
|
var currentY = 0;
|
|
52
52
|
var startHeight = 0;
|
|
53
|
+
var renderedMaxHeight = Infinity;
|
|
53
54
|
var tracking = false;
|
|
54
55
|
var canStartDrag = function canStartDrag(target) {
|
|
55
56
|
if (isInteractive(target)) {
|
|
@@ -68,6 +69,8 @@ var useBottomSheetDrag = function useBottomSheetDrag(args) {
|
|
|
68
69
|
startY = clientY;
|
|
69
70
|
currentY = clientY;
|
|
70
71
|
startHeight = panel.offsetHeight;
|
|
72
|
+
// max-height панели вычитает safe-area сверху, и панель бывает ниже запрошенной высоты
|
|
73
|
+
renderedMaxHeight = startHeight < parseFloat(panel.style.height) - 1 ? startHeight : Infinity;
|
|
71
74
|
panel.style.transition = 'none';
|
|
72
75
|
};
|
|
73
76
|
var moveDrag = function moveDrag(clientY, event) {
|
|
@@ -80,7 +83,7 @@ var useBottomSheetDrag = function useBottomSheetDrag(args) {
|
|
|
80
83
|
if (points !== null && points !== void 0 && points.length) {
|
|
81
84
|
var _getSortedSnapPoints = resolveSnapPoint.getSortedSnapPoints(points, window.innerHeight),
|
|
82
85
|
pointsPx = _getSortedSnapPoints.pointsPx;
|
|
83
|
-
var maxHeight = pointsPx[pointsPx.length - 1];
|
|
86
|
+
var maxHeight = Math.min(pointsPx[pointsPx.length - 1], renderedMaxHeight);
|
|
84
87
|
|
|
85
88
|
// На верхней точке жест вверх отдаём нативному скроллу контента
|
|
86
89
|
if (deltaY < 0 && startHeight >= maxHeight) {
|
|
@@ -4,10 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var resolveSnapPoint = require('../../Sheet/utils/resolveSnapPoint.js');
|
|
6
6
|
|
|
7
|
-
var getPanelZIndex = function getPanelZIndex(zIndex) {
|
|
8
|
-
var numericZIndex = Number(zIndex);
|
|
9
|
-
return Number.isNaN(numericZIndex) ? zIndex : numericZIndex + 1;
|
|
10
|
-
};
|
|
11
7
|
var applyHeight = function applyHeight(element, heightPx) {
|
|
12
8
|
element.style.height = "".concat(heightPx, "px");
|
|
13
9
|
};
|
|
@@ -26,4 +22,3 @@ var applyActiveSnapHeight = function applyActiveSnapHeight(element, snapPoints,
|
|
|
26
22
|
|
|
27
23
|
exports.applyActiveSnapHeight = applyActiveSnapHeight;
|
|
28
24
|
exports.applyHeight = applyHeight;
|
|
29
|
-
exports.getPanelZIndex = getPanelZIndex;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.
|
|
1
|
+
.Editable_styles_1ts4ksj_e144o2uz__917551d8{position:relative;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;display:var(--e144o2uz-0);-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
|
|
2
2
|
|
|
3
|
-
.
|
|
4
|
-
.
|
|
3
|
+
.Editable_styles_1ts4ksj_sflp79j__917551d8{display:inline-block;color:var(--plasma-editable-placeholder-color);}
|
|
4
|
+
.Editable_styles_1ts4ksj_bfzpfcr__917551d8{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:100%;cursor:pointer;}.Editable_styles_1ts4ksj_bfzpfcr__917551d8 .Editable_styles_1ts4ksj_editableTextClip__917551d8{position:relative;min-width:0;max-width:100%;overflow:hidden;background-image:linear-gradient(currentColor,currentColor), linear-gradient(to right,currentColor,transparent),linear-gradient(currentColor,currentColor);background-size:4rem 100%,4rem 100%,calc(100% - 4rem) 100%;background-position:right top,right top,left top;background-repeat:no-repeat;background-attachment:local,scroll,scroll;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}.Editable_styles_1ts4ksj_bfzpfcr__917551d8 .Editable_styles_1ts4ksj_editableTextBox__917551d8{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:none;outline:none;white-space:nowrap;caret-color:var(--plasma-editable-caret-color);}.Editable_styles_1ts4ksj_bfzpfcr__917551d8:focus-within .Editable_styles_1ts4ksj_editableTextClip__917551d8{background:none;-webkit-text-fill-color:currentColor;}.Editable_styles_1ts4ksj_bfzpfcr__917551d8.Editable_styles_1ts4ksj_editableMultiline__917551d8{gap:var(--plasma-editable-icon-gap);}.Editable_styles_1ts4ksj_bfzpfcr__917551d8.Editable_styles_1ts4ksj_editableMultiline__917551d8 .Editable_styles_1ts4ksj_editableTextClip__917551d8{margin-right:0;padding-right:0;background:none;-webkit-text-fill-color:currentColor;}.Editable_styles_1ts4ksj_bfzpfcr__917551d8.Editable_styles_1ts4ksj_editableMultiline__917551d8 .Editable_styles_1ts4ksj_editableTextBox__917551d8{width:auto;min-width:0;white-space:pre-wrap;overflow-wrap:break-word;}.Editable_styles_1ts4ksj_bfzpfcr__917551d8.Editable_styles_1ts4ksj_editableMultiline__917551d8 .Editable_styles_1ts4ksj_e144o2uz__917551d8{padding-left:0;background:var(--plasma-editable-icon-background,var(--plasma-editable-edit-button-background));}
|
|
5
5
|
|
|
6
|
-
.
|
|
6
|
+
.base_fulhkl_btfj711__ea2014a8 .base_fulhkl_e144o2uz__ea2014a8{background:var( --plasma-editable-icon-background, linear-gradient( to left, var(--plasma-editable-edit-button-background) calc(100% - var(--plasma-editable-icon-gap)), transparent ) );color:var(--plasma-editable-edit-button-color);}.base_fulhkl_btfj711__ea2014a8:hover > .base_fulhkl_e144o2uz__ea2014a8{color:var(--plasma-editable-edit-button-color-hover);}
|
|
7
7
|
|
|
8
|
-
.
|
|
8
|
+
.base_60mm8z_b1r2hy8j__6fd2f3f5{--plasma-editable-edit-button-padding-left:var(--plasma-editable-icon-gap);--plasma-editable-text-box-padding-right:var(--plasma-editable-icon-gap);--plasma-editable-text-box-margin-right:calc(var(--plasma-editable-icon-gap) * -1);}.base_60mm8z_b1r2hy8j__6fd2f3f5 .base_60mm8z_e144o2uz__6fd2f3f5{padding-left:var(--plasma-editable-edit-button-padding-left);}.base_60mm8z_b1r2hy8j__6fd2f3f5 .base_60mm8z_editableTextClip__6fd2f3f5{margin-right:var(--plasma-editable-text-box-margin-right);padding-right:var(--plasma-editable-text-box-padding-right);}
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
+
var cls = require('classnames');
|
|
7
8
|
var Editable_tokens = require('./Editable.tokens.js');
|
|
8
9
|
var Editable_styles = require('./Editable.styles.js');
|
|
9
10
|
var base = require('./variations/_view/base.js');
|
|
@@ -16,8 +17,9 @@ var constants = require('../../utils/constants.js');
|
|
|
16
17
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
18
|
|
|
18
19
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
20
|
+
var cls__default = /*#__PURE__*/_interopDefault(cls);
|
|
19
21
|
|
|
20
|
-
var _excluded = ["textComponent", "value", "icon", "maxLength", "spellCheck", "placeholder", "name", "onChange", "onBlur", "onPaste"];
|
|
22
|
+
var _excluded = ["textComponent", "value", "icon", "maxLength", "spellCheck", "placeholder", "name", "onChange", "onBlur", "onPaste", "multiline", "className"];
|
|
21
23
|
var editableRoot = function editableRoot(typographyVariants) {
|
|
22
24
|
return function (Root) {
|
|
23
25
|
return /*#__PURE__*/React.forwardRef(function (_ref, outerRef) {
|
|
@@ -33,6 +35,8 @@ var editableRoot = function editableRoot(typographyVariants) {
|
|
|
33
35
|
onChange = _ref.onChange,
|
|
34
36
|
onBlur = _ref.onBlur,
|
|
35
37
|
onPaste = _ref.onPaste,
|
|
38
|
+
multiline = _ref.multiline,
|
|
39
|
+
className = _ref.className,
|
|
36
40
|
props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
|
37
41
|
var Component = textComponent;
|
|
38
42
|
var _useState = React.useState(false),
|
|
@@ -40,6 +44,7 @@ var editableRoot = function editableRoot(typographyVariants) {
|
|
|
40
44
|
isEditing = _useState2[0],
|
|
41
45
|
setIsEditing = _useState2[1];
|
|
42
46
|
var inputRef = React.useRef(null);
|
|
47
|
+
var textClipRef = React.useRef(null);
|
|
43
48
|
var innerRef = useForkRef.useForkRef(inputRef, outerRef);
|
|
44
49
|
var prevValueRef = React.useRef(value || '');
|
|
45
50
|
var handlePaste = function handlePaste(e) {
|
|
@@ -65,6 +70,12 @@ var editableRoot = function editableRoot(typographyVariants) {
|
|
|
65
70
|
setIsEditing(false);
|
|
66
71
|
clearSelection.clearSelection();
|
|
67
72
|
|
|
73
|
+
// End scrolls the clip to the caret. The fade uses background-attachment: local,
|
|
74
|
+
// so a leftover scrollLeft shifts it after editing ends.
|
|
75
|
+
if (textClipRef.current) {
|
|
76
|
+
textClipRef.current.scrollLeft = 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
68
79
|
// NOTE: Remove <br> tag inserted by Safari
|
|
69
80
|
var editableElement = inputRef.current;
|
|
70
81
|
if (editableElement && editableElement.innerHTML === '<br>') {
|
|
@@ -107,7 +118,12 @@ var editableRoot = function editableRoot(typographyVariants) {
|
|
|
107
118
|
}
|
|
108
119
|
inputRef.current.textContent = value;
|
|
109
120
|
}, [value, textComponent]);
|
|
110
|
-
return /*#__PURE__*/React__default.default.createElement(Root,
|
|
121
|
+
return /*#__PURE__*/React__default.default.createElement(Root, _rollupPluginBabelHelpers.extends({}, props, {
|
|
122
|
+
className: cls__default.default(className, multiline && Editable_tokens.classes.multiline)
|
|
123
|
+
}), /*#__PURE__*/React__default.default.createElement("span", {
|
|
124
|
+
ref: textClipRef,
|
|
125
|
+
className: Editable_tokens.classes.textClip
|
|
126
|
+
}, /*#__PURE__*/React__default.default.createElement(Component, {
|
|
111
127
|
ref: innerRef,
|
|
112
128
|
className: Editable_tokens.classes.editableTextBox,
|
|
113
129
|
role: "textbox",
|
|
@@ -119,7 +135,7 @@ var editableRoot = function editableRoot(typographyVariants) {
|
|
|
119
135
|
onFocus: handleFocus,
|
|
120
136
|
onKeyDown: handleKeyDown,
|
|
121
137
|
"aria-label": placeholder
|
|
122
|
-
}), ((_prevValueRef$current = prevValueRef.current) === null || _prevValueRef$current === void 0 ? void 0 : _prevValueRef$current.length) === 0 && !isEditing && /*#__PURE__*/React__default.default.createElement(Component, null, /*#__PURE__*/React__default.default.createElement(Editable_styles.StyledPlacehpolder, {
|
|
138
|
+
})), ((_prevValueRef$current = prevValueRef.current) === null || _prevValueRef$current === void 0 ? void 0 : _prevValueRef$current.length) === 0 && !isEditing && /*#__PURE__*/React__default.default.createElement(Component, null, /*#__PURE__*/React__default.default.createElement(Editable_styles.StyledPlacehpolder, {
|
|
123
139
|
onClick: handleEditClick
|
|
124
140
|
}, placeholder)), /*#__PURE__*/React__default.default.createElement(Editable_styles.StyledInput, {
|
|
125
141
|
type: "hidden",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('./Editable.
|
|
1
|
+
require('./Editable.styles_1ts4ksj.css');
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -8,7 +8,7 @@ var react = require('@linaria/react');
|
|
|
8
8
|
var _exp = function _exp() {
|
|
9
9
|
return function (_ref) {
|
|
10
10
|
var isHidden = _ref.isHidden;
|
|
11
|
-
return isHidden ? 'none' : '';
|
|
11
|
+
return isHidden ? 'none' : 'inline-flex';
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
var EditButton = /*#__PURE__*/react.styled('span')({
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
.e144o2uz{position:relative;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;display:var(--e144o2uz-0);-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
|
|
2
|
+
|
|
3
|
+
.sflp79j{display:inline-block;color:var(--plasma-editable-placeholder-color);}
|
|
4
|
+
.bfzpfcr{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:100%;cursor:pointer;}.bfzpfcr .editable-text-clip{position:relative;min-width:0;max-width:100%;overflow:hidden;background-image:linear-gradient(currentColor,currentColor), linear-gradient(to right,currentColor,transparent),linear-gradient(currentColor,currentColor);background-size:4rem 100%,4rem 100%,calc(100% - 4rem) 100%;background-position:right top,right top,left top;background-repeat:no-repeat;background-attachment:local,scroll,scroll;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}.bfzpfcr .editable-text-box{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:none;outline:none;white-space:nowrap;caret-color:var(--plasma-editable-caret-color);}.bfzpfcr:focus-within .editable-text-clip{background:none;-webkit-text-fill-color:currentColor;}.bfzpfcr.editable-multiline{gap:var(--plasma-editable-icon-gap);}.bfzpfcr.editable-multiline .editable-text-clip{margin-right:0;padding-right:0;background:none;-webkit-text-fill-color:currentColor;}.bfzpfcr.editable-multiline .editable-text-box{width:auto;min-width:0;white-space:pre-wrap;overflow-wrap:break-word;}.bfzpfcr.editable-multiline .e144o2uz{padding-left:0;background:var(--plasma-editable-icon-background,var(--plasma-editable-edit-button-background));}
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var classes = {
|
|
6
|
-
|
|
6
|
+
textClip: 'editable-text-clip',
|
|
7
|
+
editableTextBox: 'editable-text-box',
|
|
8
|
+
multiline: 'editable-multiline'
|
|
7
9
|
};
|
|
8
10
|
var tokens = {
|
|
9
11
|
editButtonBackground: '--plasma-editable-edit-button-background',
|
|
12
|
+
iconBackground: '--plasma-editable-icon-background',
|
|
10
13
|
editButtonColor: '--plasma-editable-edit-button-color',
|
|
11
14
|
editButtonColorHover: '--plasma-editable-edit-button-color-hover',
|
|
15
|
+
iconGap: '--plasma-editable-icon-gap',
|
|
12
16
|
editButtonPaddingLeft: '--plasma-editable-edit-button-padding-left',
|
|
13
17
|
placeholderColor: '--plasma-editable-placeholder-color',
|
|
14
18
|
caretColor: '--plasma-editable-caret-color',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.b1r2hy8j{--plasma-editable-edit-button-padding-left:var(--plasma-editable-icon-gap);--plasma-editable-text-box-padding-right:var(--plasma-editable-icon-gap);--plasma-editable-text-box-margin-right:calc(var(--plasma-editable-icon-gap) * -1);}.b1r2hy8j .e144o2uz{padding-left:var(--plasma-editable-edit-button-padding-left);}.b1r2hy8j .editable-text-clip{margin-right:var(--plasma-editable-text-box-margin-right);padding-right:var(--plasma-editable-text-box-padding-right);}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.btfj711 .e144o2uz{background:var( --plasma-editable-icon-background, linear-gradient( to left, var(--plasma-editable-edit-button-background) calc(100% - var(--plasma-editable-icon-gap)), transparent ) );color:var(--plasma-editable-edit-button-color);}.btfj711:hover > .e144o2uz{color:var(--plasma-editable-edit-button-color-hover);}
|
|
@@ -39,15 +39,16 @@
|
|
|
39
39
|
|
|
40
40
|
.ButtonGroup_styles_g7qr4n_bxok88o__93faed32{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
|
|
41
41
|
|
|
42
|
-
.
|
|
43
|
-
.
|
|
44
|
-
.
|
|
45
|
-
.
|
|
46
|
-
.
|
|
47
|
-
.
|
|
48
|
-
.
|
|
49
|
-
.
|
|
50
|
-
.
|
|
42
|
+
.Pagination_styles_1af8kwt_puv60es__8580137b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:var(--plasma-pagination-color);}.Pagination_styles_1af8kwt_puv60es__8580137b.Pagination_styles_1af8kwt_paginationTypeCompact__8580137b{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:0.5rem;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;}.Pagination_styles_1af8kwt_puv60es__8580137b.Pagination_styles_1af8kwt_paginationTypeDefault__8580137b{width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;gap:1rem;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;}
|
|
43
|
+
.Pagination_styles_1af8kwt_p15kbnt1__8580137b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.25rem;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}
|
|
44
|
+
.Pagination_styles_1af8kwt_pom5dxu__8580137b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-pagination-helper-text-gap);-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.Pagination_styles_1af8kwt_pom5dxu__8580137b.Pagination_styles_1af8kwt_paginationTypeCompact__8580137b{width:100%;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;}.Pagination_styles_1af8kwt_pom5dxu__8580137b.Pagination_styles_1af8kwt_paginationTypeCompact__8580137b.Pagination_styles_1af8kwt_paginationHasPerpageSelect__8580137b{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}.Pagination_styles_1af8kwt_pom5dxu__8580137b.Pagination_styles_1af8kwt_paginationTypeCompact__8580137b.Pagination_styles_1af8kwt_paginationHasQuickJump__8580137b{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}
|
|
45
|
+
.Pagination_styles_1af8kwt_p1vkev34__8580137b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:0.125rem;}
|
|
46
|
+
.Pagination_styles_1af8kwt_p1u1car3__8580137b{--plasma-button-group-item-color:var(--plasma-pagination-button-color);--plasma-button-group-item-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-group-item-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-group-item-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-group-item-color-active:var(--plasma-pagination--button-color-active);--plasma-button-group-item-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-group-item-font-family:var(--plasma-pagination-font-family);--plasma-button-group-item-font-size:var(--plasma-pagination-font-size);--plasma-button-group-item-font-style:var(--plasma-pagination-font-style);--plasma-button-group-item-font-weight:var(--plasma-pagination-font-weight);--plasma-button-group-item-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-group-item-line-height:var(--plasma-pagination-line-height);--plasma-button-group-item-width:var(--plasma-pagination-button-width);--plasma-button-group-item-height:var(--plasma-pagination-button-height);--plasma-button-group-item-default-radius:var(--plasma-pagination-button-radius);--plasma-button-group-side-item-radius:var(--plasma-pagination-button-radius);--plasma-button-group-item-segmented-radius:var(--plasma-pagination-button-radius);--plasma-button-group-item-radius-circle:var(--plasma-pagination-button-radius);--plasma-button-group-item-padding:0;}
|
|
47
|
+
.Pagination_styles_1af8kwt_pfvbu4f__8580137b{--plasma-button-color:var(--plasma-pagination-button-color);--plasma-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-font-family:var(--plasma-pagination-font-family);--plasma-button-font-size:var(--plasma-pagination-font-size);--plasma-button-font-style:var(--plasma-pagination-font-style);--plasma-button-font-weight:var(--plasma-pagination-font-weight);--plasma-button-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-line-height:var(--plasma-pagination-line-height);--plasma-button-width:var(--plasma-pagination-button-width);--plasma-button-height:var(--plasma-pagination-button-height);--plasma-button-radius:var(--plasma-pagination-button-radius);--plasma-button-disabled-opacity:var(--plasma-pagination-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-pagination--button-color-focus);position:relative;}.Pagination_styles_1af8kwt_pfvbu4f__8580137b.Pagination_styles_1af8kwt_paginationPageButtonActive__8580137b{--plasma-button-color:var(--plasma-pagination-button-current-color);--plasma-button-background-color:var(--plasma-pagination-button-current-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-current-color);--plasma-button-background-color-hover:var(--plasma-pagination-button-current-bg-color);--plasma-button-color-active:var(--plasma-pagination-button-current-color);--plasma-button-background-color-active:var(--plasma-pagination-button-current-bg-color);cursor:default;}.Pagination_styles_1af8kwt_pfvbu4f__8580137b.Pagination_styles_1af8kwt_paginationButtonDisabled__8580137b{--plasma-button-color:var(--plasma-pagination--button-color-disabled,var(--plasma-pagination-button-color));--plasma-button-background-color:var(--plasma-pagination--button-bg-color-disabled,var(--plasma-pagination-button-bg-color ));}.Pagination_styles_1af8kwt_pfvbu4f__8580137b::before{content:'';position:absolute;inset:0;z-index:1;border-radius:var(--plasma_private-btn-br);outline:var(--plasma_private-btn-outline-size) solid transparent;outline-offset:var(--plasma_private-btn-outline-size);-webkit-transition:outline-color 0.2s ease-in-out;transition:outline-color 0.2s ease-in-out;pointer-events:none;}.Pagination_styles_1af8kwt_pfvbu4f__8580137b.Pagination_styles_1af8kwt_focusVisible__8580137b:focus::before,.Pagination_styles_1af8kwt_pfvbu4f__8580137b[data-focus-visible-added]::before{outline-color:var(--plasma-pagination--button-color-focus);}
|
|
48
|
+
.Pagination_styles_1af8kwt_p61l60l__8580137b.Pagination_styles_1af8kwt_pfvbu4f__8580137b{--plasma-button-width:var(--plasma-pagination-button-width-shorter);--plasma-button-padding:0;}
|
|
49
|
+
.Pagination_styles_1af8kwt_p1g42k8l__8580137b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--plasma-pagination-helper-text-gap);}.Pagination_styles_1af8kwt_paginationTypeDefault__8580137b .Pagination_styles_1af8kwt_p1g42k8l__8580137b{min-width:0;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;}
|
|
50
|
+
.Pagination_styles_1af8kwt_p1618sye__8580137b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;gap:var(--plasma-pagination-quick-jump-gap,0.75rem);}
|
|
51
|
+
.Pagination_styles_1af8kwt_p6bevv0__8580137b{color:var(--plasma-pagination-helper-text-color);}.Pagination_styles_1af8kwt_p6bevv0__8580137b.Pagination_styles_1af8kwt_paginationTypeDefault__8580137b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;}.Pagination_styles_1af8kwt_p6bevv0__8580137b.Pagination_styles_1af8kwt_paginationEllipsisText__8580137b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
|
51
52
|
|
|
52
53
|
.base_k4y7lv_b1615gl6__e61397f2 .base_k4y7lv_paginationIconReverse__e61397f2{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
|
|
53
54
|
|
|
@@ -55,9 +56,9 @@
|
|
|
55
56
|
|
|
56
57
|
.base_pmxmij_b1qdsi6u__58ebe44e{font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}
|
|
57
58
|
|
|
58
|
-
.
|
|
59
|
-
.
|
|
60
|
-
.
|
|
59
|
+
.PaginationQuickJumpToPage_styles_7bgblc_q1h8bq08__969b35d0{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-pagination-quick-jump-inner-gap,0.5rem);-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}
|
|
60
|
+
.PaginationQuickJumpToPage_styles_7bgblc_q8u5gow__969b35d0{white-space:nowrap;}
|
|
61
|
+
.PaginationQuickJumpToPage_styles_7bgblc_q1k930vd__969b35d0{background:var(--plasma-pagination-input-bg-color);color:var(--plasma-pagination-input-color);width:var(--plasma-pagination-input-width);height:var(--plasma-pagination-input-height);box-sizing:border-box;outline:none;border-radius:var(--plasma-pagination-input-border-radius);padding:var(--plasma-pagination-input-padding);border-color:var(--plasma-pagination-input-border-color);border-width:var(--plasma-pagination-input-border-width);border-style:solid;font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}.PaginationQuickJumpToPage_styles_7bgblc_q1k930vd__969b35d0::-webkit-outer-spin-button,.PaginationQuickJumpToPage_styles_7bgblc_q1k930vd__969b35d0::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
|
|
61
62
|
|
|
62
63
|
.Button_styles_3ev7sc_s1goxm7b__d15822d0{--plasma-button-color:var(--plasma-select-button-color);--plasma-button-color-hover:var(--plasma-select-button-color-hover);--plasma-button-color-active:var(--plasma-select-button-color-active);--plasma-button-background-color:var(--plasma-select-button-background-color);--plasma-button-background-color-hover:var(--plasma-select-button-background-color-hover);--plasma-button-background-color-active:var(--plasma-select-button-background-color-active);--plasma-button-right-content-margin:var(--plasma-select-button-arrow-margin);--plasma-button-height:var(--plasma-select-target-height);--plasma-button-width:100%;--plasma-button-padding:var(--plasma-select-button-padding);--plasma-button-radius:var(--plasma-select-border-radius);--plasma-button-font-family:var(--plasma-select-font-family);--plasma-button-font-size:var(--plasma-select-font-size);--plasma-button-font-style:var(--plasma-select-font-style);--plasma-button-font-weight:var(--plasma-select-font-weight);--plasma-button-letter-spacing:var(--plasma-select-font-letter-spacing);--plasma-button-line-height:var(--plasma-select-font-line-height);--plasma-button-disabled-opacity:0.4;--plasma-button-focus-color:var(--surface-accent);text-align:left;}
|
|
63
64
|
.Button_styles_3ev7sc_iso0pku__d15822d0{line-height:0;color:var(--plasma-select-button-arrow-color);}.Button_styles_3ev7sc_iso0pku__d15822d0:hover{color:var(--plasma-select-button-arrow-color-hover);}.Button_styles_3ev7sc_iso0pku__d15822d0:active{color:var(--plasma-select-button-arrow-color-active);}
|
|
@@ -20,7 +20,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
20
20
|
|
|
21
21
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
22
22
|
|
|
23
|
-
var _excluded = ["value", "defaultValue", "helperText", "singleLine", "perPage", "defaultPerPage", "slots", "view", "viewCurrentPage", "type", "size", "pilled", "square", "disabledPages", "count", "hasQuickJump", "hasPerPage", "perPageList", "isCommonButtonStyles", "placeholderQuickJump", "textQuickJump", "textPerPage", "leftContent", "rightContent", "listWidth", "onChangePageValue", "onChangePerPageValue", "onChange", "onFocusQuickJump", "onBlurQuickJump"];
|
|
23
|
+
var _excluded = ["value", "defaultValue", "helperText", "singleLine", "perPage", "defaultPerPage", "slots", "view", "viewCurrentPage", "type", "size", "pilled", "square", "disabledPages", "count", "hasQuickJump", "hasPerPage", "hasPageRange", "hasTotalPages", "perPageList", "isCommonButtonStyles", "placeholderQuickJump", "textQuickJump", "textPerPage", "leftContent", "rightContent", "listWidth", "onChangePageValue", "onChangePerPageValue", "onChange", "onFocusQuickJump", "onBlurQuickJump"];
|
|
24
24
|
var paginationRoot = function paginationRoot(Root) {
|
|
25
25
|
return /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
26
26
|
var outerValue = _ref.value,
|
|
@@ -48,6 +48,10 @@ var paginationRoot = function paginationRoot(Root) {
|
|
|
48
48
|
hasQuickJump = _ref$hasQuickJump === void 0 ? index.defaultValues.hasQuickJump : _ref$hasQuickJump,
|
|
49
49
|
_ref$hasPerPage = _ref.hasPerPage,
|
|
50
50
|
hasPerPage = _ref$hasPerPage === void 0 ? index.defaultValues.hasPerPage : _ref$hasPerPage,
|
|
51
|
+
_ref$hasPageRange = _ref.hasPageRange,
|
|
52
|
+
hasPageRange = _ref$hasPageRange === void 0 ? index.defaultValues.hasPageRange : _ref$hasPageRange,
|
|
53
|
+
_ref$hasTotalPages = _ref.hasTotalPages,
|
|
54
|
+
hasTotalPages = _ref$hasTotalPages === void 0 ? index.defaultValues.hasTotalPages : _ref$hasTotalPages,
|
|
51
55
|
_ref$perPageList = _ref.perPageList,
|
|
52
56
|
perPageList = _ref$perPageList === void 0 ? index.defaultValues.perPageList : _ref$perPageList,
|
|
53
57
|
_ref$isCommonButtonSt = _ref.isCommonButtonStyles,
|
|
@@ -121,8 +125,11 @@ var paginationRoot = function paginationRoot(Root) {
|
|
|
121
125
|
onChangePageValue === null || onChangePageValue === void 0 || onChangePageValue(newValue);
|
|
122
126
|
};
|
|
123
127
|
var handlerSetPerPage = function handlerSetPerPage(newPerPageValue) {
|
|
128
|
+
var newPages = Math.max(Math.ceil(count / newPerPageValue), 1);
|
|
129
|
+
var newPageValue = hasTotalPages ? Math.min(pageValue, newPages) : pageValue;
|
|
124
130
|
setPerPageInner(newPerPageValue);
|
|
125
|
-
|
|
131
|
+
setPageInner(newPageValue);
|
|
132
|
+
onChange === null || onChange === void 0 || onChange(newPageValue, newPerPageValue);
|
|
126
133
|
onChangePerPageValue === null || onChangePerPageValue === void 0 || onChangePerPageValue(newPerPageValue);
|
|
127
134
|
};
|
|
128
135
|
var handleClick = function handleClick(currentPage) {
|
|
@@ -157,7 +164,27 @@ var paginationRoot = function paginationRoot(Root) {
|
|
|
157
164
|
return observer.disconnect();
|
|
158
165
|
});
|
|
159
166
|
};
|
|
160
|
-
}, [type]);
|
|
167
|
+
}, [type, hasPageRange]);
|
|
168
|
+
var leftSlot = leftContent && /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationButtonGroup, {
|
|
169
|
+
isCommonButtonStyles: isCommonButtonStyles
|
|
170
|
+
}, leftContent);
|
|
171
|
+
var rightSlot = rightContent && /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationButtonGroup, {
|
|
172
|
+
isCommonButtonStyles: isCommonButtonStyles
|
|
173
|
+
}, rightContent);
|
|
174
|
+
|
|
175
|
+
// Без номеров страниц слоты возле поля быстрого перехода
|
|
176
|
+
var withQuickJumpGroup = !hasPageRange && (hasQuickJump || leftSlot || rightSlot);
|
|
177
|
+
var pagesOffset = hasPageRange ? pagesWidth : 0;
|
|
178
|
+
var quickJump = /*#__PURE__*/React__default.default.createElement(PaginationQuickJumpToPage.PaginationQuickJumpToPage, {
|
|
179
|
+
prevPageValue: pageValue,
|
|
180
|
+
totalPages: Math.max(pages, 1),
|
|
181
|
+
hasTotalPages: hasTotalPages,
|
|
182
|
+
placeholderQuickJump: placeholderQuickJump,
|
|
183
|
+
textQuickJump: textQuickJump,
|
|
184
|
+
onChangeValue: handleSetPage,
|
|
185
|
+
onFocusQuickJump: onFocusQuickJump,
|
|
186
|
+
onBlurQuickJump: onBlurQuickJump
|
|
187
|
+
});
|
|
161
188
|
return /*#__PURE__*/React__default.default.createElement(Root, _rollupPluginBabelHelpers.extends({
|
|
162
189
|
size: size,
|
|
163
190
|
view: view,
|
|
@@ -166,11 +193,9 @@ var paginationRoot = function paginationRoot(Root) {
|
|
|
166
193
|
ref: forkRef
|
|
167
194
|
}, rest), /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationRoot, {
|
|
168
195
|
className: typeClass
|
|
169
|
-
}, /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationPages, {
|
|
196
|
+
}, hasPageRange && /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationPages, {
|
|
170
197
|
ref: pagesRef
|
|
171
|
-
},
|
|
172
|
-
isCommonButtonStyles: isCommonButtonStyles
|
|
173
|
-
}, leftContent), sections && sections.map(function (section, indexSection) {
|
|
198
|
+
}, leftSlot, sections && sections.map(function (section, indexSection) {
|
|
174
199
|
return /*#__PURE__*/React__default.default.createElement(React.Fragment, {
|
|
175
200
|
key: indexSection
|
|
176
201
|
}, indexSection !== 0 && /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationShorter, {
|
|
@@ -189,25 +214,16 @@ var paginationRoot = function paginationRoot(Root) {
|
|
|
189
214
|
}
|
|
190
215
|
}, currentPage);
|
|
191
216
|
})));
|
|
192
|
-
}),
|
|
193
|
-
isCommonButtonStyles: isCommonButtonStyles
|
|
194
|
-
}, rightContent)), /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationActions, {
|
|
217
|
+
}), rightSlot), /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationActions, {
|
|
195
218
|
style: type === 'compact' ? {
|
|
196
219
|
minWidth: '0px'
|
|
197
220
|
} : {
|
|
198
|
-
width: "calc(100% - ".concat(
|
|
221
|
+
width: "calc(100% - ".concat(pagesOffset, "px)")
|
|
199
222
|
},
|
|
200
223
|
className: index$1.cx(Pagination_tokens.classes.actions, typeClass, withHasPerPageSelect, withHasQuickJump)
|
|
201
224
|
}, /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationActionsLeft, {
|
|
202
225
|
className: typeClass
|
|
203
|
-
}, hasQuickJump && /*#__PURE__*/React__default.default.createElement(
|
|
204
|
-
prevPageValue: pageValue,
|
|
205
|
-
placeholderQuickJump: placeholderQuickJump,
|
|
206
|
-
textQuickJump: textQuickJump,
|
|
207
|
-
onChangeValue: handleSetPage,
|
|
208
|
-
onFocusQuickJump: onFocusQuickJump,
|
|
209
|
-
onBlurQuickJump: onBlurQuickJump
|
|
210
|
-
}), helperText && /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationHelperText, {
|
|
226
|
+
}, withQuickJumpGroup ? /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationQuickJumpGroup, null, leftSlot, hasQuickJump && quickJump, rightSlot) : hasQuickJump && quickJump, helperText && /*#__PURE__*/React__default.default.createElement(Pagination_styles.PaginationHelperText, {
|
|
211
227
|
className: index$1.cx(typeClass, singleLine ? Pagination_tokens.classes.ellipsisText : ''),
|
|
212
228
|
style: {
|
|
213
229
|
maxWidth: rootWidth
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('./Pagination.
|
|
1
|
+
require('./Pagination.styles_1af8kwt.css');
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -61,9 +61,14 @@ var PaginationActionsLeft = /*#__PURE__*/react.styled('div')({
|
|
|
61
61
|
"class": "p1g42k8l",
|
|
62
62
|
propsAsIs: false
|
|
63
63
|
});
|
|
64
|
+
var PaginationQuickJumpGroup = /*#__PURE__*/react.styled('div')({
|
|
65
|
+
name: "PaginationQuickJumpGroup",
|
|
66
|
+
"class": "p1618sye",
|
|
67
|
+
propsAsIs: false
|
|
68
|
+
});
|
|
64
69
|
var PaginationHelperText = /*#__PURE__*/react.styled('div')({
|
|
65
70
|
name: "PaginationHelperText",
|
|
66
|
-
"class": "
|
|
71
|
+
"class": "p6bevv0",
|
|
67
72
|
propsAsIs: false
|
|
68
73
|
});
|
|
69
74
|
|
|
@@ -73,6 +78,7 @@ exports.PaginationButton = PaginationButton;
|
|
|
73
78
|
exports.PaginationButtonGroup = PaginationButtonGroup;
|
|
74
79
|
exports.PaginationHelperText = PaginationHelperText;
|
|
75
80
|
exports.PaginationPages = PaginationPages;
|
|
81
|
+
exports.PaginationQuickJumpGroup = PaginationQuickJumpGroup;
|
|
76
82
|
exports.PaginationRoot = PaginationRoot;
|
|
77
83
|
exports.PaginationSection = PaginationSection;
|
|
78
84
|
exports.PaginationShorter = PaginationShorter;
|
|
@@ -6,4 +6,5 @@
|
|
|
6
6
|
.pfvbu4f{--plasma-button-color:var(--plasma-pagination-button-color);--plasma-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-font-family:var(--plasma-pagination-font-family);--plasma-button-font-size:var(--plasma-pagination-font-size);--plasma-button-font-style:var(--plasma-pagination-font-style);--plasma-button-font-weight:var(--plasma-pagination-font-weight);--plasma-button-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-line-height:var(--plasma-pagination-line-height);--plasma-button-width:var(--plasma-pagination-button-width);--plasma-button-height:var(--plasma-pagination-button-height);--plasma-button-radius:var(--plasma-pagination-button-radius);--plasma-button-disabled-opacity:var(--plasma-pagination-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-pagination--button-color-focus);position:relative;}.pfvbu4f.pagination-page-button-active{--plasma-button-color:var(--plasma-pagination-button-current-color);--plasma-button-background-color:var(--plasma-pagination-button-current-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-current-color);--plasma-button-background-color-hover:var(--plasma-pagination-button-current-bg-color);--plasma-button-color-active:var(--plasma-pagination-button-current-color);--plasma-button-background-color-active:var(--plasma-pagination-button-current-bg-color);cursor:default;}.pfvbu4f.pagination-button-disabled{--plasma-button-color:var(--plasma-pagination--button-color-disabled,var(--plasma-pagination-button-color));--plasma-button-background-color:var(--plasma-pagination--button-bg-color-disabled,var(--plasma-pagination-button-bg-color ));}.pfvbu4f::before{content:'';position:absolute;inset:0;z-index:1;border-radius:var(--plasma_private-btn-br);outline:var(--plasma_private-btn-outline-size) solid transparent;outline-offset:var(--plasma_private-btn-outline-size);-webkit-transition:outline-color 0.2s ease-in-out;transition:outline-color 0.2s ease-in-out;pointer-events:none;}.pfvbu4f.focus-visible:focus::before,.pfvbu4f[data-focus-visible-added]::before{outline-color:var(--plasma-pagination--button-color-focus);}
|
|
7
7
|
.p61l60l.pfvbu4f{--plasma-button-width:var(--plasma-pagination-button-width-shorter);--plasma-button-padding:0;}
|
|
8
8
|
.p1g42k8l{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--plasma-pagination-helper-text-gap);}.pagination-type-default .p1g42k8l{min-width:0;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;}
|
|
9
|
-
.p1618sye{
|
|
9
|
+
.p1618sye{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;gap:var(--plasma-pagination-quick-jump-gap,0.75rem);}
|
|
10
|
+
.p6bevv0{color:var(--plasma-pagination-helper-text-color);}.p6bevv0.pagination-type-default{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;}.p6bevv0.pagination-ellipsis-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|