react-miui 0.35.0 → 0.36.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 (290) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/components/layout/header/HeaderIconAction.d.ts.map +1 -1
  3. package/dist/components/layout/header/HeaderIconAction.js +13 -3
  4. package/dist/components/layout/header/HeaderIconAction.js.map +1 -1
  5. package/dist/components/layout/header/HeaderIconAction.styled.d.ts.map +1 -1
  6. package/dist/components/layout/header/HeaderIconAction.styled.js +11 -17
  7. package/dist/components/layout/header/HeaderIconAction.styled.js.map +1 -1
  8. package/dist/components/layout/list/Item.d.ts.map +1 -1
  9. package/dist/components/layout/list/Item.js +17 -7
  10. package/dist/components/layout/list/Item.js.map +1 -1
  11. package/dist/components/layout/list/Item.styled.d.ts.map +1 -1
  12. package/dist/components/layout/list/Item.styled.js +2 -1
  13. package/dist/components/layout/list/Item.styled.js.map +1 -1
  14. package/dist/components/ui/button/Button.d.ts +94 -1
  15. package/dist/components/ui/button/Button.d.ts.map +1 -1
  16. package/dist/components/ui/button/Button.js +59 -2
  17. package/dist/components/ui/button/Button.js.map +1 -1
  18. package/dist/components/ui/button/Button.styled.d.ts +2 -2
  19. package/dist/components/ui/button/Button.styled.d.ts.map +1 -1
  20. package/dist/components/ui/button/Button.styled.js +4 -3
  21. package/dist/components/ui/button/Button.styled.js.map +1 -1
  22. package/dist/components/ui/directionPad/Button.d.ts.map +1 -1
  23. package/dist/components/ui/directionPad/Button.js +7 -2
  24. package/dist/components/ui/directionPad/Button.js.map +1 -1
  25. package/dist/components/ui/directionPad/Button.styled.d.ts.map +1 -1
  26. package/dist/components/ui/directionPad/Button.styled.js +2 -1
  27. package/dist/components/ui/directionPad/Button.styled.js.map +1 -1
  28. package/dist/components/ui/directionPad/Middle.d.ts.map +1 -1
  29. package/dist/components/ui/directionPad/Middle.js +7 -1
  30. package/dist/components/ui/directionPad/Middle.js.map +1 -1
  31. package/dist/components/ui/directionPad/Middle.styled.d.ts.map +1 -1
  32. package/dist/components/ui/directionPad/Middle.styled.js +2 -1
  33. package/dist/components/ui/directionPad/Middle.styled.js.map +1 -1
  34. package/dist/components/ui/modal/ModalButtons.d.ts +179 -1
  35. package/dist/components/ui/modal/ModalButtons.d.ts.map +1 -1
  36. package/dist/components/ui/modal/ModalButtons.js +63 -2
  37. package/dist/components/ui/modal/ModalButtons.js.map +1 -1
  38. package/dist/components/ui/modal/ModalButtons.styled.d.ts +90 -91
  39. package/dist/components/ui/modal/ModalButtons.styled.d.ts.map +1 -1
  40. package/dist/components/ui/modal/ModalButtons.styled.js +5 -7
  41. package/dist/components/ui/modal/ModalButtons.styled.js.map +1 -1
  42. package/dist/components/ui/pop/Pop.styled.d.ts.map +1 -1
  43. package/dist/components/ui/pop/Pop.styled.js +15 -17
  44. package/dist/components/ui/pop/Pop.styled.js.map +1 -1
  45. package/dist/components/ui/pop/PopOption.d.ts.map +1 -1
  46. package/dist/components/ui/pop/PopOption.js +7 -2
  47. package/dist/components/ui/pop/PopOption.js.map +1 -1
  48. package/dist/components/ui/toolButton/ToolButton.d.ts +94 -1
  49. package/dist/components/ui/toolButton/ToolButton.d.ts.map +1 -1
  50. package/dist/components/ui/toolButton/ToolButton.js +59 -2
  51. package/dist/components/ui/toolButton/ToolButton.js.map +1 -1
  52. package/dist/components/ui/toolButton/ToolButton.styled.d.ts +2 -2
  53. package/dist/components/ui/toolButton/ToolButton.styled.d.ts.map +1 -1
  54. package/dist/components/ui/toolButton/ToolButton.styled.js +20 -25
  55. package/dist/components/ui/toolButton/ToolButton.styled.js.map +1 -1
  56. package/dist/utils/useRipple.d.ts +15 -0
  57. package/dist/utils/useRipple.d.ts.map +1 -0
  58. package/dist/utils/useRipple.js +120 -0
  59. package/dist/utils/useRipple.js.map +1 -0
  60. package/dist/utils/useRipple.styled.d.ts +28 -0
  61. package/dist/utils/useRipple.styled.d.ts.map +1 -0
  62. package/dist/utils/useRipple.styled.js +36 -0
  63. package/dist/utils/useRipple.styled.js.map +1 -0
  64. package/docs/classes/index.Pop.html +7 -7
  65. package/docs/documents/Test.html +2 -2
  66. package/docs/enums/index.ICON.html +2 -2
  67. package/docs/functions/index.Action.html +3 -3
  68. package/docs/functions/index.Button.html +3 -9
  69. package/docs/functions/index.Card.html +2 -2
  70. package/docs/functions/index.Checkbox.html +3 -3
  71. package/docs/functions/index.Choice.html +2 -2
  72. package/docs/functions/index.ColorPicker.html +3 -3
  73. package/docs/functions/index.CoveringLoader.html +3 -3
  74. package/docs/functions/index.DirectionPad.html +2 -2
  75. package/docs/functions/index.Drawer.html +2 -2
  76. package/docs/functions/index.EqualActions.html +2 -2
  77. package/docs/functions/index.FullLoader.html +3 -3
  78. package/docs/functions/index.Gap.html +2 -2
  79. package/docs/functions/index.HandleEsc.html +3 -3
  80. package/docs/functions/index.Header.html +3 -3
  81. package/docs/functions/index.HeaderIconAction.html +3 -3
  82. package/docs/functions/index.Icon-1.html +2 -2
  83. package/docs/functions/index.If.html +3 -3
  84. package/docs/functions/index.Input.html +1 -1
  85. package/docs/functions/index.KeyValue.html +2 -2
  86. package/docs/functions/index.Label.html +2 -2
  87. package/docs/functions/index.Line.html +3 -3
  88. package/docs/functions/index.List.html +2 -2
  89. package/docs/functions/index.Loader.html +3 -3
  90. package/docs/functions/index.Loading.html +3 -3
  91. package/docs/functions/index.Message.html +3 -3
  92. package/docs/functions/index.Modal.html +2 -2
  93. package/docs/functions/index.ModalButtons.html +3 -3
  94. package/docs/functions/index.PopLoader.html +3 -3
  95. package/docs/functions/index.PopOption.html +2 -2
  96. package/docs/functions/index.Progress.html +2 -2
  97. package/docs/functions/index.SearchContainer.html +2 -2
  98. package/docs/functions/index.Section.html +4 -4
  99. package/docs/functions/index.Select.html +2 -2
  100. package/docs/functions/index.Selector.html +2 -2
  101. package/docs/functions/index.Spacer.html +2 -2
  102. package/docs/functions/index.Stats.html +2 -2
  103. package/docs/functions/index.StickyHeader.html +4 -4
  104. package/docs/functions/index.Table.html +2 -2
  105. package/docs/functions/index.TextArea.html +2 -2
  106. package/docs/functions/index.TimePicker.html +2 -2
  107. package/docs/functions/index.ToasterProvider.html +3 -3
  108. package/docs/functions/index.Toggle.html +3 -3
  109. package/docs/functions/index.ToolButton.html +3 -9
  110. package/docs/functions/index.Tooltip.html +3 -3
  111. package/docs/functions/index.TooltipProvider.html +2 -2
  112. package/docs/functions/index.borderPxToRem.html +1 -1
  113. package/docs/functions/index.createTheme.html +1 -1
  114. package/docs/functions/index.css.html +1 -1
  115. package/docs/functions/index.dimensionsPxToRem.html +1 -1
  116. package/docs/functions/index.fontPxToRem.html +1 -1
  117. package/docs/functions/index.getCssText.html +1 -1
  118. package/docs/functions/index.globalCss.html +2 -2
  119. package/docs/functions/index.injectGlobalStyles.html +1 -1
  120. package/docs/functions/index.keyframes.html +1 -1
  121. package/docs/functions/index.pxToRem.html +1 -1
  122. package/docs/functions/index.styled.html +1 -1
  123. package/docs/functions/index.toast.html +2 -2
  124. package/docs/functions/index.useToaster.html +1 -1
  125. package/docs/index.html +2 -2
  126. package/docs/interfaces/index.IconProps.html +2 -2
  127. package/docs/interfaces/index.InputCustomProps.html +3 -3
  128. package/docs/interfaces/index.LoaderProps.html +6 -6
  129. package/docs/interfaces/index.StickyHeaderProps.html +4 -4
  130. package/docs/interfaces/index.ToasterProviderProps.html +3 -3
  131. package/docs/interfaces/index.TooltipProps.html +14 -14
  132. package/docs/interfaces/index.TooltipProviderProps.html +5 -5
  133. package/docs/modules/index.html +1 -1
  134. package/docs/modules.html +1 -1
  135. package/docs/types/index.ActionProps.html +1 -1
  136. package/docs/types/index.CardProps.html +1 -1
  137. package/docs/types/index.CheckboxProps.html +2 -2
  138. package/docs/types/index.ChoiceProps.html +1 -1
  139. package/docs/types/index.ColorPickerProps.html +1 -1
  140. package/docs/types/index.DirectionPadProps.html +1 -1
  141. package/docs/types/index.DrawerFrom.html +1 -1
  142. package/docs/types/index.DrawerProps.html +2 -2
  143. package/docs/types/index.EqualActionsProps.html +1 -1
  144. package/docs/types/index.HeaderProps.html +1 -1
  145. package/docs/types/index.InputProps.html +1 -1
  146. package/docs/types/index.KeyValueProps.html +1 -1
  147. package/docs/types/index.LabelProps.html +1 -1
  148. package/docs/types/index.OverwriteProps.html +1 -1
  149. package/docs/types/index.ProgressProps.html +2 -2
  150. package/docs/types/index.SelectProps.html +1 -1
  151. package/docs/types/index.SelectorProps.html +1 -1
  152. package/docs/types/index.Stat.html +1 -1
  153. package/docs/types/index.StatsProps.html +1 -1
  154. package/docs/types/index.TextAreaProps.html +1 -1
  155. package/docs/types/index.ThemeCSS.html +1 -1
  156. package/docs/types/index.TimePickerProps.html +1 -1
  157. package/docs/types/index.ToggleProps.html +2 -2
  158. package/docs/variables/index.ActionBadgeSelector.html +1 -1
  159. package/docs/variables/index.ActionCircleSelector.html +1 -1
  160. package/docs/variables/index.CheckboxCheckmarkWrapperSelector.html +1 -1
  161. package/docs/variables/index.CheckboxTextLabelSelector.html +1 -1
  162. package/docs/variables/index.ChoiceItemSelector.html +1 -1
  163. package/docs/variables/index.ColorPickerColorDisplaySelector.html +1 -1
  164. package/docs/variables/index.DirectionPadButtonDotSelector.html +1 -1
  165. package/docs/variables/index.DirectionPadButtonSelector.html +1 -1
  166. package/docs/variables/index.DirectionPadLineSelector.html +1 -1
  167. package/docs/variables/index.DirectionPadMiddleSelector.html +1 -1
  168. package/docs/variables/index.DrawerContentSelector.html +1 -1
  169. package/docs/variables/index.HeaderAfterSelector.html +1 -1
  170. package/docs/variables/index.HeaderBeforeSelector.html +1 -1
  171. package/docs/variables/index.HeaderContentsSelector.html +1 -1
  172. package/docs/variables/index.HeaderIconActionIconSelector.html +1 -1
  173. package/docs/variables/index.InputContainerSelector.html +1 -1
  174. package/docs/variables/index.InputInputSelector.html +1 -1
  175. package/docs/variables/index.InputLabelSelector.html +1 -1
  176. package/docs/variables/index.InputPrefixSelector.html +1 -1
  177. package/docs/variables/index.InputSuffixSelector.html +1 -1
  178. package/docs/variables/index.KeyValueIconSelector.html +1 -1
  179. package/docs/variables/index.KeyValueItemSelector.html +1 -1
  180. package/docs/variables/index.KeyValueKeySelector.html +1 -1
  181. package/docs/variables/index.KeyValuePairSelector.html +1 -1
  182. package/docs/variables/index.KeyValueValueSelector.html +1 -1
  183. package/docs/variables/index.LabelTextSelector.html +1 -1
  184. package/docs/variables/index.ListItemInnerContainerClassNameSelector.html +1 -1
  185. package/docs/variables/index.ModalContainerSelector.html +1 -1
  186. package/docs/variables/index.ModalRemovePaddingSelector.html +1 -1
  187. package/docs/variables/index.ModalTitleSelector.html +1 -1
  188. package/docs/variables/index.PopListSelector.html +1 -1
  189. package/docs/variables/index.PopOptionButtonSelector.html +1 -1
  190. package/docs/variables/index.PopOptionIconSelector.html +1 -1
  191. package/docs/variables/index.PopOverlaySelector.html +1 -1
  192. package/docs/variables/index.ProgressBackgroundSelector.html +1 -1
  193. package/docs/variables/index.ProgressValueSelector.html +1 -1
  194. package/docs/variables/index.SelectorItemSelector.html +1 -1
  195. package/docs/variables/index.StatsItemSelector.html +1 -1
  196. package/docs/variables/index.StatsLabelSelector.html +1 -1
  197. package/docs/variables/index.StatsSeparatorSelector.html +1 -1
  198. package/docs/variables/index.StatsValueSelector.html +1 -1
  199. package/docs/variables/index.TextAreaLabelSelector.html +1 -1
  200. package/docs/variables/index.TextAreaTextAreaSelector.html +1 -1
  201. package/docs/variables/index.TextAreaWrapperSelector.html +1 -1
  202. package/docs/variables/index.ToggleStyledToggleSelector.html +1 -1
  203. package/docs/variables/index.TooltipContentSelector.html +1 -1
  204. package/docs/variables/index.config.html +1 -1
  205. package/docs/variables/index.cssReset.html +2 -2
  206. package/docs/variables/index.darkTheme.html +1 -1
  207. package/docs/variables/index.miuiScrollbars.html +1 -1
  208. package/docs/variables/index.theme.html +1 -1
  209. package/esm/components/layout/header/HeaderIconAction.d.ts.map +1 -1
  210. package/esm/components/layout/header/HeaderIconAction.js +13 -3
  211. package/esm/components/layout/header/HeaderIconAction.js.map +1 -1
  212. package/esm/components/layout/header/HeaderIconAction.styled.d.ts.map +1 -1
  213. package/esm/components/layout/header/HeaderIconAction.styled.js +11 -17
  214. package/esm/components/layout/header/HeaderIconAction.styled.js.map +1 -1
  215. package/esm/components/layout/list/Item.d.ts.map +1 -1
  216. package/esm/components/layout/list/Item.js +18 -8
  217. package/esm/components/layout/list/Item.js.map +1 -1
  218. package/esm/components/layout/list/Item.styled.d.ts.map +1 -1
  219. package/esm/components/layout/list/Item.styled.js +2 -1
  220. package/esm/components/layout/list/Item.styled.js.map +1 -1
  221. package/esm/components/ui/button/Button.d.ts +94 -1
  222. package/esm/components/ui/button/Button.d.ts.map +1 -1
  223. package/esm/components/ui/button/Button.js +15 -1
  224. package/esm/components/ui/button/Button.js.map +1 -1
  225. package/esm/components/ui/button/Button.styled.d.ts +2 -2
  226. package/esm/components/ui/button/Button.styled.d.ts.map +1 -1
  227. package/esm/components/ui/button/Button.styled.js +3 -2
  228. package/esm/components/ui/button/Button.styled.js.map +1 -1
  229. package/esm/components/ui/directionPad/Button.d.ts.map +1 -1
  230. package/esm/components/ui/directionPad/Button.js +7 -2
  231. package/esm/components/ui/directionPad/Button.js.map +1 -1
  232. package/esm/components/ui/directionPad/Button.styled.d.ts.map +1 -1
  233. package/esm/components/ui/directionPad/Button.styled.js +2 -1
  234. package/esm/components/ui/directionPad/Button.styled.js.map +1 -1
  235. package/esm/components/ui/directionPad/Middle.d.ts.map +1 -1
  236. package/esm/components/ui/directionPad/Middle.js +7 -1
  237. package/esm/components/ui/directionPad/Middle.js.map +1 -1
  238. package/esm/components/ui/directionPad/Middle.styled.d.ts.map +1 -1
  239. package/esm/components/ui/directionPad/Middle.styled.js +2 -1
  240. package/esm/components/ui/directionPad/Middle.styled.js.map +1 -1
  241. package/esm/components/ui/modal/ModalButtons.d.ts +179 -1
  242. package/esm/components/ui/modal/ModalButtons.d.ts.map +1 -1
  243. package/esm/components/ui/modal/ModalButtons.js +19 -1
  244. package/esm/components/ui/modal/ModalButtons.js.map +1 -1
  245. package/esm/components/ui/modal/ModalButtons.styled.d.ts +90 -91
  246. package/esm/components/ui/modal/ModalButtons.styled.d.ts.map +1 -1
  247. package/esm/components/ui/modal/ModalButtons.styled.js +3 -6
  248. package/esm/components/ui/modal/ModalButtons.styled.js.map +1 -1
  249. package/esm/components/ui/pop/Pop.styled.d.ts.map +1 -1
  250. package/esm/components/ui/pop/Pop.styled.js +15 -17
  251. package/esm/components/ui/pop/Pop.styled.js.map +1 -1
  252. package/esm/components/ui/pop/PopOption.d.ts.map +1 -1
  253. package/esm/components/ui/pop/PopOption.js +7 -2
  254. package/esm/components/ui/pop/PopOption.js.map +1 -1
  255. package/esm/components/ui/toolButton/ToolButton.d.ts +94 -1
  256. package/esm/components/ui/toolButton/ToolButton.d.ts.map +1 -1
  257. package/esm/components/ui/toolButton/ToolButton.js +15 -1
  258. package/esm/components/ui/toolButton/ToolButton.js.map +1 -1
  259. package/esm/components/ui/toolButton/ToolButton.styled.d.ts +2 -2
  260. package/esm/components/ui/toolButton/ToolButton.styled.d.ts.map +1 -1
  261. package/esm/components/ui/toolButton/ToolButton.styled.js +19 -24
  262. package/esm/components/ui/toolButton/ToolButton.styled.js.map +1 -1
  263. package/esm/utils/useRipple.d.ts +15 -0
  264. package/esm/utils/useRipple.d.ts.map +1 -0
  265. package/esm/utils/useRipple.js +84 -0
  266. package/esm/utils/useRipple.js.map +1 -0
  267. package/esm/utils/useRipple.styled.d.ts +28 -0
  268. package/esm/utils/useRipple.styled.d.ts.map +1 -0
  269. package/esm/utils/useRipple.styled.js +33 -0
  270. package/esm/utils/useRipple.styled.js.map +1 -0
  271. package/package.json +1 -1
  272. package/src/components/layout/header/HeaderIconAction.styled.ts +11 -18
  273. package/src/components/layout/header/HeaderIconAction.tsx +32 -5
  274. package/src/components/layout/list/Item.styled.ts +2 -1
  275. package/src/components/layout/list/Item.tsx +38 -5
  276. package/src/components/ui/button/Button.styled.ts +3 -2
  277. package/src/components/ui/button/Button.tsx +33 -1
  278. package/src/components/ui/directionPad/Button.styled.ts +2 -1
  279. package/src/components/ui/directionPad/Button.tsx +13 -1
  280. package/src/components/ui/directionPad/Middle.styled.ts +2 -1
  281. package/src/components/ui/directionPad/Middle.tsx +13 -1
  282. package/src/components/ui/modal/ModalButtons.styled.ts +4 -7
  283. package/src/components/ui/modal/ModalButtons.tsx +38 -1
  284. package/src/components/ui/pop/Pop.styled.ts +15 -18
  285. package/src/components/ui/pop/PopOption.tsx +15 -1
  286. package/src/components/ui/toolButton/ToolButton.styled.ts +20 -26
  287. package/src/components/ui/toolButton/ToolButton.tsx +33 -0
  288. package/src/utils/useRipple.styled.ts +56 -0
  289. package/src/utils/useRipple.tsx +139 -0
  290. package/src/components/ui/toolButton/ToolButton.ts +0 -1
