@skbkontur/react-ui 6.0.6 → 6.0.7-eab55.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 (201) hide show
  1. package/components/Autocomplete/Autocomplete.js +15 -4
  2. package/components/Autocomplete/Autocomplete.js.map +1 -1
  3. package/components/Calendar/CalendarDay.js +3 -0
  4. package/components/Calendar/CalendarDay.js.map +1 -1
  5. package/components/Calendar/DayCellView.styles.d.ts +1 -0
  6. package/components/Calendar/DayCellView.styles.js +6 -3
  7. package/components/Calendar/DayCellView.styles.js.map +1 -1
  8. package/components/DatePicker/MobilePicker.js +1 -1
  9. package/components/DatePicker/MobilePicker.js.map +1 -1
  10. package/components/DateRangePicker/DateRangePicker.js +1 -1
  11. package/components/DateRangePicker/DateRangePicker.js.map +1 -1
  12. package/components/Loader/Loader.d.ts +12 -4
  13. package/components/Loader/Loader.js +18 -7
  14. package/components/Loader/Loader.js.map +1 -1
  15. package/components/MenuItem/MenuItem.d.ts +1 -0
  16. package/components/MenuItem/MenuItem.js +17 -1
  17. package/components/MenuItem/MenuItem.js.map +1 -1
  18. package/components/MenuItem/MenuItem.styles.d.ts +3 -0
  19. package/components/MenuItem/MenuItem.styles.js +25 -16
  20. package/components/MenuItem/MenuItem.styles.js.map +1 -1
  21. package/components/Select/Select.js +11 -1
  22. package/components/Select/Select.js.map +1 -1
  23. package/components/SingleToast/SingleToast.d.ts +8 -10
  24. package/components/SingleToast/SingleToast.js +8 -10
  25. package/components/SingleToast/SingleToast.js.map +1 -1
  26. package/components/Spinner/Spinner.d.ts +23 -33
  27. package/components/Spinner/Spinner.js +23 -19
  28. package/components/Spinner/Spinner.js.map +1 -1
  29. package/components/Spinner/Spinner.styles.d.ts +0 -3
  30. package/components/Spinner/Spinner.styles.js +6 -15
  31. package/components/Spinner/Spinner.styles.js.map +1 -1
  32. package/components/Tabs/Indicator.styles.d.ts +0 -1
  33. package/components/Tabs/Indicator.styles.js +1 -4
  34. package/components/Tabs/Indicator.styles.js.map +1 -1
  35. package/components/Textarea/Textarea.js +1 -1
  36. package/components/Textarea/Textarea.js.map +1 -1
  37. package/components/Textarea/Textarea.styles.d.ts +1 -0
  38. package/components/Textarea/Textarea.styles.js +7 -4
  39. package/components/Textarea/Textarea.styles.js.map +1 -1
  40. package/components/Textarea/TextareaCounter.d.ts +2 -0
  41. package/components/Textarea/TextareaCounter.js +22 -4
  42. package/components/Textarea/TextareaCounter.js.map +1 -1
  43. package/components/TimePicker/TimeClockIcon.d.ts +3 -0
  44. package/components/TimePicker/TimeClockIcon.js +11 -0
  45. package/components/TimePicker/TimeClockIcon.js.map +1 -0
  46. package/components/TimePicker/TimeFragmentsView.d.ts +15 -0
  47. package/components/TimePicker/TimeFragmentsView.js +72 -0
  48. package/components/TimePicker/TimeFragmentsView.js.map +1 -0
  49. package/components/TimePicker/TimeFragmentsView.styles.d.ts +12 -0
  50. package/components/TimePicker/TimeFragmentsView.styles.js +43 -0
  51. package/components/TimePicker/TimeFragmentsView.styles.js.map +1 -0
  52. package/components/TimePicker/TimeInput.d.ts +21 -0
  53. package/components/TimePicker/TimeInput.js +98 -0
  54. package/components/TimePicker/TimeInput.js.map +1 -0
  55. package/components/TimePicker/TimePicker.d.ts +59 -0
  56. package/components/TimePicker/TimePicker.js +478 -0
  57. package/components/TimePicker/TimePicker.js.map +1 -0
  58. package/components/TimePicker/TimePicker.styles.d.ts +11 -0
  59. package/components/TimePicker/TimePicker.styles.js +36 -0
  60. package/components/TimePicker/TimePicker.styles.js.map +1 -0
  61. package/components/TimePicker/TimePickerMobilePopup.d.ts +31 -0
  62. package/components/TimePicker/TimePickerMobilePopup.js +21 -0
  63. package/components/TimePicker/TimePickerMobilePopup.js.map +1 -0
  64. package/components/TimePicker/TimePickerPopup.d.ts +19 -0
  65. package/components/TimePicker/TimePickerPopup.js +18 -0
  66. package/components/TimePicker/TimePickerPopup.js.map +1 -0
  67. package/components/TimePicker/TimePickerSlots.d.ts +16 -0
  68. package/components/TimePicker/TimePickerSlots.js +67 -0
  69. package/components/TimePicker/TimePickerSlots.js.map +1 -0
  70. package/components/TimePicker/helpers/TimePicker.constants.d.ts +18 -0
  71. package/components/TimePicker/helpers/TimePicker.constants.js +41 -0
  72. package/components/TimePicker/helpers/TimePicker.constants.js.map +1 -0
  73. package/components/TimePicker/helpers/TimePicker.editing.d.ts +6 -0
  74. package/components/TimePicker/helpers/TimePicker.editing.js +86 -0
  75. package/components/TimePicker/helpers/TimePicker.editing.js.map +1 -0
  76. package/components/TimePicker/helpers/TimePicker.layout.d.ts +7 -0
  77. package/components/TimePicker/helpers/TimePicker.layout.js +17 -0
  78. package/components/TimePicker/helpers/TimePicker.layout.js.map +1 -0
  79. package/components/TimePicker/helpers/TimePicker.selection.d.ts +7 -0
  80. package/components/TimePicker/helpers/TimePicker.selection.js +51 -0
  81. package/components/TimePicker/helpers/TimePicker.selection.js.map +1 -0
  82. package/components/TimePicker/helpers/TimePicker.shared.d.ts +23 -0
  83. package/components/TimePicker/helpers/TimePicker.shared.js +50 -0
  84. package/components/TimePicker/helpers/TimePicker.shared.js.map +1 -0
  85. package/components/TimePicker/helpers/TimePicker.value.d.ts +8 -0
  86. package/components/TimePicker/helpers/TimePicker.value.js +61 -0
  87. package/components/TimePicker/helpers/TimePicker.value.js.map +1 -0
  88. package/components/TimePicker/helpers/scrollSelectedSlotIntoView.d.ts +1 -0
  89. package/components/TimePicker/helpers/scrollSelectedSlotIntoView.js +21 -0
  90. package/components/TimePicker/helpers/scrollSelectedSlotIntoView.js.map +1 -0
  91. package/components/TimePicker/hooks/useTimePickerDropdown.d.ts +17 -0
  92. package/components/TimePicker/hooks/useTimePickerDropdown.js +62 -0
  93. package/components/TimePicker/hooks/useTimePickerDropdown.js.map +1 -0
  94. package/components/TimePicker/hooks/useTimePickerSelection.d.ts +15 -0
  95. package/components/TimePicker/hooks/useTimePickerSelection.js +43 -0
  96. package/components/TimePicker/hooks/useTimePickerSelection.js.map +1 -0
  97. package/components/TimePicker/hooks/useTimePickerValue.d.ts +18 -0
  98. package/components/TimePicker/hooks/useTimePickerValue.js +48 -0
  99. package/components/TimePicker/hooks/useTimePickerValue.js.map +1 -0
  100. package/components/TimePicker/index.d.ts +2 -0
  101. package/components/TimePicker/index.js +2 -0
  102. package/components/TimePicker/index.js.map +1 -0
  103. package/components/Toast/Toast.d.ts +13 -14
  104. package/components/Toast/Toast.js +3 -3
  105. package/components/Toast/Toast.js.map +1 -1
  106. package/components/Toast/ToastView.d.ts +8 -5
  107. package/components/Toast/ToastView.js +28 -8
  108. package/components/Toast/ToastView.js.map +1 -1
  109. package/components/Toast/ToastView.styles.d.ts +7 -0
  110. package/components/Toast/ToastView.styles.js +30 -8
  111. package/components/Toast/ToastView.styles.js.map +1 -1
  112. package/index.d.ts +1 -0
  113. package/index.js +1 -0
  114. package/index.js.map +1 -1
  115. package/internal/CloseButtonIcon/CloseButtonIcon.js +1 -1
  116. package/internal/CloseButtonIcon/CloseButtonIcon.js.map +1 -1
  117. package/internal/CommonWrapper/CommonWrapper.js +5 -0
  118. package/internal/CommonWrapper/CommonWrapper.js.map +1 -1
  119. package/internal/CustomComboBox/ComboBoxMenu.js +1 -1
  120. package/internal/CustomComboBox/ComboBoxMenu.js.map +1 -1
  121. package/internal/CustomComboBox/ComboBoxView.js +13 -2
  122. package/internal/CustomComboBox/ComboBoxView.js.map +1 -1
  123. package/internal/Menu/Menu.js +3 -0
  124. package/internal/Menu/Menu.js.map +1 -1
  125. package/internal/Menu/Menu.styles.d.ts +1 -0
  126. package/internal/Menu/Menu.styles.js +13 -10
  127. package/internal/Menu/Menu.styles.js.map +1 -1
  128. package/internal/MenuMessage/MenuMessage.js +17 -1
  129. package/internal/MenuMessage/MenuMessage.js.map +1 -1
  130. package/internal/MenuMessage/MenuMessage.styles.d.ts +3 -0
  131. package/internal/MenuMessage/MenuMessage.styles.js +13 -4
  132. package/internal/MenuMessage/MenuMessage.styles.js.map +1 -1
  133. package/internal/MobilePopup/MobilePopup.d.ts +8 -0
  134. package/internal/MobilePopup/MobilePopup.js +34 -11
  135. package/internal/MobilePopup/MobilePopup.js.map +1 -1
  136. package/internal/MobilePopup/MobilePopup.styles.d.ts +7 -0
  137. package/internal/MobilePopup/MobilePopup.styles.js +34 -10
  138. package/internal/MobilePopup/MobilePopup.styles.js.map +1 -1
  139. package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.d.ts +8 -1
  140. package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.js +18 -1
  141. package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.js.map +1 -1
  142. package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.d.ts +3 -0
  143. package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.js +14 -4
  144. package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.js.map +1 -1
  145. package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.d.ts +4 -0
  146. package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.js +48 -11
  147. package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.js.map +1 -1
  148. package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.d.ts +6 -0
  149. package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.js +28 -8
  150. package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.js.map +1 -1
  151. package/internal/NativeTimeInput/NativeTimeInput.d.ts +16 -0
  152. package/internal/NativeTimeInput/NativeTimeInput.js +25 -0
  153. package/internal/NativeTimeInput/NativeTimeInput.js.map +1 -0
  154. package/internal/NativeTimeInput/NativeTimeInput.styles.d.ts +3 -0
  155. package/internal/NativeTimeInput/NativeTimeInput.styles.js +15 -0
  156. package/internal/NativeTimeInput/NativeTimeInput.styles.js.map +1 -0
  157. package/internal/NativeTimeInput/index.d.ts +1 -0
  158. package/internal/NativeTimeInput/index.js +2 -0
  159. package/internal/NativeTimeInput/index.js.map +1 -0
  160. package/internal/NativeTimeInput/utils.d.ts +7 -0
  161. package/internal/NativeTimeInput/utils.js +28 -0
  162. package/internal/NativeTimeInput/utils.js.map +1 -0
  163. package/internal/SpinnerIcon/SpinnerIcon.d.ts +3 -3
  164. package/internal/SpinnerIcon/SpinnerIcon.js +4 -4
  165. package/internal/SpinnerIcon/SpinnerIcon.js.map +1 -1
  166. package/internal/icons2022/LoadingIcon.js +1 -1
  167. package/internal/icons2022/LoadingIcon.js.map +1 -1
  168. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Light.d.ts +2 -0
  169. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Light.js +21 -0
  170. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Light.js.map +1 -0
  171. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon20Regular.d.ts +2 -0
  172. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon20Regular.js +21 -0
  173. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon20Regular.js.map +1 -0
  174. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon24Regular.d.ts +2 -0
  175. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon24Regular.js +21 -0
  176. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon24Regular.js.map +1 -0
  177. package/internal/icons2022/TimeClockIcon/TimeClockIcon16Light.d.ts +2 -0
  178. package/internal/icons2022/TimeClockIcon/TimeClockIcon16Light.js +20 -0
  179. package/internal/icons2022/TimeClockIcon/TimeClockIcon16Light.js.map +1 -0
  180. package/internal/icons2022/TimeClockIcon/TimeClockIcon20Light.d.ts +2 -0
  181. package/internal/icons2022/TimeClockIcon/TimeClockIcon20Light.js +20 -0
  182. package/internal/icons2022/TimeClockIcon/TimeClockIcon20Light.js.map +1 -0
  183. package/internal/icons2022/TimeClockIcon/TimeClockIcon24Regular.d.ts +2 -0
  184. package/internal/icons2022/TimeClockIcon/TimeClockIcon24Regular.js +20 -0
  185. package/internal/icons2022/TimeClockIcon/TimeClockIcon24Regular.js.map +1 -0
  186. package/internal/themes/BasicTheme.d.ts +51 -4
  187. package/internal/themes/BasicTheme.js +172 -5
  188. package/internal/themes/BasicTheme.js.map +1 -1
  189. package/internal/themes/DarkTheme6_1.d.ts +1 -0
  190. package/internal/themes/DarkTheme6_1.js +164 -0
  191. package/internal/themes/DarkTheme6_1.js.map +1 -0
  192. package/internal/themes/LightTheme6_1.d.ts +1 -0
  193. package/internal/themes/LightTheme6_1.js +164 -0
  194. package/internal/themes/LightTheme6_1.js.map +1 -0
  195. package/lib/theming/themes/DarkTheme.d.ts +1 -0
  196. package/lib/theming/themes/DarkTheme.js +3 -1
  197. package/lib/theming/themes/DarkTheme.js.map +1 -1
  198. package/lib/theming/themes/LightTheme.d.ts +1 -0
  199. package/lib/theming/themes/LightTheme.js +3 -1
  200. package/lib/theming/themes/LightTheme.js.map +1 -1
  201. package/package.json +5 -1
