@snack-uikit/table 0.20.9-preview-e8249200.0 → 0.20.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 0.20.9 (2024-08-07)
7
+
8
+ ### Only dependencies have been changed
9
+ * [@snack-uikit/chips@0.14.17](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/chips/CHANGELOG.md)
10
+ * [@snack-uikit/list@0.15.0](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/list/CHANGELOG.md)
11
+ * [@snack-uikit/toolbar@0.7.51](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/toolbar/CHANGELOG.md)
12
+
13
+
14
+
15
+
16
+
6
17
  ## 0.20.8 (2024-08-06)
7
18
 
8
19
  ### Only dependencies have been changed
package/README.md CHANGED
@@ -233,6 +233,20 @@ const columnDefinitions: ColumnDefinition<TableData>[] = [
233
233
  | maxSize | `number` | - | |
234
234
  | header | `ColumnDefTemplate<HeaderContext<TData, unknown>> & (string \| ((ctx: HeaderContext<TData, unknown>) => string))` | - | Заголовок колонки |
235
235
  | enableResizing | `boolean` | - | Включение/выключение ресайза колонки |
236
+ ## exportToCSV
237
+ ### Props
238
+ | name | type | default value | description |
239
+ |------|------|---------------|-------------|
240
+ | columnDefinitions* | `ColumnDefinition<TData>[]` | - | |
241
+ | data* | `TData[]` | - | |
242
+ | fileName | `string` | Table | |
243
+ ## exportToXLSX
244
+ ### Props
245
+ | name | type | default value | description |
246
+ |------|------|---------------|-------------|
247
+ | columnDefinitions* | `ColumnDefinition<TData>[]` | - | |
248
+ | data* | `TData[]` | - | |
249
+ | fileName | `string` | Table | |
236
250
 
237
251
 
238
252
  [//]: DOCUMENTATION_SECTION_END
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './components';
2
2
  export * from './types';
3
+ export * from './exportTable';
3
4
  export { type CopyCellProps, type ActionsGenerator, CopyCell } from './helperComponents';
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './components';
2
2
  export * from './types';
3
+ export * from './exportTable';
3
4
  export { CopyCell } from './helperComponents';
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Table",
7
- "version": "0.20.9-preview-e8249200.0",
7
+ "version": "0.20.9",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -23,20 +23,6 @@
23
23
  "contributors": [
24
24
  "Белов Алексей <anbelov@cloud.ru>"
25
25
  ],
26
- "exports": {
27
- ".": "./dist/index.js",
28
- "./exportTable": "./dist/exportTable.js"
29
- },
30
- "typesVersions": {
31
- "*": {
32
- ".": [
33
- "./dist/index.d.ts"
34
- ],
35
- "exportTable": [
36
- "./dist/exportTable.d.ts"
37
- ]
38
- }
39
- },
40
26
  "files": [
41
27
  "dist",
42
28
  "src",
@@ -47,16 +33,16 @@
47
33
  "scripts": {},
48
34
  "dependencies": {
49
35
  "@snack-uikit/button": "0.17.3",
50
- "@snack-uikit/chips": "0.14.17-preview-e8249200.0",
36
+ "@snack-uikit/chips": "0.14.17",
51
37
  "@snack-uikit/icon-predefined": "0.5.1",
52
38
  "@snack-uikit/icons": "0.22.0",
53
39
  "@snack-uikit/info-block": "0.4.5",
54
- "@snack-uikit/list": "0.14.4-preview-e8249200.0",
40
+ "@snack-uikit/list": "0.15.0",
55
41
  "@snack-uikit/pagination": "0.6.11",
56
42
  "@snack-uikit/scroll": "0.6.0",
57
43
  "@snack-uikit/skeleton": "0.3.4",
58
44
  "@snack-uikit/toggles": "0.10.2",
59
- "@snack-uikit/toolbar": "0.7.51-preview-e8249200.0",
45
+ "@snack-uikit/toolbar": "0.7.51",
60
46
  "@snack-uikit/truncate-string": "0.4.20",
61
47
  "@snack-uikit/typography": "0.6.2",
62
48
  "@snack-uikit/utils": "3.3.0",
@@ -71,5 +57,5 @@
71
57
  "peerDependencies": {
72
58
  "@snack-uikit/locale": "*"
73
59
  },
74
- "gitHead": "7a64db472e734f7a792e78fda35c01b3a420f425"
60
+ "gitHead": "08b45579b4e121c5771050d04fd90ab2e71769e8"
75
61
  }
package/src/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './components';
2
2
  export * from './types';
3
+ export * from './exportTable';
3
4
 
4
5
  export { type CopyCellProps, type ActionsGenerator, CopyCell } from './helperComponents';