@tramvai/tokens-core 2.11.0 → 2.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/action.d.ts CHANGED
@@ -1 +1 @@
1
- export { ActionConditionsParameters, ActionParameters, Action, TramvaiAction, TramvaiActionContext, TramvaiActionDefinition, ActionContext, ACTION_PARAMETERS, } from '@tramvai/types-actions-state-context';
1
+ export { ActionConditionsParameters, ActionParameters, Action, TramvaiAction, TramvaiActionContext, TramvaiActionDefinition, ActionContext, ACTION_PARAMETERS, PageAction, } from '@tramvai/types-actions-state-context';
package/lib/bundle.d.ts CHANGED
@@ -1,12 +1,13 @@
1
- import type { TramvaiAction, Action } from '@tramvai/types-actions-state-context';
1
+ import type { Reducer } from '@tramvai/types-actions-state-context';
2
+ import type { PageAction } from './action';
2
3
  export interface BundleOptions {
3
4
  presets?: BundlePreset[];
4
5
  name: string;
5
6
  components: {
6
7
  [key: string]: any;
7
8
  };
8
- reducers?: any[];
9
- actions?: (Action | TramvaiAction<any, any, any>)[];
9
+ reducers?: Reducer<any, any>[];
10
+ actions?: PageAction[];
10
11
  }
11
12
  export declare type BundlePreset = Partial<BundleOptions>;
12
13
  export interface Bundle {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/tokens-core",
3
- "version": "2.11.0",
3
+ "version": "2.21.0",
4
4
  "description": "Tramvai core tokens",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
@@ -19,10 +19,10 @@
19
19
  "build-for-publish": "true"
20
20
  },
21
21
  "dependencies": {
22
- "@tramvai/types-actions-state-context": "2.11.0"
22
+ "@tramvai/types-actions-state-context": "2.21.0"
23
23
  },
24
24
  "peerDependencies": {
25
- "@tinkoff/dippy": "0.7.45",
25
+ "@tinkoff/dippy": "0.8.2",
26
26
  "tslib": "^2.0.3"
27
27
  },
28
28
  "license": "Apache-2.0"