@shoper/phoenix_design_system 1.2.16 → 1.2.17

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.
@@ -1,6 +1,8 @@
1
1
  import { HRadio } from "./radio";
2
2
  import { HRadioContent } from "./radio_content";
3
3
  import { HRadioControl } from "./radio_control";
4
+ import { RADIO_CONTROL_VARIANTS } from "./radio_constants";
5
+ import { Any } from 'ts-toolbelt';
4
6
  declare global {
5
7
  interface HTMLElementTagNameMap {
6
8
  'h-radio': HRadio;
@@ -16,3 +18,4 @@ declare global {
16
18
  'h-radio-control': HRadioControl;
17
19
  }
18
20
  }
21
+ export declare type TRadioVariant = Any.Keys<typeof RADIO_CONTROL_VARIANTS>;
@@ -1,4 +1,6 @@
1
1
  import '@phoenixRoot/components/form/radio/radio';
2
2
  import '@phoenixRoot/components/form/radio/radio_content';
3
3
  import '@phoenixRoot/components/form/radio/radio_control';
4
+ import '@phoenixRoot/components/form/radio/radio_constants';
5
+ import 'ts-toolbelt';
4
6
  //# sourceMappingURL=radio_types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio_types.js","sourceRoot":"","sources":["../../../../../../../../src/components/form/radio/radio_types.ts"],"names":[],"mappings":"AAAA,OAAuB,0CAA0C,CAAC;AAClE,OAA8B,kDAAkD,CAAC;AACjF,OAA8B,kDAAkD,CAAC"}
1
+ {"version":3,"file":"radio_types.js","sourceRoot":"","sources":["../../../../../../../../src/components/form/radio/radio_types.ts"],"names":[],"mappings":"AAAA,OAAuB,0CAA0C,CAAC;AAClE,OAA8B,kDAAkD,CAAC;AACjF,OAA8B,kDAAkD,CAAC;AACjF,OAAuC,oDAAoD,CAAC;AAC5F,OAAoB,aAAa,CAAC"}
@@ -49,6 +49,7 @@ export { HRadioControl } from './components/form/radio/radio_control';
49
49
  export * from './components/form/radio/radio_types';
50
50
  export * from './components/form/radio/radio_constants';
51
51
  export { RADIO_CONTROL_VARIANTS, RADIO_CONTROL_CSS_CLASSES } from "./components/form/radio/radio_constants";
52
+ export { TRadioVariant } from "./components/form/radio/radio_types";
52
53
  export { HTextarea } from './components/form/textarea/textarea';
53
54
  export { HTextareaControl } from './components/form/textarea/textarea_control';
54
55
  export * from './components/form/textarea/textarea_types';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@shoper/phoenix_design_system",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "1.2.16",
5
+ "version": "1.2.17",
6
6
  "description": "phoenix design system",
7
7
  "author": "zefirek",
8
8
  "license": "MIT",