@tdesign/uniapp 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +43 -34
  3. package/dist/action-sheet/README.md +8 -3
  4. package/dist/avatar/README.md +3 -1
  5. package/dist/back-top/README.md +3 -1
  6. package/dist/badge/README.en-US.md +1 -0
  7. package/dist/badge/README.md +4 -1
  8. package/dist/badge/badge.css +1 -1
  9. package/dist/button/README.md +3 -1
  10. package/dist/button/button.vue +5 -0
  11. package/dist/calendar/README.md +3 -1
  12. package/dist/calendar/calendar.vue +6 -2
  13. package/dist/cascader/README.md +3 -1
  14. package/dist/cell/README.md +3 -1
  15. package/dist/checkbox/README.md +3 -1
  16. package/dist/col/README.md +3 -1
  17. package/dist/collapse/README.md +3 -1
  18. package/dist/color-picker/README.md +3 -1
  19. package/dist/common/common.ts +121 -5
  20. package/dist/common/src/index.js +0 -1
  21. package/dist/common/style/theme/index-light.css +282 -0
  22. package/dist/common/style/theme/index-light.less +9 -0
  23. package/dist/common/style/theme/raw/_components-light.less +8 -0
  24. package/dist/common/style/theme/raw/_light-only.less +181 -0
  25. package/dist/common/validator.ts +496 -0
  26. package/dist/config-provider/README.md +3 -1
  27. package/dist/count-down/README.md +3 -1
  28. package/dist/date-time-picker/README.md +3 -1
  29. package/dist/dialog/README.md +3 -1
  30. package/dist/divider/README.md +3 -1
  31. package/dist/drawer/README.md +3 -1
  32. package/dist/dropdown-item/dropdown-item.vue +2 -0
  33. package/dist/dropdown-menu/README.md +2 -2
  34. package/dist/dropdown-menu/dropdown-menu.vue +1 -1
  35. package/dist/empty/README.md +3 -1
  36. package/dist/fab/README.md +3 -1
  37. package/dist/fab/fab.vue +2 -2
  38. package/dist/fab/props.ts +1 -1
  39. package/dist/fab/type.ts +1 -1
  40. package/dist/footer/README.md +3 -1
  41. package/dist/form/README.en-US.md +2 -2
  42. package/dist/form/README.md +5 -3
  43. package/dist/form/form.vue +1 -1
  44. package/dist/form/type.ts +3 -3
  45. package/dist/form-item/form-item.css +6 -2
  46. package/dist/form-item/form-item.vue +30 -24
  47. package/dist/form-item/type.ts +2 -2
  48. package/dist/grid/README.md +3 -1
  49. package/dist/guide/README.md +3 -1
  50. package/dist/icon/README.md +10 -7
  51. package/dist/icon/icon.css +1633 -1624
  52. package/dist/image/README.md +3 -1
  53. package/dist/image-viewer/README.md +3 -1
  54. package/dist/index.js +13 -0
  55. package/dist/indexes/README.md +3 -1
  56. package/dist/indexes/computed.js +6 -2
  57. package/dist/indexes/indexes.css +7 -2
  58. package/dist/indexes/indexes.vue +1 -1
  59. package/dist/indexes/props.ts +5 -0
  60. package/dist/indexes/type.ts +5 -0
  61. package/dist/input/README.md +3 -1
  62. package/dist/input/input.vue +8 -32
  63. package/dist/link/README.md +3 -1
  64. package/dist/loading/README.md +3 -1
  65. package/dist/message/README.md +8 -3
  66. package/dist/mixins/page-scroll.d.ts +19 -0
  67. package/dist/mixins/skyline.js +1 -1
  68. package/dist/navbar/README.md +3 -1
  69. package/dist/notice-bar/README.md +3 -1
  70. package/dist/overlay/README.md +3 -1
  71. package/dist/picker/README.md +3 -1
  72. package/dist/popover/README.md +3 -1
  73. package/dist/popup/README.md +3 -1
  74. package/dist/progress/README.md +2 -2
  75. package/dist/pull-down-refresh/README.md +3 -1
  76. package/dist/qrcode/README.md +3 -1
  77. package/dist/radio/README.md +3 -1
  78. package/dist/rate/README.md +3 -1
  79. package/dist/rate/rate.css +1 -0
  80. package/dist/result/README.md +3 -1
  81. package/dist/search/README.md +3 -1
  82. package/dist/search/search.css +5 -0
  83. package/dist/search/search.vue +7 -12
  84. package/dist/segmented/README.en-US.md +42 -0
  85. package/dist/segmented/README.md +75 -0
  86. package/dist/segmented/props.ts +31 -0
  87. package/dist/segmented/segmented.css +66 -0
  88. package/dist/segmented/segmented.vue +174 -0
  89. package/dist/segmented/type.ts +41 -0
  90. package/dist/side-bar/README.md +3 -1
  91. package/dist/skeleton/README.md +3 -1
  92. package/dist/slider/README.md +3 -1
  93. package/dist/stepper/README.md +3 -1
  94. package/dist/steps/README.md +3 -1
  95. package/dist/sticky/README.md +3 -1
  96. package/dist/swipe-cell/README.md +3 -1
  97. package/dist/swiper/README.md +3 -1
  98. package/dist/switch/README.md +3 -1
  99. package/dist/tab-bar/README.md +3 -1
  100. package/dist/tab-bar-item/tab-bar-item.vue +4 -6
  101. package/dist/table/README.en-US.md +72 -0
  102. package/dist/table/README.md +117 -0
  103. package/dist/table/base-table-props.ts +105 -0
  104. package/dist/table/props.ts +94 -0
  105. package/dist/table/table.css +251 -0
  106. package/dist/table/table.vue +551 -0
  107. package/dist/table/type.ts +180 -0
  108. package/dist/tabs/README.md +3 -1
  109. package/dist/tabs/tabs.css +4 -0
  110. package/dist/tag/README.md +3 -1
  111. package/dist/textarea/README.md +3 -1
  112. package/dist/textarea/textarea.vue +1 -25
  113. package/dist/theme-light.css +282 -0
  114. package/dist/theme-light.css.d.ts +2 -0
  115. package/dist/theme-light.less +1 -0
  116. package/dist/theme-light.less.d.ts +2 -0
  117. package/dist/theme.css +467 -0
  118. package/dist/theme.css.d.ts +2 -0
  119. package/dist/theme.less +1 -0
  120. package/dist/theme.less.d.ts +2 -0
  121. package/dist/toast/README.md +3 -1
  122. package/dist/transition/README.md +4 -6
  123. package/dist/tree-select/README.md +3 -1
  124. package/dist/types/index.d.ts +17 -0
  125. package/dist/types/segmented.d.ts +7 -0
  126. package/dist/types/table.d.ts +7 -0
  127. package/dist/upload/README.md +3 -1
  128. package/dist/watermark/README.md +3 -1
  129. package/global.d.ts +2 -0
  130. package/package.json +66 -8
  131. package/script/postinstall.js +87 -0
  132. package/dist/common/src/superComponent.js +0 -5
  133. package/dist/common/validator.js +0 -210
  134. package/dist/script/postinstall.js +0 -46
