@salutejs/plasma-new-hope 0.68.0-canary.1148.8464595999.0 → 0.68.0-canary.1148.8482525044.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. package/cjs/components/Cell/Cell.js +15 -12
  2. package/cjs/components/Cell/Cell.js.map +1 -1
  3. package/cjs/components/Cell/CellTextbox/CellTextbox.js +21 -0
  4. package/cjs/components/Cell/CellTextbox/CellTextbox.js.map +1 -0
  5. package/cjs/components/Cell/{Textbox/Textbox.styles.js → CellTextbox/CellTextbox.styles.js} +4 -4
  6. package/cjs/components/Cell/CellTextbox/CellTextbox.styles.js.map +1 -0
  7. package/cjs/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +4 -4
  8. package/cjs/components/Cell/CellTextbox/ui/CellTextLabel.js.map +1 -0
  9. package/cjs/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +4 -4
  10. package/cjs/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +1 -0
  11. package/cjs/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +4 -4
  12. package/cjs/components/Cell/CellTextbox/ui/CellTextTitle.js.map +1 -0
  13. package/cjs/components/Dropdown/Dropdown.js +2 -1
  14. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  15. package/cjs/components/Popover/Popover.js +46 -31
  16. package/cjs/components/Popover/Popover.js.map +1 -1
  17. package/cjs/index.js +8 -8
  18. package/es/components/Cell/Cell.js +15 -12
  19. package/es/components/Cell/Cell.js.map +1 -1
  20. package/es/components/Cell/CellTextbox/CellTextbox.js +17 -0
  21. package/es/components/Cell/CellTextbox/CellTextbox.js.map +1 -0
  22. package/es/components/Cell/CellTextbox/CellTextbox.styles.js +9 -0
  23. package/es/components/Cell/CellTextbox/CellTextbox.styles.js.map +1 -0
  24. package/es/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +4 -4
  25. package/es/components/Cell/CellTextbox/ui/CellTextLabel.js.map +1 -0
  26. package/es/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +4 -4
  27. package/es/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +1 -0
  28. package/es/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +4 -4
  29. package/es/components/Cell/CellTextbox/ui/CellTextTitle.js.map +1 -0
  30. package/es/components/Dropdown/Dropdown.js +2 -1
  31. package/es/components/Dropdown/Dropdown.js.map +1 -1
  32. package/es/components/Popover/Popover.js +46 -31
  33. package/es/components/Popover/Popover.js.map +1 -1
  34. package/es/index.js +4 -4
  35. package/package.json +4 -4
  36. package/styled-components/cjs/components/Cell/Cell.js +15 -12
  37. package/styled-components/cjs/components/Cell/CellTextbox/CellTextbox.js +20 -0
  38. package/styled-components/cjs/components/Cell/{Textbox/Textbox.styles.js → CellTextbox/CellTextbox.styles.js} +3 -3
  39. package/styled-components/cjs/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +3 -3
  40. package/styled-components/cjs/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +3 -3
  41. package/styled-components/cjs/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +3 -3
  42. package/styled-components/cjs/components/Cell/index.js +12 -12
  43. package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -1
  44. package/styled-components/cjs/components/Popover/Popover.js +46 -31
  45. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.config.js +0 -5
  46. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +8 -8
  47. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +12 -15
  48. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  49. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  50. package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +7 -0
  51. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.config.js +0 -5
  52. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +9 -9
  53. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +11 -14
  54. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  55. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  56. package/styled-components/es/components/Cell/Cell.js +15 -12
  57. package/styled-components/es/components/Cell/CellTextbox/CellTextbox.js +13 -0
  58. package/styled-components/es/components/Cell/{Textbox/Textbox.styles.js → CellTextbox/CellTextbox.styles.js} +2 -2
  59. package/styled-components/es/components/Cell/{Textbox/ui/TextLabel.js → CellTextbox/ui/CellTextLabel.js} +2 -2
  60. package/styled-components/es/components/Cell/{Textbox/ui/TextSubtitle.js → CellTextbox/ui/CellTextSubtitle.js} +2 -2
  61. package/styled-components/es/components/Cell/{Textbox/ui/TextTitle.js → CellTextbox/ui/CellTextTitle.js} +2 -2
  62. package/styled-components/es/components/Cell/index.js +4 -4
  63. package/styled-components/es/components/Dropdown/Dropdown.js +2 -1
  64. package/styled-components/es/components/Popover/Popover.js +46 -31
  65. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.config.js +0 -5
  66. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +2 -2
  67. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +12 -15
  68. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  69. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  70. package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +7 -0
  71. package/styled-components/es/examples/plasma_web/components/Cell/Cell.config.js +0 -5
  72. package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +2 -2
  73. package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +11 -14
  74. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  75. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  76. package/types/components/Cell/Cell.d.ts +0 -1
  77. package/types/components/Cell/Cell.d.ts.map +1 -1
  78. package/types/components/Cell/Cell.types.d.ts +9 -8
  79. package/types/components/Cell/Cell.types.d.ts.map +1 -1
  80. package/types/components/Cell/CellTextbox/CellTextbox.d.ts +4 -0
  81. package/types/components/Cell/CellTextbox/CellTextbox.d.ts.map +1 -0
  82. package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts +2 -0
  83. package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts.map +1 -0
  84. package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts +43 -0
  85. package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts.map +1 -0
  86. package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts +5 -0
  87. package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts.map +1 -0
  88. package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts +5 -0
  89. package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts.map +1 -0
  90. package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts +5 -0
  91. package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts.map +1 -0
  92. package/types/components/Cell/index.d.ts +5 -5
  93. package/types/components/Cell/index.d.ts.map +1 -1
  94. package/types/components/Combobox/Combobox.styles.d.ts +8 -2
  95. package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
  96. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  97. package/types/components/Dropdown/Dropdown.styles.d.ts +7 -1
  98. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  99. package/types/components/Popover/Popover.d.ts +2 -2
  100. package/types/components/Popover/Popover.d.ts.map +1 -1
  101. package/types/components/Popover/Popover.types.d.ts +19 -14
  102. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  103. package/types/components/Select/Select.styles.d.ts +8 -2
  104. package/types/components/Select/Select.styles.d.ts.map +1 -1
  105. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts +0 -5
  106. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts.map +1 -1
  107. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +10 -8
  108. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -1
  109. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +7 -1
  110. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
  111. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts +0 -5
  112. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts.map +1 -1
  113. package/types/examples/plasma_web/components/Cell/Cell.d.ts +10 -8
  114. package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -1
  115. package/types/examples/plasma_web/components/Popover/Popover.d.ts +7 -1
  116. package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
  117. package/types/examples/sds_engineer/components/Popover/Popover.d.ts +7 -1
  118. package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
  119. package/cjs/components/Cell/Textbox/Textbox.js +0 -20
  120. package/cjs/components/Cell/Textbox/Textbox.js.map +0 -1
  121. package/cjs/components/Cell/Textbox/Textbox.styles.js.map +0 -1
  122. package/cjs/components/Cell/Textbox/ui/TextLabel.js.map +0 -1
  123. package/cjs/components/Cell/Textbox/ui/TextSubtitle.js.map +0 -1
  124. package/cjs/components/Cell/Textbox/ui/TextTitle.js.map +0 -1
  125. package/es/components/Cell/Textbox/Textbox.js +0 -16
  126. package/es/components/Cell/Textbox/Textbox.js.map +0 -1
  127. package/es/components/Cell/Textbox/Textbox.styles.js +0 -9
  128. package/es/components/Cell/Textbox/Textbox.styles.js.map +0 -1
  129. package/es/components/Cell/Textbox/ui/TextLabel.js.map +0 -1
  130. package/es/components/Cell/Textbox/ui/TextSubtitle.js.map +0 -1
  131. package/es/components/Cell/Textbox/ui/TextTitle.js.map +0 -1
  132. package/styled-components/cjs/components/Cell/Textbox/Textbox.js +0 -19
  133. package/styled-components/es/components/Cell/Textbox/Textbox.js +0 -12
  134. package/types/components/Cell/Textbox/Textbox.d.ts +0 -4
  135. package/types/components/Cell/Textbox/Textbox.d.ts.map +0 -1
  136. package/types/components/Cell/Textbox/Textbox.styles.d.ts +0 -2
  137. package/types/components/Cell/Textbox/Textbox.styles.d.ts.map +0 -1
  138. package/types/components/Cell/Textbox/Textbox.types.d.ts +0 -33
  139. package/types/components/Cell/Textbox/Textbox.types.d.ts.map +0 -1
  140. package/types/components/Cell/Textbox/ui/TextLabel.d.ts +0 -5
  141. package/types/components/Cell/Textbox/ui/TextLabel.d.ts.map +0 -1
  142. package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts +0 -5
  143. package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts.map +0 -1
  144. package/types/components/Cell/Textbox/ui/TextTitle.d.ts +0 -5
  145. package/types/components/Cell/Textbox/ui/TextTitle.d.ts.map +0 -1
  146. /package/styled-components/cjs/components/Cell/{Textbox/Textbox.types.js → CellTextbox/CellTextbox.types.js} +0 -0
  147. /package/styled-components/es/components/Cell/{Textbox/Textbox.types.js → CellTextbox/CellTextbox.types.js} +0 -0
