@salutejs/plasma-new-hope 0.336.0-canary.2222.17612018746.0 → 0.336.0-canary.2224.17630468274.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 (77) hide show
  1. package/cjs/components/Drawer/Drawer.css +2 -2
  2. package/cjs/components/Drawer/Drawer.js +7 -10
  3. package/cjs/components/Drawer/Drawer.js.map +1 -1
  4. package/cjs/components/Drawer/Drawer.styles.js +2 -10
  5. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  6. package/cjs/components/Drawer/{Drawer.styles_pltzxq.css → Drawer.styles_h5od79.css} +1 -1
  7. package/cjs/components/Drawer/Drawer.tokens.js +0 -10
  8. package/cjs/components/Drawer/Drawer.tokens.js.map +1 -1
  9. package/cjs/components/Switch/Switch.css +6 -6
  10. package/cjs/components/Switch/Switch.js +5 -2
  11. package/cjs/components/Switch/Switch.js.map +1 -1
  12. package/cjs/components/Switch/Switch.styles.js +1 -1
  13. package/cjs/components/Switch/Switch.styles.js.map +1 -1
  14. package/cjs/components/Switch/{Switch.styles_qjefea.css → Switch.styles_1pe5u24.css} +1 -1
  15. package/cjs/components/Switch/Switch.tokens.js +2 -1
  16. package/cjs/components/Switch/Switch.tokens.js.map +1 -1
  17. package/cjs/index.css +8 -8
  18. package/emotion/cjs/components/Drawer/Drawer.js +4 -13
  19. package/emotion/cjs/components/Drawer/Drawer.styles.js +4 -7
  20. package/emotion/cjs/components/Drawer/Drawer.tokens.js +0 -12
  21. package/emotion/cjs/components/Switch/Switch.js +4 -2
  22. package/emotion/cjs/components/Switch/Switch.styles.js +11 -11
  23. package/emotion/cjs/components/Switch/Switch.tokens.js +2 -1
  24. package/emotion/cjs/examples/components/Combobox/Combobox.js +0 -15
  25. package/emotion/es/components/Drawer/Drawer.js +5 -9
  26. package/emotion/es/components/Drawer/Drawer.styles.js +5 -8
  27. package/emotion/es/components/Drawer/Drawer.tokens.js +0 -9
  28. package/emotion/es/components/Switch/Switch.js +4 -2
  29. package/emotion/es/components/Switch/Switch.styles.js +11 -11
  30. package/emotion/es/components/Switch/Switch.tokens.js +2 -1
  31. package/es/components/Drawer/Drawer.css +2 -2
  32. package/es/components/Drawer/Drawer.js +6 -8
  33. package/es/components/Drawer/Drawer.js.map +1 -1
  34. package/es/components/Drawer/Drawer.styles.js +2 -10
  35. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  36. package/es/components/Drawer/{Drawer.styles_pltzxq.css → Drawer.styles_h5od79.css} +1 -1
  37. package/es/components/Drawer/Drawer.tokens.js +1 -10
  38. package/es/components/Drawer/Drawer.tokens.js.map +1 -1
  39. package/es/components/Switch/Switch.css +6 -6
  40. package/es/components/Switch/Switch.js +5 -2
  41. package/es/components/Switch/Switch.js.map +1 -1
  42. package/es/components/Switch/Switch.styles.js +1 -1
  43. package/es/components/Switch/Switch.styles.js.map +1 -1
  44. package/es/components/Switch/{Switch.styles_qjefea.css → Switch.styles_1pe5u24.css} +1 -1
  45. package/es/components/Switch/Switch.tokens.js +2 -1
  46. package/es/components/Switch/Switch.tokens.js.map +1 -1
  47. package/es/index.css +8 -8
  48. package/package.json +2 -2
  49. package/styled-components/cjs/components/Drawer/Drawer.js +4 -13
  50. package/styled-components/cjs/components/Drawer/Drawer.styles.js +4 -14
  51. package/styled-components/cjs/components/Drawer/Drawer.tokens.js +0 -12
  52. package/styled-components/cjs/components/Switch/Switch.js +4 -2
  53. package/styled-components/cjs/components/Switch/Switch.styles.js +9 -8
  54. package/styled-components/cjs/components/Switch/Switch.tokens.js +2 -1
  55. package/styled-components/es/components/Drawer/Drawer.js +5 -9
  56. package/styled-components/es/components/Drawer/Drawer.styles.js +5 -15
  57. package/styled-components/es/components/Drawer/Drawer.tokens.js +0 -9
  58. package/styled-components/es/components/Switch/Switch.js +4 -2
  59. package/styled-components/es/components/Switch/Switch.styles.js +9 -8
  60. package/styled-components/es/components/Switch/Switch.tokens.js +2 -1
  61. package/styled-components/es/examples/components/Combobox/Combobox.js +7 -0
  62. package/types/components/Drawer/Drawer.d.ts +0 -2
  63. package/types/components/Drawer/Drawer.d.ts.map +1 -1
  64. package/types/components/Drawer/Drawer.styles.d.ts +1 -2
  65. package/types/components/Drawer/Drawer.styles.d.ts.map +1 -1
  66. package/types/components/Drawer/Drawer.tokens.d.ts +0 -9
  67. package/types/components/Drawer/Drawer.tokens.d.ts.map +1 -1
  68. package/types/components/Drawer/Drawer.types.d.ts +0 -16
  69. package/types/components/Drawer/Drawer.types.d.ts.map +1 -1
  70. package/types/components/Switch/Switch.d.ts.map +1 -1
  71. package/types/components/Switch/Switch.styles.d.ts.map +1 -1
  72. package/types/components/Switch/Switch.tokens.d.ts +1 -0
  73. package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
  74. package/types/components/Switch/Switch.types.d.ts +5 -0
  75. package/types/components/Switch/Switch.types.d.ts.map +1 -1
  76. package/types/examples/components/Drawer/Drawer.d.ts +0 -1
  77. package/types/examples/components/Drawer/Drawer.d.ts.map +1 -1