@@ -0,0 +1,16 @@
1
+ import type { Nullable } from '../../typings/utility-types.js';
2
+ import { type NativeTimePrecision } from './utils.js';
3
+ export interface NativeTimeInputProps {
4
+ 'data-tid'?: string;
5
+ disabled?: boolean;
6
+ precision: NativeTimePrecision;
7
+ value: Nullable<string>;
8
+ minValue?: Nullable<string>;
9
+ maxValue?: Nullable<string>;
10
+ onValueChange?(value: string): void;
11
+ }
12
+ export interface NativeTimeInputRef {
13
+ focus(): void;
14
+ click(): void;
15
+ }
16
+ export declare const NativeTimeInput: import("../../lib/forwardRefAndName.js").ReactUIComponentWithRef<NativeTimeInputRef, NativeTimeInputProps> & Record<never, never>;
@@ -0,0 +1,25 @@
1
+ import React, { useImperativeHandle, useRef } from 'react';
2
+ import { forwardRefAndName } from '../../lib/forwardRefAndName.js';
3
+ import { useEmotion } from '../../lib/renderEnvironment/index.js';
4
+ import { getJsStyles } from './NativeTimeInput.styles.js';
5
+ import { getDefaultMaxTime, getDefaultMinTime, getNativeTimeStep, getTimeForComponent, getTimeForNative, } from './utils.js';
6
+ export var NativeTimeInput = forwardRefAndName('NativeTimeInput', function (props, ref) {
7
+ var _a;
8
+ var value = props.value, minValue = props.minValue, maxValue = props.maxValue, precision = props.precision, disabled = props.disabled, onValueChange = props.onValueChange, dataTid = props["data-tid"];
9
+ var jsStyles = getJsStyles(useEmotion());
10
+ var inputRef = useRef(null);
11
+ useImperativeHandle(ref, function () { return ({
12
+ focus: function () {
13
+ var _a;
14
+ (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
15
+ },
16
+ click: function () {
17
+ var _a;
18
+ (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.click();
19
+ },
20
+ }); }, []);
21
+ return (React.createElement("input", { type: 'time', "data-tid": dataTid, ref: inputRef, disabled: disabled, className: jsStyles.inputTypeTime(), tabIndex: -1, step: getNativeTimeStep(precision), min: minValue ? getTimeForNative(minValue, precision) : getDefaultMinTime(precision), max: maxValue ? getTimeForNative(maxValue, precision) : getDefaultMaxTime(precision), value: (_a = getTimeForNative(value, precision)) !== null && _a !== void 0 ? _a : '', onChange: function (event) {
22
+ onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(getTimeForComponent(event.target.value, precision));
23
+ } }));
24
+ });
25
+ //# sourceMappingURL=NativeTimeInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeTimeInput.js","sourceRoot":"","sources":["../../../internal/NativeTimeInput/NativeTimeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAElE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,GAEjB,MAAM,YAAY,CAAC;AAiBpB,MAAM,CAAC,IAAM,eAAe,GAAG,iBAAiB,CAC9C,iBAAiB,EACjB,UAAC,KAAK,EAAE,GAAG;;IACD,IAAA,KAAK,GAAkF,KAAK,MAAvF,EAAE,QAAQ,GAAwE,KAAK,SAA7E,EAAE,QAAQ,GAA8D,KAAK,SAAnE,EAAE,SAAS,GAAmD,KAAK,UAAxD,EAAE,QAAQ,GAAyC,KAAK,SAA9C,EAAE,aAAa,GAA0B,KAAK,cAA/B,EAAc,OAAO,GAAK,KAAK,YAAV,CAAW;IAErG,IAAM,QAAQ,GAAG,WAAW,CAAC,UAAU,EAAE,CAAC,CAAC;IAC3C,IAAM,QAAQ,GAAG,MAAM,CAA0B,IAAI,CAAC,CAAC;IAEvD,mBAAmB,CACjB,GAAG,EACH,cAAM,OAAA,CAAC;QACL,KAAK;;YACH,MAAA,QAAQ,CAAC,OAAO,0CAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;QACD,KAAK;;YACH,MAAA,QAAQ,CAAC,OAAO,0CAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;KACF,CAAC,EAPI,CAOJ,EACF,EAAE,CACH,CAAC;IAEF,OAAO,CACL,+BACE,IAAI,EAAE,MAAM,cACF,OAAO,EACjB,GAAG,EAAE,QAAQ,EACb,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,QAAQ,CAAC,aAAa,EAAE,EACnC,QAAQ,EAAE,CAAC,CAAC,EACZ,IAAI,EAAE,iBAAiB,CAAC,SAAS,CAAC,EAClC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,SAAS,CAAC,EACpF,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,SAAS,CAAC,EACpF,KAAK,EAAE,MAAA,gBAAgB,CAAC,KAAK,EAAE,SAAS,CAAC,mCAAI,EAAE,EAC/C,QAAQ,EAAE,UAAC,KAAK;YACd,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAG,mBAAmB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC;QACtE,CAAC,GACD,CACH,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["import React, { useImperativeHandle, useRef } from 'react';\n\nimport { forwardRefAndName } from '../../lib/forwardRefAndName.js';\nimport { useEmotion } from '../../lib/renderEnvironment/index.js';\nimport type { Nullable } from '../../typings/utility-types.js';\nimport { getJsStyles } from './NativeTimeInput.styles.js';\nimport {\n getDefaultMaxTime,\n getDefaultMinTime,\n getNativeTimeStep,\n getTimeForComponent,\n getTimeForNative,\n type NativeTimePrecision,\n} from './utils.js';\n\nexport interface NativeTimeInputProps {\n 'data-tid'?: string;\n disabled?: boolean;\n precision: NativeTimePrecision;\n value: Nullable<string>;\n minValue?: Nullable<string>;\n maxValue?: Nullable<string>;\n onValueChange?(value: string): void;\n}\n\nexport interface NativeTimeInputRef {\n focus(): void;\n click(): void;\n}\n\nexport const NativeTimeInput = forwardRefAndName<NativeTimeInputRef, NativeTimeInputProps>(\n 'NativeTimeInput',\n (props, ref) => {\n const { value, minValue, maxValue, precision, disabled, onValueChange, 'data-tid': dataTid } = props;\n\n const jsStyles = getJsStyles(useEmotion());\n const inputRef = useRef<HTMLInputElement | null>(null);\n\n useImperativeHandle(\n ref,\n () => ({\n focus() {\n inputRef.current?.focus();\n },\n click() {\n inputRef.current?.click();\n },\n }),\n [],\n );\n\n return (\n <input\n type={'time'}\n data-tid={dataTid}\n ref={inputRef}\n disabled={disabled}\n className={jsStyles.inputTypeTime()}\n tabIndex={-1}\n step={getNativeTimeStep(precision)}\n min={minValue ? getTimeForNative(minValue, precision) : getDefaultMinTime(precision)}\n max={maxValue ? getTimeForNative(maxValue, precision) : getDefaultMaxTime(precision)}\n value={getTimeForNative(value, precision) ?? ''}\n onChange={(event) => {\n onValueChange?.(getTimeForComponent(event.target.value, precision));\n }}\n />\n );\n },\n);\n"]}
@@ -0,0 +1,3 @@
1
+ export declare const getJsStyles: import("../../lib/theming/Emotion.js").StylesGetter<{
2
+ inputTypeTime(): string;
3
+ }>;
@@ -0,0 +1,15 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { memoizeGetStyles } from '../../lib/theming/Emotion.js';
6
+ export var getJsStyles = memoizeGetStyles(function (_a) {
7
+ var css = _a.css;
8
+ return ({
9
+ inputTypeTime: function () {
10
+ return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 0;\n height: 0;\n padding: 0;\n margin: 0;\n line-height: 0;\n transform: scale(0);\n border: none;\n overflow: hidden;\n opacity: 0;\n "], ["\n width: 0;\n height: 0;\n padding: 0;\n margin: 0;\n line-height: 0;\n transform: scale(0);\n border: none;\n overflow: hidden;\n opacity: 0;\n "])));
11
+ },
12
+ });
13
+ });
14
+ var templateObject_1;
15
+ //# sourceMappingURL=NativeTimeInput.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeTimeInput.styles.js","sourceRoot":"","sources":["../../../internal/NativeTimeInput/NativeTimeInput.styles.ts"],"names":[],"mappings":";;;;AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,MAAM,CAAC,IAAM,WAAW,GAAG,gBAAgB,CAAC,UAAC,EAAgB;QAAd,GAAG,SAAA;IAAgB,OAAA,CAAC;QACjE,aAAa;YACX,OAAO,GAAG,uQAAA,oMAUT,KAAC;QACJ,CAAC;KACF,CAAC;AAdgE,CAchE,CAAC,CAAC","sourcesContent":["import type { Emotion } from '@emotion/css/create-instance';\n\nimport { memoizeGetStyles } from '../../lib/theming/Emotion.js';\n\nexport const getJsStyles = memoizeGetStyles(({ css }: Emotion) => ({\n inputTypeTime() {\n return css`\n width: 0;\n height: 0;\n padding: 0;\n margin: 0;\n line-height: 0;\n transform: scale(0);\n border: none;\n overflow: hidden;\n opacity: 0;\n `;\n },\n}));\n"]}
@@ -0,0 +1 @@
1
+ export * from './NativeTimeInput.js';
@@ -0,0 +1,2 @@
1
+ export * from './NativeTimeInput.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../internal/NativeTimeInput/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC","sourcesContent":["export * from './NativeTimeInput.js';\n"]}
@@ -0,0 +1,7 @@
1
+ import type { Nullable } from '../../typings/utility-types.js';
2
+ export type NativeTimePrecision = 'minute' | 'second';
3
+ export declare const getTimeForNative: (componentTime: Nullable<string>, precision: NativeTimePrecision) => string | undefined;
4
+ export declare const getTimeForComponent: (nativeTime: Nullable<string>, precision: NativeTimePrecision) => string;
5
+ export declare const getDefaultMinTime: (precision: NativeTimePrecision) => string;
6
+ export declare const getDefaultMaxTime: (precision: NativeTimePrecision) => string;
7
+ export declare const getNativeTimeStep: (precision: NativeTimePrecision) => number;
@@ -0,0 +1,28 @@
1
+ var DEFAULT_NATIVE_MIN_TIME = '00:00:00';
2
+ var DEFAULT_NATIVE_MAX_TIME = '23:59:59';
3
+ var padTimePart = function (value) { return (value !== null && value !== void 0 ? value : '00').padStart(2, '0'); };
4
+ var normalizeNativeTime = function (value, precision) {
5
+ var _a = value.split(':'), hours = _a[0], minutes = _a[1], seconds = _a[2];
6
+ var normalizedTime = "".concat(padTimePart(hours), ":").concat(padTimePart(minutes), ":").concat(padTimePart(seconds));
7
+ return precision === 'minute' ? normalizedTime.slice(0, 5) : normalizedTime;
8
+ };
9
+ export var getTimeForNative = function (componentTime, precision) {
10
+ if (!componentTime) {
11
+ return undefined;
12
+ }
13
+ return normalizeNativeTime(componentTime, precision);
14
+ };
15
+ export var getTimeForComponent = function (nativeTime, precision) {
16
+ if (!nativeTime) {
17
+ return '';
18
+ }
19
+ return normalizeNativeTime(nativeTime, precision);
20
+ };
21
+ export var getDefaultMinTime = function (precision) {
22
+ return precision === 'minute' ? DEFAULT_NATIVE_MIN_TIME.slice(0, 5) : DEFAULT_NATIVE_MIN_TIME;
23
+ };
24
+ export var getDefaultMaxTime = function (precision) {
25
+ return precision === 'minute' ? DEFAULT_NATIVE_MAX_TIME.slice(0, 5) : DEFAULT_NATIVE_MAX_TIME;
26
+ };
27
+ export var getNativeTimeStep = function (precision) { return (precision === 'minute' ? 60 : 1); };
28
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../internal/NativeTimeInput/utils.ts"],"names":[],"mappings":"AAIA,IAAM,uBAAuB,GAAG,UAAU,CAAC;AAC3C,IAAM,uBAAuB,GAAG,UAAU,CAAC;AAE3C,IAAM,WAAW,GAAG,UAAC,KAAyB,IAAa,OAAA,CAAC,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAhC,CAAgC,CAAC;AAE5F,IAAM,mBAAmB,GAAG,UAAC,KAAa,EAAE,SAA8B;IAClE,IAAA,KAA4B,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,EAA3C,KAAK,QAAA,EAAE,OAAO,QAAA,EAAE,OAAO,QAAoB,CAAC;IAEnD,IAAM,cAAc,GAAG,UAAG,WAAW,CAAC,KAAK,CAAC,cAAI,WAAW,CAAC,OAAO,CAAC,cAAI,WAAW,CAAC,OAAO,CAAC,CAAE,CAAC;IAE/F,OAAO,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC;AAC9E,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAC9B,aAA+B,EAC/B,SAA8B;IAE9B,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,mBAAmB,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;AACvD,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,mBAAmB,GAAG,UAAC,UAA4B,EAAE,SAA8B;IAC9F,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,mBAAmB,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,iBAAiB,GAAG,UAAC,SAA8B;IAC9D,OAAA,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,uBAAuB;AAAtF,CAAsF,CAAC;AAEzF,MAAM,CAAC,IAAM,iBAAiB,GAAG,UAAC,SAA8B;IAC9D,OAAA,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,uBAAuB;AAAtF,CAAsF,CAAC;AAEzF,MAAM,CAAC,IAAM,iBAAiB,GAAG,UAAC,SAA8B,IAAa,OAAA,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAjC,CAAiC,CAAC","sourcesContent":["import type { Nullable } from '../../typings/utility-types.js';\n\nexport type NativeTimePrecision = 'minute' | 'second';\n\nconst DEFAULT_NATIVE_MIN_TIME = '00:00:00';\nconst DEFAULT_NATIVE_MAX_TIME = '23:59:59';\n\nconst padTimePart = (value: string | undefined): string => (value ?? '00').padStart(2, '0');\n\nconst normalizeNativeTime = (value: string, precision: NativeTimePrecision): string => {\n const [hours, minutes, seconds] = value.split(':');\n\n const normalizedTime = `${padTimePart(hours)}:${padTimePart(minutes)}:${padTimePart(seconds)}`;\n\n return precision === 'minute' ? normalizedTime.slice(0, 5) : normalizedTime;\n};\n\nexport const getTimeForNative = (\n componentTime: Nullable<string>,\n precision: NativeTimePrecision,\n): string | undefined => {\n if (!componentTime) {\n return undefined;\n }\n\n return normalizeNativeTime(componentTime, precision);\n};\n\nexport const getTimeForComponent = (nativeTime: Nullable<string>, precision: NativeTimePrecision): string => {\n if (!nativeTime) {\n return '';\n }\n\n return normalizeNativeTime(nativeTime, precision);\n};\n\nexport const getDefaultMinTime = (precision: NativeTimePrecision): string =>\n precision === 'minute' ? DEFAULT_NATIVE_MIN_TIME.slice(0, 5) : DEFAULT_NATIVE_MIN_TIME;\n\nexport const getDefaultMaxTime = (precision: NativeTimePrecision): string =>\n precision === 'minute' ? DEFAULT_NATIVE_MAX_TIME.slice(0, 5) : DEFAULT_NATIVE_MAX_TIME;\n\nexport const getNativeTimeStep = (precision: NativeTimePrecision): number => (precision === 'minute' ? 60 : 1);\n"]}
@@ -12,17 +12,17 @@ export interface SpinnerIconProps {
12
12
  color?: React.CSSProperties['color'];
13
13
  }
14
14
  export declare const sizes: {
15
- readonly big: {
15
+ readonly large: {
16
16
  readonly size: 96;
17
17
  readonly width: 4;
18
18
  readonly radius: 32;
19
19
  };
20
- readonly normal: {
20
+ readonly medium: {
21
21
  readonly size: 48;
22
22
  readonly width: 2;
23
23
  readonly radius: 16;
24
24
  };
25
- readonly mini: {
25
+ readonly small: {
26
26
  readonly size: 16;
27
27
  readonly width: 1.5;
28
28
  readonly radius: 6;
@@ -2,17 +2,17 @@ import React from 'react';
2
2
  import { useEmotion, useStyles } from '../../lib/renderEnvironment/index.js';
3
3
  import { getStyles } from './SpinnerIcon.styles.js';
4
4
  export var sizes = {
5
- big: {
5
+ large: {
6
6
  size: 96,
7
7
  width: 4,
8
8
  radius: 32,
9
9
  },
10
- normal: {
10
+ medium: {
11
11
  size: 48,
12
12
  width: 2,
13
13
  radius: 16,
14
14
  },
15
- mini: {
15
+ small: {
16
16
  size: 16,
17
17
  width: 1.5,
18
18
  radius: 6,
@@ -25,7 +25,7 @@ export var SpinnerIcon = function (_a) {
25
25
  var _b, _c;
26
26
  var size = _a.size, className = _a.className, inline = _a.inline, width = _a.width, color = _a.color;
27
27
  var _size = isSizeAlias(size) ? sizes[size] : size;
28
- var currentSize = inline ? sizes.mini : _size;
28
+ var currentSize = inline ? sizes.small : _size;
29
29
  var cx = useEmotion().cx;
30
30
  var styles = useStyles(getStyles);
31
31
  return (React.createElement("span", { className: cx(styles.root(), (_b = {}, _b[styles.rootInline()] = inline, _b)) },
@@ -1 +1 @@
1
- {"version":3,"file":"SpinnerIcon.js","sourceRoot":"","sources":["../../../internal/SpinnerIcon/SpinnerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAgBpD,MAAM,CAAC,IAAM,KAAK,GAAG;IACnB,GAAG,EAAE;QACH,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,EAAE;KACX;IACD,MAAM,EAAE;QACN,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,EAAE;KACX;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,CAAC;KACV;CACO,CAAC;AAEX,IAAM,WAAW,GAAG,UAAC,IAAa;IAChC,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,IAAI,KAAK,CAAC;AACnD,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAAG,UAAC,EAA2D;;QAAzD,IAAI,UAAA,EAAE,SAAS,eAAA,EAAE,MAAM,YAAA,EAAE,KAAK,WAAA,EAAE,KAAK,WAAA;IACjE,IAAM,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACrD,IAAM,WAAW,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IAExC,IAAA,EAAE,GAAK,UAAU,EAAE,GAAjB,CAAkB;IAC5B,IAAM,MAAM,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;IAEpC,OAAO,CACL,8BAAM,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAI,GAAC,MAAM,CAAC,UAAU,EAAE,IAAG,MAAM,MAAG;QACnE,6BACE,OAAO,EAAE,cAAO,WAAW,CAAC,IAAI,cAAI,WAAW,CAAC,IAAI,CAAE,EACtD,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,SAAS;gBACpC,GAAC,MAAM,CAAC,UAAU,EAAE,IAAG,MAAM;oBAC7B,EACF,KAAK,EAAE,WAAW,CAAC,IAAI,EACvB,MAAM,EAAE,WAAW,CAAC,IAAI,EACxB,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,KAAK,EACb,eAAe,EAAE,UAAG,CAAC,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,eAAK,CAAC,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,CAAE,EACrF,gBAAgB,EAAC,GAAG,EACpB,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,EACvC,SAAS,EAAC,OAAO,iBACL,MAAM;YAElB,gCAAQ,EAAE,EAAE,WAAW,CAAC,IAAI,GAAG,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,MAAM,GAAI,CACjF,CACD,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { useEmotion, useStyles } from '../../lib/renderEnvironment/index.js';\nimport { getStyles } from './SpinnerIcon.styles.js';\n\ninterface SpinnerIconSize {\n size: number;\n width: number;\n radius: number;\n}\n\nexport interface SpinnerIconProps {\n className?: string;\n size: SpinnerIconSize | keyof typeof sizes;\n inline?: boolean;\n width?: number;\n color?: React.CSSProperties['color'];\n}\n\nexport const sizes = {\n big: {\n size: 96,\n width: 4,\n radius: 32,\n },\n normal: {\n size: 48,\n width: 2,\n radius: 16,\n },\n mini: {\n size: 16,\n width: 1.5,\n radius: 6,\n },\n} as const;\n\nconst isSizeAlias = (size: unknown): size is keyof typeof sizes => {\n return typeof size === 'string' && size in sizes;\n};\n\nexport const SpinnerIcon = ({ size, className, inline, width, color }: SpinnerIconProps) => {\n const _size = isSizeAlias(size) ? sizes[size] : size;\n const currentSize = inline ? sizes.mini : _size;\n\n const { cx } = useEmotion();\n const styles = useStyles(getStyles);\n\n return (\n <span className={cx(styles.root(), { [styles.rootInline()]: inline })}>\n <svg\n viewBox={`0 0 ${currentSize.size} ${currentSize.size}`}\n className={cx(styles.icon(), className, {\n [styles.iconInline()]: inline,\n })}\n width={currentSize.size}\n height={currentSize.size}\n fill=\"none\"\n stroke={color}\n strokeDasharray={`${(10 * currentSize.radius) / 6}, ${(27 * currentSize.radius) / 6}`}\n strokeDashoffset=\"0\"\n strokeWidth={width || currentSize.width}\n focusable=\"false\"\n aria-hidden=\"true\"\n >\n <circle cx={currentSize.size / 2} cy={currentSize.size / 2} r={currentSize.radius} />\n </svg>\n </span>\n );\n};\n"]}
1
+ {"version":3,"file":"SpinnerIcon.js","sourceRoot":"","sources":["../../../internal/SpinnerIcon/SpinnerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAgBpD,MAAM,CAAC,IAAM,KAAK,GAAG;IACnB,KAAK,EAAE;QACL,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,EAAE;KACX;IACD,MAAM,EAAE;QACN,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,EAAE;KACX;IACD,KAAK,EAAE;QACL,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,CAAC;KACV;CACO,CAAC;AAEX,IAAM,WAAW,GAAG,UAAC,IAAa;IAChC,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,IAAI,KAAK,CAAC;AACnD,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAAG,UAAC,EAA2D;;QAAzD,IAAI,UAAA,EAAE,SAAS,eAAA,EAAE,MAAM,YAAA,EAAE,KAAK,WAAA,EAAE,KAAK,WAAA;IACjE,IAAM,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACrD,IAAM,WAAW,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC;IAEzC,IAAA,EAAE,GAAK,UAAU,EAAE,GAAjB,CAAkB;IAC5B,IAAM,MAAM,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;IAEpC,OAAO,CACL,8BAAM,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAI,GAAC,MAAM,CAAC,UAAU,EAAE,IAAG,MAAM,MAAG;QACnE,6BACE,OAAO,EAAE,cAAO,WAAW,CAAC,IAAI,cAAI,WAAW,CAAC,IAAI,CAAE,EACtD,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,SAAS;gBACpC,GAAC,MAAM,CAAC,UAAU,EAAE,IAAG,MAAM;oBAC7B,EACF,KAAK,EAAE,WAAW,CAAC,IAAI,EACvB,MAAM,EAAE,WAAW,CAAC,IAAI,EACxB,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,KAAK,EACb,eAAe,EAAE,UAAG,CAAC,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,eAAK,CAAC,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,CAAE,EACrF,gBAAgB,EAAC,GAAG,EACpB,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,EACvC,SAAS,EAAC,OAAO,iBACL,MAAM;YAElB,gCAAQ,EAAE,EAAE,WAAW,CAAC,IAAI,GAAG,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,MAAM,GAAI,CACjF,CACD,CACR,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { useEmotion, useStyles } from '../../lib/renderEnvironment/index.js';\nimport { getStyles } from './SpinnerIcon.styles.js';\n\ninterface SpinnerIconSize {\n size: number;\n width: number;\n radius: number;\n}\n\nexport interface SpinnerIconProps {\n className?: string;\n size: SpinnerIconSize | keyof typeof sizes;\n inline?: boolean;\n width?: number;\n color?: React.CSSProperties['color'];\n}\n\nexport const sizes = {\n large: {\n size: 96,\n width: 4,\n radius: 32,\n },\n medium: {\n size: 48,\n width: 2,\n radius: 16,\n },\n small: {\n size: 16,\n width: 1.5,\n radius: 6,\n },\n} as const;\n\nconst isSizeAlias = (size: unknown): size is keyof typeof sizes => {\n return typeof size === 'string' && size in sizes;\n};\n\nexport const SpinnerIcon = ({ size, className, inline, width, color }: SpinnerIconProps) => {\n const _size = isSizeAlias(size) ? sizes[size] : size;\n const currentSize = inline ? sizes.small : _size;\n\n const { cx } = useEmotion();\n const styles = useStyles(getStyles);\n\n return (\n <span className={cx(styles.root(), { [styles.rootInline()]: inline })}>\n <svg\n viewBox={`0 0 ${currentSize.size} ${currentSize.size}`}\n className={cx(styles.icon(), className, {\n [styles.iconInline()]: inline,\n })}\n width={currentSize.size}\n height={currentSize.size}\n fill=\"none\"\n stroke={color}\n strokeDasharray={`${(10 * currentSize.radius) / 6}, ${(27 * currentSize.radius) / 6}`}\n strokeDashoffset=\"0\"\n strokeWidth={width || currentSize.width}\n focusable=\"false\"\n aria-hidden=\"true\"\n >\n <circle cx={currentSize.size / 2} cy={currentSize.size / 2} r={currentSize.radius} />\n </svg>\n </span>\n );\n};\n"]}
@@ -22,7 +22,7 @@ var Icon = function (props) {
22
22
  return (React.createElement(SpinnerIcon, __assign({ className: cx(styles.circle(theme), styles.circleDimmedColor(theme), styles.circleWithoutColorAnimation()) }, props)));
23
23
  };
24
24
  export var LoadingIcon = iconSizer({
25
- small: function () { return React.createElement(Icon, { size: "mini" }); },
25
+ small: function () { return React.createElement(Icon, { size: "small" }); },
26
26
  medium: function () { return (React.createElement(Icon, { size: {
27
27
  size: 20,
28
28
  width: 1,
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingIcon.js","sourceRoot":"","sources":["../../../internal/icons2022/LoadingIcon.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,IAAM,IAAI,GAAG,UAAC,KAAuB;IAC3B,IAAA,EAAE,GAAK,UAAU,EAAE,GAAjB,CAAkB;IAC5B,IAAM,MAAM,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,IAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;IAC7C,OAAO,CACL,oBAAC,WAAW,aACV,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,2BAA2B,EAAE,CAAC,IACtG,KAAK,EACT,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAAG,SAAS,CAClC;IACE,KAAK,EAAE,cAAM,OAAA,oBAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG,EAApB,CAAoB;IACjC,MAAM,EAAE,cAAM,OAAA,CACZ,oBAAC,IAAI,IACH,IAAI,EAAE;YACJ,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;SACV,GACD,CACH,EARa,CAQb;IACD,KAAK,EAAE,cAAM,OAAA,CACX,oBAAC,IAAI,IACH,IAAI,EAAE;YACJ,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,CAAC;SACV,GACD,CACH,EARY,CAQZ;CACF,EACD,aAAa,CACd,CAAC","sourcesContent":["import React from 'react';\n\nimport { getStyles } from '../../components/Spinner/Spinner.styles.js';\nimport { useEmotion, useStyles } from '../../lib/renderEnvironment/index.js';\nimport { ThemeContext } from '../../lib/theming/ThemeContext.js';\nimport { SpinnerIcon } from '../SpinnerIcon/SpinnerIcon.js';\nimport type { SpinnerIconProps } from '../SpinnerIcon/SpinnerIcon.js';\nimport { iconSizer } from './iconSizer.js';\n\nconst Icon = (props: SpinnerIconProps) => {\n const { cx } = useEmotion();\n const styles = useStyles(getStyles);\n const theme = React.useContext(ThemeContext);\n return (\n <SpinnerIcon\n className={cx(styles.circle(theme), styles.circleDimmedColor(theme), styles.circleWithoutColorAnimation())}\n {...props}\n />\n );\n};\n\nexport const LoadingIcon = iconSizer<Omit<SpinnerIconProps, 'size'>>(\n {\n small: () => <Icon size=\"mini\" />,\n medium: () => (\n <Icon\n size={{\n size: 20,\n width: 1,\n radius: 6,\n }}\n />\n ),\n large: () => (\n <Icon\n size={{\n size: 24,\n width: 1.5,\n radius: 8,\n }}\n />\n ),\n },\n 'LoadingIcon',\n);\n"]}
1
+ {"version":3,"file":"LoadingIcon.js","sourceRoot":"","sources":["../../../internal/icons2022/LoadingIcon.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,IAAM,IAAI,GAAG,UAAC,KAAuB;IAC3B,IAAA,EAAE,GAAK,UAAU,EAAE,GAAjB,CAAkB;IAC5B,IAAM,MAAM,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,IAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;IAC7C,OAAO,CACL,oBAAC,WAAW,aACV,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,2BAA2B,EAAE,CAAC,IACtG,KAAK,EACT,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAAG,SAAS,CAClC;IACE,KAAK,EAAE,cAAM,OAAA,oBAAC,IAAI,IAAC,IAAI,EAAC,OAAO,GAAG,EAArB,CAAqB;IAClC,MAAM,EAAE,cAAM,OAAA,CACZ,oBAAC,IAAI,IACH,IAAI,EAAE;YACJ,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;SACV,GACD,CACH,EARa,CAQb;IACD,KAAK,EAAE,cAAM,OAAA,CACX,oBAAC,IAAI,IACH,IAAI,EAAE;YACJ,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,CAAC;SACV,GACD,CACH,EARY,CAQZ;CACF,EACD,aAAa,CACd,CAAC","sourcesContent":["import React from 'react';\n\nimport { getStyles } from '../../components/Spinner/Spinner.styles.js';\nimport { useEmotion, useStyles } from '../../lib/renderEnvironment/index.js';\nimport { ThemeContext } from '../../lib/theming/ThemeContext.js';\nimport { SpinnerIcon } from '../SpinnerIcon/SpinnerIcon.js';\nimport type { SpinnerIconProps } from '../SpinnerIcon/SpinnerIcon.js';\nimport { iconSizer } from './iconSizer.js';\n\nconst Icon = (props: SpinnerIconProps) => {\n const { cx } = useEmotion();\n const styles = useStyles(getStyles);\n const theme = React.useContext(ThemeContext);\n return (\n <SpinnerIcon\n className={cx(styles.circle(theme), styles.circleDimmedColor(theme), styles.circleWithoutColorAnimation())}\n {...props}\n />\n );\n};\n\nexport const LoadingIcon = iconSizer<Omit<SpinnerIconProps, 'size'>>(\n {\n small: () => <Icon size=\"small\" />,\n medium: () => (\n <Icon\n size={{\n size: 20,\n width: 1,\n radius: 6,\n }}\n />\n ),\n large: () => (\n <Icon\n size={{\n size: 24,\n width: 1.5,\n radius: 8,\n }}\n />\n ),\n },\n 'LoadingIcon',\n);\n"]}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../BaseIcon.js';
2
+ export declare const QuestionCircleIcon16Light: import("../../../lib/forwardRefAndName.js").ReactUIComponentWithRef<SVGSVGElement, IconProps> & Record<never, never>;
@@ -0,0 +1,21 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React from 'react';
13
+ import { forwardRefAndName } from '../../../lib/forwardRefAndName.js';
14
+ import { BaseIcon } from '../BaseIcon.js';
15
+ export var QuestionCircleIcon16Light = forwardRefAndName('QuestionCircleIcon16Light', function (props, ref) {
16
+ return (React.createElement(BaseIcon, __assign({ ref: ref }, props),
17
+ React.createElement("path", { d: "M8.25 10.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0z" }),
18
+ React.createElement("path", { d: "M6.012 5.838c0-.646.61-1.267 1.49-1.267s1.49.621 1.49 1.267c0 .477-.32.93-.851 1.145C7.53 7.231 7 7.718 7 8.489a.5.5 0 0 0 1 0c0-.215.123-.42.516-.58.842-.342 1.475-1.12 1.475-2.07 0-1.307-1.172-2.268-2.49-2.268-1.318 0-2.49.96-2.49 2.267a.5.5 0 0 0 1 0z" }),
19
+ React.createElement("path", { d: "M1 7.5a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0zM7.5 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z" })));
20
+ });
21
+ //# sourceMappingURL=QuestionCircleIcon16Light.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionCircleIcon16Light.js","sourceRoot":"","sources":["../../../../internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Light.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,MAAM,CAAC,IAAM,yBAAyB,GAAG,iBAAiB,CACxD,2BAA2B,EAC3B,UAAC,KAAK,EAAE,GAAG;IACT,OAAO,CACL,oBAAC,QAAQ,aAAC,GAAG,EAAE,GAAG,IAAM,KAAK;QAC3B,8BAAM,CAAC,EAAC,mDAAmD,GAAG;QAC9D,8BAAM,CAAC,EAAC,gQAAgQ,GAAG;QAC3Q,8BAAM,CAAC,EAAC,4FAA4F,GAAG,CAC9F,CACZ,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["import React from 'react';\n\nimport { forwardRefAndName } from '../../../lib/forwardRefAndName.js';\nimport { BaseIcon } from '../BaseIcon.js';\nimport type { IconProps } from '../BaseIcon.js';\n\nexport const QuestionCircleIcon16Light = forwardRefAndName<SVGSVGElement, IconProps>(\n 'QuestionCircleIcon16Light',\n (props, ref) => {\n return (\n <BaseIcon ref={ref} {...props}>\n <path d=\"M8.25 10.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0z\" />\n <path d=\"M6.012 5.838c0-.646.61-1.267 1.49-1.267s1.49.621 1.49 1.267c0 .477-.32.93-.851 1.145C7.53 7.231 7 7.718 7 8.489a.5.5 0 0 0 1 0c0-.215.123-.42.516-.58.842-.342 1.475-1.12 1.475-2.07 0-1.307-1.172-2.268-2.49-2.268-1.318 0-2.49.96-2.49 2.267a.5.5 0 0 0 1 0z\" />\n <path d=\"M1 7.5a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0zM7.5 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z\" />\n </BaseIcon>\n );\n },\n);\n"]}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../BaseIcon.js';
2
+ export declare const QuestionCircleIcon20Regular: import("../../../lib/forwardRefAndName.js").ReactUIComponentWithRef<SVGSVGElement, IconProps> & Record<never, never>;
@@ -0,0 +1,21 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React from 'react';
13
+ import { forwardRefAndName } from '../../../lib/forwardRefAndName.js';
14
+ import { BaseIcon } from '../BaseIcon.js';
15
+ export var QuestionCircleIcon20Regular = forwardRefAndName('QuestionCircleIcon20Regular', function (props, ref) {
16
+ return (React.createElement(BaseIcon, __assign({ ref: ref, viewBoxSize: 20 }, props),
17
+ React.createElement("path", { d: "M11 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0z" }),
18
+ React.createElement("path", { d: "M8.375 8.078c0-.642.63-1.328 1.625-1.328s1.625.686 1.625 1.328c0 .324-.09.504-.2.637-.13.16-.325.293-.617.466l-.113.065c-.247.142-.576.332-.834.571-.346.321-.61.765-.61 1.378a.75.75 0 1 0 1.5 0c0-.12.03-.186.13-.278.124-.115.284-.208.539-.357l.148-.086c.3-.177.7-.424 1.015-.805.336-.407.542-.927.542-1.59 0-1.654-1.496-2.829-3.125-2.829S6.875 6.425 6.875 8.078a.75.75 0 1 0 1.5 0z" }),
19
+ React.createElement("path", { d: "M2.001 10A7.999 7.999 0 1 1 18 10 7.999 7.999 0 0 1 2 10zm8-6.499A6.499 6.499 0 1 0 10 16.5 6.499 6.499 0 0 0 10 3.5z" })));
20
+ });
21
+ //# sourceMappingURL=QuestionCircleIcon20Regular.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionCircleIcon20Regular.js","sourceRoot":"","sources":["../../../../internal/icons2022/QuestionCircleIcon/QuestionCircleIcon20Regular.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,MAAM,CAAC,IAAM,2BAA2B,GAAG,iBAAiB,CAC1D,6BAA6B,EAC7B,UAAC,KAAK,EAAE,GAAG;IACT,OAAO,CACL,oBAAC,QAAQ,aAAC,GAAG,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE,IAAM,KAAK;QAC5C,8BAAM,CAAC,EAAC,qCAAqC,GAAG;QAChD,8BAAM,CAAC,EAAC,+XAA+X,GAAG;QAC1Y,8BAAM,CAAC,EAAC,uHAAuH,GAAG,CACzH,CACZ,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["import React from 'react';\n\nimport { forwardRefAndName } from '../../../lib/forwardRefAndName.js';\nimport { BaseIcon } from '../BaseIcon.js';\nimport type { IconProps } from '../BaseIcon.js';\n\nexport const QuestionCircleIcon20Regular = forwardRefAndName<SVGSVGElement, IconProps>(\n 'QuestionCircleIcon20Regular',\n (props, ref) => {\n return (\n <BaseIcon ref={ref} viewBoxSize={20} {...props}>\n <path d=\"M11 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\" />\n <path d=\"M8.375 8.078c0-.642.63-1.328 1.625-1.328s1.625.686 1.625 1.328c0 .324-.09.504-.2.637-.13.16-.325.293-.617.466l-.113.065c-.247.142-.576.332-.834.571-.346.321-.61.765-.61 1.378a.75.75 0 1 0 1.5 0c0-.12.03-.186.13-.278.124-.115.284-.208.539-.357l.148-.086c.3-.177.7-.424 1.015-.805.336-.407.542-.927.542-1.59 0-1.654-1.496-2.829-3.125-2.829S6.875 6.425 6.875 8.078a.75.75 0 1 0 1.5 0z\" />\n <path d=\"M2.001 10A7.999 7.999 0 1 1 18 10 7.999 7.999 0 0 1 2 10zm8-6.499A6.499 6.499 0 1 0 10 16.5 6.499 6.499 0 0 0 10 3.5z\" />\n </BaseIcon>\n );\n },\n);\n"]}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../BaseIcon.js';
2
+ export declare const QuestionCircleIcon24Regular: import("../../../lib/forwardRefAndName.js").ReactUIComponentWithRef<SVGSVGElement, IconProps> & Record<never, never>;
@@ -0,0 +1,21 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React from 'react';
13
+ import { forwardRefAndName } from '../../../lib/forwardRefAndName.js';
14
+ import { BaseIcon } from '../BaseIcon.js';
15
+ export var QuestionCircleIcon24Regular = forwardRefAndName('QuestionCircleIcon24Regular', function (props, ref) {
16
+ return (React.createElement(BaseIcon, __assign({ ref: ref, viewBoxSize: 24 }, props),
17
+ React.createElement("path", { d: "M13 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0z" }),
18
+ React.createElement("path", { d: "M9.75 9.887c0-.945.91-1.875 2.25-1.875 1.34 0 2.25.93 2.25 1.875 0 .453-.129.726-.297.93-.19.23-.462.414-.833.632-.046.028-.096.056-.148.086-.312.18-.706.408-1.013.693-.405.375-.709.886-.709 1.596a.75.75 0 0 0 1.5 0c0-.217.07-.35.23-.497.172-.16.396-.29.717-.477l.183-.107c.38-.223.858-.52 1.23-.972.395-.479.64-1.09.64-1.884 0-1.955-1.776-3.375-3.75-3.375s-3.75 1.42-3.75 3.375a.75.75 0 1 0 1.5 0z" }),
19
+ React.createElement("path", { d: "M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zM12 3.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5z" })));
20
+ });
21
+ //# sourceMappingURL=QuestionCircleIcon24Regular.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionCircleIcon24Regular.js","sourceRoot":"","sources":["../../../../internal/icons2022/QuestionCircleIcon/QuestionCircleIcon24Regular.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,MAAM,CAAC,IAAM,2BAA2B,GAAG,iBAAiB,CAC1D,6BAA6B,EAC7B,UAAC,KAAK,EAAE,GAAG;IACT,OAAO,CACL,oBAAC,QAAQ,aAAC,GAAG,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE,IAAM,KAAK;QAC5C,8BAAM,CAAC,EAAC,qCAAqC,GAAG;QAChD,8BAAM,CAAC,EAAC,gZAAgZ,GAAG;QAC3Z,8BAAM,CAAC,EAAC,6JAA6J,GAAG,CAC/J,CACZ,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["import React from 'react';\n\nimport { forwardRefAndName } from '../../../lib/forwardRefAndName.js';\nimport { BaseIcon } from '../BaseIcon.js';\nimport type { IconProps } from '../BaseIcon.js';\n\nexport const QuestionCircleIcon24Regular = forwardRefAndName<SVGSVGElement, IconProps>(\n 'QuestionCircleIcon24Regular',\n (props, ref) => {\n return (\n <BaseIcon ref={ref} viewBoxSize={24} {...props}>\n <path d=\"M13 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\" />\n <path d=\"M9.75 9.887c0-.945.91-1.875 2.25-1.875 1.34 0 2.25.93 2.25 1.875 0 .453-.129.726-.297.93-.19.23-.462.414-.833.632-.046.028-.096.056-.148.086-.312.18-.706.408-1.013.693-.405.375-.709.886-.709 1.596a.75.75 0 0 0 1.5 0c0-.217.07-.35.23-.497.172-.16.396-.29.717-.477l.183-.107c.38-.223.858-.52 1.23-.972.395-.479.64-1.09.64-1.884 0-1.955-1.776-3.375-3.75-3.375s-3.75 1.42-3.75 3.375a.75.75 0 1 0 1.5 0z\" />\n <path d=\"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zM12 3.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5z\" />\n </BaseIcon>\n );\n },\n);\n"]}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../BaseIcon.js';
2
+ export declare const TimeClockIcon16Light: import("../../../lib/forwardRefAndName.js").ReactUIComponentWithRef<SVGSVGElement, IconProps> & Record<never, never>;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React from 'react';
13
+ import { forwardRefAndName } from '../../../lib/forwardRefAndName.js';
14
+ import { BaseIcon } from '../BaseIcon.js';
15
+ export var TimeClockIcon16Light = forwardRefAndName('TimeClockIcon16Light', function (props, ref) {
16
+ return (React.createElement(BaseIcon, __assign({ ref: ref }, props),
17
+ React.createElement("path", { d: "M8 4.40234C8 4.1262 7.77614 3.90234 7.5 3.90234C7.22386 3.90234 7 4.1262 7 4.40234V6.7274C7 7.39025 7.3745 7.99621 7.96738 8.29265L10.2764 9.44716C10.5234 9.57065 10.8237 9.47054 10.9472 9.22355C11.0707 8.97656 10.9706 8.67623 10.7236 8.55273L8.41459 7.39822C8.1605 7.27118 8 7.01148 8 6.7274V4.40234Z" }),
18
+ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.5 1C3.91015 1 1 3.91015 1 7.5C1 11.0899 3.91015 14 7.5 14C11.0899 14 14 11.0899 14 7.5C14 3.91015 11.0899 1 7.5 1ZM2 7.5C2 4.46243 4.46243 2 7.5 2C10.5376 2 13 4.46243 13 7.5C13 10.5376 10.5376 13 7.5 13C4.46243 13 2 10.5376 2 7.5Z" })));
19
+ });
20
+ //# sourceMappingURL=TimeClockIcon16Light.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeClockIcon16Light.js","sourceRoot":"","sources":["../../../../internal/icons2022/TimeClockIcon/TimeClockIcon16Light.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,IAAM,oBAAoB,GAAG,iBAAiB,CACnD,sBAAsB,EACtB,UAAC,KAAK,EAAE,GAAG;IACT,OAAO,CACL,oBAAC,QAAQ,aAAC,GAAG,EAAE,GAAG,IAAM,KAAK;QAC3B,8BAAM,CAAC,EAAC,+SAA+S,GAAG;QAC1T,8BACE,QAAQ,EAAC,SAAS,EAClB,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,4OAA4O,GAC9O,CACO,CACZ,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["import React from 'react';\n\nimport { forwardRefAndName } from '../../../lib/forwardRefAndName.js';\nimport type { IconProps } from '../BaseIcon.js';\nimport { BaseIcon } from '../BaseIcon.js';\n\nexport const TimeClockIcon16Light = forwardRefAndName<SVGSVGElement, IconProps>(\n 'TimeClockIcon16Light',\n (props, ref) => {\n return (\n <BaseIcon ref={ref} {...props}>\n <path d=\"M8 4.40234C8 4.1262 7.77614 3.90234 7.5 3.90234C7.22386 3.90234 7 4.1262 7 4.40234V6.7274C7 7.39025 7.3745 7.99621 7.96738 8.29265L10.2764 9.44716C10.5234 9.57065 10.8237 9.47054 10.9472 9.22355C11.0707 8.97656 10.9706 8.67623 10.7236 8.55273L8.41459 7.39822C8.1605 7.27118 8 7.01148 8 6.7274V4.40234Z\" />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M7.5 1C3.91015 1 1 3.91015 1 7.5C1 11.0899 3.91015 14 7.5 14C11.0899 14 14 11.0899 14 7.5C14 3.91015 11.0899 1 7.5 1ZM2 7.5C2 4.46243 4.46243 2 7.5 2C10.5376 2 13 4.46243 13 7.5C13 10.5376 10.5376 13 7.5 13C4.46243 13 2 10.5376 2 7.5Z\"\n />\n </BaseIcon>\n );\n },\n);\n"]}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../BaseIcon.js';
2
+ export declare const TimeClockIcon20Light: import("../../../lib/forwardRefAndName.js").ReactUIComponentWithRef<SVGSVGElement, IconProps> & Record<never, never>;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React from 'react';
13
+ import { forwardRefAndName } from '../../../lib/forwardRefAndName.js';
14
+ import { BaseIcon } from '../BaseIcon.js';
15
+ export var TimeClockIcon20Light = forwardRefAndName('TimeClockIcon20Light', function (props, ref) {
16
+ return (React.createElement(BaseIcon, __assign({ ref: ref, viewBoxSize: 20 }, props),
17
+ React.createElement("path", { d: "M10.0033 6.50463C10.0033 6.22849 9.77943 6.00464 9.50329 6.00464C9.22715 6.00464 9.00329 6.2285 9.0033 6.50464L9.00332 9.47699C9.00332 10.1394 9.3774 10.7451 9.96974 11.0417L12.7761 12.4471C13.023 12.5707 13.3234 12.4708 13.4471 12.2239C13.5707 11.977 13.4708 11.6766 13.2239 11.5529L10.4175 10.1476C10.1636 10.0205 10.0033 9.76089 10.0033 9.47698L10.0033 6.50463Z" }),
18
+ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2ZM3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10Z" })));
19
+ });
20
+ //# sourceMappingURL=TimeClockIcon20Light.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeClockIcon20Light.js","sourceRoot":"","sources":["../../../../internal/icons2022/TimeClockIcon/TimeClockIcon20Light.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,IAAM,oBAAoB,GAAG,iBAAiB,CACnD,sBAAsB,EACtB,UAAC,KAAK,EAAE,GAAG;IACT,OAAO,CACL,oBAAC,QAAQ,aAAC,GAAG,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE,IAAM,KAAK;QAC5C,8BAAM,CAAC,EAAC,8WAA8W,GAAG;QACzX,8BACE,QAAQ,EAAC,SAAS,EAClB,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,8NAA8N,GAChO,CACO,CACZ,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["import React from 'react';\n\nimport { forwardRefAndName } from '../../../lib/forwardRefAndName.js';\nimport type { IconProps } from '../BaseIcon.js';\nimport { BaseIcon } from '../BaseIcon.js';\n\nexport const TimeClockIcon20Light = forwardRefAndName<SVGSVGElement, IconProps>(\n 'TimeClockIcon20Light',\n (props, ref) => {\n return (\n <BaseIcon ref={ref} viewBoxSize={20} {...props}>\n <path d=\"M10.0033 6.50463C10.0033 6.22849 9.77943 6.00464 9.50329 6.00464C9.22715 6.00464 9.00329 6.2285 9.0033 6.50464L9.00332 9.47699C9.00332 10.1394 9.3774 10.7451 9.96974 11.0417L12.7761 12.4471C13.023 12.5707 13.3234 12.4708 13.4471 12.2239C13.5707 11.977 13.4708 11.6766 13.2239 11.5529L10.4175 10.1476C10.1636 10.0205 10.0033 9.76089 10.0033 9.47698L10.0033 6.50463Z\" />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2ZM3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10Z\"\n />\n </BaseIcon>\n );\n },\n);\n"]}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../BaseIcon.js';
2
+ export declare const TimeClockIcon24Regular: import("../../../lib/forwardRefAndName.js").ReactUIComponentWithRef<SVGSVGElement, IconProps> & Record<never, never>;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React from 'react';
13
+ import { forwardRefAndName } from '../../../lib/forwardRefAndName.js';
14
+ import { BaseIcon } from '../BaseIcon.js';
15
+ export var TimeClockIcon24Regular = forwardRefAndName('TimeClockIcon24Regular', function (props, ref) {
16
+ return (React.createElement(BaseIcon, __assign({ ref: ref, viewBoxSize: 24 }, props),
17
+ React.createElement("path", { d: "M12.5 7.3125C12.5 6.89829 12.1642 6.5625 11.75 6.5625C11.3358 6.5625 11 6.89829 11 7.3125V11.2604C11 12.1127 11.4815 12.8918 12.2438 13.2729L15.5396 14.9208C15.9101 15.1061 16.3606 14.9559 16.5458 14.5854C16.7311 14.2149 16.5809 13.7644 16.2104 13.5792L12.9146 11.9313C12.6605 11.8042 12.5 11.5445 12.5 11.2604V7.3125Z" }),
18
+ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 2.25C6.61522 2.25 2.25 6.61522 2.25 12C2.25 17.3848 6.61522 21.75 12 21.75C17.3848 21.75 21.75 17.3848 21.75 12C21.75 6.61522 17.3848 2.25 12 2.25ZM3.75 12C3.75 7.44365 7.44365 3.75 12 3.75C16.5563 3.75 20.25 7.44365 20.25 12C20.25 16.5563 16.5563 20.25 12 20.25C7.44365 20.25 3.75 16.5563 3.75 12Z" })));
19
+ });
20
+ //# sourceMappingURL=TimeClockIcon24Regular.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeClockIcon24Regular.js","sourceRoot":"","sources":["../../../../internal/icons2022/TimeClockIcon/TimeClockIcon24Regular.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,CAAC,IAAM,sBAAsB,GAAG,iBAAiB,CACrD,wBAAwB,EACxB,UAAC,KAAK,EAAE,GAAG;IACT,OAAO,CACL,oBAAC,QAAQ,aAAC,GAAG,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE,IAAM,KAAK;QAC5C,8BAAM,CAAC,EAAC,gUAAgU,GAAG;QAC3U,8BACE,QAAQ,EAAC,SAAS,EAClB,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,gTAAgT,GAClT,CACO,CACZ,CAAC;AACJ,CAAC,CACF,CAAC","sourcesContent":["import React from 'react';\n\nimport { forwardRefAndName } from '../../../lib/forwardRefAndName.js';\nimport type { IconProps } from '../BaseIcon.js';\nimport { BaseIcon } from '../BaseIcon.js';\n\nexport const TimeClockIcon24Regular = forwardRefAndName<SVGSVGElement, IconProps>(\n 'TimeClockIcon24Regular',\n (props, ref) => {\n return (\n <BaseIcon ref={ref} viewBoxSize={24} {...props}>\n <path d=\"M12.5 7.3125C12.5 6.89829 12.1642 6.5625 11.75 6.5625C11.3358 6.5625 11 6.89829 11 7.3125V11.2604C11 12.1127 11.4815 12.8918 12.2438 13.2729L15.5396 14.9208C15.9101 15.1061 16.3606 14.9559 16.5458 14.5854C16.7311 14.2149 16.5809 13.7644 16.2104 13.5792L12.9146 11.9313C12.6605 11.8042 12.5 11.5445 12.5 11.2604V7.3125Z\" />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12 2.25C6.61522 2.25 2.25 6.61522 2.25 12C2.25 17.3848 6.61522 21.75 12 21.75C17.3848 21.75 21.75 17.3848 21.75 12C21.75 6.61522 17.3848 2.25 12 2.25ZM3.75 12C3.75 7.44365 7.44365 3.75 12 3.75C16.5563 3.75 20.25 7.44365 20.25 12C20.25 16.5563 16.5563 20.25 12 20.25C7.44365 20.25 3.75 16.5563 3.75 12Z\"\n />\n </BaseIcon>\n );\n },\n);\n"]}
@@ -692,6 +692,9 @@ export declare class BasicThemeClass {
692
692
  static toastCloseHoverColor: string;
693
693
  static toastCloseHoverColorError: string;
694
694
  static toastCloseSize: string;
695
+ static toastCloseBtnSide: string;
696
+ static mobileToastTop: string;
697
+ static mobileToastFontSize: string;
695
698
  static dropdownMenuBorderColorTransition: string;
696
699
  static get dropdownMenuHoverBorderColor(): string;
697
700
  static get dropdownMenuOffsetY(): string;
@@ -762,9 +765,18 @@ export declare class BasicThemeClass {
762
765
  static menuItemCommentOpacityHover: string;
763
766
  static get menuItemCommentColorHover(): string;
764
767
  static menuItemDisplay: string;
765
- static menuItemPaddingMobile: string;
766
- static get menuItemLineHeightMobile(): string;
768
+ static mobileMenuItemPaddingLarge: string;
769
+ static mobileMenuItemPaddingMedium: string;
770
+ static mobileMenuItemPaddingSmall: string;
771
+ static get mobileMenuItemLineHeightLarge(): string;
772
+ static get mobileMenuItemLineHeightMedium(): string;
773
+ static get mobileMenuItemLineHeightSmall(): string;
774
+ static get mobileMenuItemFontSizeLarge(): string;
775
+ static get mobileMenuItemFontSizeMedium(): string;
776
+ static get mobileMenuItemFontSizeSmall(): string;
767
777
  static get menuItemFontSizeMobile(): string;
778
+ static get menuItemLineHeightMobile(): string;
779
+ static menuItemPaddingMobile: string;
768
780
  static get menuItemDisabledColor(): string;
769
781
  static menuItemDisabledBg: string;
770
782
  static get menuMessageTextColor(): string;
@@ -772,9 +784,18 @@ export declare class BasicThemeClass {
772
784
  static get menuMessagePaddingY(): string;
773
785
  static get menuMessagePaddingX(): string;
774
786
  static get menuMessageDisplay(): string;
775
- static get menuMessagePaddingMobile(): string;
776
- static get menuMessageLineHeightMobile(): string;
777
787
  static get menuMessageFontSizeMobile(): string;
788
+ static get menuMessageLineHeightMobile(): string;
789
+ static get menuMessagePaddingMobile(): string;
790
+ static get mobileMenuMessagePaddingLarge(): string;
791
+ static get mobileMenuMessagePaddingMedium(): string;
792
+ static get mobileMenuMessagePaddingSmall(): string;
793
+ static get mobileMenuMessageLineHeightLarge(): string;
794
+ static get mobileMenuMessageLineHeightMedium(): string;
795
+ static get mobileMenuMessageLineHeightSmall(): string;
796
+ static get mobileMenuMessageFontSizeLarge(): string;
797
+ static get mobileMenuMessageFontSizeMedium(): string;
798
+ static get mobileMenuMessageFontSizeSmall(): string;
778
799
  static get menuMessageFontSizeSmall(): string;
779
800
  static get menuMessageFontSizeMedium(): string;
780
801
  static get menuMessageFontSizeLarge(): string;
@@ -782,6 +803,9 @@ export declare class BasicThemeClass {
782
803
  static get menuMessageLineHeightMedium(): string;
783
804
  static get menuMessageLineHeightLarge(): string;
784
805
  static menuItemGap: string;
806
+ static get timePickerMenuMaxHeightSmall(): string;
807
+ static get timePickerMenuMaxHeightMedium(): string;
808
+ static get timePickerMenuMaxHeightLarge(): string;
785
809
  static menuHeaderColor: string;
786
810
  static menuHeaderLineHeightSmall: string;
787
811
  static menuHeaderLineHeightMedium: string;
@@ -1037,6 +1061,9 @@ export declare class BasicThemeClass {
1037
1061
  static get textareaDisabledBorderColor(): string;
1038
1062
  static textareaCounterColor: string;
1039
1063
  static textareaCounterBg: string;
1064
+ static textareaCounterBorderRadius: string;
1065
+ static textareaCounterPaddingY: string;
1066
+ static textareaCounterPaddingX: string;
1040
1067
  static get textareaCounterErrorColor(): string;
1041
1068
  static textareaCounterHelpIconColor: string;
1042
1069
  static textareaMargin: string;
@@ -1123,8 +1150,17 @@ export declare class BasicThemeClass {
1123
1150
  static spinnerCaptionGapSmall: string;
1124
1151
  static spinnerCaptionGapMedium: string;
1125
1152
  static spinnerCaptionGapLarge: string;
1153
+ /**
1154
+ * @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
1155
+ * @see {@link spinnerCaptionGapSmall} */
1126
1156
  static spinnerCaptionMarginSmall: string;
1157
+ /**
1158
+ * @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
1159
+ * @see {@link spinnerCaptionGapSmall} */
1127
1160
  static spinnerCaptionMarginMedium: string;
1161
+ /**
1162
+ * @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
1163
+ * @see {@link spinnerCaptionGapSmall} */
1128
1164
  static spinnerCaptionMarginLarge: string;
1129
1165
  static switcherBorderRadius: string;
1130
1166
  static get switcherTextColor(): string;
@@ -1160,6 +1196,17 @@ export declare class BasicThemeClass {
1160
1196
  static mobilePopupTopPadding: string;
1161
1197
  static mobilePopupContainerBottomPadding: string;
1162
1198
  static mobilePopupHeaderPadding: string;
1199
+ static mobilePopupPositionX: string;
1200
+ static mobilePopupPositionY: string;
1201
+ static mobilePopupPaddingSmall: string;
1202
+ static mobilePopupPaddingMedium: string;
1203
+ static mobilePopupPaddingLarge: string;
1204
+ static mobilePopupHeaderPaddingSmall: string;
1205
+ static mobilePopupHeaderPaddingMedium: string;
1206
+ static mobilePopupHeaderPaddingLarge: string;
1207
+ static mobilePopupFooterPaddingSmall: string;
1208
+ static mobilePopupFooterPaddingMedium: string;
1209
+ static mobilePopupFooterPaddingLarge: string;
1163
1210
  static mobilePopupFooterPadding: string;
1164
1211
  static mobilePopupContainerBorderRadius: string;
1165
1212
  static get mobilePopupHeaderFontSize(): string;