@@ -3,6 +3,12 @@ export declare const StyledPopover: import("@linaria/react").StyledMeta & import
3
3
  view: {
4
4
  css: import("@linaria/core").LinariaClassName;
5
5
  };
6
- }> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
7
+ trigger?: "click" | undefined;
8
+ closeOnOverlayClick?: boolean | undefined;
9
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
10
+ trigger?: "hover" | undefined;
11
+ closeOnBeyondTargetHover?: boolean | undefined;
12
+ } & import("react").RefAttributes<HTMLDivElement>))>;
7
13
  export declare const StyledDropdown: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
14
  //# sourceMappingURL=Dropdown.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.styles.ts"],"names":[],"mappings":";AAUA,eAAO,MAAM,aAAa;;;;4JAIzB,CAAC;AAEF,eAAO,MAAM,cAAc,qKAY1B,CAAC"}
1
+ {"version":3,"file":"Dropdown.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.styles.ts"],"names":[],"mappings":";AAUA,eAAO,MAAM,aAAa;;;;;;;;;;oDAIzB,CAAC;AAEF,eAAO,MAAM,cAAc,qKAY1B,CAAC"}
@@ -7,11 +7,11 @@ export declare const POPOVER_PORTAL_ID = "plasma-popover-root";
7
7
  * Всплывающее окно с возможностью позиционирования
8
8
  * и вызова по клику либо ховеру.
9
9
  */
