@alfalab/core-components-table 2.10.16 → 3.0.0-snapshot-6a9d3fc
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.d.ts +8 -9
- package/component.js +19 -18
- package/component.js.map +1 -0
- package/components/index.d.ts +9 -9
- package/components/index.js +19 -18
- package/components/index.js.map +1 -0
- package/components/pagination/Component.d.ts +3 -4
- 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.d.ts +1 -1
- 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.d.ts +2 -3
- 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.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +2 -4
- package/components/table/utils.js +3 -2
- package/components/table/utils.js.map +1 -0
- package/components/table-context/index.d.ts +6 -9
- package/components/table-context/index.js +1 -0
- package/components/table-context/index.js.map +1 -0
- package/components/tbody/Component.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +5 -8
- 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.d.ts +1 -1
- 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.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +4 -7
- 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.d.ts +1 -1
- 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.d.ts +6 -8
- 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.d.ts +1 -1
- 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.d.ts +3 -5
- 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.d.ts +1 -1
- 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.d.ts +2 -5
- 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.d.ts +2 -5
- 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.d.ts +2 -5
- 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.d.ts +8 -9
- package/cssm/component.js +19 -18
- package/cssm/component.js.map +1 -0
- package/cssm/components/index.d.ts +9 -9
- package/cssm/components/index.js +19 -18
- package/cssm/components/index.js.map +1 -0
- package/cssm/components/pagination/Component.d.ts +3 -4
- package/cssm/components/pagination/Component.js +7 -6
- package/cssm/components/pagination/Component.js.map +1 -0
- package/cssm/components/pagination/index.d.ts +1 -1
- 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.d.ts +2 -3
- 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.d.ts +3 -6
- package/cssm/components/table/Component.js +5 -4
- package/cssm/components/table/Component.js.map +1 -0
- package/cssm/components/table/index.d.ts +1 -1
- 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.d.ts +2 -4
- package/cssm/components/table/utils.js +3 -2
- package/cssm/components/table/utils.js.map +1 -0
- package/cssm/components/table-context/index.d.ts +6 -9
- package/cssm/components/table-context/index.js +1 -0
- package/cssm/components/table-context/index.js.map +1 -0
- package/cssm/components/tbody/Component.d.ts +3 -6
- package/cssm/components/tbody/Component.js +1 -0
- package/cssm/components/tbody/Component.js.map +1 -0
- package/cssm/components/tbody/index.d.ts +1 -1
- 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.d.ts +3 -6
- package/cssm/components/tcell/Component.js +5 -4
- package/cssm/components/tcell/Component.js.map +1 -0
- package/cssm/components/tcell/index.d.ts +1 -1
- 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.d.ts +5 -8
- 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.d.ts +1 -1
- 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.d.ts +3 -6
- package/cssm/components/thead/Component.js +1 -0
- package/cssm/components/thead/Component.js.map +1 -0
- package/cssm/components/thead/index.d.ts +1 -1
- 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.d.ts +4 -7
- 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.d.ts +1 -1
- 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.d.ts +6 -8
- package/cssm/components/trow/Component.js +1 -0
- package/cssm/components/trow/Component.js.map +1 -0
- package/cssm/components/trow/index.d.ts +1 -1
- 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.d.ts +3 -5
- 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.d.ts +1 -1
- 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.d.ts +2 -5
- 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.d.ts +2 -5
- 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.d.ts +2 -5
- 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.d.ts +1 -1
- package/cssm/index.js +1 -0
- package/cssm/index.js.map +1 -0
- package/cssm/typings.d.ts +1 -2
- package/cssm/typings.js +1 -0
- package/cssm/typings.js.map +1 -0
- package/cssm/utils.d.ts +1 -3
- package/cssm/utils.js +1 -0
- package/cssm/utils.js.map +1 -0
- package/esm/component.d.ts +8 -9
- package/esm/component.js +1 -0
- package/esm/component.js.map +1 -0
- package/esm/components/index.d.ts +9 -9
- package/esm/components/index.js +1 -0
- package/esm/components/index.js.map +1 -0
- package/esm/components/pagination/Component.d.ts +3 -4
- 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.d.ts +1 -1
- 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.d.ts +2 -3
- 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.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +2 -4
- package/esm/components/table/utils.js +1 -0
- package/esm/components/table/utils.js.map +1 -0
- package/esm/components/table-context/index.d.ts +6 -9
- package/esm/components/table-context/index.js +1 -0
- package/esm/components/table-context/index.js.map +1 -0
- package/esm/components/tbody/Component.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +5 -8
- 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.d.ts +1 -1
- 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.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +4 -7
- 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.d.ts +1 -1
- 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.d.ts +6 -8
- 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.d.ts +1 -1
- 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.d.ts +3 -5
- 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.d.ts +1 -1
- 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.d.ts +2 -5
- 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.d.ts +2 -5
- 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.d.ts +2 -5
- 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.d.ts +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -0
- package/esm/typings.d.ts +1 -2
- package/esm/typings.js +1 -0
- package/esm/typings.js.map +1 -0
- package/esm/utils.d.ts +1 -3
- package/esm/utils.js +1 -0
- package/esm/utils.js.map +1 -0
- package/index.d.ts +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -0
- package/modern/component.d.ts +8 -9
- package/modern/component.js +1 -0
- package/modern/component.js.map +1 -0
- package/modern/components/index.d.ts +9 -9
- package/modern/components/index.js +1 -0
- package/modern/components/index.js.map +1 -0
- package/modern/components/pagination/Component.d.ts +3 -4
- 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.d.ts +1 -1
- 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.d.ts +2 -3
- 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.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +2 -4
- package/modern/components/table/utils.js +1 -0
- package/modern/components/table/utils.js.map +1 -0
- package/modern/components/table-context/index.d.ts +6 -9
- package/modern/components/table-context/index.js +1 -0
- package/modern/components/table-context/index.js.map +1 -0
- package/modern/components/tbody/Component.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +5 -8
- 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.d.ts +1 -1
- 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.d.ts +3 -6
- 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.d.ts +1 -1
- 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.d.ts +4 -7
- 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.d.ts +1 -1
- 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.d.ts +6 -8
- 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.d.ts +1 -1
- 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.d.ts +3 -5
- 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.d.ts +1 -1
- 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.d.ts +2 -5
- 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.d.ts +2 -5
- 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.d.ts +2 -5
- 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.d.ts +1 -1
- package/modern/index.js +1 -0
- package/modern/index.js.map +1 -0
- package/modern/typings.d.ts +1 -2
- package/modern/typings.js +1 -0
- package/modern/typings.js.map +1 -0
- package/modern/utils.d.ts +1 -3
- package/modern/utils.js +1 -0
- package/modern/utils.js.map +1 -0
- package/moderncssm/component.d.ts +8 -9
- package/moderncssm/component.js +1 -0
- package/moderncssm/component.js.map +1 -0
- package/moderncssm/components/index.d.ts +9 -9
- package/moderncssm/components/index.js +1 -0
- package/moderncssm/components/index.js.map +1 -0
- package/moderncssm/components/pagination/Component.d.ts +3 -4
- package/moderncssm/components/pagination/Component.js +1 -0
- package/moderncssm/components/pagination/Component.js.map +1 -0
- package/moderncssm/components/pagination/index.d.ts +1 -1
- 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.d.ts +2 -3
- 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.d.ts +3 -6
- package/moderncssm/components/table/Component.js +1 -0
- package/moderncssm/components/table/Component.js.map +1 -0
- package/moderncssm/components/table/index.d.ts +1 -1
- 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.d.ts +2 -4
- package/moderncssm/components/table/utils.js +1 -0
- package/moderncssm/components/table/utils.js.map +1 -0
- package/moderncssm/components/table-context/index.d.ts +6 -9
- package/moderncssm/components/table-context/index.js +1 -0
- package/moderncssm/components/table-context/index.js.map +1 -0
- package/moderncssm/components/tbody/Component.d.ts +3 -6
- package/moderncssm/components/tbody/Component.js +1 -0
- package/moderncssm/components/tbody/Component.js.map +1 -0
- package/moderncssm/components/tbody/index.d.ts +1 -1
- 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.d.ts +3 -6
- package/moderncssm/components/tcell/Component.js +1 -0
- package/moderncssm/components/tcell/Component.js.map +1 -0
- package/moderncssm/components/tcell/index.d.ts +1 -1
- 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.d.ts +5 -8
- 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.d.ts +1 -1
- 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.d.ts +3 -6
- package/moderncssm/components/thead/Component.js +1 -0
- package/moderncssm/components/thead/Component.js.map +1 -0
- package/moderncssm/components/thead/index.d.ts +1 -1
- 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.d.ts +4 -7
- 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.d.ts +1 -1
- 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.d.ts +6 -8
- package/moderncssm/components/trow/Component.js +1 -0
- package/moderncssm/components/trow/Component.js.map +1 -0
- package/moderncssm/components/trow/index.d.ts +1 -1
- 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.d.ts +3 -5
- 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.d.ts +1 -1
- 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.d.ts +2 -5
- 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.d.ts +2 -5
- 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.d.ts +2 -5
- 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.d.ts +1 -1
- package/moderncssm/index.js +1 -0
- package/moderncssm/index.js.map +1 -0
- package/moderncssm/typings.d.ts +1 -2
- package/moderncssm/typings.js +1 -0
- package/moderncssm/typings.js.map +1 -0
- package/moderncssm/utils.d.ts +1 -3
- package/moderncssm/utils.js +1 -0
- package/moderncssm/utils.js.map +1 -0
- package/package.json +6 -6
- package/typings.d.ts +1 -2
- package/typings.js +1 -0
- package/typings.js.map +1 -0
- package/utils.d.ts +1 -3
- package/utils.js +1 -0
- package/utils.js.map +1 -0
|
@@ -1,39 +1,18 @@
|
|
|
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
3
|
--color-light-neutral-400: #d2d3d9;
|
|
6
|
-
--color-light-text-primary: rgba(3, 3, 6, 0.88);
|
|
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-text-primary: rgba(3, 3, 6, 0.88);
|
|
9
5
|
} :root {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/* Hard up */
|
|
16
|
-
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
17
|
-
|
|
18
|
-
/* новые значения, используйте их */
|
|
19
|
-
} :root { /* deprecated */
|
|
20
|
-
--gap-2xs: 4px; /* deprecated */ /* deprecated */
|
|
21
|
-
--gap-s: 12px; /* deprecated */ /* deprecated */
|
|
22
|
-
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */
|
|
23
|
-
--gap-2xl: 32px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
24
|
-
|
|
25
|
-
/* новые значения, используйте их */
|
|
26
|
-
|
|
27
|
-
/* no-unit может приводить к проблемам в calc (#1559) */
|
|
28
|
-
/* stylelint-disable-next-line length-zero-no-unit */
|
|
6
|
+
--gap-2xs: 4px;
|
|
7
|
+
--gap-s: 12px;
|
|
8
|
+
--gap-m: 16px;
|
|
9
|
+
--gap-2xl: 32px;
|
|
29
10
|
--gap-0: 0px;
|
|
30
11
|
--gap-4: var(--gap-2xs);
|
|
31
12
|
--gap-12: var(--gap-s);
|
|
32
13
|
--gap-16: var(--gap-m);
|
|
33
14
|
--gap-32: var(--gap-2xl);
|
|
34
|
-
}
|
|
35
|
-
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
36
|
-
} /* сбрасывает синюю подсветку при нажатии */ .table__component_17604 {
|
|
15
|
+
} .table__component_vsqtz {
|
|
37
16
|
font-size: 12px;
|
|
38
17
|
line-height: 16px;
|
|
39
18
|
font-weight: 500;
|
|
@@ -48,23 +27,23 @@
|
|
|
48
27
|
background: var(--color-light-base-bg-primary);
|
|
49
28
|
vertical-align: top;
|
|
50
29
|
box-sizing: border-box
|
|
51
|
-
} .
|
|
30
|
+
} .table__component_vsqtz:first-child {
|
|
52
31
|
padding-left: var(--gap-16);
|
|
53
|
-
} .
|
|
32
|
+
} .table__component_vsqtz:last-child {
|
|
54
33
|
padding-right: var(--gap-16);
|
|
55
|
-
} .
|
|
34
|
+
} .table__component_vsqtz:not(.table__stickyHeader_vsqtz) {
|
|
56
35
|
position: relative;
|
|
57
|
-
} .
|
|
36
|
+
} .table__sortable_vsqtz {
|
|
58
37
|
cursor: pointer;
|
|
59
|
-
} .
|
|
38
|
+
} .table__sorted_vsqtz {
|
|
60
39
|
color: var(--color-light-text-primary);
|
|
61
|
-
} .
|
|
40
|
+
} .table__stickyHeader_vsqtz {
|
|
62
41
|
top: var(--gap-0);
|
|
63
42
|
position: sticky;
|
|
64
43
|
box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
|
|
65
44
|
border: none;
|
|
66
45
|
z-index: 1;
|
|
67
|
-
} .
|
|
46
|
+
} .table__compactHorizontal_vsqtz {
|
|
68
47
|
padding-left: 6px;
|
|
69
48
|
padding-right: 6px;
|
|
70
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './Component';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var Component = require('./Component.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.THeadCell =
|
|
9
|
+
exports.THeadCell = Component.THeadCell;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('./index.css');
|
|
4
|
+
|
|
5
|
+
var styles = {"component":"table__component_vsqtz","stickyHeader":"table__stickyHeader_vsqtz","compactHorizontal":"table__compactHorizontal_vsqtz"};
|
|
6
|
+
|
|
7
|
+
module.exports = styles;
|
|
8
|
+
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/thead-cell/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.component {\n @mixin paragraph_caps;\n\n line-height: 20px;\n text-align: left;\n color: var(--color-light-text-primary);\n padding: var(--gap-32) var(--gap-12) var(--gap-4);\n border-bottom: 1px solid var(--color-light-neutral-400);\n background: var(--color-light-base-bg-primary);\n vertical-align: top;\n box-sizing: border-box;\n\n &:first-child {\n padding-left: var(--gap-16);\n }\n\n &:last-child {\n padding-right: var(--gap-16);\n }\n\n &:not(.stickyHeader) {\n position: relative;\n }\n}\n\n.sortable {\n cursor: pointer;\n}\n\n.sorted {\n color: var(--color-light-text-primary);\n}\n\n.stickyHeader {\n top: var(--gap-0);\n position: sticky;\n box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);\n border: none;\n z-index: 1;\n}\n\n.compactHorizontal {\n padding-left: 6px;\n padding-right: 6px;\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,WAAW,CAAC,wBAAwB,CAAC,cAAc,CAAC,2BAA2B,CAAmE,mBAAmB,CAAC,gCAAgC,CAAC;;;;"}
|
|
@@ -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 {};
|
|
@@ -5,24 +5,23 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
|
+
var index_module = require('./index.module.css.js');
|
|
8
9
|
|
|
9
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
11
|
|
|
11
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
13
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
13
14
|
|
|
14
|
-
var styles = {"component":"table__component_lqtqh","withoutBorder":"table__withoutBorder_lqtqh","clickable":"table__clickable_lqtqh","selected":"table__selected_lqtqh"};
|
|
15
|
-
require('./index.css')
|
|
16
|
-
|
|
17
15
|
var TRow = React.forwardRef(function (_a, ref) {
|
|
18
16
|
var _b;
|
|
19
17
|
var children = _a.children, className = _a.className, selected = _a.selected, withoutBorder = _a.withoutBorder, dataTestId = _a.dataTestId, restProps = tslib.__rest(_a, ["children", "className", "selected", "withoutBorder", "dataTestId"]);
|
|
20
|
-
return (React__default.default.createElement("tr", tslib.__assign({ className: cn__default.default(
|
|
21
|
-
_b[
|
|
22
|
-
_b[
|
|
23
|
-
_b[
|
|
18
|
+
return (React__default.default.createElement("tr", tslib.__assign({ className: cn__default.default(index_module.component, className, (_b = {},
|
|
19
|
+
_b[index_module.clickable] = typeof restProps.onClick !== 'undefined',
|
|
20
|
+
_b[index_module.selected] = selected,
|
|
21
|
+
_b[index_module.withoutBorder] = withoutBorder,
|
|
24
22
|
_b)), "data-test-id": dataTestId, ref: ref }, restProps), React__default.default.Children.map(children, function (child, index) { return React__default.default.cloneElement(child, { index: index }); })));
|
|
25
23
|
});
|
|
26
24
|
TRow.displayName = 'TRow';
|
|
27
25
|
|
|
28
26
|
exports.TRow = TRow;
|
|
27
|
+
//# sourceMappingURL=Component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../../src/components/trow/Component.tsx"],"sourcesContent":["import React, { forwardRef, HTMLAttributes } from 'react';\nimport cn from 'classnames';\n\nimport { TCell, TCellProps } from '../tcell';\n\nimport styles from './index.module.css';\n\ntype TCellElement = React.ReactElement<TCellProps, typeof TCell>;\n\nexport type TRowProps = HTMLAttributes<HTMLTableRowElement> & {\n /**\n * Компоненты ячеек\n */\n children: TCellElement | TCellElement[];\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Стиль выбранной строки\n */\n selected?: boolean;\n\n /**\n * Убирает нижнюю границу\n */\n withoutBorder?: boolean;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const TRow = forwardRef<HTMLTableRowElement, TRowProps>(\n ({ children, className, selected, withoutBorder, dataTestId, ...restProps }, ref) => (\n <tr\n className={cn(styles.component, className, {\n [styles.clickable]: typeof restProps.onClick !== 'undefined',\n [styles.selected]: selected,\n [styles.withoutBorder]: withoutBorder,\n })}\n data-test-id={dataTestId}\n ref={ref}\n {...restProps}\n >\n {React.Children.map(children, (child, index) => React.cloneElement(child, { index }))}\n </tr>\n ),\n);\n\nTRow.displayName = 'TRow';\n"],"names":["forwardRef","__rest","React","__assign","cn","styles"],"mappings":";;;;;;;;;;;;;;IAoCa,IAAI,GAAGA,gBAAU,CAC1B,UAAC,EAA0E,EAAE,GAAG,EAAA;;AAA7E,IAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA,EAAE,SAAS,GAAA,EAAA,CAAA,SAAA,EAAE,QAAQ,GAAA,EAAA,CAAA,QAAA,EAAE,aAAa,GAAA,EAAA,CAAA,aAAA,EAAE,UAAU,GAAA,EAAA,CAAA,UAAA,EAAK,SAAS,GAAAC,YAAA,CAAA,EAAA,EAAxE,oEAA0E,CAAF;IAAY,QACjFC,sBACI,CAAA,aAAA,CAAA,IAAA,EAAAC,cAAA,CAAA,EAAA,SAAS,EAAEC,mBAAE,CAACC,YAAM,CAAC,SAAS,EAAE,SAAS,GAAA,EAAA,GAAA,EAAA;YACrC,EAAC,CAAAA,YAAM,CAAC,SAAS,CAAA,GAAG,OAAO,SAAS,CAAC,OAAO,KAAK,WAAW;AAC5D,YAAA,EAAA,CAACA,YAAM,CAAC,QAAQ,CAAA,GAAG,QAAQ;AAC3B,YAAA,EAAA,CAACA,YAAM,CAAC,aAAa,CAAA,GAAG,aAAa;AACvC,YAAA,EAAA,EAAA,EAAA,cAAA,EACY,UAAU,EACxB,GAAG,EAAE,GAAG,IACJ,SAAS,CAAA,EAEZH,sBAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAC,KAAK,EAAE,KAAK,EAAA,EAAK,OAAAA,sBAAK,CAAC,YAAY,CAAC,KAAK,EAAE,EAAE,KAAK,EAAA,KAAA,EAAE,CAAC,CAAA,EAAA,CAAC,CACpF;AACR,CAAA;AAGL,IAAI,CAAC,WAAW,GAAG,MAAM;;;;"}
|
|
@@ -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_lqtqh {
|
|
5
|
+
--color-static-graphic-solitude: #e8f2fe;
|
|
6
|
+
} .table__component_dvk7b {
|
|
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_dvk7b:first-child td {
|
|
34
13
|
border-top: 0;
|
|
35
|
-
} .
|
|
14
|
+
} .table__withoutBorder_dvk7b td {
|
|
36
15
|
border: none;
|
|
37
|
-
} .
|
|
16
|
+
} .table__clickable_dvk7b {
|
|
38
17
|
cursor: pointer
|
|
39
|
-
} .
|
|
18
|
+
} .table__clickable_dvk7b:hover {
|
|
40
19
|
background-color: var(--color-light-base-bg-secondary);
|
|
41
|
-
} .
|
|
42
|
-
background-color: #f2f8ff
|
|
43
|
-
} .
|
|
20
|
+
} .table__selected_dvk7b {
|
|
21
|
+
background-color: #f2f8ff
|
|
22
|
+
} .table__selected_dvk7b:hover {
|
|
44
23
|
background-color: var(--color-static-graphic-solitude);
|
|
45
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './Component';
|
package/components/trow/index.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var Component = require('./Component.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.TRow =
|
|
9
|
+
exports.TRow = Component.TRow;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('./index.css');
|
|
4
|
+
|
|
5
|
+
var styles = {"component":"table__component_dvk7b","withoutBorder":"table__withoutBorder_dvk7b","clickable":"table__clickable_dvk7b","selected":"table__selected_dvk7b"};
|
|
6
|
+
|
|
7
|
+
module.exports = styles;
|
|
8
|
+
//# 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 '@alfalab/core-components-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,aAAe,CAAC,WAAW,CAAC,wBAAwB,CAAC,eAAe,CAAC,4BAA4B,CAAC,WAAW,CAAC,wBAAwB,CAAC,UAAU,CAAC,uBAAuB,CAAC;;;;"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import { THeadCellProps } from
|
|
4
|
-
type TSortableHeadCellProps = THeadCellProps & {
|
|
2
|
+
import { THeadCellProps } from '../thead-cell';
|
|
3
|
+
export declare type TSortableHeadCellProps = THeadCellProps & {
|
|
5
4
|
isSortedDesc?: boolean;
|
|
6
5
|
defaultIsSortedDesc?: boolean;
|
|
7
6
|
onSort?: () => void;
|
|
8
7
|
};
|
|
9
|
-
declare const TSortableHeadCell: ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }: TSortableHeadCellProps) => React.JSX.Element;
|
|
10
|
-
export { TSortableHeadCellProps, TSortableHeadCell };
|
|
8
|
+
export declare const TSortableHeadCell: ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }: TSortableHeadCellProps) => React.JSX.Element;
|
|
@@ -5,19 +5,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
8
|
+
var Component = require('../thead-cell/Component.js');
|
|
9
|
+
var sortIconAsc = require('./sort-icon-asc.js');
|
|
10
|
+
var sortIconDesc = require('./sort-icon-desc.js');
|
|
11
|
+
var sortIconUnset = require('./sort-icon-unset.js');
|
|
12
|
+
var index_module = require('./index.module.css.js');
|
|
12
13
|
|
|
13
14
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
14
15
|
|
|
15
16
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
17
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
17
18
|
|
|
18
|
-
var styles = {"content":"table__content_ab557","icon":"table__icon_ab557","reverse":"table__reverse_ab557","sorted":"table__sorted_ab557"};
|
|
19
|
-
require('./index.css')
|
|
20
|
-
|
|
21
19
|
var TSortableHeadCell = function (_a) {
|
|
22
20
|
var _b, _c;
|
|
23
21
|
var children = _a.children, className = _a.className, defaultIsSortedDesc = _a.defaultIsSortedDesc, isSortedDesc = _a.isSortedDesc, textAlign = _a.textAlign, onSort = _a.onSort, restProps = tslib.__rest(_a, ["children", "className", "defaultIsSortedDesc", "isSortedDesc", "textAlign", "onSort"]);
|
|
@@ -26,15 +24,16 @@ var TSortableHeadCell = function (_a) {
|
|
|
26
24
|
if (value === undefined)
|
|
27
25
|
value = defaultIsSortedDesc;
|
|
28
26
|
if (typeof value === 'boolean')
|
|
29
|
-
return value ?
|
|
30
|
-
return
|
|
27
|
+
return value ? sortIconDesc.SortIconDesc : sortIconAsc.SortIconAsc;
|
|
28
|
+
return sortIconUnset.SortIconUnset;
|
|
31
29
|
}, [defaultIsSortedDesc, isSortedDesc]);
|
|
32
|
-
return (React__default.default.createElement(
|
|
33
|
-
React__default.default.createElement("div", { className: cn__default.default(
|
|
30
|
+
return (React__default.default.createElement(Component.THeadCell, tslib.__assign({ className: className, textAlign: textAlign }, restProps),
|
|
31
|
+
React__default.default.createElement("div", { className: cn__default.default(index_module.content, (_b = {}, _b[index_module.reverse] = textAlign === 'right', _b)) },
|
|
34
32
|
children,
|
|
35
|
-
React__default.default.createElement(SortIcon, { onClick: onSort, className: cn__default.default(
|
|
36
|
-
_c[
|
|
33
|
+
React__default.default.createElement(SortIcon, { onClick: onSort, className: cn__default.default(index_module.icon, (_c = {},
|
|
34
|
+
_c[index_module.sorted] = isSortedDesc !== undefined,
|
|
37
35
|
_c)) }))));
|
|
38
36
|
};
|
|
39
37
|
|
|
40
38
|
exports.TSortableHeadCell = TSortableHeadCell;
|
|
39
|
+
//# 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":["__rest","useMemo","SortIconDesc","SortIconAsc","SortIconUnset","React","THeadCell","__assign","cn","styles"],"mappings":";;;;;;;;;;;;;;;;;;AAiBO,IAAM,iBAAiB,GAAG,UAAC,EAQT,EAAA;;IAPrB,IAAA,QAAQ,cAAA,EACR,SAAS,eAAA,EACT,mBAAmB,yBAAA,EACnB,YAAY,kBAAA,EACZ,SAAS,eAAA,EACT,MAAM,YAAA,EACH,SAAS,GAPkBA,YAAA,CAAA,EAAA,EAAA,CAAA,UAAA,EAAA,WAAA,EAAA,qBAAA,EAAA,cAAA,EAAA,WAAA,EAAA,QAAA,CAQjC,CADe;IAEZ,IAAM,QAAQ,GAAGC,aAAO,CAAC,YAAA;QACrB,IAAI,KAAK,GAAG,YAAY;QAExB,IAAI,KAAK,KAAK,SAAS;YAAE,KAAK,GAAG,mBAAmB;QAEpD,IAAI,OAAO,KAAK,KAAK,SAAS;YAAE,OAAO,KAAK,GAAGC,yBAAY,GAAGC,uBAAW;AAEzE,QAAA,OAAOC,2BAAa;AACxB,KAAC,EAAE,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;AAEvC,IAAA,QACIC,sBAAA,CAAA,aAAA,CAACC,mBAAS,EAAAC,cAAA,CAAA,EAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAA,EAAM,SAAS,CAAA;AAChE,QAAAF,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAEG,mBAAE,CAACC,YAAM,CAAC,OAAO,GAAA,EAAA,GAAA,EAAA,EAAI,EAAC,CAAAA,YAAM,CAAC,OAAO,CAAA,GAAG,SAAS,KAAK,OAAO,EAAG,EAAA,EAAA,EAAA;YAC1E,QAAQ;AACT,YAAAJ,sBAAA,CAAA,aAAA,CAAC,QAAQ,EAAA,EACL,OAAO,EAAE,MAAM,EACf,SAAS,EAAEG,mBAAE,CAACC,YAAM,CAAC,IAAI,GAAA,EAAA,GAAA,EAAA;AACrB,oBAAA,EAAA,CAACA,YAAM,CAAC,MAAM,CAAG,GAAA,YAAY,KAAK,SAAS;wBAC7C,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_ab557 {
|
|
9
|
+
} .table__content_lqmqp {
|
|
31
10
|
display: flex;
|
|
32
11
|
align-items: flex-start;
|
|
33
|
-
} .
|
|
12
|
+
} .table__icon_lqmqp {
|
|
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_lqmqp:hover {
|
|
46
20
|
color: var(--color-light-neutral-translucent-1300);
|
|
47
|
-
} .
|
|
21
|
+
} .table__reverse_lqmqp {
|
|
48
22
|
flex-direction: row-reverse
|
|
49
|
-
} .
|
|
23
|
+
} .table__reverse_lqmqp .table__icon_lqmqp {
|
|
50
24
|
margin-left: var(--gap-0);
|
|
51
25
|
margin-right: var(--gap-8);
|
|
52
|
-
} .
|
|
26
|
+
} .table__sorted_lqmqp {
|
|
53
27
|
color: var(--color-light-status-info)
|
|
54
|
-
} .
|
|
28
|
+
} .table__sorted_lqmqp:hover {
|
|
55
29
|
color: var(--color-light-status-info);
|
|
56
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './Component';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var Component = require('./Component.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.TSortableHeadCell =
|
|
9
|
+
exports.TSortableHeadCell = Component.TSortableHeadCell;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -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 '@alfalab/core-components-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,aAAe,CAAC,SAAS,CAAC,sBAAsB,CAAC,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,sBAAsB,CAAC,QAAQ,CAAC,qBAAqB,CAAC;;;;"}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { SVGProps } from "react";
|
|
4
|
-
declare const SortIconAsc: React.FC<SVGProps<SVGSVGElement>>;
|
|
5
|
-
export { SortIconAsc };
|
|
1
|
+
import React, { SVGProps } from 'react';
|
|
2
|
+
export declare const SortIconAsc: React.FC<SVGProps<SVGSVGElement>>;
|
|
@@ -13,3 +13,4 @@ var SortIconAsc = function (props) { return (React__default.default.createElemen
|
|
|
13
13
|
React__default.default.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' }))); };
|
|
14
14
|
|
|
15
15
|
exports.SortIconAsc = SortIconAsc;
|
|
16
|
+
//# 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":["React","__assign"],"mappings":";;;;;;;;;;;AAEa,IAAA,WAAW,GAAsC,UAAC,KAAK,EAAK,EAAA,QACrEA,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAAC,cAAA,CAAA,EACI,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,IACN,KAAK,CAAA;IAETD,sBAAM,CAAA,aAAA,CAAA,MAAA,EAAA,EAAA,CAAC,EAAC,6UAA6U,EAAA,CAAG,CACtV,EACT;;;;"}
|