@alfalab/core-components-table 2.10.9 → 2.10.10-snapshot-1393ffa
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/component.js +19 -18
- package/component.js.map +1 -0
- package/components/index.js +19 -18
- package/components/index.js.map +1 -0
- package/components/pagination/Component.js +8 -9
- package/components/pagination/Component.js.map +1 -0
- package/components/pagination/index.css +15 -36
- package/components/pagination/index.js +3 -2
- package/components/pagination/index.js.map +1 -0
- package/components/pagination/index.module.css.js +8 -0
- package/components/pagination/index.module.css.js.map +1 -0
- package/components/pagination/select-field/index.css +5 -27
- package/components/pagination/select-field/index.js +3 -4
- package/components/pagination/select-field/index.js.map +1 -0
- package/components/pagination/select-field/index.module.css.js +8 -0
- package/components/pagination/select-field/index.module.css.js.map +1 -0
- package/components/table/Component.js +11 -12
- package/components/table/Component.js.map +1 -0
- package/components/table/index.css +12 -33
- package/components/table/index.js +3 -2
- package/components/table/index.js.map +1 -0
- package/components/table/index.module.css.js +8 -0
- package/components/table/index.module.css.js.map +1 -0
- package/components/table/utils.js +3 -2
- package/components/table/utils.js.map +1 -0
- package/components/table-context/index.js +1 -0
- package/components/table-context/index.js.map +1 -0
- package/components/tbody/Component.js +3 -4
- package/components/tbody/Component.js.map +1 -0
- package/components/tbody/index.css +1 -24
- package/components/tbody/index.js +3 -2
- package/components/tbody/index.js.map +1 -0
- package/components/tbody/index.module.css.js +8 -0
- package/components/tbody/index.module.css.js.map +1 -0
- package/components/tcell/Component.js +7 -8
- package/components/tcell/Component.js.map +1 -0
- package/components/tcell/index.css +11 -32
- package/components/tcell/index.js +3 -2
- package/components/tcell/index.js.map +1 -0
- package/components/tcell/index.module.css.js +8 -0
- package/components/tcell/index.module.css.js.map +1 -0
- package/components/texpandable-row/Component.js +7 -8
- package/components/texpandable-row/Component.js.map +1 -0
- package/components/texpandable-row/index.css +5 -27
- package/components/texpandable-row/index.js +3 -2
- package/components/texpandable-row/index.js.map +1 -0
- package/components/texpandable-row/index.module.css.js +8 -0
- package/components/texpandable-row/index.module.css.js.map +1 -0
- package/components/thead/Component.js +4 -5
- package/components/thead/Component.js.map +1 -0
- package/components/thead/index.css +8 -29
- package/components/thead/index.js +3 -2
- package/components/thead/index.js.map +1 -0
- package/components/thead/index.module.css.js +8 -0
- package/components/thead/index.module.css.js.map +1 -0
- package/components/thead-cell/Component.js +6 -7
- package/components/thead-cell/Component.js.map +1 -0
- package/components/thead-cell/index.css +14 -35
- package/components/thead-cell/index.js +3 -2
- package/components/thead-cell/index.js.map +1 -0
- package/components/thead-cell/index.module.css.js +8 -0
- package/components/thead-cell/index.module.css.js.map +1 -0
- package/components/trow/Component.js +6 -7
- package/components/trow/Component.js.map +1 -0
- package/components/trow/index.css +11 -32
- package/components/trow/index.js +3 -2
- package/components/trow/index.js.map +1 -0
- package/components/trow/index.module.css.js +8 -0
- package/components/trow/index.module.css.js.map +1 -0
- package/components/tsortable-head-cell/Component.js +12 -13
- package/components/tsortable-head-cell/Component.js.map +1 -0
- package/components/tsortable-head-cell/index.css +10 -36
- package/components/tsortable-head-cell/index.js +3 -2
- package/components/tsortable-head-cell/index.js.map +1 -0
- package/components/tsortable-head-cell/index.module.css.js +8 -0
- package/components/tsortable-head-cell/index.module.css.js.map +1 -0
- package/components/tsortable-head-cell/sort-icon-asc.js +1 -0
- package/components/tsortable-head-cell/sort-icon-asc.js.map +1 -0
- package/components/tsortable-head-cell/sort-icon-desc.js +1 -0
- package/components/tsortable-head-cell/sort-icon-desc.js.map +1 -0
- package/components/tsortable-head-cell/sort-icon-unset.js +1 -0
- package/components/tsortable-head-cell/sort-icon-unset.js.map +1 -0
- package/cssm/component.js +19 -18
- package/cssm/component.js.map +1 -0
- package/cssm/components/index.js +19 -18
- package/cssm/components/index.js.map +1 -0
- package/cssm/components/pagination/Component.js +7 -6
- package/cssm/components/pagination/Component.js.map +1 -0
- package/cssm/components/pagination/index.js +3 -2
- package/cssm/components/pagination/index.js.map +1 -0
- package/cssm/components/pagination/index.module.css +8 -28
- package/cssm/components/pagination/select-field/index.js +3 -2
- package/cssm/components/pagination/select-field/index.js.map +1 -0
- package/cssm/components/pagination/select-field/index.module.css +3 -24
- package/cssm/components/table/Component.js +5 -4
- package/cssm/components/table/Component.js.map +1 -0
- package/cssm/components/table/index.js +3 -2
- package/cssm/components/table/index.js.map +1 -0
- package/cssm/components/table/index.module.css +7 -27
- package/cssm/components/table/utils.js +3 -2
- package/cssm/components/table/utils.js.map +1 -0
- package/cssm/components/table-context/index.js +1 -0
- package/cssm/components/table-context/index.js.map +1 -0
- package/cssm/components/tbody/Component.js +1 -0
- package/cssm/components/tbody/Component.js.map +1 -0
- package/cssm/components/tbody/index.js +3 -2
- package/cssm/components/tbody/index.js.map +1 -0
- package/cssm/components/tbody/index.module.css +1 -23
- package/cssm/components/tcell/Component.js +5 -4
- package/cssm/components/tcell/Component.js.map +1 -0
- package/cssm/components/tcell/index.js +3 -2
- package/cssm/components/tcell/index.js.map +1 -0
- package/cssm/components/tcell/index.module.css +7 -27
- package/cssm/components/texpandable-row/Component.js +3 -2
- package/cssm/components/texpandable-row/Component.js.map +1 -0
- package/cssm/components/texpandable-row/index.js +3 -2
- package/cssm/components/texpandable-row/index.js.map +1 -0
- package/cssm/components/texpandable-row/index.module.css +2 -23
- package/cssm/components/thead/Component.js +1 -0
- package/cssm/components/thead/Component.js.map +1 -0
- package/cssm/components/thead/index.js +3 -2
- package/cssm/components/thead/index.js.map +1 -0
- package/cssm/components/thead/index.module.css +4 -24
- package/cssm/components/thead-cell/Component.js +3 -2
- package/cssm/components/thead-cell/Component.js.map +1 -0
- package/cssm/components/thead-cell/index.js +3 -2
- package/cssm/components/thead-cell/index.js.map +1 -0
- package/cssm/components/thead-cell/index.module.css +7 -27
- package/cssm/components/trow/Component.js +1 -0
- package/cssm/components/trow/Component.js.map +1 -0
- package/cssm/components/trow/index.js +3 -2
- package/cssm/components/trow/index.js.map +1 -0
- package/cssm/components/trow/index.module.css +5 -25
- package/cssm/components/tsortable-head-cell/Component.js +8 -7
- package/cssm/components/tsortable-head-cell/Component.js.map +1 -0
- package/cssm/components/tsortable-head-cell/index.js +3 -2
- package/cssm/components/tsortable-head-cell/index.js.map +1 -0
- package/cssm/components/tsortable-head-cell/index.module.css +4 -29
- package/cssm/components/tsortable-head-cell/sort-icon-asc.js +1 -0
- package/cssm/components/tsortable-head-cell/sort-icon-asc.js.map +1 -0
- package/cssm/components/tsortable-head-cell/sort-icon-desc.js +1 -0
- package/cssm/components/tsortable-head-cell/sort-icon-desc.js.map +1 -0
- package/cssm/components/tsortable-head-cell/sort-icon-unset.js +1 -0
- package/cssm/components/tsortable-head-cell/sort-icon-unset.js.map +1 -0
- package/cssm/index.js +1 -0
- package/cssm/index.js.map +1 -0
- package/{component.d.ts → cssm/src/component.d.ts} +8 -9
- package/cssm/src/components/index.d.ts +9 -0
- package/{esm → cssm/src}/components/pagination/Component.d.ts +3 -4
- package/cssm/src/components/pagination/index.d.ts +1 -0
- package/cssm/src/components/pagination/select-field/index.d.ts +2 -0
- package/cssm/{components → src/components}/table/Component.d.ts +3 -6
- package/cssm/src/components/table/index.d.ts +1 -0
- package/cssm/src/components/table/utils.d.ts +3 -0
- package/cssm/src/components/table-context/index.d.ts +17 -0
- package/{esm → cssm/src}/components/tbody/Component.d.ts +3 -6
- package/cssm/src/components/tbody/index.d.ts +1 -0
- package/cssm/{components → src/components}/tcell/Component.d.ts +3 -6
- package/cssm/src/components/tcell/index.d.ts +1 -0
- package/cssm/src/components/texpandable-row/Component.d.ts +22 -0
- package/cssm/src/components/texpandable-row/index.d.ts +1 -0
- package/{esm → cssm/src}/components/thead/Component.d.ts +3 -6
- package/cssm/src/components/thead/index.d.ts +1 -0
- package/{components → cssm/src/components}/thead-cell/Component.d.ts +4 -7
- package/cssm/src/components/thead-cell/index.d.ts +1 -0
- package/{esm → cssm/src}/components/trow/Component.d.ts +6 -8
- package/cssm/src/components/trow/index.d.ts +1 -0
- package/cssm/src/components/tsortable-head-cell/Component.d.ts +8 -0
- package/cssm/src/components/tsortable-head-cell/index.d.ts +1 -0
- package/cssm/src/components/tsortable-head-cell/sort-icon-asc.d.ts +2 -0
- package/cssm/src/components/tsortable-head-cell/sort-icon-desc.d.ts +2 -0
- package/cssm/src/components/tsortable-head-cell/sort-icon-unset.d.ts +2 -0
- package/cssm/src/index.d.ts +1 -0
- package/cssm/src/typings.d.ts +1 -0
- package/cssm/src/utils.d.ts +2 -0
- package/cssm/typings.js +1 -0
- package/cssm/typings.js.map +1 -0
- package/cssm/utils.js +1 -0
- package/cssm/utils.js.map +1 -0
- package/esm/component.js +1 -0
- package/esm/component.js.map +1 -0
- package/esm/components/index.js +1 -0
- package/esm/components/index.js.map +1 -0
- package/esm/components/pagination/Component.js +2 -3
- package/esm/components/pagination/Component.js.map +1 -0
- package/esm/components/pagination/index.css +15 -36
- package/esm/components/pagination/index.js +1 -0
- package/esm/components/pagination/index.js.map +1 -0
- package/esm/components/pagination/index.module.css.js +6 -0
- package/esm/components/pagination/index.module.css.js.map +1 -0
- package/esm/components/pagination/select-field/index.css +5 -27
- package/esm/components/pagination/select-field/index.js +2 -3
- package/esm/components/pagination/select-field/index.js.map +1 -0
- package/esm/components/pagination/select-field/index.module.css.js +6 -0
- package/esm/components/pagination/select-field/index.module.css.js.map +1 -0
- package/esm/components/table/Component.js +2 -3
- package/esm/components/table/Component.js.map +1 -0
- package/esm/components/table/index.css +12 -33
- package/esm/components/table/index.js +1 -0
- package/esm/components/table/index.js.map +1 -0
- package/esm/components/table/index.module.css.js +6 -0
- package/esm/components/table/index.module.css.js.map +1 -0
- package/esm/components/table/utils.js +1 -0
- package/esm/components/table/utils.js.map +1 -0
- package/esm/components/table-context/index.js +1 -0
- package/esm/components/table-context/index.js.map +1 -0
- package/esm/components/tbody/Component.js +2 -3
- package/esm/components/tbody/Component.js.map +1 -0
- package/esm/components/tbody/index.css +1 -24
- package/esm/components/tbody/index.js +1 -0
- package/esm/components/tbody/index.js.map +1 -0
- package/esm/components/tbody/index.module.css.js +6 -0
- package/esm/components/tbody/index.module.css.js.map +1 -0
- package/esm/components/tcell/Component.js +2 -3
- package/esm/components/tcell/Component.js.map +1 -0
- package/esm/components/tcell/index.css +11 -32
- package/esm/components/tcell/index.js +1 -0
- package/esm/components/tcell/index.js.map +1 -0
- package/esm/components/tcell/index.module.css.js +6 -0
- package/esm/components/tcell/index.module.css.js.map +1 -0
- package/esm/components/texpandable-row/Component.js +2 -3
- package/esm/components/texpandable-row/Component.js.map +1 -0
- package/esm/components/texpandable-row/index.css +5 -27
- package/esm/components/texpandable-row/index.js +1 -0
- package/esm/components/texpandable-row/index.js.map +1 -0
- package/esm/components/texpandable-row/index.module.css.js +6 -0
- package/esm/components/texpandable-row/index.module.css.js.map +1 -0
- package/esm/components/thead/Component.js +2 -3
- package/esm/components/thead/Component.js.map +1 -0
- package/esm/components/thead/index.css +8 -29
- package/esm/components/thead/index.js +1 -0
- package/esm/components/thead/index.js.map +1 -0
- package/esm/components/thead/index.module.css.js +6 -0
- package/esm/components/thead/index.module.css.js.map +1 -0
- package/esm/components/thead-cell/Component.js +2 -3
- package/esm/components/thead-cell/Component.js.map +1 -0
- package/esm/components/thead-cell/index.css +14 -35
- package/esm/components/thead-cell/index.js +1 -0
- package/esm/components/thead-cell/index.js.map +1 -0
- package/esm/components/thead-cell/index.module.css.js +6 -0
- package/esm/components/thead-cell/index.module.css.js.map +1 -0
- package/esm/components/trow/Component.js +2 -3
- package/esm/components/trow/Component.js.map +1 -0
- package/esm/components/trow/index.css +11 -32
- package/esm/components/trow/index.js +1 -0
- package/esm/components/trow/index.js.map +1 -0
- package/esm/components/trow/index.module.css.js +6 -0
- package/esm/components/trow/index.module.css.js.map +1 -0
- package/esm/components/tsortable-head-cell/Component.js +2 -3
- package/esm/components/tsortable-head-cell/Component.js.map +1 -0
- package/esm/components/tsortable-head-cell/index.css +10 -36
- package/esm/components/tsortable-head-cell/index.js +1 -0
- package/esm/components/tsortable-head-cell/index.js.map +1 -0
- package/esm/components/tsortable-head-cell/index.module.css.js +6 -0
- package/esm/components/tsortable-head-cell/index.module.css.js.map +1 -0
- package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -0
- package/esm/components/tsortable-head-cell/sort-icon-asc.js.map +1 -0
- package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -0
- package/esm/components/tsortable-head-cell/sort-icon-desc.js.map +1 -0
- package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -0
- package/esm/components/tsortable-head-cell/sort-icon-unset.js.map +1 -0
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -0
- package/esm/{component.d.ts → src/component.d.ts} +8 -9
- package/esm/src/components/index.d.ts +9 -0
- package/{cssm → esm/src}/components/pagination/Component.d.ts +3 -4
- package/esm/src/components/pagination/index.d.ts +1 -0
- package/esm/src/components/pagination/select-field/index.d.ts +2 -0
- package/{components → esm/src/components}/table/Component.d.ts +3 -6
- package/esm/src/components/table/index.d.ts +1 -0
- package/esm/src/components/table/utils.d.ts +3 -0
- package/esm/src/components/table-context/index.d.ts +17 -0
- package/{cssm → esm/src}/components/tbody/Component.d.ts +3 -6
- package/esm/src/components/tbody/index.d.ts +1 -0
- package/{components → esm/src/components}/tcell/Component.d.ts +3 -6
- package/esm/src/components/tcell/index.d.ts +1 -0
- package/esm/src/components/texpandable-row/Component.d.ts +22 -0
- package/esm/src/components/texpandable-row/index.d.ts +1 -0
- package/{modern → esm/src}/components/thead/Component.d.ts +3 -6
- package/esm/src/components/thead/index.d.ts +1 -0
- package/esm/{components → src/components}/thead-cell/Component.d.ts +4 -7
- package/esm/src/components/thead-cell/index.d.ts +1 -0
- package/{modern → esm/src}/components/trow/Component.d.ts +6 -8
- package/esm/src/components/trow/index.d.ts +1 -0
- package/esm/src/components/tsortable-head-cell/Component.d.ts +8 -0
- package/esm/src/components/tsortable-head-cell/index.d.ts +1 -0
- package/esm/src/components/tsortable-head-cell/sort-icon-asc.d.ts +2 -0
- package/esm/src/components/tsortable-head-cell/sort-icon-desc.d.ts +2 -0
- package/esm/src/components/tsortable-head-cell/sort-icon-unset.d.ts +2 -0
- package/esm/src/index.d.ts +1 -0
- package/esm/src/typings.d.ts +1 -0
- package/esm/src/utils.d.ts +2 -0
- package/esm/typings.js +1 -0
- package/esm/typings.js.map +1 -0
- package/esm/utils.js +1 -0
- package/esm/utils.js.map +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -0
- package/modern/component.js +1 -0
- package/modern/component.js.map +1 -0
- package/modern/components/index.js +1 -0
- package/modern/components/index.js.map +1 -0
- package/modern/components/pagination/Component.js +2 -3
- package/modern/components/pagination/Component.js.map +1 -0
- package/modern/components/pagination/index.css +15 -36
- package/modern/components/pagination/index.js +1 -0
- package/modern/components/pagination/index.js.map +1 -0
- package/modern/components/pagination/index.module.css.js +6 -0
- package/modern/components/pagination/index.module.css.js.map +1 -0
- package/modern/components/pagination/select-field/index.css +5 -27
- package/modern/components/pagination/select-field/index.js +2 -3
- package/modern/components/pagination/select-field/index.js.map +1 -0
- package/modern/components/pagination/select-field/index.module.css.js +6 -0
- package/modern/components/pagination/select-field/index.module.css.js.map +1 -0
- package/modern/components/table/Component.js +2 -3
- package/modern/components/table/Component.js.map +1 -0
- package/modern/components/table/index.css +12 -33
- package/modern/components/table/index.js +1 -0
- package/modern/components/table/index.js.map +1 -0
- package/modern/components/table/index.module.css.js +6 -0
- package/modern/components/table/index.module.css.js.map +1 -0
- package/modern/components/table/utils.js +1 -0
- package/modern/components/table/utils.js.map +1 -0
- package/modern/components/table-context/index.js +1 -0
- package/modern/components/table-context/index.js.map +1 -0
- package/modern/components/tbody/Component.js +2 -3
- package/modern/components/tbody/Component.js.map +1 -0
- package/modern/components/tbody/index.css +1 -24
- package/modern/components/tbody/index.js +1 -0
- package/modern/components/tbody/index.js.map +1 -0
- package/modern/components/tbody/index.module.css.js +6 -0
- package/modern/components/tbody/index.module.css.js.map +1 -0
- package/modern/components/tcell/Component.js +2 -3
- package/modern/components/tcell/Component.js.map +1 -0
- package/modern/components/tcell/index.css +11 -32
- package/modern/components/tcell/index.js +1 -0
- package/modern/components/tcell/index.js.map +1 -0
- package/modern/components/tcell/index.module.css.js +6 -0
- package/modern/components/tcell/index.module.css.js.map +1 -0
- package/modern/components/texpandable-row/Component.js +2 -3
- package/modern/components/texpandable-row/Component.js.map +1 -0
- package/modern/components/texpandable-row/index.css +5 -27
- package/modern/components/texpandable-row/index.js +1 -0
- package/modern/components/texpandable-row/index.js.map +1 -0
- package/modern/components/texpandable-row/index.module.css.js +6 -0
- package/modern/components/texpandable-row/index.module.css.js.map +1 -0
- package/modern/components/thead/Component.js +2 -3
- package/modern/components/thead/Component.js.map +1 -0
- package/modern/components/thead/index.css +8 -29
- package/modern/components/thead/index.js +1 -0
- package/modern/components/thead/index.js.map +1 -0
- package/modern/components/thead/index.module.css.js +6 -0
- package/modern/components/thead/index.module.css.js.map +1 -0
- package/modern/components/thead-cell/Component.js +2 -3
- package/modern/components/thead-cell/Component.js.map +1 -0
- package/modern/components/thead-cell/index.css +14 -35
- package/modern/components/thead-cell/index.js +1 -0
- package/modern/components/thead-cell/index.js.map +1 -0
- package/modern/components/thead-cell/index.module.css.js +6 -0
- package/modern/components/thead-cell/index.module.css.js.map +1 -0
- package/modern/components/trow/Component.js +2 -3
- package/modern/components/trow/Component.js.map +1 -0
- package/modern/components/trow/index.css +11 -32
- package/modern/components/trow/index.js +1 -0
- package/modern/components/trow/index.js.map +1 -0
- package/modern/components/trow/index.module.css.js +6 -0
- package/modern/components/trow/index.module.css.js.map +1 -0
- package/modern/components/tsortable-head-cell/Component.js +2 -3
- package/modern/components/tsortable-head-cell/Component.js.map +1 -0
- package/modern/components/tsortable-head-cell/index.css +10 -36
- package/modern/components/tsortable-head-cell/index.js +1 -0
- package/modern/components/tsortable-head-cell/index.js.map +1 -0
- package/modern/components/tsortable-head-cell/index.module.css.js +6 -0
- package/modern/components/tsortable-head-cell/index.module.css.js.map +1 -0
- package/modern/components/tsortable-head-cell/sort-icon-asc.js +1 -0
- package/modern/components/tsortable-head-cell/sort-icon-asc.js.map +1 -0
- package/modern/components/tsortable-head-cell/sort-icon-desc.js +1 -0
- package/modern/components/tsortable-head-cell/sort-icon-desc.js.map +1 -0
- package/modern/components/tsortable-head-cell/sort-icon-unset.js +1 -0
- package/modern/components/tsortable-head-cell/sort-icon-unset.js.map +1 -0
- package/modern/index.js +1 -0
- package/modern/index.js.map +1 -0
- package/{cssm → modern/src}/component.d.ts +8 -9
- package/modern/src/components/index.d.ts +9 -0
- package/{components → modern/src/components}/pagination/Component.d.ts +3 -4
- package/modern/src/components/pagination/index.d.ts +1 -0
- package/modern/src/components/pagination/select-field/index.d.ts +2 -0
- package/{esm → modern/src}/components/table/Component.d.ts +3 -6
- package/modern/src/components/table/index.d.ts +1 -0
- package/modern/src/components/table/utils.d.ts +3 -0
- package/modern/src/components/table-context/index.d.ts +17 -0
- package/modern/{components → src/components}/tbody/Component.d.ts +3 -6
- package/modern/src/components/tbody/index.d.ts +1 -0
- package/{esm → modern/src}/components/tcell/Component.d.ts +3 -6
- package/modern/src/components/tcell/index.d.ts +1 -0
- package/modern/src/components/texpandable-row/Component.d.ts +22 -0
- package/modern/src/components/texpandable-row/index.d.ts +1 -0
- package/{components → modern/src/components}/thead/Component.d.ts +3 -6
- package/modern/src/components/thead/index.d.ts +1 -0
- package/{cssm → modern/src}/components/thead-cell/Component.d.ts +4 -7
- package/modern/src/components/thead-cell/index.d.ts +1 -0
- package/{cssm → modern/src}/components/trow/Component.d.ts +6 -8
- package/modern/src/components/trow/index.d.ts +1 -0
- package/modern/src/components/tsortable-head-cell/Component.d.ts +8 -0
- package/modern/src/components/tsortable-head-cell/index.d.ts +1 -0
- package/modern/src/components/tsortable-head-cell/sort-icon-asc.d.ts +2 -0
- package/modern/src/components/tsortable-head-cell/sort-icon-desc.d.ts +2 -0
- package/modern/src/components/tsortable-head-cell/sort-icon-unset.d.ts +2 -0
- package/modern/src/index.d.ts +1 -0
- package/modern/src/typings.d.ts +1 -0
- package/modern/src/utils.d.ts +2 -0
- package/modern/typings.js +1 -0
- package/modern/typings.js.map +1 -0
- package/modern/utils.js +1 -0
- package/modern/utils.js.map +1 -0
- package/moderncssm/component.js +1 -0
- package/moderncssm/component.js.map +1 -0
- package/moderncssm/components/index.js +1 -0
- package/moderncssm/components/index.js.map +1 -0
- package/moderncssm/components/pagination/Component.js +1 -0
- package/moderncssm/components/pagination/Component.js.map +1 -0
- package/moderncssm/components/pagination/index.js +1 -0
- package/moderncssm/components/pagination/index.js.map +1 -0
- package/moderncssm/components/pagination/index.module.css +0 -2
- package/moderncssm/components/pagination/select-field/index.js +1 -0
- package/moderncssm/components/pagination/select-field/index.js.map +1 -0
- package/moderncssm/components/pagination/select-field/index.module.css +0 -2
- package/moderncssm/components/table/Component.js +1 -0
- package/moderncssm/components/table/Component.js.map +1 -0
- package/moderncssm/components/table/index.js +1 -0
- package/moderncssm/components/table/index.js.map +1 -0
- package/moderncssm/components/table/index.module.css +0 -4
- package/moderncssm/components/table/utils.js +1 -0
- package/moderncssm/components/table/utils.js.map +1 -0
- package/moderncssm/components/table-context/index.js +1 -0
- package/moderncssm/components/table-context/index.js.map +1 -0
- package/moderncssm/components/tbody/Component.js +1 -0
- package/moderncssm/components/tbody/Component.js.map +1 -0
- package/moderncssm/components/tbody/index.js +1 -0
- package/moderncssm/components/tbody/index.js.map +1 -0
- package/moderncssm/components/tbody/index.module.css +0 -2
- package/moderncssm/components/tcell/Component.js +1 -0
- package/moderncssm/components/tcell/Component.js.map +1 -0
- package/moderncssm/components/tcell/index.js +1 -0
- package/moderncssm/components/tcell/index.js.map +1 -0
- package/moderncssm/components/tcell/index.module.css +0 -2
- package/moderncssm/components/texpandable-row/Component.js +1 -0
- package/moderncssm/components/texpandable-row/Component.js.map +1 -0
- package/moderncssm/components/texpandable-row/index.js +1 -0
- package/moderncssm/components/texpandable-row/index.js.map +1 -0
- package/moderncssm/components/texpandable-row/index.module.css +0 -2
- package/moderncssm/components/thead/Component.js +1 -0
- package/moderncssm/components/thead/Component.js.map +1 -0
- package/moderncssm/components/thead/index.js +1 -0
- package/moderncssm/components/thead/index.js.map +1 -0
- package/moderncssm/components/thead/index.module.css +0 -2
- package/moderncssm/components/thead-cell/Component.js +1 -0
- package/moderncssm/components/thead-cell/Component.js.map +1 -0
- package/moderncssm/components/thead-cell/index.js +1 -0
- package/moderncssm/components/thead-cell/index.js.map +1 -0
- package/moderncssm/components/thead-cell/index.module.css +0 -2
- package/moderncssm/components/trow/Component.js +1 -0
- package/moderncssm/components/trow/Component.js.map +1 -0
- package/moderncssm/components/trow/index.js +1 -0
- package/moderncssm/components/trow/index.js.map +1 -0
- package/moderncssm/components/trow/index.module.css +1 -3
- package/moderncssm/components/tsortable-head-cell/Component.js +1 -0
- package/moderncssm/components/tsortable-head-cell/Component.js.map +1 -0
- package/moderncssm/components/tsortable-head-cell/index.js +1 -0
- package/moderncssm/components/tsortable-head-cell/index.js.map +1 -0
- package/moderncssm/components/tsortable-head-cell/index.module.css +0 -7
- package/moderncssm/components/tsortable-head-cell/sort-icon-asc.js +1 -0
- package/moderncssm/components/tsortable-head-cell/sort-icon-asc.js.map +1 -0
- package/moderncssm/components/tsortable-head-cell/sort-icon-desc.js +1 -0
- package/moderncssm/components/tsortable-head-cell/sort-icon-desc.js.map +1 -0
- package/moderncssm/components/tsortable-head-cell/sort-icon-unset.js +1 -0
- package/moderncssm/components/tsortable-head-cell/sort-icon-unset.js.map +1 -0
- package/moderncssm/index.js +1 -0
- package/moderncssm/index.js.map +1 -0
- package/{modern → moderncssm/src}/component.d.ts +8 -9
- package/moderncssm/src/components/index.d.ts +9 -0
- package/{modern → moderncssm/src}/components/pagination/Component.d.ts +3 -4
- package/moderncssm/src/components/pagination/index.d.ts +1 -0
- package/moderncssm/src/components/pagination/select-field/index.d.ts +2 -0
- package/{modern → moderncssm/src}/components/table/Component.d.ts +3 -6
- package/moderncssm/src/components/table/index.d.ts +1 -0
- package/moderncssm/src/components/table/utils.d.ts +3 -0
- package/moderncssm/src/components/table-context/index.d.ts +17 -0
- package/{components → moderncssm/src/components}/tbody/Component.d.ts +3 -6
- package/moderncssm/src/components/tbody/index.d.ts +1 -0
- package/{modern → moderncssm/src}/components/tcell/Component.d.ts +3 -6
- package/moderncssm/src/components/tcell/index.d.ts +1 -0
- package/moderncssm/src/components/texpandable-row/Component.d.ts +22 -0
- package/moderncssm/src/components/texpandable-row/index.d.ts +1 -0
- package/{cssm → moderncssm/src}/components/thead/Component.d.ts +3 -6
- package/moderncssm/src/components/thead/index.d.ts +1 -0
- package/{modern → moderncssm/src}/components/thead-cell/Component.d.ts +4 -7
- package/moderncssm/src/components/thead-cell/index.d.ts +1 -0
- package/{components → moderncssm/src/components}/trow/Component.d.ts +6 -8
- package/moderncssm/src/components/trow/index.d.ts +1 -0
- package/moderncssm/src/components/tsortable-head-cell/Component.d.ts +8 -0
- package/moderncssm/src/components/tsortable-head-cell/index.d.ts +1 -0
- package/moderncssm/src/components/tsortable-head-cell/sort-icon-asc.d.ts +2 -0
- package/moderncssm/src/components/tsortable-head-cell/sort-icon-desc.d.ts +2 -0
- package/moderncssm/src/components/tsortable-head-cell/sort-icon-unset.d.ts +2 -0
- package/moderncssm/src/index.d.ts +1 -0
- package/moderncssm/src/typings.d.ts +1 -0
- package/moderncssm/src/utils.d.ts +2 -0
- package/moderncssm/typings.js +1 -0
- package/moderncssm/typings.js.map +1 -0
- package/moderncssm/utils.js +1 -0
- package/moderncssm/utils.js.map +1 -0
- package/package.json +6 -6
- package/src/component.d.ts +41 -0
- package/src/components/index.d.ts +9 -0
- package/src/components/pagination/Component.d.ts +25 -0
- package/src/components/pagination/index.d.ts +1 -0
- package/src/components/pagination/select-field/index.d.ts +2 -0
- package/src/components/table/Component.d.ts +69 -0
- package/src/components/table/index.d.ts +1 -0
- package/src/components/table/utils.d.ts +3 -0
- package/src/components/table-context/index.d.ts +17 -0
- package/src/components/tbody/Component.d.ts +21 -0
- package/src/components/tbody/index.d.ts +1 -0
- package/src/components/tcell/Component.d.ts +16 -0
- package/src/components/tcell/index.d.ts +1 -0
- package/src/components/texpandable-row/Component.d.ts +22 -0
- package/src/components/texpandable-row/index.d.ts +1 -0
- package/src/components/thead/Component.d.ts +16 -0
- package/src/components/thead/index.d.ts +1 -0
- package/src/components/thead-cell/Component.d.ts +25 -0
- package/src/components/thead-cell/index.d.ts +1 -0
- package/src/components/trow/Component.d.ts +48 -0
- package/src/components/trow/index.d.ts +1 -0
- package/src/components/tsortable-head-cell/Component.d.ts +8 -0
- package/src/components/tsortable-head-cell/index.d.ts +1 -0
- package/src/components/tsortable-head-cell/sort-icon-asc.d.ts +2 -0
- package/src/components/tsortable-head-cell/sort-icon-desc.d.ts +2 -0
- package/src/components/tsortable-head-cell/sort-icon-unset.d.ts +2 -0
- package/src/index.d.ts +1 -0
- package/src/typings.d.ts +1 -0
- package/src/utils.d.ts +2 -0
- package/typings.js +1 -0
- package/typings.js.map +1 -0
- package/utils.js +1 -0
- package/utils.js.map +1 -0
- package/components/index.d.ts +0 -9
- package/components/pagination/index.d.ts +0 -1
- package/components/pagination/select-field/index.d.ts +0 -3
- package/components/table/index.d.ts +0 -1
- package/components/table/utils.d.ts +0 -5
- package/components/table-context/index.d.ts +0 -20
- package/components/tbody/index.d.ts +0 -1
- package/components/tcell/index.d.ts +0 -1
- package/components/texpandable-row/Component.d.ts +0 -25
- package/components/texpandable-row/index.d.ts +0 -1
- package/components/thead/index.d.ts +0 -1
- package/components/thead-cell/index.d.ts +0 -1
- package/components/trow/index.d.ts +0 -1
- package/components/tsortable-head-cell/Component.d.ts +0 -10
- package/components/tsortable-head-cell/index.d.ts +0 -1
- package/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -5
- package/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -5
- package/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -5
- package/cssm/components/index.d.ts +0 -9
- package/cssm/components/pagination/index.d.ts +0 -1
- package/cssm/components/pagination/select-field/index.d.ts +0 -3
- package/cssm/components/table/index.d.ts +0 -1
- package/cssm/components/table/utils.d.ts +0 -5
- package/cssm/components/table-context/index.d.ts +0 -20
- package/cssm/components/tbody/index.d.ts +0 -1
- package/cssm/components/tcell/index.d.ts +0 -1
- package/cssm/components/texpandable-row/Component.d.ts +0 -25
- package/cssm/components/texpandable-row/index.d.ts +0 -1
- package/cssm/components/thead/index.d.ts +0 -1
- package/cssm/components/thead-cell/index.d.ts +0 -1
- package/cssm/components/trow/index.d.ts +0 -1
- package/cssm/components/tsortable-head-cell/Component.d.ts +0 -10
- package/cssm/components/tsortable-head-cell/index.d.ts +0 -1
- package/cssm/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -5
- package/cssm/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -5
- package/cssm/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -5
- package/cssm/index.d.ts +0 -1
- package/cssm/typings.d.ts +0 -2
- package/cssm/utils.d.ts +0 -4
- package/esm/components/index.d.ts +0 -9
- package/esm/components/pagination/index.d.ts +0 -1
- package/esm/components/pagination/select-field/index.d.ts +0 -3
- package/esm/components/table/index.d.ts +0 -1
- package/esm/components/table/utils.d.ts +0 -5
- package/esm/components/table-context/index.d.ts +0 -20
- package/esm/components/tbody/index.d.ts +0 -1
- package/esm/components/tcell/index.d.ts +0 -1
- package/esm/components/texpandable-row/Component.d.ts +0 -25
- package/esm/components/texpandable-row/index.d.ts +0 -1
- package/esm/components/thead/index.d.ts +0 -1
- package/esm/components/thead-cell/index.d.ts +0 -1
- package/esm/components/trow/index.d.ts +0 -1
- package/esm/components/tsortable-head-cell/Component.d.ts +0 -10
- package/esm/components/tsortable-head-cell/index.d.ts +0 -1
- package/esm/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -5
- package/esm/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -5
- package/esm/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -5
- package/esm/index.d.ts +0 -1
- package/esm/typings.d.ts +0 -2
- package/esm/utils.d.ts +0 -4
- package/index.d.ts +0 -1
- package/modern/components/index.d.ts +0 -9
- package/modern/components/pagination/index.d.ts +0 -1
- package/modern/components/pagination/select-field/index.d.ts +0 -3
- package/modern/components/table/index.d.ts +0 -1
- package/modern/components/table/utils.d.ts +0 -5
- package/modern/components/table-context/index.d.ts +0 -20
- package/modern/components/tbody/index.d.ts +0 -1
- package/modern/components/tcell/index.d.ts +0 -1
- package/modern/components/texpandable-row/Component.d.ts +0 -25
- package/modern/components/texpandable-row/index.d.ts +0 -1
- package/modern/components/thead/index.d.ts +0 -1
- package/modern/components/thead-cell/index.d.ts +0 -1
- package/modern/components/trow/index.d.ts +0 -1
- package/modern/components/tsortable-head-cell/Component.d.ts +0 -10
- package/modern/components/tsortable-head-cell/index.d.ts +0 -1
- package/modern/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -5
- package/modern/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -5
- package/modern/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -5
- package/modern/index.d.ts +0 -1
- package/modern/typings.d.ts +0 -2
- package/modern/utils.d.ts +0 -4
- package/moderncssm/component.d.ts +0 -42
- package/moderncssm/components/index.d.ts +0 -9
- package/moderncssm/components/pagination/Component.d.ts +0 -26
- package/moderncssm/components/pagination/index.d.ts +0 -1
- package/moderncssm/components/pagination/select-field/index.d.ts +0 -3
- package/moderncssm/components/table/Component.d.ts +0 -72
- package/moderncssm/components/table/index.d.ts +0 -1
- package/moderncssm/components/table/utils.d.ts +0 -5
- package/moderncssm/components/table-context/index.d.ts +0 -20
- package/moderncssm/components/tbody/Component.d.ts +0 -24
- package/moderncssm/components/tbody/index.d.ts +0 -1
- package/moderncssm/components/tcell/Component.d.ts +0 -19
- package/moderncssm/components/tcell/index.d.ts +0 -1
- package/moderncssm/components/texpandable-row/Component.d.ts +0 -25
- package/moderncssm/components/texpandable-row/index.d.ts +0 -1
- package/moderncssm/components/thead/Component.d.ts +0 -19
- package/moderncssm/components/thead/index.d.ts +0 -1
- package/moderncssm/components/thead-cell/Component.d.ts +0 -28
- package/moderncssm/components/thead-cell/index.d.ts +0 -1
- package/moderncssm/components/trow/Component.d.ts +0 -50
- package/moderncssm/components/trow/index.d.ts +0 -1
- package/moderncssm/components/tsortable-head-cell/Component.d.ts +0 -10
- package/moderncssm/components/tsortable-head-cell/index.d.ts +0 -1
- package/moderncssm/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -5
- package/moderncssm/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -5
- package/moderncssm/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -5
- package/moderncssm/index.d.ts +0 -1
- package/moderncssm/typings.d.ts +0 -2
- package/moderncssm/utils.d.ts +0 -4
- package/typings.d.ts +0 -2
- package/utils.d.ts +0 -4
|
@@ -1,45 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
|
-
} /* deprecated */ :root {
|
|
1
|
+
:root {
|
|
4
2
|
--color-light-base-bg-primary: #fff;
|
|
5
|
-
--color-light-base-bg-secondary: #f2f3f5;
|
|
6
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
7
|
-
--color-static-graphic-solitude: #e8f2fe; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
8
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
|
+
--color-light-base-bg-secondary: #f2f3f5;
|
|
9
4
|
} :root {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
/* Up */
|
|
14
|
-
|
|
15
|
-
/* Hard up */
|
|
16
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
17
|
-
|
|
18
|
-
/* новые значения, используйте их */
|
|
19
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
20
|
-
|
|
21
|
-
/* новые значения, используйте их */
|
|
22
|
-
|
|
23
|
-
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
24
|
-
/* stylelint-disable-next-line length-zero-no-unit */
|
|
25
|
-
} :root {
|
|
26
|
-
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
27
|
-
} /* сбрасывает синюю подсветку при нажатии */ .table__component_1p7gx {
|
|
5
|
+
--color-static-graphic-solitude: #e8f2fe;
|
|
6
|
+
} .table__component_3eqc5 {
|
|
28
7
|
padding-top: 1px;
|
|
29
8
|
width: 100%;
|
|
30
9
|
transition: background-color 0.2s;
|
|
31
10
|
box-sizing: border-box;
|
|
32
11
|
background: var(--color-light-base-bg-primary)
|
|
33
|
-
} .
|
|
12
|
+
} .table__component_3eqc5:first-child td {
|
|
34
13
|
border-top: 0;
|
|
35
|
-
} .
|
|
14
|
+
} .table__withoutBorder_3eqc5 td {
|
|
36
15
|
border: none;
|
|
37
|
-
} .
|
|
16
|
+
} .table__clickable_3eqc5 {
|
|
38
17
|
cursor: pointer
|
|
39
|
-
} .
|
|
18
|
+
} .table__clickable_3eqc5:hover {
|
|
40
19
|
background-color: var(--color-light-base-bg-secondary);
|
|
41
|
-
} .
|
|
42
|
-
background-color: #f2f8ff
|
|
43
|
-
} .
|
|
20
|
+
} .table__selected_3eqc5 {
|
|
21
|
+
background-color: #f2f8ff
|
|
22
|
+
} .table__selected_3eqc5:hover {
|
|
44
23
|
background-color: var(--color-static-graphic-solitude);
|
|
45
24
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
|
|
3
|
+
const styles = {"component":"table__component_3eqc5","withoutBorder":"table__withoutBorder_3eqc5","clickable":"table__clickable_3eqc5","selected":"table__selected_3eqc5"};
|
|
4
|
+
|
|
5
|
+
export { styles as default };
|
|
6
|
+
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/trow/index.module.css"],"sourcesContent":["@import '../../../../vars/src/index.css';\n\n.component {\n padding-top: 1px;\n width: 100%;\n transition: background-color 0.2s;\n box-sizing: border-box;\n background: var(--color-light-base-bg-primary);\n\n &:first-child td {\n border-top: 0;\n }\n}\n\n.withoutBorder {\n & td {\n border: none;\n }\n}\n\n.clickable {\n cursor: pointer;\n\n &:hover {\n background-color: var(--color-light-base-bg-secondary);\n }\n}\n\n.selected {\n background-color: #f2f8ff; /* нет цвета в палитре */\n\n &:hover {\n background-color: var(--color-static-graphic-solitude);\n }\n}\n"],"names":[],"mappings":";;AAEgB,eAAe,CAAC,WAAW,CAAC,wBAAwB,CAAC,eAAe,CAAC,4BAA4B,CAAC,WAAW,CAAC,wBAAwB,CAAC,UAAU,CAAC,uBAAuB,CAAC;;;;"}
|
|
@@ -4,9 +4,7 @@ import { THeadCell } from '../thead-cell/Component.js';
|
|
|
4
4
|
import { SortIconAsc } from './sort-icon-asc.js';
|
|
5
5
|
import { SortIconDesc } from './sort-icon-desc.js';
|
|
6
6
|
import { SortIconUnset } from './sort-icon-unset.js';
|
|
7
|
-
|
|
8
|
-
const styles = {"content":"table__content_x3whl","icon":"table__icon_x3whl","reverse":"table__reverse_x3whl","sorted":"table__sorted_x3whl"};
|
|
9
|
-
require('./index.css')
|
|
7
|
+
import styles from './index.module.css.js';
|
|
10
8
|
|
|
11
9
|
const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {
|
|
12
10
|
const SortIcon = useMemo(() => {
|
|
@@ -26,3 +24,4 @@ const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedD
|
|
|
26
24
|
};
|
|
27
25
|
|
|
28
26
|
export { TSortableHeadCell };
|
|
27
|
+
//# sourceMappingURL=Component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../../../../src/components/tsortable-head-cell/Component.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport cn from 'classnames';\n\nimport { THeadCell, THeadCellProps } from '../thead-cell';\n\nimport { SortIconAsc } from './sort-icon-asc';\nimport { SortIconDesc } from './sort-icon-desc';\nimport { SortIconUnset } from './sort-icon-unset';\n\nimport styles from './index.module.css';\n\nexport type TSortableHeadCellProps = THeadCellProps & {\n isSortedDesc?: boolean;\n defaultIsSortedDesc?: boolean;\n onSort?: () => void;\n};\n\nexport const TSortableHeadCell = ({\n children,\n className,\n defaultIsSortedDesc,\n isSortedDesc,\n textAlign,\n onSort,\n ...restProps\n}: TSortableHeadCellProps) => {\n const SortIcon = useMemo(() => {\n let value = isSortedDesc;\n\n if (value === undefined) value = defaultIsSortedDesc;\n\n if (typeof value === 'boolean') return value ? SortIconDesc : SortIconAsc;\n\n return SortIconUnset;\n }, [defaultIsSortedDesc, isSortedDesc]);\n\n return (\n <THeadCell className={className} textAlign={textAlign} {...restProps}>\n <div className={cn(styles.content, { [styles.reverse]: textAlign === 'right' })}>\n {children}\n <SortIcon\n onClick={onSort}\n className={cn(styles.icon, {\n [styles.sorted]: isSortedDesc !== undefined,\n })}\n />\n </div>\n </THeadCell>\n );\n};\n"],"names":[],"mappings":";;;;;;;;MAiBa,iBAAiB,GAAG,CAAC,EAC9B,QAAQ,EACR,SAAS,EACT,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,MAAM,EACN,GAAG,SAAS,EACS,KAAI;AACzB,IAAA,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAK;QAC1B,IAAI,KAAK,GAAG,YAAY;QAExB,IAAI,KAAK,KAAK,SAAS;YAAE,KAAK,GAAG,mBAAmB;QAEpD,IAAI,OAAO,KAAK,KAAK,SAAS;YAAE,OAAO,KAAK,GAAG,YAAY,GAAG,WAAW;AAEzE,QAAA,OAAO,aAAa;AACxB,KAAC,EAAE,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;AAEvC,IAAA,QACI,KAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAA,GAAM,SAAS,EAAA;AAChE,QAAA,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,KAAK,OAAO,EAAE,CAAC,EAAA;YAC1E,QAAQ;AACT,YAAA,KAAA,CAAA,aAAA,CAAC,QAAQ,EAAA,EACL,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE;AACvB,oBAAA,CAAC,MAAM,CAAC,MAAM,GAAG,YAAY,KAAK,SAAS;AAC9C,iBAAA,CAAC,EACJ,CAAA,CACA,CACE;AAEpB;;;;"}
|
|
@@ -1,56 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
|
-
} /* deprecated */ :root {
|
|
1
|
+
:root {
|
|
4
2
|
--color-light-neutral-700: #898991;
|
|
5
3
|
--color-light-neutral-translucent-1300: rgba(3, 3, 6, 0.88);
|
|
6
|
-
--color-light-status-info: #2288fa;
|
|
7
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
8
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
|
+
--color-light-status-info: #2288fa;
|
|
9
5
|
} :root {
|
|
10
|
-
|
|
11
|
-
/* Hard */
|
|
12
|
-
|
|
13
|
-
/* Up */
|
|
14
|
-
|
|
15
|
-
/* Hard up */
|
|
16
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
17
|
-
|
|
18
|
-
/* новые значения, используйте их */
|
|
19
|
-
} :root { /* deprecated */ /* deprecated */
|
|
20
|
-
--gap-xs: 8px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
21
|
-
|
|
22
|
-
/* новые значения, используйте их */
|
|
23
|
-
|
|
24
|
-
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
25
|
-
/* stylelint-disable-next-line length-zero-no-unit */
|
|
6
|
+
--gap-xs: 8px;
|
|
26
7
|
--gap-0: 0px;
|
|
27
8
|
--gap-8: var(--gap-xs);
|
|
28
|
-
}
|
|
29
|
-
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
30
|
-
} /* сбрасывает синюю подсветку при нажатии */ .table__content_x3whl {
|
|
9
|
+
} .table__content_1vhqv {
|
|
31
10
|
display: flex;
|
|
32
11
|
align-items: flex-start;
|
|
33
|
-
} .
|
|
12
|
+
} .table__icon_1vhqv {
|
|
34
13
|
cursor: pointer;
|
|
35
14
|
margin-left: var(--gap-8);
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* иконка сортировки должна быть выровнена по верхнему краю,
|
|
39
|
-
* т.к. текст может быть в две строки
|
|
40
|
-
*/
|
|
41
15
|
margin-top: 1px;
|
|
42
16
|
color: var(--color-light-neutral-700);
|
|
43
17
|
transition: color 0.2s ease;
|
|
44
18
|
flex-shrink: 0
|
|
45
|
-
} .
|
|
19
|
+
} .table__icon_1vhqv:hover {
|
|
46
20
|
color: var(--color-light-neutral-translucent-1300);
|
|
47
|
-
} .
|
|
21
|
+
} .table__reverse_1vhqv {
|
|
48
22
|
flex-direction: row-reverse
|
|
49
|
-
} .
|
|
23
|
+
} .table__reverse_1vhqv .table__icon_1vhqv {
|
|
50
24
|
margin-left: var(--gap-0);
|
|
51
25
|
margin-right: var(--gap-8);
|
|
52
|
-
} .
|
|
26
|
+
} .table__sorted_1vhqv {
|
|
53
27
|
color: var(--color-light-status-info)
|
|
54
|
-
} .
|
|
28
|
+
} .table__sorted_1vhqv:hover {
|
|
55
29
|
color: var(--color-light-status-info);
|
|
56
30
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/tsortable-head-cell/index.module.css"],"sourcesContent":["@import '../../../../vars/src/index.css';\n\n.content {\n display: flex;\n align-items: flex-start;\n}\n\n.icon {\n cursor: pointer;\n margin-left: var(--gap-8);\n\n /**\n * иконка сортировки должна быть выровнена по верхнему краю,\n * т.к. текст может быть в две строки\n */\n margin-top: 1px;\n color: var(--color-light-neutral-700);\n transition: color 0.2s ease;\n flex-shrink: 0;\n\n &:hover {\n color: var(--color-light-neutral-translucent-1300);\n }\n}\n\n.reverse {\n flex-direction: row-reverse;\n\n & .icon {\n margin-left: var(--gap-0);\n margin-right: var(--gap-8);\n }\n}\n\n.sorted {\n color: var(--color-light-status-info);\n\n &:hover {\n color: var(--color-light-status-info);\n }\n}\n"],"names":[],"mappings":";;AAEgB,eAAe,CAAC,SAAS,CAAC,sBAAsB,CAAC,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,sBAAsB,CAAC,QAAQ,CAAC,qBAAqB,CAAC;;;;"}
|
|
@@ -4,3 +4,4 @@ const SortIconAsc = (props) => (React.createElement("svg", { width: '18', height
|
|
|
4
4
|
React.createElement("path", { d: 'M3.00004 10C3.00004 10 11.4477 10 12 10C12 9.33333 12.0001 8.16667 12.0001 7.5H3.0001C3.00006 8 3.0001 9.5 3.00004 10ZM3.0001 3.5C3.00003 4.16667 3 5.33333 3 6H9C9 5.33333 9 4.16667 9 3.5C9 3.5 3.55238 3.5 3.0001 3.5ZM3.00009 14C3.21041 14 15 14 15 14C15 13.5 15 12 15 11.5C15 11.5 3.55238 11.5 3.00009 11.5C3 12 3 13.5 3.00009 14Z' })));
|
|
5
5
|
|
|
6
6
|
export { SortIconAsc };
|
|
7
|
+
//# sourceMappingURL=sort-icon-asc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-icon-asc.js","sources":["../../../../src/components/tsortable-head-cell/sort-icon-asc.tsx"],"sourcesContent":["import React, { SVGProps } from 'react';\n\nexport const SortIconAsc: React.FC<SVGProps<SVGSVGElement>> = (props) => (\n <svg\n width='18'\n height='18'\n viewBox='0 0 18 18'\n fill='currentColor'\n xmlns='http://www.w3.org/2000/svg'\n focusable='false'\n role='img'\n {...props}\n >\n <path d='M3.00004 10C3.00004 10 11.4477 10 12 10C12 9.33333 12.0001 8.16667 12.0001 7.5H3.0001C3.00006 8 3.0001 9.5 3.00004 10ZM3.0001 3.5C3.00003 4.16667 3 5.33333 3 6H9C9 5.33333 9 4.16667 9 3.5C9 3.5 3.55238 3.5 3.0001 3.5ZM3.00009 14C3.21041 14 15 14 15 14C15 13.5 15 12 15 11.5C15 11.5 3.55238 11.5 3.00009 11.5C3 12 3 13.5 3.00009 14Z' />\n </svg>\n);\n"],"names":[],"mappings":";;AAEa,MAAA,WAAW,GAAsC,CAAC,KAAK,MAChE,6BACI,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,4BAA4B,EAClC,SAAS,EAAC,OAAO,EACjB,IAAI,EAAC,KAAK,KACN,KAAK,EAAA;AAET,IAAA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,CAAC,EAAC,6UAA6U,EAAG,CAAA,CACtV;;;;"}
|
|
@@ -4,3 +4,4 @@ const SortIconDesc = (props) => (React.createElement("svg", { width: '18', heigh
|
|
|
4
4
|
React.createElement("path", { d: 'M3.00004 10C3.00004 10 11.4477 10 12 10C12 9.33333 12.0001 8.16667 12.0001 7.5H3.0001C3.00006 8 3.0001 9.5 3.00004 10ZM3.0001 3.5C3.00003 4.16667 3 5.33333 3 6H15C15 5.33333 15 4.16667 15 3.5C15 3.5 3.55238 3.5 3.0001 3.5ZM3.00009 14C3.21041 14 9 14 9 14C9 13.5 9 12 9 11.5C9 11.5 3.55238 11.5 3.00009 11.5C3 12 3 13.5 3.00009 14Z' })));
|
|
5
5
|
|
|
6
6
|
export { SortIconDesc };
|
|
7
|
+
//# sourceMappingURL=sort-icon-desc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-icon-desc.js","sources":["../../../../src/components/tsortable-head-cell/sort-icon-desc.tsx"],"sourcesContent":["import React, { SVGProps } from 'react';\n\nexport const SortIconDesc: React.FC<SVGProps<SVGSVGElement>> = (props) => (\n <svg\n width='18'\n height='18'\n viewBox='0 0 18 18'\n fill='currentColor'\n xmlns='http://www.w3.org/2000/svg'\n focusable='false'\n role='img'\n {...props}\n >\n <path d='M3.00004 10C3.00004 10 11.4477 10 12 10C12 9.33333 12.0001 8.16667 12.0001 7.5H3.0001C3.00006 8 3.0001 9.5 3.00004 10ZM3.0001 3.5C3.00003 4.16667 3 5.33333 3 6H15C15 5.33333 15 4.16667 15 3.5C15 3.5 3.55238 3.5 3.0001 3.5ZM3.00009 14C3.21041 14 9 14 9 14C9 13.5 9 12 9 11.5C9 11.5 3.55238 11.5 3.00009 11.5C3 12 3 13.5 3.00009 14Z' />\n </svg>\n);\n"],"names":[],"mappings":";;AAEa,MAAA,YAAY,GAAsC,CAAC,KAAK,MACjE,6BACI,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,4BAA4B,EAClC,SAAS,EAAC,OAAO,EACjB,IAAI,EAAC,KAAK,KACN,KAAK,EAAA;AAET,IAAA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,CAAC,EAAC,4UAA4U,EAAG,CAAA,CACrV;;;;"}
|
|
@@ -4,3 +4,4 @@ const SortIconUnset = (props) => (React.createElement("svg", { width: '18', heig
|
|
|
4
4
|
React.createElement("path", { d: 'M3 10C3 10 10.4477 10 11 10C11 9.33333 11.0001 8.16667 11.0001 7.5H3.00006C3.00002 8 3.00006 9.5 3 10ZM3.0001 3.5C3.00003 4.16667 3 5.33333 3 6H15C15 5.33333 15 4.16667 15 3.5C15 3.5 3.55238 3.5 3.0001 3.5ZM3 14C3.21032 14 14 14 14 14C14 13.5 14 12 14 11.5C14 11.5 3.55228 11.5 3 11.5C2.99991 12 2.99991 13.5 3 14Z' })));
|
|
5
5
|
|
|
6
6
|
export { SortIconUnset };
|
|
7
|
+
//# sourceMappingURL=sort-icon-unset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-icon-unset.js","sources":["../../../../src/components/tsortable-head-cell/sort-icon-unset.tsx"],"sourcesContent":["import React, { SVGProps } from 'react';\n\nexport const SortIconUnset: React.FC<SVGProps<SVGSVGElement>> = (props) => (\n <svg\n width='18'\n height='18'\n viewBox='0 0 18 18'\n fill='currentColor'\n xmlns='http://www.w3.org/2000/svg'\n focusable='false'\n role='img'\n {...props}\n >\n <path d='M3 10C3 10 10.4477 10 11 10C11 9.33333 11.0001 8.16667 11.0001 7.5H3.00006C3.00002 8 3.00006 9.5 3 10ZM3.0001 3.5C3.00003 4.16667 3 5.33333 3 6H15C15 5.33333 15 4.16667 15 3.5C15 3.5 3.55238 3.5 3.0001 3.5ZM3 14C3.21032 14 14 14 14 14C14 13.5 14 12 14 11.5C14 11.5 3.55228 11.5 3 11.5C2.99991 12 2.99991 13.5 3 14Z' />\n </svg>\n);\n"],"names":[],"mappings":";;AAEa,MAAA,aAAa,GAAsC,CAAC,KAAK,MAClE,6BACI,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,4BAA4B,EAClC,SAAS,EAAC,OAAO,EACjB,IAAI,EAAC,KAAK,KACN,KAAK,EAAA;AAET,IAAA,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,CAAC,EAAC,4TAA4T,EAAG,CAAA,CACrU;;;;"}
|
package/modern/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const Table: import("react").ForwardRefExoticComponent<import("react").TableHTMLAttributes<HTMLTableElement> & {
|
|
2
|
+
export declare const Table: import("react").ForwardRefExoticComponent<import("react").TableHTMLAttributes<HTMLTableElement> & {
|
|
3
3
|
compactView?: boolean | undefined;
|
|
4
4
|
compactHorizontal?: boolean | undefined;
|
|
5
5
|
className?: string | undefined;
|
|
@@ -13,19 +13,19 @@ declare const Table: import("react").ForwardRefExoticComponent<import("react").T
|
|
|
13
13
|
className?: string | undefined;
|
|
14
14
|
dataTestId?: string | undefined;
|
|
15
15
|
} & import("react").RefAttributes<HTMLTableSectionElement>>;
|
|
16
|
-
THead: import("react").FC<import("./components
|
|
17
|
-
THeadCell: ({ children, className, dataTestId, style, width, textAlign, hidden, ...restProps }: import("./components
|
|
18
|
-
TSortableHeadCell: ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }: import("./components
|
|
19
|
-
TCell: ({ className, style, dataTestId, children, index, ...restProps }: import("./components
|
|
16
|
+
THead: import("react").FC<import("./components").THeadProps>;
|
|
17
|
+
THeadCell: ({ children, className, dataTestId, style, width, textAlign, hidden, ...restProps }: import("./components").THeadCellProps) => import("react").JSX.Element | null;
|
|
18
|
+
TSortableHeadCell: ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }: import("./components").TSortableHeadCellProps) => import("react").JSX.Element;
|
|
19
|
+
TCell: ({ className, style, dataTestId, children, index, ...restProps }: import("./components").TCellProps) => import("react").JSX.Element | null;
|
|
20
20
|
TRow: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLTableRowElement> & {
|
|
21
|
-
children: import("react").ReactElement<import("./components
|
|
21
|
+
children: import("react").ReactElement<import("./components").TCellProps, ({ className, style, dataTestId, children, index, ...restProps }: import("./components").TCellProps) => import("react").JSX.Element | null> | import("react").ReactElement<import("./components").TCellProps, ({ className, style, dataTestId, children, index, ...restProps }: import("./components").TCellProps) => import("react").JSX.Element | null>[];
|
|
22
22
|
className?: string | undefined;
|
|
23
23
|
selected?: boolean | undefined;
|
|
24
24
|
withoutBorder?: boolean | undefined;
|
|
25
25
|
dataTestId?: string | undefined;
|
|
26
26
|
} & import("react").RefAttributes<HTMLTableRowElement>>;
|
|
27
27
|
TExpandableRow: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLTableRowElement> & {
|
|
28
|
-
children: import("react").ReactElement<import("./components
|
|
28
|
+
children: import("react").ReactElement<import("./components").TCellProps, ({ className, style, dataTestId, children, index, ...restProps }: import("./components").TCellProps) => import("react").JSX.Element | null> | import("react").ReactElement<import("./components").TCellProps, ({ className, style, dataTestId, children, index, ...restProps }: import("./components").TCellProps) => import("react").JSX.Element | null>[];
|
|
29
29
|
className?: string | undefined;
|
|
30
30
|
selected?: boolean | undefined;
|
|
31
31
|
withoutBorder?: boolean | undefined;
|
|
@@ -37,6 +37,5 @@ declare const Table: import("react").ForwardRefExoticComponent<import("react").T
|
|
|
37
37
|
renderContent: (expanded: boolean) => import("react").ReactNode;
|
|
38
38
|
rowRef?: import("react").Ref<HTMLTableRowElement> | undefined;
|
|
39
39
|
} & import("react").RefAttributes<HTMLTableRowElement>>;
|
|
40
|
-
Pagination: import("react").FC<import("./components
|
|
40
|
+
Pagination: import("react").FC<import("./components").PaginationProps>;
|
|
41
41
|
};
|
|
42
|
-
export { Table };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './table';
|
|
2
|
+
export * from './pagination';
|
|
3
|
+
export * from './thead';
|
|
4
|
+
export * from './thead-cell';
|
|
5
|
+
export * from './tsortable-head-cell';
|
|
6
|
+
export * from './tbody';
|
|
7
|
+
export * from './tcell';
|
|
8
|
+
export * from './trow';
|
|
9
|
+
export * from './texpandable-row';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { PaginationProps as CorePaginationProps } from
|
|
3
|
-
type PaginationProps = CorePaginationProps & {
|
|
2
|
+
import { PaginationProps as CorePaginationProps } from '@alfalab/core-components-pagination';
|
|
3
|
+
export declare type PaginationProps = CorePaginationProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Количество строк на страницу
|
|
6
6
|
*/
|
|
@@ -22,5 +22,4 @@ type PaginationProps = CorePaginationProps & {
|
|
|
22
22
|
*/
|
|
23
23
|
dataTestId?: string;
|
|
24
24
|
};
|
|
25
|
-
declare const Pagination: FC<PaginationProps>;
|
|
26
|
-
export { PaginationProps, Pagination };
|
|
25
|
+
export declare const Pagination: FC<PaginationProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Component';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ReactNode, TableHTMLAttributes } from "react";
|
|
4
|
-
type TableProps = TableHTMLAttributes<HTMLTableElement> & {
|
|
1
|
+
import React, { ReactNode, TableHTMLAttributes } from 'react';
|
|
2
|
+
export declare type TableProps = TableHTMLAttributes<HTMLTableElement> & {
|
|
5
3
|
/**
|
|
6
4
|
* Компактный вид
|
|
7
5
|
*/
|
|
@@ -35,7 +33,7 @@ type TableProps = TableHTMLAttributes<HTMLTableElement> & {
|
|
|
35
33
|
*/
|
|
36
34
|
stickyHeader?: boolean;
|
|
37
35
|
};
|
|
38
|
-
declare const Table: React.ForwardRefExoticComponent<React.TableHTMLAttributes<HTMLTableElement> & {
|
|
36
|
+
export declare const Table: React.ForwardRefExoticComponent<React.TableHTMLAttributes<HTMLTableElement> & {
|
|
39
37
|
/**
|
|
40
38
|
* Компактный вид
|
|
41
39
|
*/
|
|
@@ -69,4 +67,3 @@ declare const Table: React.ForwardRefExoticComponent<React.TableHTMLAttributes<H
|
|
|
69
67
|
*/
|
|
70
68
|
stickyHeader?: boolean | undefined;
|
|
71
69
|
} & React.RefAttributes<HTMLTableElement>>;
|
|
72
|
-
export { TableProps, Table };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Component';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
|
+
import { TextAlignProperty } from '../../typings';
|
|
3
|
+
export declare type ColumnConfiguration = {
|
|
4
|
+
width?: string | number;
|
|
5
|
+
textAlign?: TextAlignProperty;
|
|
6
|
+
hidden?: boolean;
|
|
7
|
+
index: number;
|
|
8
|
+
};
|
|
9
|
+
export declare type TableContextType = {
|
|
10
|
+
columnsConfiguration: ColumnConfiguration[];
|
|
11
|
+
stickyHeader: boolean;
|
|
12
|
+
compactView: boolean;
|
|
13
|
+
compactHorizontal: boolean;
|
|
14
|
+
wrapperRef: RefObject<HTMLDivElement>;
|
|
15
|
+
};
|
|
16
|
+
export declare const DEFAULT_TABLE_CONTEXT: TableContextType;
|
|
17
|
+
export declare const TableContext: React.Context<TableContextType>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { HTMLAttributes } from "react";
|
|
4
|
-
type TBodyProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
export declare type TBodyProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
5
3
|
/**
|
|
6
4
|
* Дополнительный класс
|
|
7
5
|
*/
|
|
@@ -11,7 +9,7 @@ type TBodyProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
|
11
9
|
*/
|
|
12
10
|
dataTestId?: string;
|
|
13
11
|
};
|
|
14
|
-
declare const TBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
12
|
+
export declare const TBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
15
13
|
/**
|
|
16
14
|
* Дополнительный класс
|
|
17
15
|
*/
|
|
@@ -21,4 +19,3 @@ declare const TBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTa
|
|
|
21
19
|
*/
|
|
22
20
|
dataTestId?: string | undefined;
|
|
23
21
|
} & React.RefAttributes<HTMLTableSectionElement>>;
|
|
24
|
-
export { TBodyProps, TBody };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Component';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { TdHTMLAttributes } from "react";
|
|
4
|
-
type TCellProps = TdHTMLAttributes<HTMLTableCellElement> & {
|
|
1
|
+
import React, { TdHTMLAttributes } from 'react';
|
|
2
|
+
export declare type TCellProps = TdHTMLAttributes<HTMLTableCellElement> & {
|
|
5
3
|
/**
|
|
6
4
|
* Дополнительный класс
|
|
7
5
|
*/
|
|
@@ -15,5 +13,4 @@ type TCellProps = TdHTMLAttributes<HTMLTableCellElement> & {
|
|
|
15
13
|
*/
|
|
16
14
|
index?: number;
|
|
17
15
|
};
|
|
18
|
-
declare const TCell: ({ className, style, dataTestId, children, index, ...restProps }: TCellProps) => React.JSX.Element | null;
|
|
19
|
-
export { TCellProps, TCell };
|
|
16
|
+
export declare const TCell: ({ className, style, dataTestId, children, index, ...restProps }: TCellProps) => React.JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Component';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { ReactNode, Ref } from 'react';
|
|
2
|
+
import { TRowProps } from '../trow';
|
|
3
|
+
export declare type TExpandableRowProps = TRowProps & {
|
|
4
|
+
defaultExpanded?: boolean;
|
|
5
|
+
expanded?: boolean;
|
|
6
|
+
onToggle?: (expanded: boolean) => void;
|
|
7
|
+
renderContent: (expanded: boolean) => ReactNode;
|
|
8
|
+
rowRef?: Ref<HTMLTableRowElement>;
|
|
9
|
+
};
|
|
10
|
+
export declare const TExpandableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & {
|
|
11
|
+
children: React.ReactElement<import("..").TCellProps, ({ className, style, dataTestId, children, index, ...restProps }: import("..").TCellProps) => React.JSX.Element | null> | React.ReactElement<import("..").TCellProps, ({ className, style, dataTestId, children, index, ...restProps }: import("..").TCellProps) => React.JSX.Element | null>[];
|
|
12
|
+
className?: string | undefined;
|
|
13
|
+
selected?: boolean | undefined;
|
|
14
|
+
withoutBorder?: boolean | undefined;
|
|
15
|
+
dataTestId?: string | undefined;
|
|
16
|
+
} & {
|
|
17
|
+
defaultExpanded?: boolean | undefined;
|
|
18
|
+
expanded?: boolean | undefined;
|
|
19
|
+
onToggle?: ((expanded: boolean) => void) | undefined;
|
|
20
|
+
renderContent: (expanded: boolean) => ReactNode;
|
|
21
|
+
rowRef?: React.Ref<HTMLTableRowElement> | undefined;
|
|
22
|
+
} & React.RefAttributes<HTMLTableRowElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Component';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { HTMLAttributes } from "react";
|
|
4
|
-
type THeadProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
export declare type THeadProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
5
3
|
/**
|
|
6
4
|
* Дополнительный класс
|
|
7
5
|
*/
|
|
@@ -15,5 +13,4 @@ type THeadProps = HTMLAttributes<HTMLTableSectionElement> & {
|
|
|
15
13
|
*/
|
|
16
14
|
dataTestId?: string;
|
|
17
15
|
};
|
|
18
|
-
declare const THead: React.FC<THeadProps>;
|
|
19
|
-
export { THeadProps, THead };
|
|
16
|
+
export declare const THead: React.FC<THeadProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Component';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import { TextAlignProperty } from "../../typings";
|
|
5
|
-
type THeadCellProps = ThHTMLAttributes<HTMLHeadingElement> & {
|
|
1
|
+
import React, { ThHTMLAttributes } from 'react';
|
|
2
|
+
import { TextAlignProperty } from '../../typings';
|
|
3
|
+
export declare type THeadCellProps = ThHTMLAttributes<HTMLHeadingElement> & {
|
|
6
4
|
/**
|
|
7
5
|
* Дополнительный класс
|
|
8
6
|
*/
|
|
@@ -24,5 +22,4 @@ type THeadCellProps = ThHTMLAttributes<HTMLHeadingElement> & {
|
|
|
24
22
|
*/
|
|
25
23
|
dataTestId?: string;
|
|
26
24
|
};
|
|
27
|
-
declare const THeadCell: ({ children, className, dataTestId, style, width, textAlign, hidden, ...restProps }: THeadCellProps) => React.JSX.Element | null;
|
|
28
|
-
export { THeadCellProps, THeadCell };
|
|
25
|
+
export declare const THeadCell: ({ children, className, dataTestId, style, width, textAlign, hidden, ...restProps }: THeadCellProps) => React.JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Component';
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
type TCellElement = React.ReactElement<TCellProps, typeof TCell>;
|
|
6
|
-
type TRowProps = HTMLAttributes<HTMLTableRowElement> & {
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
import { TCell, TCellProps } from '../tcell';
|
|
3
|
+
declare type TCellElement = React.ReactElement<TCellProps, typeof TCell>;
|
|
4
|
+
export declare type TRowProps = HTMLAttributes<HTMLTableRowElement> & {
|
|
7
5
|
/**
|
|
8
6
|
* Компоненты ячеек
|
|
9
7
|
*/
|
|
@@ -25,7 +23,7 @@ type TRowProps = HTMLAttributes<HTMLTableRowElement> & {
|
|
|
25
23
|
*/
|
|
26
24
|
dataTestId?: string;
|
|
27
25
|
};
|
|
28
|
-
declare const TRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & {
|
|
26
|
+
export declare const TRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & {
|
|
29
27
|
/**
|
|
30
28
|
* Компоненты ячеек
|
|
31
29
|
*/
|
|
@@ -47,4 +45,4 @@ declare const TRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTab
|
|
|
47
45
|
*/
|
|
48
46
|
dataTestId?: string | undefined;
|
|
49
47
|
} & React.RefAttributes<HTMLTableRowElement>>;
|
|
50
|
-
export {
|
|
48
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Component';
|