10
- export declare const popoverRoot: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("./Popover.types").CustomPopoverProps & React.RefAttributes<HTMLDivElement>>;
10
+ export declare const popoverRoot: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
11
11
  export declare const popoverConfig: {
12
12
  name: string;
13
13
  tag: string;
14
- layout: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("./Popover.types").CustomPopoverProps & React.RefAttributes<HTMLDivElement>>;
14
+ layout: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
15
15
  base: string;
16
16
  variations: {
17
17
  view: {
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAMpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAItE,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,WAAW,SAAU,UAAU,cAAc,EAAE,YAAY,CAAC,+JAgPpE,CAAC;AAEN,eAAO,MAAM,aAAa;;;mBAlPQ,UAAU,cAAc,EAAE,YAAY,CAAC;;;;;;;;;;CA+PxE,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAMpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAItE,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,WAAW,SAAU,UAAU,cAAc,EAAE,YAAY,CAAC,wFAsQnE,CAAC;AAEP,eAAO,MAAM,aAAa;;;mBAxQQ,UAAU,cAAc,EAAE,YAAY,CAAC;;;;;;;;;;CAqRxE,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { Placement, ComputedPlacement } from '@popperjs/core';
2
2
  import type { HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
3
- export declare type PopoverTrigger = 'hover' | 'click';
4
3
  export declare type PopoverPlacementBasic = ComputedPlacement;
5
4
  export declare type PopoverPlacement = Placement;
6
5
  export declare type CustomPopoverProps = {
@@ -8,12 +7,6 @@ export declare type CustomPopoverProps = {
8
7
  * Всплывающее окно раскрыто или нет.
9
8
  */
10
9
  isOpen?: boolean;
11
- /**
12
- * Способ открытия всплывающего окна - наведение или клик мышью.
13
- * @default
14
- * click
15
- */
16
- trigger?: PopoverTrigger;
17
10
  /**
18
11
  * Сторона открытия окна относительно target элемента.
19
12
  * @default
@@ -60,12 +53,6 @@ export declare type CustomPopoverProps = {
60
53
  * Событие сворачивания/разворачивания всплывающего окна.
61
54
  */
62
55
  onToggle?: (isOpen: boolean, event: SyntheticEvent | Event) => void;
63
- /**
64
- * Закрывать окно при нажатии вне области окна.
65
- * @default
66
- * true
67
- */
68
- closeOnOverlayClick?: boolean;
69
56
  /**
70
57
  * Закрывать окно при нажатии ESC.
71
58
  * @default
@@ -80,5 +67,23 @@ export declare type CustomPopoverProps = {
80
67
  usePortal?: boolean;
81
68
  view?: string;
82
69
  };
83
- export declare type PopoverProps = HTMLAttributes<HTMLDivElement> & CustomPopoverProps;
70
+ export declare type PopoverTrigger = {
71
+ /**
72
+ * Способ открытия всплывающего окна - наведение или клик мышью.
73
+ * @default
74
+ * click
75
+ */
76
+ trigger?: 'click';
77
+ /**
78
+ * Закрывать окно при нажатии вне области окна. (Если trigger === 'click')
79
+ */
80
+ closeOnOverlayClick?: boolean;
81
+ } | {
82
+ trigger?: 'hover';
83
+ /**
84
+ * Закрывать окно при наведении вне области target-элемента. (Если trigger === 'hover')
85
+ */
86
+ closeOnBeyondTargetHover?: boolean;
87
+ };
88
+ export declare type PopoverProps = HTMLAttributes<HTMLDivElement> & CustomPopoverProps & PopoverTrigger;
84
89
  //# sourceMappingURL=Popover.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,oBAAY,cAAc,GAAG,OAAO,GAAG,OAAO,CAAC;AAE/C,oBAAY,qBAAqB,GAAG,iBAAiB,CAAC;AACtD,oBAAY,gBAAgB,GAAG,SAAS,CAAC;AAEzC,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC"}
1
+ {"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,oBAAY,qBAAqB,GAAG,iBAAiB,CAAC;AACtD,oBAAY,gBAAgB,GAAG,SAAS,CAAC;AAEzC,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,cAAc,GACpB;IACI;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC,GACD;IACI,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AAER,oBAAY,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
@@ -3,10 +3,16 @@ export declare const StyledRoot: import("@linaria/react").StyledComponent<import
3
3
  export declare const StyledSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
4
  export declare const StyledPopover: import("@linaria/react").StyledComponent<{
5
5
  selectWidth?: number | undefined;
6
- } & import("../../engines/types").PropsType<{
6
+ } & (import("../../engines/types").PropsType<{
7
7
  view: {
8
8
  css: import("@linaria/core").LinariaClassName;
9
9
  };
10
- }> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
10
+ }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
11
+ trigger?: "click" | undefined;
12
+ closeOnOverlayClick?: boolean | undefined;
13
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
14
+ trigger?: "hover" | undefined;
15
+ closeOnBeyondTargetHover?: boolean | undefined;
16
+ } & import("react").RefAttributes<HTMLDivElement>)))>;
11
17
  export declare const StyledNativeSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSelectElement> & import("react").SelectHTMLAttributes<HTMLSelectElement> & Record<never, unknown>>;
12
18
  //# sourceMappingURL=Select.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,UAAU,qKAOtB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAaxB,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;4JAMzB,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAwB9B,CAAC"}
1
+ {"version":3,"file":"Select.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,UAAU,qKAOtB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAaxB,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;;;;;;;qDAMzB,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAwB9B,CAAC"}
@@ -1,9 +1,4 @@
1
1
  export declare const config: {
2
- defaults: {
3
- view: string;
4
- size: string;
5
- stretching: string;
6
- };
7
2
  variations: {
8
3
  view: {
9
4
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;CAmJlB,CAAC"}
1
+ {"version":3,"file":"Cell.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;CA8IlB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Textbox, TextLabel, TextSubtitle, TextTitle } from '../../../../components/Cell';
2
+ import { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle } from '../../../../components/Cell';
3
3
  export declare const Cell: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
4
  view: {
5
5
  default: import("@linaria/core").LinariaClassName;
@@ -15,29 +15,31 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
15
15
  view: string;
16
16
  contentLeft?: import("react").ReactNode;
17
17
  contentRight?: import("react").ReactNode;
18
- content?: import("react").ReactNode;
19
- alignLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
20
- alignRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
18
+ alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
19
+ alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
21
20
  stretching?: "fixed" | "auto" | "filled" | undefined;
21
+ content?: import("react").ReactNode;
22
22
  } & import("react").HTMLAttributes<HTMLDivElement> & {
23
23
  title?: import("react").ReactNode;
24
24
  subtitle?: import("react").ReactNode;
25
25
  label?: import("react").ReactNode;
26
+ description?: import("react").ReactNode;
26
27
  children?: undefined;
27
28
  } & import("react").RefAttributes<HTMLSelectElement>) | ({
28
29
  size?: string | undefined;
29
30
  view: string;
30
31
  contentLeft?: import("react").ReactNode;
31
32
  contentRight?: import("react").ReactNode;
32
- content?: import("react").ReactNode;
33
- alignLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
34
- alignRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
33
+ alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
34
+ alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
35
35
  stretching?: "fixed" | "auto" | "filled" | undefined;
36
+ content?: import("react").ReactNode;
36
37
  } & import("react").HTMLAttributes<HTMLDivElement> & {
37
38
  title?: undefined;
38
39
  subtitle?: undefined;
39
40
  label?: undefined;
41
+ description?: undefined;
40
42
  children?: import("react").ReactNode;
41
43
  } & import("react").RefAttributes<HTMLSelectElement>))>;
42
- export { Textbox, TextLabel, TextSubtitle, TextTitle };
44
+ export { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle };
43
45
  //# sourceMappingURL=Cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAAc,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMtG,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAEH,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACnB,MAAM,6BAA6B,CAAC;AAMrC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -4,5 +4,11 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
4
4
  view: {
5
5
  default: import("@linaria/core").LinariaClassName;
6
6
  };
7
- }> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
8
+ trigger?: "click" | undefined;
9
+ closeOnOverlayClick?: boolean | undefined;
10
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
11
+ trigger?: "hover" | undefined;
12
+ closeOnBeyondTargetHover?: boolean | undefined;
13
+ } & import("react").RefAttributes<HTMLDivElement>))>;
8
14
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;gLAA0B,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;;;;;;;oDAA0B,CAAC"}
@@ -1,9 +1,4 @@
1
1
  export declare const config: {
2
- defaults: {
3
- view: string;
4
- size: string;
5
- stretching: string;
6
- };
7
2
  variations: {
8
3
  view: {
9
4
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;CAoJlB,CAAC"}
1
+ {"version":3,"file":"Cell.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;CA+IlB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Textbox, TextLabel, TextSubtitle, TextTitle } from '../../../../components/Cell';
2
+ import { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle } from '../../../../components/Cell';
3
3
  export declare const Cell: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
4
  view: {
5
5
  default: import("@linaria/core").LinariaClassName;
@@ -15,29 +15,31 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
15
15
  view: string;
16
16
  contentLeft?: import("react").ReactNode;
17
17
  contentRight?: import("react").ReactNode;
18
- content?: import("react").ReactNode;
19
- alignLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
20
- alignRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
18
+ alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
19
+ alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
21
20
  stretching?: "fixed" | "auto" | "filled" | undefined;
21
+ content?: import("react").ReactNode;
22
22
  } & import("react").HTMLAttributes<HTMLDivElement> & {
23
23
  title?: import("react").ReactNode;
24
24
  subtitle?: import("react").ReactNode;
25
25
  label?: import("react").ReactNode;
26
+ description?: import("react").ReactNode;
26
27
  children?: undefined;
27
28
  } & import("react").RefAttributes<HTMLSelectElement>) | ({
28
29
  size?: string | undefined;
29
30
  view: string;
30
31
  contentLeft?: import("react").ReactNode;
31
32
  contentRight?: import("react").ReactNode;
32
- content?: import("react").ReactNode;
33
- alignLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
34
- alignRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
33
+ alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
34
+ alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
35
35
  stretching?: "fixed" | "auto" | "filled" | undefined;
36
+ content?: import("react").ReactNode;
36
37
  } & import("react").HTMLAttributes<HTMLDivElement> & {
37
38
  title?: undefined;
38
39
  subtitle?: undefined;
39
40
  label?: undefined;
41
+ description?: undefined;
40
42
  children?: import("react").ReactNode;
41
43
  } & import("react").RefAttributes<HTMLSelectElement>))>;
42
- export { Textbox, TextLabel, TextSubtitle, TextTitle };
44
+ export { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle };
43
45
  //# sourceMappingURL=Cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAAc,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMtG,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Cell/Cell.ts"],"names":[],"mappings":";AACA,OAAO,EAEH,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACnB,MAAM,6BAA6B,CAAC;AAKrC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -4,5 +4,11 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
4
4
  view: {
5
5
  default: import("@linaria/core").LinariaClassName;
6
6
  };
7
- }> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
8
+ trigger?: "click" | undefined;
9
+ closeOnOverlayClick?: boolean | undefined;
10
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
11
+ trigger?: "hover" | undefined;
12
+ closeOnBeyondTargetHover?: boolean | undefined;
13
+ } & import("react").RefAttributes<HTMLDivElement>))>;
8
14
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;gLAA0B,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;;;;;;;oDAA0B,CAAC"}
@@ -4,5 +4,11 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
4
4
  view: {
5
5
  default: import("@linaria/core").LinariaClassName;
6
6
  };