@@ -88,7 +88,7 @@ import { StyledContent, StyledDescription, StyledInput, StyledLabel, StyledTrigg
88
88
  import { classes } from "./Switch.tokens";
89
89
  export var switchRoot = function(Root) {
90
90
  return /*#__PURE__*/ forwardRef(function(props, ref) {
91
- var size = props.size, toggleSize = props.toggleSize, view = props.view, focused = props.focused, outlined = props.outlined, disabled = props.disabled, labelPosition = props.labelPosition, label = props.label, description = props.description, id = props.id, style = props.style, className = props.className, // singleLine,
91
+ var size = props.size, toggleSize = props.toggleSize, view = props.view, focused = props.focused, outlined = props.outlined, disabled = props.disabled, labelPosition = props.labelPosition, label = props.label, description = props.description, _props_labelEllipses = props.labelEllipses, labelEllipses = _props_labelEllipses === void 0 ? true : _props_labelEllipses, id = props.id, style = props.style, className = props.className, // singleLine,
92
92
  checked = props.checked, pressed = props.pressed, defaultChecked = props.defaultChecked, rest = _object_without_properties(props, [
93
93
  "size",
94
94
  "toggleSize",
@@ -99,6 +99,7 @@ export var switchRoot = function(Root) {
99
99
  "labelPosition",
100
100
  "label",
101
101
  "description",
102
+ "labelEllipses",
102
103
  "id",
103
104
  "style",
104
105
  "className",
@@ -128,7 +129,8 @@ export var switchRoot = function(Root) {
128
129
  defaultChecked: defaultChecked,
129
130
  disabled: disabled
130
131
  })), /*#__PURE__*/ React.createElement(StyledLabel, {
131
- tabIndex: -1
132
+ tabIndex: -1,
133
+ className: labelEllipses ? classes.labelEllipsis : ''
132
134
  }, label), /*#__PURE__*/ React.createElement(StyledTrigger, {
133
135
  "aria-hidden": true
134
136
  })), description && /*#__PURE__*/ React.createElement(StyledDescription, null, description));
@@ -8,7 +8,7 @@ export var base = css([
8
8
  ], tokens.verticalGap);
9
9
  export var StyledContent = styled.div.withConfig({
10
10
  displayName: "Switch.styles__StyledContent",
11
- componentId: "sc-c4704e70-0"
11
+ componentId: "sc-66f1aa77-0"
12
12
  })([
13
13
  "width:100%;position:relative;display:flex;align-items:center;&.",
14
14
  "{justify-content:space-between;",
@@ -20,7 +20,7 @@ export var StyledContent = styled.div.withConfig({
20
20
  ], classes.beforeSwitchLabelPosition, tokens.labelOffsetPrivate, tokens.labelOffset, classes.afterSwitchLabelPosition, tokens.labelOffsetPrivate, tokens.labelOffset);
21
21
  export var StyledDescription = styled.div.withConfig({
22
22
  displayName: "Switch.styles__StyledDescription",
23
- componentId: "sc-c4704e70-1"
23
+ componentId: "sc-66f1aa77-1"
24
24
  })([
25
25
  "position:relative;",
26
26
  " display:-webkit-box;line-clamp:var(",
@@ -29,20 +29,21 @@ export var StyledDescription = styled.div.withConfig({
29
29
  ], applyEllipsis(), tokens.descriptionMaxLines, tokens.descriptionMaxLines);
30
30
  export var StyledInput = styled.input.withConfig({
31
31
  displayName: "Switch.styles__StyledInput",
32
- componentId: "sc-c4704e70-2"
32
+ componentId: "sc-66f1aa77-2"
33
33
  })([
34
34
  "position:absolute;right:0;margin:0;opacity:0;&:focus{outline:0 none;}"
35
35
  ]);
36
36
  export var StyledLabel = styled.span.withConfig({
37
37
  displayName: "Switch.styles__StyledLabel",
38
- componentId: "sc-c4704e70-3"
38
+ componentId: "sc-66f1aa77-3"
39
39
  })([
40
- "user-select:none;",
41
- ""
42
- ], applyEllipsis());
40
+ "user-select:none;&.",
41
+ "{",
42
+ "}"
43
+ ], classes.labelEllipsis, applyEllipsis());
43
44
  export var StyledTrigger = styled.div.withConfig({
44
45
  displayName: "Switch.styles__StyledTrigger",
45
- componentId: "sc-c4704e70-4"
46
+ componentId: "sc-66f1aa77-4"
46
47
  })([
47
48
  "position:relative;display:flex;align-items:center;transition:background-color 0.15s ease-in-out 0.1s;::after{content:'';position:absolute;right:auto;left:0;transition:width 0.15s ease-in-out 0s,left 0.3s ease-in-out 0s,right 0.3s ease-in-out 0s;}",
48
49
  ":checked ~ &::after{right:0;left:auto;}"
@@ -46,5 +46,6 @@ export var tokens = {
46
46
  };
47
47
  export var classes = {
48
48
  beforeSwitchLabelPosition: 'switch-label-position-before',
49
- afterSwitchLabelPosition: 'switch-label-position-after'
49
+ afterSwitchLabelPosition: 'switch-label-position-after',
50
+ labelEllipsis: 'switch-label-ellipsis'
50
51
  };
@@ -0,0 +1,7 @@
1
+ import { component, mergeConfig } from "../../../engines";
2
+ import { comboboxNewConfig } from "../../..";
3
+ import { config } from "./Combobox.config";
4
+ var mergedConfig = mergeConfig(comboboxNewConfig, config);
5
+ var ComboboxComponent = component(mergedConfig);
6
+ var Combobox = ComboboxComponent;
7
+ export { Combobox };
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  import type { RootProps } from '../../engines';
3
3
  import type { DrawerProps } from './Drawer.types';
4
4
  export declare const drawerRoot: (Root: RootProps<HTMLDivElement, DrawerProps>) => React.ForwardRefExoticComponent<Omit<import("../Popup").PopupProps, "draggable" | "resizable"> & import("../Panel").PanelProps & {
5
- animationInfo?: import("./Drawer.types").DrawerAnimationInfo;
6
5
  placement?: import("./Drawer.types").DrawerPlacement;
7
6
  asModal?: boolean;
8
7
  customBackgroundColor?: string;
@@ -20,7 +19,6 @@ export declare const drawerConfig: {
20
19
  name: string;
21
20
  tag: string;
22
21
  layout: (Root: RootProps<HTMLDivElement, DrawerProps>) => React.ForwardRefExoticComponent<Omit<import("../Popup").PopupProps, "draggable" | "resizable"> & import("../Panel").PanelProps & {
23
- animationInfo?: import("./Drawer.types").DrawerAnimationInfo;
24
22
  placement?: import("./Drawer.types").DrawerPlacement;
25
23
  asModal?: boolean;
26
24
  customBackgroundColor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAUlD,eAAO,MAAM,UAAU,SAAU,SAAS,CAAC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;;6BA6CrD,MAAO,UAAU;sBAGvB,MAAA,SAAO;oBAG6C,MAAO,SAAS;;wCAiF3E,CAAC;AAEN,eAAO,MAAM,YAAY;;;mBAtIQ,SAAS,CAAC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;;iCA6CrD,MAAO,UAAU;0BAGvB,MAAA,SAAO;wBAG6C,MAAO,SAAS;;;;;;;;;;;;;;;;;;;;CAwG/E,CAAC"}
1
+ {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAUlD,eAAO,MAAM,UAAU,SAAU,SAAS,CAAC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;6BAmC3D,MAAA,UAAQ;sBAGF,MAAM,SAAS;oBAMZ,MAAO,SAAS;;wCAmFhC,CAAC;AAEN,eAAO,MAAM,YAAY;;;mBAjIQ,SAAS,CAAC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;iCAmC3D,MAAA,UAAQ;0BAGF,MAAM,SAAS;wBAMZ,MAAO,SAAS;;;;;;;;;;;;;;;;;;;;CA0GpC,CAAC"}
@@ -1,9 +1,8 @@
1
- import type { DrawerAnimationInfo, DrawerPlacement } from './Drawer.types';
1
+ import type { DrawerPlacement } from './Drawer.types';
2
2
  export declare const StyledPanel: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<import("../../engines/types").Variants> & import("../Panel").PanelProps & import("react").RefAttributes<HTMLDivElement>>;
3
3
  export declare const StyledPopup: import("@linaria/react").StyledComponent<{
4
4
  placement: DrawerPlacement;
5
5
  width?: number | string;
6
6
  height?: number | string;
7
- drawerAnimationInfo?: DrawerAnimationInfo;
8
7
  } & import("../Popup").PopupProps & import("react").RefAttributes<HTMLDivElement>>;
9
8
  //# sourceMappingURL=Drawer.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.styles.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA8F3E,eAAO,MAAM,WAAW,0OAEvB,CAAC;AAEF,eAAO,MAAM,WAAW;eACT,eAAe;YAClB,MAAM,GAAG,MAAM;aACd,MAAM,GAAG,MAAM;0BACF,mBAAmB;kFAkD5C,CAAC"}
1
+ {"version":3,"file":"Drawer.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.styles.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA8FtD,eAAO,MAAM,WAAW,0OAEvB,CAAC;AAEF,eAAO,MAAM,WAAW;eACT,eAAe;YAClB,MAAM,GAAG,MAAM;aACd,MAAM,GAAG,MAAM;kFAqC3B,CAAC"}
@@ -3,9 +3,6 @@ export declare const classes: {
3
3
  header: string;
4
4
  footer: string;
5
5
  overlay: string;
6
- panel: string;
7
- enterCustomAnimation: string;
8
- exitCustomAnimation: string;
9
6
  horizontal: string;
10
7
  hasHeader: string;
11
8
  isRightClose: string;
@@ -14,12 +11,6 @@ export declare const classes: {
14
11
  rightPlacement: string;
15
12
  leftPlacement: string;
16
13
  };
17
- export declare const privateTokens: {
18
- enterAnimation: string;
19
- exitAnimation: string;
20
- customEnterAnimation: string;
21
- customExitAnimation: string;
22
- };
23
14
  export declare const tokens: {
24
15
  drawerOverlayWithBlurColor: string;
25
16
  drawerOverlayColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAenB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;CAKzB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;CASlB,CAAC"}
1
+ {"version":3,"file":"Drawer.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;CASlB,CAAC"}
@@ -8,23 +8,7 @@ export declare const drawerPlacements: {
8
8
  left: string;
9
9
  };
10
10
  export type DrawerPlacement = keyof typeof drawerPlacements;
11
- export type DrawerAnimationInfo = {
12
- enter?: string;
13
- exit?: string;
14
- };
15
11
  export type DrawerProps = Omit<PopupProps, 'draggable' | 'resizable'> & PanelProps & {
16
- /**
17
- * Информация об анимации.
18
- * Свойство может содержать поля `enter` и `exit`
19
- * @example
20
- * ```
21
- * {
22
- * enter: 'animatinName 0.2s forwards',
23
- * exit: 'exitAnimationName 0.2s forwards',
24
- * }
25
- * ```
26
- */
27
- animationInfo?: DrawerAnimationInfo;
28
12
  /**
29
13
  * Расположение Drawer.
30
14
  * @default
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.types.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAE5D,MAAM,MAAM,mBAAmB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,WAAW,CAAC,GACjE,UAAU,GAAG;IACT;;;;;;;;;;OAUG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC9C;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACnE;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEN,MAAM,WAAW,cACb,SAAQ,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,WAAW,GAAG,QAAQ,CAAC,EACtD,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,cAAc,GAAG,SAAS,CAAC;IAChE,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B"}
1
+ {"version":3,"file":"Drawer.types.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAE5D,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,WAAW,CAAC,GACjE,UAAU,GAAG;IACT;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC9C;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACnE;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEN,MAAM,WAAW,cACb,SAAQ,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,WAAW,GAAG,QAAQ,CAAC,EACtD,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,cAAc,GAAG,SAAS,CAAC;IAChE,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAS1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,eAAO,MAAM,UAAU,SAAU,SAAS,CAAC,gBAAgB,EAAE,WAAW,CAAC,yFA0DnE,CAAC;AAEP,eAAO,MAAM,YAAY;;;;mBA5DQ,SAAS,CAAC,gBAAgB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;CAuFxE,CAAC"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAS1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,eAAO,MAAM,UAAU,SAAU,SAAS,CAAC,gBAAgB,EAAE,WAAW,CAAC,yFA6DnE,CAAC;AAEP,eAAO,MAAM,YAAY;;;;mBA/DQ,SAAS,CAAC,gBAAgB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;CA0FxE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,0CAYhB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAkBzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAU7B,CAAC;AAEF,eAAO,MAAM,WAAW,8KASvB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAmBzB,CAAC"}
1
+ {"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,0CAYhB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAkBzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAU7B,CAAC;AAEF,eAAO,MAAM,WAAW,8KASvB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAMvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAmBzB,CAAC"}
@@ -47,5 +47,6 @@ export declare const tokens: {
47
47
  export declare const classes: {
48
48
  beforeSwitchLabelPosition: string;
49
49
  afterSwitchLabelPosition: string;
50
+ labelEllipsis: string;
50
51
  };
51
52
  //# sourceMappingURL=Switch.tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;IAyBf,6DAA6D;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmChE,CAAC;AAEF,eAAO,MAAM,OAAO;;;CAGnB,CAAC"}
1
+ {"version":3,"file":"Switch.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;IAyBf,6DAA6D;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmChE,CAAC;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC"}
@@ -5,6 +5,11 @@ export interface SwitchPropsPropsBase {
5
5
  * Метка-подпись к элементу
6
6
  */
7
7
  label?: ReactNode;
8
+ /**
9
+ * Перенос строки label
10
+ * @default true
11
+ */
12
+ labelEllipses?: boolean;
8
13
  /**
9
14
  * Дополнительное описание
10
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAEnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB;CAAG"}
1
+ {"version":3,"file":"Switch.types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAEnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB;CAAG"}
@@ -10,7 +10,6 @@ export declare const Drawer: import("react").FunctionComponent<import("../../../
10
10
  default: import("@linaria/core").LinariaClassName;
11
11
  };
12
12
  }> & Omit<import("../../..").PopupProps, "draggable" | "resizable"> & import("../../../components/Panel").PanelProps & {
13
- animationInfo?: import("../../../components/Drawer/Drawer.types").DrawerAnimationInfo;
14
13
  placement?: import("../../../components/Drawer/Drawer.types").DrawerPlacement;
15
14
  asModal?: boolean;
16
15
  customBackgroundColor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../src/examples/components/Drawer/Drawer.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;6BAUu/C,MAAO,UAAU;sBAAyI,MAAO,SAAS;oBAA2M,MAAO,SAAS;;kDAVl2D,CAAC;AAG9C,eAAO,MAAM,aAAa;;mGAAiC,CAAC;AAG5D,eAAO,MAAM,YAAY;;;;;;mGAAgC,CAAC;AAG1D,eAAO,MAAM,YAAY;;mGAAgC,CAAC"}
1
+ {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../src/examples/components/Drawer/Drawer.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;6BAU4kC,MAAO,UAAU;sBAAyI,MAAO,SAAS;oBAA2M,MAAO,SAAS;;kDAVv7C,CAAC;AAG9C,eAAO,MAAM,aAAa;;mGAAiC,CAAC;AAG5D,eAAO,MAAM,YAAY;;;;;;mGAAgC,CAAC;AAG1D,eAAO,MAAM,YAAY;;mGAAgC,CAAC"}