@@ -1,4 +1,4 @@
1
- declare const ModalButtons: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
1
+ declare const Container: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"div", {}, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
2
2
  colors: {
3
3
  background: "white";
4
4
  mainColor: "#008ad2";
@@ -82,94 +82,93 @@ declare const ModalButtons: import("../../../../node_modules/@stitches/react/typ
82
82
  width: string | number;
83
83
  height: string | number;
84
84
  };
85
- }>> & {
86
- Button: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"button", {
87
- variant?: "main";
88
- }, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
89
- colors: {
90
- background: "white";
91
- mainColor: "#008ad2";
92
- mainColorAlt: "#006AA9";
93
- activeBg: "#e7e7e7";
94
- inactiveBg: "#d3d3de";
95
- inactiveDarkBg: "#999";
96
- toggleHandleBg: "#e0e0e0";
97
- toggleHandleBorder: "#cdcdcd";
98
- toggleBgDisabled: "#f0f0f0";
99
- toggleHandleBorderDisabled: "#c29f7d";
100
- toggleHandleBgDisabled: "#deae84";
101
- icon: "#636363";
102
- border: "#d5d5d5";
103
- buttonBorder: "#bababa";
104
- headerBorder: "#c8c8c9";
105
- headerBg: "#efeff0";
106
- headerText: "#484848";
107
- text: "#323232";
108
- text2: "#181818";
109
- text3: "#000000";
110
- sub: "#959595";
111
- popText: "#666";
112
- toolbarBorder: "#ababab";
113
- toolbarBg: "#f8f8f8";
114
- modalBg: "#f7f7f7";
115
- modalButtonBg: "#f8f8f8";
116
- modalButtonBorder: "#c2c2c2";
117
- inputDisabledBg: "#f3f3f3";
118
- inputDisabledText: "#959595";
119
- choiceBg: "#ffffff";
120
- choiceText: "#999999";
121
- choiceActiveBg: "#f3f3f3";
122
- choiceActiveText: "#313131";
123
- choiceBorder: "#cfcfcf";
124
- selectorText: "#606060";
125
- selectorActive: "#008ad2";
126
- blue1: "#038bf4";
127
- blue2: "#b7d6f5";
128
- blue3: "#dbe6ff";
129
- blue4: "#33b4ff";
130
- blue5: "#30a2e6";
131
- orange1: "#ff7200";
132
- orange1Darker: "#cc5b00";
133
- purple1: "#7357e8";
134
- green1: "#3ec234";
135
- green1Darker: "#38af2f";
136
- pink1: "#ff388f";
137
- red1: "#ea2700";
138
- yellow1: "#ffde9d";
139
- yellow2: "#e4a429";
140
- yellow3: "#fff5db";
141
- pinky1: "#f5c0b7";
142
- pinky2: "#e07b67";
143
- pinky3: "#ffe1db";
144
- grey1: "#737373";
145
- focusColor: "#dcaf00";
146
- scrollbarsThumb: "#737373";
147
- scrollbarsBg: "transparent";
148
- tableStripedBg: "#fafafa";
149
- toolButtonText: "#666e80";
150
- };
151
- }, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
152
- mx: (value: string | number) => {
153
- marginLeft: string | number;
154
- marginRight: string | number;
155
- };
156
- my: (value: string | number) => {
157
- marginTop: string | number;
158
- marginBottom: string | number;
159
- };
160
- px: (value: string | number) => {
161
- paddingLeft: string | number;
162
- paddingRight: string | number;
163
- };
164
- py: (value: string | number) => {
165
- paddingTop: string | number;
166
- paddingBottom: string | number;
167
- };
168
- size: (value: string | number) => {
169
- width: string | number;
170
- height: string | number;
171
- };
172
- }>>;
173
- };
174
- export { ModalButtons, };
85
+ }>>;
86
+ declare const StyledButton: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"button", {
87
+ variant?: "main";
88
+ }, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
89
+ colors: {
90
+ background: "white";
91
+ mainColor: "#008ad2";
92
+ mainColorAlt: "#006AA9";
93
+ activeBg: "#e7e7e7";
94
+ inactiveBg: "#d3d3de";
95
+ inactiveDarkBg: "#999";
96
+ toggleHandleBg: "#e0e0e0";
97
+ toggleHandleBorder: "#cdcdcd";
98
+ toggleBgDisabled: "#f0f0f0";
99
+ toggleHandleBorderDisabled: "#c29f7d";
100
+ toggleHandleBgDisabled: "#deae84";
101
+ icon: "#636363";
102
+ border: "#d5d5d5";
103
+ buttonBorder: "#bababa";
104
+ headerBorder: "#c8c8c9";
105
+ headerBg: "#efeff0";
106
+ headerText: "#484848";
107
+ text: "#323232";
108
+ text2: "#181818";
109
+ text3: "#000000";
110
+ sub: "#959595";
111
+ popText: "#666";
112
+ toolbarBorder: "#ababab";
113
+ toolbarBg: "#f8f8f8";
114
+ modalBg: "#f7f7f7";
115
+ modalButtonBg: "#f8f8f8";
116
+ modalButtonBorder: "#c2c2c2";
117
+ inputDisabledBg: "#f3f3f3";
118
+ inputDisabledText: "#959595";
119
+ choiceBg: "#ffffff";
120
+ choiceText: "#999999";
121
+ choiceActiveBg: "#f3f3f3";
122
+ choiceActiveText: "#313131";
123
+ choiceBorder: "#cfcfcf";
124
+ selectorText: "#606060";
125
+ selectorActive: "#008ad2";
126
+ blue1: "#038bf4";
127
+ blue2: "#b7d6f5";
128
+ blue3: "#dbe6ff";
129
+ blue4: "#33b4ff";
130
+ blue5: "#30a2e6";
131
+ orange1: "#ff7200";
132
+ orange1Darker: "#cc5b00";
133
+ purple1: "#7357e8";
134
+ green1: "#3ec234";
135
+ green1Darker: "#38af2f";
136
+ pink1: "#ff388f";
137
+ red1: "#ea2700";
138
+ yellow1: "#ffde9d";
139
+ yellow2: "#e4a429";
140
+ yellow3: "#fff5db";
141
+ pinky1: "#f5c0b7";
142
+ pinky2: "#e07b67";
143
+ pinky3: "#ffe1db";
144
+ grey1: "#737373";
145
+ focusColor: "#dcaf00";
146
+ scrollbarsThumb: "#737373";
147
+ scrollbarsBg: "transparent";
148
+ tableStripedBg: "#fafafa";
149
+ toolButtonText: "#666e80";
150
+ };
151
+ }, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
152
+ mx: (value: string | number) => {
153
+ marginLeft: string | number;
154
+ marginRight: string | number;
155
+ };
156
+ my: (value: string | number) => {
157
+ marginTop: string | number;
158
+ marginBottom: string | number;
159
+ };
160
+ px: (value: string | number) => {
161
+ paddingLeft: string | number;
162
+ paddingRight: string | number;
163
+ };
164
+ py: (value: string | number) => {
165
+ paddingTop: string | number;
166
+ paddingBottom: string | number;
167
+ };
168
+ size: (value: string | number) => {
169
+ width: string | number;
170
+ height: string | number;
171
+ };
172
+ }>>;
173
+ export { Container, StyledButton, };
175
174
  //# sourceMappingURL=ModalButtons.styled.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModalButtons.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/modal/ModalButtons.styled.ts"],"names":[],"mappings":"AA2CA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEhB,CAAC;AAEH,OAAO,EACH,YAAY,GACf,CAAC"}