7
- }> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
8
+ trigger?: "click" | undefined;
9
+ closeOnOverlayClick?: boolean | undefined;
10
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
11
+ trigger?: "hover" | undefined;
12
+ closeOnBeyondTargetHover?: boolean | undefined;
13
+ } & import("react").RefAttributes<HTMLDivElement>))>;
8
14
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;gLAA0B,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;;;;;;;oDAA0B,CAAC"}
@@ -1,20 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var React = require('react');
6
- var Textbox_styles = require('./Textbox.styles.js');
7
- var TextLabel = require('./ui/TextLabel.js');
8
- var TextTitle = require('./ui/TextTitle.js');
9
- var TextSubtitle = require('./ui/TextSubtitle.js');
10
-
11
- var Textbox = function Textbox(_ref) {
12
- var label = _ref.label,
13
- title = _ref.title,
14
- subtitle = _ref.subtitle,
15
- children = _ref.children;
16
- return /*#__PURE__*/React.createElement(Textbox_styles.TextboxStyled, null, label || title || subtitle ? /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(TextLabel.TextLabel, null, label), title && /*#__PURE__*/React.createElement(TextTitle.TextTitle, null, title), subtitle && /*#__PURE__*/React.createElement(TextSubtitle.TextSubtitle, null, subtitle)) : children);
17
- };
18
-
19
- exports.Textbox = Textbox;
20
- //# sourceMappingURL=Textbox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textbox.js","sources":["../../../../src/components/Cell/Textbox/Textbox.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport type { TextboxProps } from './Textbox.types';\nimport { TextboxStyled } from './Textbox.styles';\nimport { TextLabel } from './ui/TextLabel';\nimport { TextTitle } from './ui/TextTitle';\nimport { TextSubtitle } from './ui/TextSubtitle';\n\nexport const Textbox: React.FC<HTMLAttributes<HTMLDivElement> & TextboxProps> = ({\n label,\n title,\n subtitle,\n children,\n}) => {\n return (\n <TextboxStyled>\n {label || title || subtitle ? (\n <>\n {label && <TextLabel>{label}</TextLabel>}\n {title && <TextTitle>{title}</TextTitle>}\n {subtitle && <TextSubtitle>{subtitle}</TextSubtitle>}\n </>\n ) : (\n children\n )}\n </TextboxStyled>\n );\n};\n"],"names":["Textbox","_ref","label","title","subtitle","children","React","createElement","TextboxStyled","Fragment","TextLabel","TextTitle","TextSubtitle"],"mappings":";;;;;;;;;;IAQaA,OAAgE,GAAG,SAAnEA,OAAgEA,CAAAC,IAAA,EAKvE;AAAA,EAAA,IAJFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ,CAAA;EAER,oBACIC,KAAA,CAAAC,aAAA,CAACC,4BAAa,QACTN,KAAK,IAAIC,KAAK,IAAIC,QAAQ,gBACvBE,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAG,QAAA,EACKP,IAAAA,EAAAA,KAAK,iBAAII,KAAA,CAAAC,aAAA,CAACG,mBAAS,QAAER,KAAiB,CAAC,EACvCC,KAAK,iBAAIG,KAAA,CAAAC,aAAA,CAACI,mBAAS,EAAER,IAAAA,EAAAA,KAAiB,CAAC,EACvCC,QAAQ,iBAAIE,KAAA,CAAAC,aAAA,CAACK,yBAAY,EAAER,IAAAA,EAAAA,QAAuB,CACrD,CAAC,GAEHC,QAEO,CAAC,CAAA;AAExB;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textbox.styles.js","sources":["../../../../src/components/Cell/Textbox/Textbox.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../Cell.tokens';\n\nexport const TextboxStyled = styled.div`\n display: flex;\n flex-direction: column;\n gap: var(${tokens.cellTextboxGap});\n`;\n"],"names":["TextboxStyled","styled","div","withConfig","componentId","tokens","cellTextboxGap"],"mappings":";;;;;;;IAIaA,aAAa,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CAGxBC,CAAAA,CAAAA,CAAAA,6CAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,cAAc;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextLabel.js","sources":["../../../../../src/components/Cell/Textbox/ui/TextLabel.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextLabel = styled.div`\n color: var(${tokens.cellLabelColor});\n font-size: var(${tokens.cellLabelFontSize});\n font-weight: var(${tokens.cellLabelFontWeight});\n font-family: var(${tokens.cellLabelFontFamily});\n font-style: var(${tokens.cellLabelFontStyle});\n line-height: var(${tokens.cellLabelLineHeight});\n letter-spacing: var(${tokens.cellLabelLetterSpacing});\n`;\n\ntype TextLabelProps = {};\n\nexport const TextLabel: React.FC<HTMLAttributes<HTMLDivElement> & TextLabelProps> = (props) => {\n return <StyledTextLabel>{props.children}</StyledTextLabel>;\n};\n"],"names":["StyledTextLabel","styled","div","withConfig","componentId","tokens","cellLabelColor","cellLabelFontSize","cellLabelFontWeight","cellLabelFontFamily","cellLabelFontStyle","cellLabelLineHeight","cellLabelLetterSpacing","TextLabel","props","React","createElement","children"],"mappings":";;;;;;;;AAKA,IAAMA,eAAe,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CACjBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,cAAc,EACjBD,kBAAM,CAACE,iBAAiB,EACtBF,kBAAM,CAACG,mBAAmB,EAC1BH,kBAAM,CAACI,mBAAmB,EAC3BJ,kBAAM,CAACK,kBAAkB,EACxBL,kBAAM,CAACM,mBAAmB,EACvBN,kBAAM,CAACO,sBAAsB,CACtD,CAAA;IAIYC,SAAoE,GAAG,SAAvEA,SAAoEA,CAAIC,KAAK,EAAK;EAC3F,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,eAAe,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA0B,CAAC,CAAA;AAC9D;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextSubtitle.js","sources":["../../../../../src/components/Cell/Textbox/ui/TextSubtitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextSubtitle = styled.div`\n color: var(${tokens.cellSubtitleColor});\n font-size: var(${tokens.cellSubtitleFontSize});\n font-weight: var(${tokens.cellSubtitleFontWeight});\n font-family: var(${tokens.cellSubtitleFontFamily});\n font-style: var(${tokens.cellSubtitleFontStyle});\n line-height: var(${tokens.cellSubtitleLineHeight});\n letter-spacing: var(${tokens.cellSubtitleLetterSpacing});\n`;\n\ntype TextSubtitleProps = {};\n\nexport const TextSubtitle: React.FC<HTMLAttributes<HTMLDivElement> & TextSubtitleProps> = (props) => {\n return <StyledTextSubtitle>{props.children}</StyledTextSubtitle>;\n};\n"],"names":["StyledTextSubtitle","styled","div","withConfig","componentId","tokens","cellSubtitleColor","cellSubtitleFontSize","cellSubtitleFontWeight","cellSubtitleFontFamily","cellSubtitleFontStyle","cellSubtitleLineHeight","cellSubtitleLetterSpacing","TextSubtitle","props","React","createElement","children"],"mappings":";;;;;;;;AAKA,IAAMA,kBAAkB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CACpBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,iBAAiB,EACpBD,kBAAM,CAACE,oBAAoB,EACzBF,kBAAM,CAACG,sBAAsB,EAC7BH,kBAAM,CAACI,sBAAsB,EAC9BJ,kBAAM,CAACK,qBAAqB,EAC3BL,kBAAM,CAACM,sBAAsB,EAC1BN,kBAAM,CAACO,yBAAyB,CACzD,CAAA;IAIYC,YAA0E,GAAG,SAA7EA,YAA0EA,CAAIC,KAAK,EAAK;EACjG,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,kBAAkB,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA6B,CAAC,CAAA;AACpE;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextTitle.js","sources":["../../../../../src/components/Cell/Textbox/ui/TextTitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextTitle = styled.div`\n color: var(${tokens.cellTitleColor});\n font-size: var(${tokens.cellTitleFontSize});\n font-weight: var(${tokens.cellTitleFontWeight});\n font-family: var(${tokens.cellTitleFontFamily});\n font-style: var(${tokens.cellTitleFontStyle});\n line-height: var(${tokens.cellTitleLineHeight});\n letter-spacing: var(${tokens.cellTitleLetterSpacing});\n`;\n\ntype TextTitleProps = {};\n\nexport const TextTitle: React.FC<HTMLAttributes<HTMLDivElement> & TextTitleProps> = (props) => {\n return <StyledTextTitle>{props.children}</StyledTextTitle>;\n};\n"],"names":["StyledTextTitle","styled","div","withConfig","componentId","tokens","cellTitleColor","cellTitleFontSize","cellTitleFontWeight","cellTitleFontFamily","cellTitleFontStyle","cellTitleLineHeight","cellTitleLetterSpacing","TextTitle","props","React","createElement","children"],"mappings":";;;;;;;;AAKA,IAAMA,eAAe,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CACjBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,cAAc,EACjBD,kBAAM,CAACE,iBAAiB,EACtBF,kBAAM,CAACG,mBAAmB,EAC1BH,kBAAM,CAACI,mBAAmB,EAC3BJ,kBAAM,CAACK,kBAAkB,EACxBL,kBAAM,CAACM,mBAAmB,EACvBN,kBAAM,CAACO,sBAAsB,CACtD,CAAA;IAIYC,SAAoE,GAAG,SAAvEA,SAAoEA,CAAIC,KAAK,EAAK;EAC3F,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,eAAe,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA0B,CAAC,CAAA;AAC9D;;;;"}
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { TextboxStyled } from './Textbox.styles.js';
3
- import { TextLabel } from './ui/TextLabel.js';
4
- import { TextTitle } from './ui/TextTitle.js';
5
- import { TextSubtitle } from './ui/TextSubtitle.js';
6
-
7
- var Textbox = function Textbox(_ref) {
8
- var label = _ref.label,
9
- title = _ref.title,
10
- subtitle = _ref.subtitle,
11
- children = _ref.children;
12
- return /*#__PURE__*/React.createElement(TextboxStyled, null, label || title || subtitle ? /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(TextLabel, null, label), title && /*#__PURE__*/React.createElement(TextTitle, null, title), subtitle && /*#__PURE__*/React.createElement(TextSubtitle, null, subtitle)) : children);
13
- };
14
-
15
- export { Textbox };
16
- //# sourceMappingURL=Textbox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textbox.js","sources":["../../../../src/components/Cell/Textbox/Textbox.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport type { TextboxProps } from './Textbox.types';\nimport { TextboxStyled } from './Textbox.styles';\nimport { TextLabel } from './ui/TextLabel';\nimport { TextTitle } from './ui/TextTitle';\nimport { TextSubtitle } from './ui/TextSubtitle';\n\nexport const Textbox: React.FC<HTMLAttributes<HTMLDivElement> & TextboxProps> = ({\n label,\n title,\n subtitle,\n children,\n}) => {\n return (\n <TextboxStyled>\n {label || title || subtitle ? (\n <>\n {label && <TextLabel>{label}</TextLabel>}\n {title && <TextTitle>{title}</TextTitle>}\n {subtitle && <TextSubtitle>{subtitle}</TextSubtitle>}\n </>\n ) : (\n children\n )}\n </TextboxStyled>\n );\n};\n"],"names":["Textbox","_ref","label","title","subtitle","children","React","createElement","TextboxStyled","Fragment","TextLabel","TextTitle","TextSubtitle"],"mappings":";;;;;;IAQaA,OAAgE,GAAG,SAAnEA,OAAgEA,CAAAC,IAAA,EAKvE;AAAA,EAAA,IAJFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ,CAAA;EAER,oBACIC,KAAA,CAAAC,aAAA,CAACC,aAAa,QACTN,KAAK,IAAIC,KAAK,IAAIC,QAAQ,gBACvBE,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAG,QAAA,EACKP,IAAAA,EAAAA,KAAK,iBAAII,KAAA,CAAAC,aAAA,CAACG,SAAS,QAAER,KAAiB,CAAC,EACvCC,KAAK,iBAAIG,KAAA,CAAAC,aAAA,CAACI,SAAS,EAAER,IAAAA,EAAAA,KAAiB,CAAC,EACvCC,QAAQ,iBAAIE,KAAA,CAAAC,aAAA,CAACK,YAAY,EAAER,IAAAA,EAAAA,QAAuB,CACrD,CAAC,GAEHC,QAEO,CAAC,CAAA;AAExB;;;;"}
@@ -1,9 +0,0 @@
1
- import styled from 'styled-components';
2
- import { tokens } from '../Cell.tokens.js';
3
-
4
- var TextboxStyled = /*#__PURE__*/styled.div.withConfig({
5
- componentId: "plasma-new-hope__sc-18k78d7-0"
6
- })(["display:flex;flex-direction:column;gap:var(", ");"], tokens.cellTextboxGap);
7
-
8
- export { TextboxStyled };
9
- //# sourceMappingURL=Textbox.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textbox.styles.js","sources":["../../../../src/components/Cell/Textbox/Textbox.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../Cell.tokens';\n\nexport const TextboxStyled = styled.div`\n display: flex;\n flex-direction: column;\n gap: var(${tokens.cellTextboxGap});\n`;\n"],"names":["TextboxStyled","styled","div","withConfig","componentId","tokens","cellTextboxGap"],"mappings":";;;IAIaA,aAAa,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CAGxBC,CAAAA,CAAAA,CAAAA,6CAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,cAAc;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextLabel.js","sources":["../../../../../src/components/Cell/Textbox/ui/TextLabel.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextLabel = styled.div`\n color: var(${tokens.cellLabelColor});\n font-size: var(${tokens.cellLabelFontSize});\n font-weight: var(${tokens.cellLabelFontWeight});\n font-family: var(${tokens.cellLabelFontFamily});\n font-style: var(${tokens.cellLabelFontStyle});\n line-height: var(${tokens.cellLabelLineHeight});\n letter-spacing: var(${tokens.cellLabelLetterSpacing});\n`;\n\ntype TextLabelProps = {};\n\nexport const TextLabel: React.FC<HTMLAttributes<HTMLDivElement> & TextLabelProps> = (props) => {\n return <StyledTextLabel>{props.children}</StyledTextLabel>;\n};\n"],"names":["StyledTextLabel","styled","div","withConfig","componentId","tokens","cellLabelColor","cellLabelFontSize","cellLabelFontWeight","cellLabelFontFamily","cellLabelFontStyle","cellLabelLineHeight","cellLabelLetterSpacing","TextLabel","props","React","createElement","children"],"mappings":";;;;AAKA,IAAMA,eAAe,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CACjBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,cAAc,EACjBD,MAAM,CAACE,iBAAiB,EACtBF,MAAM,CAACG,mBAAmB,EAC1BH,MAAM,CAACI,mBAAmB,EAC3BJ,MAAM,CAACK,kBAAkB,EACxBL,MAAM,CAACM,mBAAmB,EACvBN,MAAM,CAACO,sBAAsB,CACtD,CAAA;IAIYC,SAAoE,GAAG,SAAvEA,SAAoEA,CAAIC,KAAK,EAAK;EAC3F,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,eAAe,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA0B,CAAC,CAAA;AAC9D;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextSubtitle.js","sources":["../../../../../src/components/Cell/Textbox/ui/TextSubtitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextSubtitle = styled.div`\n color: var(${tokens.cellSubtitleColor});\n font-size: var(${tokens.cellSubtitleFontSize});\n font-weight: var(${tokens.cellSubtitleFontWeight});\n font-family: var(${tokens.cellSubtitleFontFamily});\n font-style: var(${tokens.cellSubtitleFontStyle});\n line-height: var(${tokens.cellSubtitleLineHeight});\n letter-spacing: var(${tokens.cellSubtitleLetterSpacing});\n`;\n\ntype TextSubtitleProps = {};\n\nexport const TextSubtitle: React.FC<HTMLAttributes<HTMLDivElement> & TextSubtitleProps> = (props) => {\n return <StyledTextSubtitle>{props.children}</StyledTextSubtitle>;\n};\n"],"names":["StyledTextSubtitle","styled","div","withConfig","componentId","tokens","cellSubtitleColor","cellSubtitleFontSize","cellSubtitleFontWeight","cellSubtitleFontFamily","cellSubtitleFontStyle","cellSubtitleLineHeight","cellSubtitleLetterSpacing","TextSubtitle","props","React","createElement","children"],"mappings":";;;;AAKA,IAAMA,kBAAkB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CACpBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,iBAAiB,EACpBD,MAAM,CAACE,oBAAoB,EACzBF,MAAM,CAACG,sBAAsB,EAC7BH,MAAM,CAACI,sBAAsB,EAC9BJ,MAAM,CAACK,qBAAqB,EAC3BL,MAAM,CAACM,sBAAsB,EAC1BN,MAAM,CAACO,yBAAyB,CACzD,CAAA;IAIYC,YAA0E,GAAG,SAA7EA,YAA0EA,CAAIC,KAAK,EAAK;EACjG,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,kBAAkB,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA6B,CAAC,CAAA;AACpE;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextTitle.js","sources":["../../../../../src/components/Cell/Textbox/ui/TextTitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextTitle = styled.div`\n color: var(${tokens.cellTitleColor});\n font-size: var(${tokens.cellTitleFontSize});\n font-weight: var(${tokens.cellTitleFontWeight});\n font-family: var(${tokens.cellTitleFontFamily});\n font-style: var(${tokens.cellTitleFontStyle});\n line-height: var(${tokens.cellTitleLineHeight});\n letter-spacing: var(${tokens.cellTitleLetterSpacing});\n`;\n\ntype TextTitleProps = {};\n\nexport const TextTitle: React.FC<HTMLAttributes<HTMLDivElement> & TextTitleProps> = (props) => {\n return <StyledTextTitle>{props.children}</StyledTextTitle>;\n};\n"],"names":["StyledTextTitle","styled","div","withConfig","componentId","tokens","cellTitleColor","cellTitleFontSize","cellTitleFontWeight","cellTitleFontFamily","cellTitleFontStyle","cellTitleLineHeight","cellTitleLetterSpacing","TextTitle","props","React","createElement","children"],"mappings":";;;;AAKA,IAAMA,eAAe,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CACjBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,cAAc,EACjBD,MAAM,CAACE,iBAAiB,EACtBF,MAAM,CAACG,mBAAmB,EAC1BH,MAAM,CAACI,mBAAmB,EAC3BJ,MAAM,CAACK,kBAAkB,EACxBL,MAAM,CAACM,mBAAmB,EACvBN,MAAM,CAACO,sBAAsB,CACtD,CAAA;IAIYC,SAAoE,GAAG,SAAvEA,SAAoEA,CAAIC,KAAK,EAAK;EAC3F,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,eAAe,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA0B,CAAC,CAAA;AAC9D;;;;"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Textbox = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
- var _Textbox = /*#__PURE__*/require("./Textbox.styles");
9
- var _TextLabel = /*#__PURE__*/require("./ui/TextLabel");
10
- var _TextTitle = /*#__PURE__*/require("./ui/TextTitle");
11
- var _TextSubtitle = /*#__PURE__*/require("./ui/TextSubtitle");
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
- var Textbox = exports.Textbox = function Textbox(_ref) {
14
- var label = _ref.label,
15
- title = _ref.title,
16
- subtitle = _ref.subtitle,
17
- children = _ref.children;
18
- return /*#__PURE__*/_react["default"].createElement(_Textbox.TextboxStyled, null, label || title || subtitle ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, label && /*#__PURE__*/_react["default"].createElement(_TextLabel.TextLabel, null, label), title && /*#__PURE__*/_react["default"].createElement(_TextTitle.TextTitle, null, title), subtitle && /*#__PURE__*/_react["default"].createElement(_TextSubtitle.TextSubtitle, null, subtitle)) : children);
19
- };
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { TextboxStyled } from './Textbox.styles';
3
- import { TextLabel } from './ui/TextLabel';
4
- import { TextTitle } from './ui/TextTitle';
5
- import { TextSubtitle } from './ui/TextSubtitle';
6
- export var Textbox = function Textbox(_ref) {
7
- var label = _ref.label,
8
- title = _ref.title,
9
- subtitle = _ref.subtitle,
10
- children = _ref.children;
11
- return /*#__PURE__*/React.createElement(TextboxStyled, null, label || title || subtitle ? /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(TextLabel, null, label), title && /*#__PURE__*/React.createElement(TextTitle, null, title), subtitle && /*#__PURE__*/React.createElement(TextSubtitle, null, subtitle)) : children);
12
- };
@@ -1,4 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- import type { TextboxProps } from './Textbox.types';
3
- export declare const Textbox: React.FC<HTMLAttributes<HTMLDivElement> & TextboxProps>;
4
- //# sourceMappingURL=Textbox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/Textbox/Textbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAMpD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,YAAY,CAmB3E,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const TextboxStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- //# sourceMappingURL=Textbox.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textbox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/Textbox/Textbox.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,oEAIzB,CAAC"}
@@ -1,33 +0,0 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
2
- declare type CustomTextboxProps = {
3
- /**
4
- * Слот для Title
5
- */
6
- title?: ReactNode;
7
- /**
8
- * Слот для Subtitle
9
- */
10
- subtitle?: ReactNode;
11
- /**
12
- * Слот для Label
13
- */
14
- label?: ReactNode;
15
- children?: undefined;
16
- } | {
17
- /**
18
- * Слот для Title
19
- */
20
- title?: undefined;
21
- /**
22
- * Слот для Subtitle
23
- */
24
- subtitle?: undefined;
25
- /**
26
- * Слот для Label
27
- */
28
- label?: undefined;
29
- children?: ReactNode;
30
- };
31
- export declare type TextboxProps = HTMLAttributes<HTMLDivElement> & CustomTextboxProps;
32
- export {};
33
- //# sourceMappingURL=Textbox.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textbox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/Textbox/Textbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,aAAK,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAER,oBAAY,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC"}
@@ -1,5 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- declare type TextLabelProps = {};
3
- export declare const TextLabel: React.FC<HTMLAttributes<HTMLDivElement> & TextLabelProps>;
4
- export {};
5
- //# sourceMappingURL=TextLabel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextLabel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/Textbox/ui/TextLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,cAAc,GAAG,EAAE,CAAC;AAEzB,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAE/E,CAAC"}
@@ -1,5 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- declare type TextSubtitleProps = {};
3
- export declare const TextSubtitle: React.FC<HTMLAttributes<HTMLDivElement> & TextSubtitleProps>;
4
- export {};
5
- //# sourceMappingURL=TextSubtitle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextSubtitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/Textbox/ui/TextSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,iBAAiB,GAAG,EAAE,CAAC;AAE5B,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,iBAAiB,CAErF,CAAC"}
@@ -1,5 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- declare type TextTitleProps = {};
3
- export declare const TextTitle: React.FC<HTMLAttributes<HTMLDivElement> & TextTitleProps>;
4
- export {};
5
- //# sourceMappingURL=TextTitle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/Textbox/ui/TextTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,cAAc,GAAG,EAAE,CAAC;AAEzB,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAE/E,CAAC"}