@@ -0,0 +1,105 @@
1
+ /* eslint-disable */
2
+
3
+ /**
4
+ * 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
5
+ * */
6
+
7
+ import type { TdBaseTableProps } from '../table/type';
8
+ export default {
9
+ /** 是否显示表格边框 */
10
+ bordered: Boolean,
11
+ /** 单元格数据为空时呈现的内容 */
12
+ cellEmptyContent: {
13
+ type: String,
14
+ },
15
+ /** 列配置,泛型 T 指表格数据类型 */
16
+ columns: {
17
+ type: Array,
18
+ default: (): TdBaseTableProps['columns'] => [],
19
+ },
20
+ /** 数据源,泛型 T 指表格数据类型 */
21
+ data: {
22
+ type: Array,
23
+ default: (): TdBaseTableProps['data'] => [],
24
+ },
25
+ /** 空表格呈现样式,支持全局配置 `GlobalConfigProvider` */
26
+ empty: {
27
+ type: String,
28
+ default: '' as TdBaseTableProps['empty'],
29
+ },
30
+ /** 固定行(冻结行),示例:[M, N],表示冻结表头 M 行和表尾 N 行。M 和 N 值为 0 时,表示不冻结行 */
31
+ fixedRows: {
32
+ type: Array,
33
+ },
34
+ /** 表尾总结行 */
35
+ footerSummary: {
36
+ type: String,
37
+ },
38
+ /** 表格高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px。如果不是绝对固定表格高度,建议使用 `maxHeight` */
39
+ height: {
40
+ type: [String, Number],
41
+ },
42
+ /** 加载中状态。值为 `true` 会显示默认加载中样式,可以通过 Function 和 插槽 自定义加载状态呈现内容和样式。值为 `false` 则会取消加载状态 */
43
+ loading: {
44
+ type: [Boolean, null],
45
+ default: null as TdBaseTableProps['loading'],
46
+ },
47
+ /** 透传加载组件全部属性 */
48
+ loadingProps: {
49
+ type: Object,
50
+ },
51
+ /** 表格最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px */
52
+ maxHeight: {
53
+ type: [String, Number],
54
+ },
55
+ /** 唯一标识一行数据的字段名,来源于 `data` 中的字段。如果是字段嵌套多层,可以设置形如 `item.a.id` 的方法 */
56
+ rowKey: {
57
+ type: String,
58
+ default: 'id',
59
+ required: true,
60
+ },
61
+ /** 用于自定义合并单元格,泛型 T 指表格数据类型。示例:`({ row, col, rowIndex, colIndex }) => { rowspan: 2, colspan: 3 }` */
62
+ rowspanAndColspan: {
63
+ type: Function,
64
+ },
65
+ /** 是否显示表头 */
66
+ showHeader: {
67
+ type: Boolean,
68
+ default: true,
69
+ },
70
+ /** 是否显示斑马纹 */
71
+ stripe: Boolean,
72
+ /** 表格内容的总宽度,注意不是表格可见宽度。主要应用于 `table-layout: auto` 模式下的固定列显示。`tableContentWidth` 内容宽度的值必须大于表格可见宽度 */
73
+ tableContentWidth: {
74
+ type: String,
75
+ default: '',
76
+ },
77
+ /** 表格布局方式 */
78
+ tableLayout: {
79
+ type: String,
80
+ default: 'fixed' as TdBaseTableProps['tableLayout'],
81
+ validator(val: TdBaseTableProps['tableLayout']): boolean {
82
+ if (!val) return true;
83
+ return ['auto', 'fixed'].includes(val);
84
+ },
85
+ },
86
+ /** 行内容上下方向对齐 */
87
+ verticalAlign: {
88
+ type: String,
89
+ default: 'middle' as TdBaseTableProps['verticalAlign'],
90
+ validator(val: TdBaseTableProps['verticalAlign']): boolean {
91
+ if (!val) return true;
92
+ return ['top', 'middle', 'bottom'].includes(val);
93
+ },
94
+ },
95
+ /** 单元格点击时触发 */
96
+ onCellClick: {
97
+ type: Function,
98
+ default: () => ({}),
99
+ },
100
+ /** 行点击时触发,泛型 T 指表格数据类型 */
101
+ onRowClick: {
102
+ type: Function,
103
+ default: () => ({}),
104
+ },
105
+ };
@@ -0,0 +1,94 @@
1
+ /* eslint-disable */
2
+
3
+ /**
4
+ * 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
5
+ * */
6
+
7
+ import type { TdBaseTableProps } from '../table/type';
8
+ export default {
9
+ /** 是否显示表格边框 */
10
+ bordered: Boolean,
11
+ /** 单元格数据为空时呈现的内容 */
12
+ cellEmptyContent: {
13
+ type: String,
14
+ },
15
+ /** 列配置,泛型 T 指表格数据类型 */
16
+ columns: {
17
+ type: Array,
18
+ default: (): TdBaseTableProps['columns'] => [],
19
+ },
20
+ /** 数据源,泛型 T 指表格数据类型 */
21
+ data: {
22
+ type: Array,
23
+ default: (): TdBaseTableProps['data'] => [],
24
+ },
25
+ /** 空表格呈现样式,支持全局配置 `GlobalConfigProvider` */
26
+ empty: {
27
+ type: String,
28
+ default: '' as TdBaseTableProps['empty'],
29
+ },
30
+ /** 固定行(冻结行),示例:[M, N],表示冻结表头 M 行和表尾 N 行。M 和 N 值为 0 时,表示不冻结行 */
31
+ fixedRows: {
32
+ type: Array,
33
+ },
34
+ /** 表尾总结行 */
35
+ footerSummary: {
36
+ type: String,
37
+ },
38
+ /** 表格高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px。如果不是绝对固定表格高度,建议使用 `maxHeight` */
39
+ height: {
40
+ type: [String, Number],
41
+ },
42
+ /** 加载中状态。值为 `true` 会显示默认加载中样式,可以通过 Function 和 插槽 自定义加载状态呈现内容和样式。值为 `false` 则会取消加载状态 */
43
+ loading: {
44
+ type: [Boolean, null],
45
+ default: null as TdBaseTableProps['loading'],
46
+ },
47
+ /** 透传加载组件全部属性 */
48
+ loadingProps: {
49
+ type: Object,
50
+ },
51
+ /** 表格最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px */
52
+ maxHeight: {
53
+ type: [String, Number],
54
+ },
55
+ /** 唯一标识一行数据的字段名,来源于 `data` 中的字段。如果是字段嵌套多层,可以设置形如 `item.a.id` 的方法 */
56
+ rowKey: {
57
+ type: String,
58
+ default: 'id',
59
+ },
60
+ /** 用于自定义合并单元格,泛型 T 指表格数据类型。示例:`({ row, col, rowIndex, colIndex }) => { rowspan: 2, colspan: 3 }` */
61
+ rowspanAndColspan: {
62
+ type: Function,
63
+ },
64
+ /** 是否显示表头 */
65
+ showHeader: {
66
+ type: Boolean,
67
+ default: true,
68
+ },
69
+ /** 是否显示斑马纹 */
70
+ stripe: Boolean,
71
+ /** 表格内容的总宽度,注意不是表格可见宽度。主要应用于 `table-layout: auto` 模式下的固定列显示。`tableContentWidth` 内容宽度的值必须大于表格可见宽度 */
72
+ tableContentWidth: {
73
+ type: String,
74
+ default: '',
75
+ },
76
+ /** 表格布局方式 */
77
+ tableLayout: {
78
+ type: String,
79
+ default: 'fixed' as TdBaseTableProps['tableLayout'],
80
+ validator(val: TdBaseTableProps['tableLayout']): boolean {
81
+ if (!val) return true;
82
+ return ['auto', 'fixed'].includes(val);
83
+ },
84
+ },
85
+ /** 行内容上下方向对齐 */
86
+ verticalAlign: {
87
+ type: String,
88
+ default: 'middle' as TdBaseTableProps['verticalAlign'],
89
+ validator(val: TdBaseTableProps['verticalAlign']): boolean {
90
+ if (!val) return true;
91
+ return ['top', 'middle', 'bottom'].includes(val);
92
+ },
93
+ },
94
+ };
@@ -0,0 +1,251 @@
1
+ .t-table {
2
+ position: relative;
3
+ width: 100%;
4
+ font: var(--td-table-font-size, var(--td-font-body-medium, 28rpx / 44rpx var(--td-font-family, PingFang SC, Microsoft YaHei, Arial Regular)));
5
+ color: var(--td-table-body-text-color, var(--td-text-color-primary, var(--td-font-gray-1, rgba(0, 0, 0, 0.9))));
6
+ background-color: var(--td-bg-color-container, var(--td-font-white-1, #ffffff));
7
+ box-sizing: border-box;
8
+ }
9
+ .t-table__content {
10
+ position: relative;
11
+ overflow: auto;
12
+ }
13
+ .t-table__content::-webkit-scrollbar,
14
+ .t-table__content ::-webkit-scrollbar {
15
+ width: 6px;
16
+ height: 6px;
17
+ }
18
+ .t-table__content::-webkit-scrollbar-thumb,
19
+ .t-table__content ::-webkit-scrollbar-thumb {
20
+ background-clip: content-box;
21
+ background-color: rgba(0, 0, 0, 0.1);
22
+ border-radius: 11px;
23
+ }
24
+ .t-table__content::-webkit-scrollbar-thumb:vertical:hover,
25
+ .t-table__content::-webkit-scrollbar-thumb:horizontal:hover,
26
+ .t-table__content ::-webkit-scrollbar-thumb:vertical:hover,
27
+ .t-table__content ::-webkit-scrollbar-thumb:horizontal:hover {
28
+ background-color: rgba(0, 0, 0, 0.3);
29
+ }
30
+ .t-table__table-elm {
31
+ display: flex;
32
+ flex-direction: column;
33
+ min-width: 100%;
34
+ }
35
+ .t-table__header {
36
+ position: relative;
37
+ z-index: 1;
38
+ }
39
+ .t-table__header-tr,
40
+ .t-table__tr {
41
+ display: flex;
42
+ min-width: 100%;
43
+ }
44
+ .t-table__th,
45
+ .t-table__td {
46
+ flex: 1 1 0;
47
+ box-sizing: border-box;
48
+ overflow: hidden;
49
+ min-width: 0;
50
+ border-bottom: 1px solid var(--td-table-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
51
+ }
52
+ .t-table__th {
53
+ padding: var(--td-table-th-padding, 8px 12px);
54
+ background-color: var(--td-table-header-bg-color, var(--td-bg-color-container, var(--td-font-white-1, #ffffff)));
55
+ color: var(--td-table-header-text-color, var(--td-text-color-placeholder, var(--td-font-gray-3, rgba(0, 0, 0, 0.4))));
56
+ font-weight: normal;
57
+ text-align: left;
58
+ }
59
+ .t-table__td {
60
+ padding: var(--td-table-td-padding, 8px 12px);
61
+ text-align: left;
62
+ }
63
+ .t-table__th-content,
64
+ .t-table__td-content {
65
+ overflow: hidden;
66
+ text-overflow: ellipsis;
67
+ white-space: nowrap;
68
+ }
69
+ .t-table__empty-row {
70
+ display: flex;
71
+ width: 100%;
72
+ }
73
+ .t-table__empty {
74
+ display: flex;
75
+ align-items: center;
76
+ justify-content: center;
77
+ width: 100%;
78
+ padding: 24px 0;
79
+ background-color: var(--td-bg-color-container, var(--td-font-white-1, #ffffff));
80
+ color: var(--td-text-color-placeholder, var(--td-font-gray-3, rgba(0, 0, 0, 0.4)));
81
+ }
82
+ .t-table__body {
83
+ position: relative;
84
+ background-color: var(--td-bg-color-container, var(--td-font-white-1, #ffffff));
85
+ }
86
+ .t-table__bottom-content {
87
+ padding: 8px 12px;
88
+ background-color: var(--td-bg-color-container, var(--td-font-white-1, #ffffff));
89
+ border-top: 1px solid var(--td-table-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
90
+ }
91
+ .t-table__loading--full {
92
+ position: absolute;
93
+ top: 0;
94
+ left: 0;
95
+ right: 0;
96
+ bottom: 0;
97
+ display: flex;
98
+ align-items: center;
99
+ justify-content: center;
100
+ background-color: var(--td-table-loading-bg-color, rgba(255, 255, 255, 0.55));
101
+ z-index: 10;
102
+ }
103
+ .t-table .t-align-left {
104
+ text-align: left;
105
+ }
106
+ .t-table .t-align-center {
107
+ text-align: center;
108
+ }
109
+ .t-table .t-align-right {
110
+ text-align: right;
111
+ }
112
+ .t-table.t-vertical-align-top .t-table__td {
113
+ vertical-align: top;
114
+ }
115
+ .t-table.t-vertical-align-middle .t-table__td {
116
+ vertical-align: middle;
117
+ }
118
+ .t-table.t-vertical-align-bottom .t-table__td {
119
+ vertical-align: bottom;
120
+ }
121
+ .t-table--bordered {
122
+ border: 1px solid var(--td-table-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
123
+ }
124
+ .t-table--bordered .t-table__th,
125
+ .t-table--bordered .t-table__td {
126
+ border-right: 1px solid var(--td-table-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
127
+ }
128
+ .t-table--bordered .t-table__th:last-child,
129
+ .t-table--bordered .t-table__td:last-child {
130
+ border-right: none;
131
+ }
132
+ .t-table--bordered .t-table__th {
133
+ border-bottom: 1px solid var(--td-table-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
134
+ }
135
+ .t-table--striped:not(.t-table--bordered) .t-table__th,
136
+ .t-table--striped:not(.t-table--bordered) .t-table__td {
137
+ border-bottom: none;
138
+ }
139
+ .t-table--striped .t-table__tr:nth-child(odd) {
140
+ background-color: var(--td-table-stripe-bg-color, var(--td-bg-color-secondarycontainer, var(--td-gray-color-1, #f3f3f3)));
141
+ }
142
+ .t-table--striped .t-table__tr:nth-child(odd) .t-table__cell--fixed-left,
143
+ .t-table--striped .t-table__tr:nth-child(odd) .t-table__cell--fixed-right {
144
+ background-color: var(--td-table-stripe-bg-color, var(--td-bg-color-secondarycontainer, var(--td-gray-color-1, #f3f3f3)));
145
+ }
146
+ .t-table--layout-fixed .t-table__table-elm {
147
+ table-layout: fixed;
148
+ }
149
+ .t-table--layout-auto .t-table__table-elm {
150
+ table-layout: auto;
151
+ }
152
+ .t-table--rowspan-colspan .t-table__td-last-row {
153
+ border-bottom: none;
154
+ }
155
+ .t-table--rowspan-colspan .t-table__td-first-col {
156
+ border-left: none;
157
+ }
158
+ .t-table__header--fixed {
159
+ position: sticky;
160
+ top: 0;
161
+ z-index: 33;
162
+ }
163
+ .t-table__header--fixed .t-table__th {
164
+ background-color: var(--td-bg-color-secondarycontainer, var(--td-gray-color-1, #f3f3f3));
165
+ }
166
+ .t-table__row--fixed-top,
167
+ .t-table__row--fixed-bottom {
168
+ background-color: var(--td-bg-color-container, var(--td-font-white-1, #ffffff));
169
+ }
170
+ .t-table__row--fixed-top > .t-table__td,
171
+ .t-table__row--fixed-bottom > .t-table__td {
172
+ background-color: var(--td-bg-color-container, var(--td-font-white-1, #ffffff));
173
+ }
174
+ .t-table__row--fixed-top > .t-table__cell--fixed-left,
175
+ .t-table__row--fixed-bottom > .t-table__cell--fixed-left,
176
+ .t-table__row--fixed-top > .t-table__cell--fixed-right,
177
+ .t-table__row--fixed-bottom > .t-table__cell--fixed-right {
178
+ background-color: var(--td-bg-color-container, var(--td-font-white-1, #ffffff));
179
+ }
180
+ .t-table--striped .t-table__row--fixed-top:nth-child(odd) > .t-table__td,
181
+ .t-table--striped .t-table__row--fixed-bottom:nth-child(odd) > .t-table__td {
182
+ background-color: var(--td-table-stripe-bg-color, var(--td-bg-color-secondarycontainer, var(--td-gray-color-1, #f3f3f3)));
183
+ }
184
+ .t-table--striped .t-table__row--fixed-top:nth-child(even) > .t-table__td,
185
+ .t-table--striped .t-table__row--fixed-bottom:nth-child(even) > .t-table__td {
186
+ background-color: var(--td-bg-color-container, var(--td-font-white-1, #ffffff));
187
+ }
188
+ .t-table--striped .t-table__row--fixed-top:nth-child(odd) > .t-table__cell--fixed-left,
189
+ .t-table--striped .t-table__row--fixed-bottom:nth-child(odd) > .t-table__cell--fixed-left,
190
+ .t-table--striped .t-table__row--fixed-top:nth-child(odd) > .t-table__cell--fixed-right,
191
+ .t-table--striped .t-table__row--fixed-bottom:nth-child(odd) > .t-table__cell--fixed-right {
192
+ background-color: var(--td-table-stripe-bg-color, var(--td-bg-color-secondarycontainer, var(--td-gray-color-1, #f3f3f3)));
193
+ }
194
+ .t-table--striped .t-table__row--fixed-top:nth-child(even) > .t-table__cell--fixed-left,
195
+ .t-table--striped .t-table__row--fixed-bottom:nth-child(even) > .t-table__cell--fixed-left,
196
+ .t-table--striped .t-table__row--fixed-top:nth-child(even) > .t-table__cell--fixed-right,
197
+ .t-table--striped .t-table__row--fixed-bottom:nth-child(even) > .t-table__cell--fixed-right {
198
+ background-color: var(--td-bg-color-container, var(--td-font-white-1, #ffffff));
199
+ }
200
+ .t-table__row--fixed-bottom-first > .t-table__td {
201
+ border-top: 1px solid var(--td-table-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
202
+ }
203
+ .t-table__row--without-border-bottom > .t-table__td {
204
+ border-bottom: none;
205
+ }
206
+ .t-table--column-fixed .t-table__cell--fixed-left,
207
+ .t-table--column-fixed .t-table__cell--fixed-right {
208
+ position: sticky;
209
+ z-index: 30;
210
+ background-color: var(--td-bg-color-container, var(--td-font-white-1, #ffffff));
211
+ }
212
+ .t-table--column-fixed .t-table__cell--fixed-right {
213
+ z-index: 31;
214
+ }
215
+ .t-table--column-fixed .t-table__header--fixed .t-table__cell--fixed-left,
216
+ .t-table--column-fixed .t-table__header--fixed .t-table__cell--fixed-right {
217
+ background-color: var(--td-bg-color-secondarycontainer, var(--td-gray-color-1, #f3f3f3));
218
+ }
219
+ .t-table--column-fixed .t-table__cell--fixed-right-first {
220
+ border-left: 2px solid var(--td-table-fixed-cell-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
221
+ }
222
+ .t-table--column-fixed .t-table__cell--fixed-left-last::after,
223
+ .t-table--column-fixed .t-table__cell--fixed-right-first::after {
224
+ position: absolute;
225
+ top: 0;
226
+ bottom: 0;
227
+ content: '';
228
+ transition: box-shadow 0.3s;
229
+ pointer-events: none;
230
+ z-index: -1;
231
+ }
232
+ .t-table--column-fixed .t-table__cell--fixed-left-last::after {
233
+ right: 0;
234
+ transform: translateX(100%);
235
+ }
236
+ .t-table--column-fixed .t-table__cell--fixed-right-first::after {
237
+ left: 0;
238
+ transform: translateX(-100%);
239
+ }
240
+ .t-table__content--scrollable-to-left .t-table__cell--fixed-left-last::after {
241
+ border-right: 2px solid var(--td-table-fixed-cell-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
242
+ }
243
+ .t-table__content--scrollable-to-right .t-table__cell--fixed-right-first::after {
244
+ border-left: 2px solid var(--td-table-fixed-cell-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
245
+ }
246
+ .t-table--bordered .t-table__content--scrollable-to-left .t-table__cell--fixed-left-last::after {
247
+ border-right: 4px solid var(--td-table-fixed-cell-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
248
+ }
249
+ .t-table--bordered .t-table__content--scrollable-to-right .t-table__cell--fixed-right-first::after {
250
+ border-left: 4px solid var(--td-table-fixed-cell-border-color, var(--td-component-border, var(--td-gray-color-4, #dcdcdc)));
251
+ }