1
+ {"version":3,"file":"ModalButtons.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/modal/ModalButtons.styled.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKb,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BhB,CAAC;AAEH,OAAO,EACH,SAAS,EACT,YAAY,GACf,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { dimensionsPxToRem, styled } from "../../../theme.js";
2
- import { fnWithProps } from "../../../types/fnWithProps.js";
2
+ import { rippleHostStyles } from "../../../utils/useRipple.styled.js";
3
3
  import { NEGATIVE_PADDING } from "./Modal.styled.js";
4
4
  const Container = styled("div", {
5
5
  display: "flex",
@@ -7,7 +7,7 @@ const Container = styled("div", {
7
7
  mx: NEGATIVE_PADDING,
8
8
  marginBottom: NEGATIVE_PADDING,
9
9
  });
10
- const Button = styled("button", {
10
+ const StyledButton = styled("button", rippleHostStyles, {
11
11
  "border": "none",
12
12
  "borderTop": "1px solid $modalButtonBorder",
13
13
  "background": "$modalButtonBg",
@@ -34,8 +34,5 @@ const Button = styled("button", {
34
34
  },
35
35
  },
36
36
  });
37
- const ModalButtons = fnWithProps(Container, {
38
- Button,
39
- });
40
- export { ModalButtons, };
37
+ export { Container, StyledButton, };
41
38
  //# sourceMappingURL=ModalButtons.styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModalButtons.styled.js","sourceRoot":"","sources":["../../../../src/components/ui/modal/ModalButtons.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,EAAE;IAC5B,OAAO,EAAE,MAAM;IACf,SAAS,EAAE,iBAAiB,CAAC,GAAG,CAAC;IACjC,EAAE,EAAE,gBAAgB;IACpB,YAAY,EAAE,gBAAgB;CACjC,CAAC,CAAC;AAEH,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,EAAE;IAC5B,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,8BAA8B;IAC3C,YAAY,EAAE,gBAAgB;IAC9B,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,iBAAiB,CAAC,GAAG,CAAC;IAChC,YAAY,EAAE,GAAG;IACjB,SAAS,EAAE,MAAM;IACjB,YAAY,EAAE,QAAQ;IACtB,gBAAgB,EAAE,QAAQ;IAE1B,qBAAqB,EAAE;QACnB,UAAU,EAAE,8BAA8B;KAC7C;IAED,eAAe,EAAE;QACb,sBAAsB,EAAE,iBAAiB,CAAC,EAAE,CAAC;KAChD;IAED,cAAc,EAAE;QACZ,uBAAuB,EAAE,iBAAiB,CAAC,EAAE,CAAC;KACjD;IAED,UAAU,EAAE;QACR,OAAO,EAAE;YACL,IAAI,EAAE;gBACF,KAAK,EAAE,YAAY;aACtB;SACJ;KACJ;CACJ,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,WAAW,CAAC,SAAS,EAAE;IACxC,MAAM;CACT,CAAC,CAAC;AAEH,OAAO,EACH,YAAY,GACf,CAAC"}
1
+ {"version":3,"file":"ModalButtons.styled.js","sourceRoot":"","sources":["../../../../src/components/ui/modal/ModalButtons.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,EAAE;IAC5B,OAAO,EAAE,MAAM;IACf,SAAS,EAAE,iBAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGR,CAAC;AAEH,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKZ,CAAC;AAEH,OAAO,EACH,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,QAAQ,GACX,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { dimensionsPxToRem, fontPxToRem, styled } from "../../../theme.js";
2
+ import { rippleHostStyles } from "../../../utils/useRipple.styled.js";
2
3
  const Overlay = styled("div", {
3
4
  position: "fixed",
4
5
  background: "#0000004c",
@@ -21,23 +22,20 @@ const ListItem = styled("li", {
21
22
  borderTop: "1px solid $border",
22
23
  },
23
24
  });
24
- const Button = styled("button", {
25
- "border": "none",
26
- "background": "$background",
27
- "height": dimensionsPxToRem(116),
28
- "padding": `0 ${dimensionsPxToRem(42)}`,
29
- "boxSizing": "border-box",
30
- "width": "100%",
31
- "minWidth": dimensionsPxToRem(460),
32
- "textAlign": "left",
33
- "color": "$popText",
34
- "fontSize": fontPxToRem(26),
35
- "fontWeight": "revert",
36
- "display": "flex",
37
- "alignItems": "center",
38
- "&:hover": {
39
- background: "$activeBg",
40
- },
25
+ const Button = styled("button", rippleHostStyles, {
26
+ border: "none",
27
+ background: "$background",
28
+ height: dimensionsPxToRem(116),
29
+ padding: `0 ${dimensionsPxToRem(42)}`,
30
+ boxSizing: "border-box",
31
+ width: "100%",
32
+ minWidth: dimensionsPxToRem(460),
33
+ textAlign: "left",
34
+ color: "$popText",
35
+ fontSize: fontPxToRem(26),
36
+ fontWeight: "revert",
37
+ display: "flex",
38
+ alignItems: "center",
41
39
  });
42
40
  const Icon = styled("div", {
43
41
  fill: "currentColor",
@@ -1 +1 @@
1
- {"version":3,"file":"Pop.styled.js","sourceRoot":"","sources":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EAUb,CAAC;AAKH,QAAA,MAAM,uBAAuB,QAAoB,CAAC;AAClD,QAAA,MAAM,qBAAqB,QAAkB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,CAAC"}
1
+ {"version":3,"file":"PopOption.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/pop/PopOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,UAAU,KAAK;IACX,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,SAAS,6EAqBb,CAAC;AAKH,QAAA,MAAM,uBAAuB,QAAoB,CAAC;AAClD,QAAA,MAAM,qBAAqB,QAAkB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1,14 +1,19 @@
1
1
  import React, { forwardRef } from "react";
2
+ import { useForwardedRef } from "@bedrock-layout/use-forwarded-ref";
3
+ import { useRipple } from "../../../utils/useRipple.js";
2
4
  import { Button, FakeIcon, Icon, ListItem } from "./Pop.styled.js";
3
5
  const PopOption = forwardRef((props, ref) => {
4
6
  var _a;
7
+ const buttonRef = useForwardedRef(null);
8
+ const ripple = useRipple({ ref: buttonRef });
5
9
  const ic = props.icon
6
10
  ? React.createElement(Icon, null, props.icon)
7
11
  : (((_a = props.forceEmptyIcon) !== null && _a !== void 0 ? _a : true) ? React.createElement(FakeIcon, null) : null);
8
12
  return (React.createElement(ListItem, { ref: ref, className: props.className },
9
- React.createElement(Button, { onClick: props.onClick },
13
+ React.createElement(Button, { ref: buttonRef, onClick: props.onClick, onPointerDown: ripple.onPointerDown, onKeyDown: ripple.onKeyDown },
10
14
  ic,
11
- props.children)));
15
+ props.children,
16
+ ripple.ripples)));
12
17
  });
13
18
  PopOption.displayName = "PopOption";
14
19
  PopOption.toString = () => ListItem.toString();
@@ -1 +1 @@
1
- {"version":3,"file":"PopOption.js","sourceRoot":"","sources":["../../../../src/components/ui/pop/PopOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUhE,MAAM,SAAS,GAAG,UAAU,CAAuB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;;IAC9D,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI;QACjB,CAAC,CAAC,oBAAC,IAAI,QAAE,KAAK,CAAC,IAAI,CAAQ;QAC3B,CAAC,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,cAAc,mCAAI,IAAI,CAAC,CAAC,CAAC,CAAC,oBAAC,QAAQ,OAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAE7D,OAAO,CACH,oBAAC,QAAQ,IAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS;QAC1C,oBAAC,MAAM,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO;YAAG,EAAE;YAAE,KAAK,CAAC,QAAQ,CAAU,CACtD,CACd,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;AACpC,SAAS,CAAC,QAAQ,GAAG,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;AAE/C,MAAM,uBAAuB,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;AAClD,MAAM,qBAAqB,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,CAAC"}
1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CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;AAE/C,MAAM,uBAAuB,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;AAClD,MAAM,qBAAqB,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1,2 +1,95 @@
1
- export { ToolButton } from "./ToolButton.styled";
1
+ import React from "react";
2
+ declare const ToolButton: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
3
+ ref?: ((instance: HTMLButtonElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLButtonElement> | null | undefined;
4
+ }, "css" | "inline" | "variant"> & import("../../../../node_modules/@stitches/react/types/styled-component").TransformProps<{
5
+ inline?: boolean | "true";
6
+ variant?: "secondary" | "secondaryOnLight";
7
+ }, {}> & {
8
+ css?: import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
9
+ colors: {
10
+ background: "white";
11
+ mainColor: "#008ad2";
12
+ mainColorAlt: "#006AA9";
13
+ activeBg: "#e7e7e7";
14
+ inactiveBg: "#d3d3de";
15
+ inactiveDarkBg: "#999";
16
+ toggleHandleBg: "#e0e0e0";
17
+ toggleHandleBorder: "#cdcdcd";
18
+ toggleBgDisabled: "#f0f0f0";
19
+ toggleHandleBorderDisabled: "#c29f7d";
20
+ toggleHandleBgDisabled: "#deae84";
21
+ icon: "#636363";
22
+ border: "#d5d5d5";
23
+ buttonBorder: "#bababa";
24
+ headerBorder: "#c8c8c9";
25
+ headerBg: "#efeff0";
26
+ headerText: "#484848";
27
+ text: "#323232";
28
+ text2: "#181818";
29
+ text3: "#000000";
30
+ sub: "#959595";
31
+ popText: "#666";
32
+ toolbarBorder: "#ababab";
33
+ toolbarBg: "#f8f8f8";
34
+ modalBg: "#f7f7f7";
35
+ modalButtonBg: "#f8f8f8";
36
+ modalButtonBorder: "#c2c2c2";
37
+ inputDisabledBg: "#f3f3f3";
38
+ inputDisabledText: "#959595";
39
+ choiceBg: "#ffffff";
40
+ choiceText: "#999999";
41
+ choiceActiveBg: "#f3f3f3";
42
+ choiceActiveText: "#313131";
43
+ choiceBorder: "#cfcfcf";
44
+ selectorText: "#606060";
45
+ selectorActive: "#008ad2";
46
+ blue1: "#038bf4";
47
+ blue2: "#b7d6f5";
48
+ blue3: "#dbe6ff";
49
+ blue4: "#33b4ff";
50
+ blue5: "#30a2e6";
51
+ orange1: "#ff7200";
52
+ orange1Darker: "#cc5b00";
53
+ purple1: "#7357e8";
54
+ green1: "#3ec234";
55
+ green1Darker: "#38af2f";
56
+ pink1: "#ff388f";
57
+ red1: "#ea2700";
58
+ yellow1: "#ffde9d";
59
+ yellow2: "#e4a429";
60
+ yellow3: "#fff5db";
61
+ pinky1: "#f5c0b7";
62
+ pinky2: "#e07b67";
63
+ pinky3: "#ffe1db";
64
+ grey1: "#737373";
65
+ focusColor: "#dcaf00";
66
+ scrollbarsThumb: "#737373";
67
+ scrollbarsBg: "transparent";
68
+ tableStripedBg: "#fafafa";
69
+ toolButtonText: "#666e80";
70
+ };
71
+ }, import("../../../../node_modules/@stitches/react/types/config").DefaultThemeMap, {
72
+ mx: (value: string | number) => {
73
+ marginLeft: string | number;
74
+ marginRight: string | number;
75
+ };
76
+ my: (value: string | number) => {
77
+ marginTop: string | number;
78
+ marginBottom: string | number;
79
+ };
80
+ px: (value: string | number) => {
81
+ paddingLeft: string | number;
82
+ paddingRight: string | number;
83
+ };
84
+ py: (value: string | number) => {
85
+ paddingTop: string | number;
86
+ paddingBottom: string | number;
87
+ };
88
+ size: (value: string | number) => {
89
+ width: string | number;
90
+ height: string | number;
91
+ };
92
+ }>;
93
+ }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
94
+ export { ToolButton, };
2
95
  //# sourceMappingURL=ToolButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToolButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/toolButton/ToolButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ToolButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/toolButton/ToolButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAS1C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAgBd,CAAC;AAKH,OAAO,EACH,UAAU,GACb,CAAC"}
@@ -1,2 +1,16 @@
1
- export { ToolButton } from "./ToolButton.styled.js";
1
+ import React, { forwardRef } from "react";
2
+ import { useForwardedRef } from "@bedrock-layout/use-forwarded-ref";
3
+ import { useRipple } from "../../../utils/useRipple.js";
4
+ import { StyledToolButton } from "./ToolButton.styled.js";
5
+ const ToolButton = forwardRef((props, ref) => {
6
+ const { children, onPointerDown, onKeyDown, ...rest } = props;
7
+ const innerRef = useForwardedRef(ref);
8
+ const ripple = useRipple({ ref: innerRef, onPointerDown, onKeyDown });
9
+ return (React.createElement(StyledToolButton, { ref: innerRef, onPointerDown: ripple.onPointerDown, onKeyDown: ripple.onKeyDown, ...rest },
10
+ children,
11
+ ripple.ripples));
12
+ });
13
+ ToolButton.displayName = "ToolButton";
14
+ ToolButton.toString = () => StyledToolButton.toString();
15
+ export { ToolButton, };
2
16
  //# sourceMappingURL=ToolButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToolButton.js","sourceRoot":"","sources":["../../../../src/components/ui/toolButton/ToolButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ToolButton.js","sourceRoot":"","sources":["../../../../src/components/ui/toolButton/ToolButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,MAAM,UAAU,GAAG,UAAU,CAA2B,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACnE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAC9D,MAAM,QAAQ,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;IACtC,MAAM,MAAM,GAAG,SAAS,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC,CAAC;IAEtE,OAAO,CACH,oBAAC,gBAAgB,IACb,GAAG,EAAE,QAAQ,EACb,aAAa,EAAE,MAAM,CAAC,aAAa,EACnC,SAAS,EAAE,MAAM,CAAC,SAAS,KACvB,IAAI;QAEP,QAAQ;QACR,MAAM,CAAC,OAAO,CACA,CACtB,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC;AACtC,UAAU,CAAC,QAAQ,GAAG,GAAG,EAAE,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;AAExD,OAAO,EACH,UAAU,GACb,CAAC"}
@@ -1,4 +1,4 @@
1
- declare const ToolButton: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"button", {
1
+ declare const StyledToolButton: import("../../../../node_modules/@stitches/react/types/styled-component").StyledComponent<"button", {
2
2
  inline?: boolean | "true";
3
3
  variant?: "secondary" | "secondaryOnLight";
4
4
  }, {}, import("../../../../node_modules/@stitches/react/types/css-util").CSS<{}, {
@@ -86,5 +86,5 @@ declare const ToolButton: import("../../../../node_modules/@stitches/react/types
86
86
  height: string | number;
87
87
  };
88
88
  }>>;
89
- export { ToolButton, };
89
+ export { StyledToolButton, };
90
90
  //# sourceMappingURL=ToolButton.styled.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToolButton.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/toolButton/ToolButton.styled.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8Cd,CAAC;AAEH,OAAO,EACH,UAAU,GACb,CAAC"}
1
+ {"version":3,"file":"ToolButton.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/toolButton/ToolButton.styled.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCpB,CAAC;AAEH,OAAO,EACH,gBAAgB,GACnB,CAAC"}
@@ -1,21 +1,19 @@
1
1
  import { dimensionsPxToRem, fontPxToRem, styled } from "../../../theme.js";
2
- const ToolButton = styled("button", {
3
- "height": dimensionsPxToRem(79),
4
- "borderRadius": dimensionsPxToRem(10),
5
- "fontWeight": "bold",
6
- "fontSize": fontPxToRem(23),
7
- "display": "flex",
8
- "alignItems": "center",
9
- "justifyContent": "center",
10
- "paddingInline": dimensionsPxToRem(16),
11
- "background": "white",
12
- "boxSizing": "border-box",
13
- "border": `${dimensionsPxToRem(6)} solid transparent`,
14
- "color": "$toolButtonText",
15
- "&:hover": {
16
- background: "#ffffffcc",
17
- },
18
- "variants": {
2
+ import { rippleHostStyles } from "../../../utils/useRipple.styled.js";
3
+ const StyledToolButton = styled("button", rippleHostStyles, {
4
+ height: dimensionsPxToRem(79),
5
+ borderRadius: dimensionsPxToRem(10),
6
+ fontWeight: "bold",
7
+ fontSize: fontPxToRem(23),
8
+ display: "flex",
9
+ alignItems: "center",
10
+ justifyContent: "center",
11
+ paddingInline: dimensionsPxToRem(16),
12
+ background: "white",
13
+ boxSizing: "border-box",
14
+ border: `${dimensionsPxToRem(6)} solid transparent`,
15
+ color: "$toolButtonText",
16
+ variants: {
19
17
  inline: {
20
18
  true: {
21
19
  width: "auto",
@@ -24,12 +22,9 @@ const ToolButton = styled("button", {
24
22
  },
25
23
  variant: {
26
24
  secondary: {
27
- "border": `${dimensionsPxToRem(6)} solid #ffffff42`,
28
- "background": "none",
29
- "&:hover": {
30
- background: "#ffffff22",
31
- },
32
- "color": "white",
25
+ border: `${dimensionsPxToRem(6)} solid #ffffff42`,
26
+ background: "none",
27
+ color: "white",
33
28
  },
34
29
  secondaryOnLight: {
35
30
  "border": `${dimensionsPxToRem(6)} solid $border`,
@@ -42,5 +37,5 @@ const ToolButton = styled("button", {
42
37
  },
43
38
  },
44
39
  });
45
- export { ToolButton, };
40
+ export { StyledToolButton, };
46
41
  //# sourceMappingURL=ToolButton.styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToolButton.styled.js","sourceRoot":"","sources":["../../../../src/components/ui/toolButton/ToolButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAKxE,MAAM,UAAU,GAAG,MAAM,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,iBAAiB,CAAC,EAAE,CAAC;IAC/B,cAAc,EAAE,iBAAiB,CAAC,EAAE,CAAC;IACrC,YAAY,EAAE,MAAM;IACpB,UAAU,EAAE,WAAW,CAAC,EAAE,CAAC;IAC3B,SAAS,EAAE,MAAM;IACjB,YAAY,EAAE,QAAQ;IACtB,gBAAgB,EAAE,QAAQ;IAC1B,eAAe,EAAE,iBAAiB,CAAC,EAAE,CAAC;IACtC,YAAY,EAAE,OAAO;IACrB,WAAW,EAAE,YAAY;IACzB,QAAQ,EAAE,GAAG,iBAAiB,CAAC,CAAC,CAAC,oBAAoB;IAErD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE;QACP,UAAU,EAAE,WAAW;KAC1B;IAED,UAAU,EAAE;QACR,MAAM,EAAE;YACJ,IAAI,EAAE;gBACF,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE,aAAa;aACzB;SACJ;QACD,OAAO,EAAE;YACL,SAAS,EAAE;gBACP,QAAQ,EAAE,GAAG,iBAAiB,CAAC,CAAC,CAAC,kBAAkB;gBACnD,YAAY,EAAE,MAAM;gBAEpB,SAAS,EAAE;oBACP,UAAU,EAAE,WAAW;iBAC1B;gBACD,OAAO,EAAE,OAAO;aACnB;YACD,gBAAgB,EAAE;gBACd,QAAQ,EAAE,GAAG,iBAAiB,CAAC,CAAC,CAAC,gBAAgB;gBACjD,YAAY,EAAE,MAAM;gBACpB,OAAO,EAAE,OAAO;gBAEhB,SAAS,EAAE;oBACP,WAAW,EAAE,eAAe;iBAC/B;aACJ;SACJ;KACJ;CACJ,CAAC,CAAC;AAEH,OAAO,EACH,UAAU,GACb,CAAC"}
1
+ {"version":3,"file":"ToolButton.styled.js","sourceRoot":"","sources":["../../../../src/components/ui/toolButton/ToolButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAKnE,MAAM,gBAAgB,GAAG,MAAM,CAAC,QAAQ,EAAE,gBAAgB,EAAE;IACxD,MAAM,EAAE,iBAAiB,CAAC,EAAE,CAAC;IAC7B,YAAY,EAAE,iBAAiB,CAAC,EAAE,CAAC;IACnC,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,WAAW,CAAC,EAAE,CAAC;IACzB,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,QAAQ;IACxB,aAAa,EAAE,iBAAiB,CAAC,EAAE,CAAC;IACpC,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE,YAAY;IACvB,MAAM,EAAE,GAAG,iBAAiB,CAAC,CAAC,CAAC,oBAAoB;IACnD,KAAK,EAAE,iBAAiB;IAExB,QAAQ,EAAE;QACN,MAAM,EAAE;YACJ,IAAI,EAAE;gBACF,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE,aAAa;aACzB;SACJ;QACD,OAAO,EAAE;YACL,SAAS,EAAE;gBACP,MAAM,EAAE,GAAG,iBAAiB,CAAC,CAAC,CAAC,kBAAkB;gBACjD,UAAU,EAAE,MAAM;gBAClB,KAAK,EAAE,OAAO;aACjB;YACD,gBAAgB,EAAE;gBACd,QAAQ,EAAE,GAAG,iBAAiB,CAAC,CAAC,CAAC,gBAAgB;gBACjD,YAAY,EAAE,MAAM;gBACpB,OAAO,EAAE,OAAO;gBAGhB,SAAS,EAAE;oBACP,WAAW,EAAE,eAAe;iBAC/B;aACJ;SACJ;KACJ;CACJ,CAAC,CAAC;AAEH,OAAO,EACH,gBAAgB,GACnB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ type UseRippleArgs<T extends HTMLElement> = {
3
+ ref: React.RefObject<T | null>;
4
+ onPointerDown?: React.PointerEventHandler<T> | undefined;
5
+ onKeyDown?: React.KeyboardEventHandler<T> | undefined;
6
+ fromCenter?: boolean | undefined;
7
+ };
8
+ type UseRippleResult<T extends HTMLElement> = {
9
+ onPointerDown: React.PointerEventHandler<T>;
10
+ onKeyDown: React.KeyboardEventHandler<T>;
11
+ ripples: React.ReactNode;
12
+ };
13
+ declare const useRipple: <T extends HTMLElement>(args: UseRippleArgs<T>) => UseRippleResult<T>;
14
+ export { useRipple };
15
+ //# sourceMappingURL=useRipple.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRipple.d.ts","sourceRoot":"","sources":["../../src/utils/useRipple.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAmC7D,KAAK,aAAa,CAAC,CAAC,SAAS,WAAW,IAAI;IACxC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAC/B,aAAa,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IACzD,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IAKtD,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,KAAK,eAAe,CAAC,CAAC,SAAS,WAAW,IAAI;IAC1C,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAC5C,SAAS,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;IACzC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAYF,QAAA,MAAM,SAAS,GAAI,CAAC,SAAS,WAAW,EAAE,MAAM,aAAa,CAAC,CAAC,CAAC,KAAG,eAAe,CAAC,CAAC,CA0EnF,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}