@xola/ui-kit 3.5.0 → 3.7.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 (215) hide show
  1. package/README.md +136 -87
  2. package/build/components/Alert.js +18 -13
  3. package/build/components/Animation/FadeIn.js +36 -25
  4. package/build/components/Animation/SlideDown.js +14 -9
  5. package/build/components/Avatar.js +17 -10
  6. package/build/components/Badge.js +33 -24
  7. package/build/components/BottomSheet.js +114 -0
  8. package/build/components/Breadcrumb.js +27 -21
  9. package/build/components/Breakdown.js +66 -74
  10. package/build/components/Buttons/Button.js +53 -47
  11. package/build/components/Buttons/ButtonGroup.js +42 -39
  12. package/build/components/Buttons/SecondaryButton.js +31 -0
  13. package/build/components/Buttons/SubmitButton.js +72 -66
  14. package/build/components/Buttons/ToggleButton.js +15 -16
  15. package/build/components/Counter.js +10 -6
  16. package/build/components/DatePicker/DatePicker.helpers.js +24 -13
  17. package/build/components/DatePicker/DatePicker.js +196 -223
  18. package/build/components/DatePicker/DatePickerPopover.js +75 -66
  19. package/build/components/DatePicker/Day.js +35 -32
  20. package/build/components/DatePicker/LocalizedDayPicker.js +15 -18
  21. package/build/components/DatePicker/MonthGrid.js +35 -48
  22. package/build/components/DatePicker/MonthPicker.js +25 -20
  23. package/build/components/DatePicker/MonthSelector.js +39 -40
  24. package/build/components/DatePicker/MonthYearSelector.js +18 -39
  25. package/build/components/DatePicker/NavbarElement.js +26 -35
  26. package/build/components/DatePicker/RangeDatePicker.js +104 -123
  27. package/build/components/DatePicker/RelativeDateRange.js +153 -143
  28. package/build/components/DatePicker/UpcomingDatePicker.js +29 -25
  29. package/build/components/Dot/Dot.js +13 -8
  30. package/build/components/Dot/DotProgress.js +12 -7
  31. package/build/components/Drawer.js +109 -101
  32. package/build/components/Forms/BaseInput.js +50 -34
  33. package/build/components/Forms/Checkbox.js +33 -30
  34. package/build/components/Forms/ComboBox.js +35 -35
  35. package/build/components/Forms/FormGroup.js +7 -3
  36. package/build/components/Forms/InlineValuePopover.js +33 -39
  37. package/build/components/Forms/Input.js +15 -7
  38. package/build/components/Forms/Label.js +14 -8
  39. package/build/components/Forms/RangeSlider.js +41 -22
  40. package/build/components/Forms/Select.js +5 -6
  41. package/build/components/Forms/Switch.js +46 -38
  42. package/build/components/Forms/Textarea.js +37 -30
  43. package/build/components/Forms/ValuePopoverText.js +5 -8
  44. package/build/components/GooglePlacesAutocomplete.js +112 -0
  45. package/build/components/HeaderToolbar.js +30 -22
  46. package/build/components/ImageUpload.js +76 -79
  47. package/build/components/Key.js +21 -16
  48. package/build/components/Logo.js +12 -5
  49. package/build/components/Modal.js +87 -72
  50. package/build/components/Popover/Popover.js +40 -31
  51. package/build/components/Popover/PopoverList.js +43 -36
  52. package/build/components/Provider.js +7 -8
  53. package/build/components/Screens/Login.js +97 -126
  54. package/build/components/Search.js +114 -144
  55. package/build/components/Sidebar/Sidebar.Account.js +39 -46
  56. package/build/components/Sidebar/Sidebar.Button.js +45 -19
  57. package/build/components/Sidebar/Sidebar.Footer.js +8 -7
  58. package/build/components/Sidebar/Sidebar.Heading.js +11 -8
  59. package/build/components/Sidebar/Sidebar.Link.js +79 -44
  60. package/build/components/Sidebar/Sidebar.Menu.js +52 -28
  61. package/build/components/Sidebar/Sidebar.Notifications.js +107 -0
  62. package/build/components/Sidebar/Sidebar.js +207 -214
  63. package/build/components/Sidebar/SidebarContext.js +15 -0
  64. package/build/components/Sidebar/sidebarWidth.js +41 -0
  65. package/build/components/Sidebar/useSidebarWidthState.js +115 -0
  66. package/build/components/Skeleton.js +19 -20
  67. package/build/components/Spinner.js +18 -10
  68. package/build/components/Table.js +86 -50
  69. package/build/components/Tabs/Tabs.Panel.js +9 -5
  70. package/build/components/Tabs/Tabs.Tab.js +28 -23
  71. package/build/components/Tabs/Tabs.js +23 -23
  72. package/build/components/Tag.js +28 -23
  73. package/build/components/Tooltip.js +19 -5
  74. package/build/components/Utilities/Currency.js +49 -42
  75. package/build/components/Utilities/Number.js +14 -12
  76. package/build/components/Utilities/Phone.js +18 -12
  77. package/build/helpers/environment.js +10 -0
  78. package/build/helpers/flash.js +45 -46
  79. package/build/hooks/useIsMobile.js +8 -0
  80. package/build/hooks/useViewportHeight.js +6 -12
  81. package/build/icons/src/AnnounceIcon.js +3 -4
  82. package/build/icons/src/BellIcon.js +0 -1
  83. package/build/icons/src/CalendarIcon.js +0 -1
  84. package/build/icons/src/CheckIcon.js +0 -1
  85. package/build/icons/src/ChevronDownIcon.js +4 -5
  86. package/build/icons/src/ChevronLeftIcon.js +0 -1
  87. package/build/icons/src/ChevronRightIcon.js +0 -1
  88. package/build/icons/src/CircleNotch.js +0 -1
  89. package/build/icons/src/CloseIcon.js +11 -9
  90. package/build/icons/src/DownArrowIcon.js +0 -1
  91. package/build/icons/src/ImageIcon.js +0 -1
  92. package/build/icons/src/SearchIcon.js +4 -5
  93. package/build/icons/src/TrashIcon.js +0 -1
  94. package/build/icons/src/WarningDiamondIcon.js +0 -1
  95. package/build/icons/src/helpers/icon.js +5 -9
  96. package/build/icons/src/images/XolaLogoSimple.js +2 -3
  97. package/build/index.js +143 -130
  98. package/build/style.css +1 -0
  99. package/build/theme.css +76 -0
  100. package/build/theme.js +2 -0
  101. package/build/utils/currency.js +5 -5
  102. package/build/{helpers → utils}/date.js +17 -20
  103. package/build/utils/numbers.js +12 -12
  104. package/build/utils/phone.js +12 -14
  105. package/build/utils/userLocale.js +6 -0
  106. package/index.css +96 -4
  107. package/index.d.ts +204 -0
  108. package/package.json +87 -77
  109. package/skills/README.md +27 -0
  110. package/skills/migrate-2.6-to-3.7/SKILL.md +110 -0
  111. package/tailwind.config.js +5 -2
  112. package/build/base.css +0 -2
  113. package/build/components/Alert.d.ts +0 -18
  114. package/build/components/Animation/FadeIn.d.ts +0 -13
  115. package/build/components/Animation/SlideDown.d.ts +0 -6
  116. package/build/components/Avatar.d.ts +0 -16
  117. package/build/components/Badge.d.ts +0 -28
  118. package/build/components/Breadcrumb.d.ts +0 -21
  119. package/build/components/Breakdown.d.ts +0 -63
  120. package/build/components/Buttons/Button.d.ts +0 -53
  121. package/build/components/Buttons/ButtonGroup.d.ts +0 -35
  122. package/build/components/Buttons/SubmitButton.d.ts +0 -11
  123. package/build/components/Buttons/ToggleButton.d.ts +0 -21
  124. package/build/components/Charts/BaseChartOptions.d.ts +0 -136
  125. package/build/components/Charts/HistogramOptions.d.ts +0 -192
  126. package/build/components/Charts/PieOptions.d.ts +0 -177
  127. package/build/components/Counter.d.ts +0 -5
  128. package/build/components/DatePicker/DatePicker.d.ts +0 -41
  129. package/build/components/DatePicker/DatePicker.helpers.d.ts +0 -17
  130. package/build/components/DatePicker/DatePickerPopover.d.ts +0 -29
  131. package/build/components/DatePicker/Day.d.ts +0 -13
  132. package/build/components/DatePicker/LocalizedDayPicker.d.ts +0 -6
  133. package/build/components/DatePicker/MonthGrid.d.ts +0 -11
  134. package/build/components/DatePicker/MonthPicker.d.ts +0 -7
  135. package/build/components/DatePicker/MonthSelector.d.ts +0 -8
  136. package/build/components/DatePicker/MonthYearSelector.d.ts +0 -8
  137. package/build/components/DatePicker/NavbarElement.d.ts +0 -15
  138. package/build/components/DatePicker/RangeDatePicker.d.ts +0 -25
  139. package/build/components/DatePicker/RelativeDateRange.d.ts +0 -51
  140. package/build/components/DatePicker/UpcomingDatePicker.d.ts +0 -11
  141. package/build/components/Dot/Dot.d.ts +0 -24
  142. package/build/components/Dot/DotProgress.d.ts +0 -6
  143. package/build/components/Drawer.d.ts +0 -28
  144. package/build/components/Forms/BaseInput.d.ts +0 -20
  145. package/build/components/Forms/Checkbox.d.ts +0 -10
  146. package/build/components/Forms/ComboBox.d.ts +0 -8
  147. package/build/components/Forms/FormGroup.d.ts +0 -5
  148. package/build/components/Forms/InlineValuePopover.d.ts +0 -17
  149. package/build/components/Forms/Input.d.ts +0 -6
  150. package/build/components/Forms/Label.d.ts +0 -7
  151. package/build/components/Forms/RangeSlider.d.ts +0 -33
  152. package/build/components/Forms/Select.d.ts +0 -5
  153. package/build/components/Forms/Switch.d.ts +0 -46
  154. package/build/components/Forms/Textarea.d.ts +0 -6
  155. package/build/components/Forms/ValuePopoverText.d.ts +0 -6
  156. package/build/components/GooglePlacesAutocomplete.d.ts +0 -14
  157. package/build/components/HeaderToolbar.d.ts +0 -21
  158. package/build/components/ImageUpload.d.ts +0 -17
  159. package/build/components/Key.d.ts +0 -6
  160. package/build/components/Logo.d.ts +0 -19
  161. package/build/components/Modal.d.ts +0 -52
  162. package/build/components/Popover/Popover.d.ts +0 -20
  163. package/build/components/Popover/PopoverList.d.ts +0 -25
  164. package/build/components/Provider.d.ts +0 -18
  165. package/build/components/Screens/Login.d.ts +0 -25
  166. package/build/components/Search.d.ts +0 -16
  167. package/build/components/Sidebar/Sidebar.Account.d.ts +0 -13
  168. package/build/components/Sidebar/Sidebar.Button.d.ts +0 -10
  169. package/build/components/Sidebar/Sidebar.Footer.d.ts +0 -8
  170. package/build/components/Sidebar/Sidebar.Heading.d.ts +0 -10
  171. package/build/components/Sidebar/Sidebar.Link.d.ts +0 -24
  172. package/build/components/Sidebar/Sidebar.Menu.d.ts +0 -13
  173. package/build/components/Sidebar/Sidebar.d.ts +0 -58
  174. package/build/components/Sidebar/index.d.ts +0 -8
  175. package/build/components/Skeleton.d.ts +0 -13
  176. package/build/components/Spinner.d.ts +0 -26
  177. package/build/components/Table.d.ts +0 -59
  178. package/build/components/Tabs/Tabs.Panel.d.ts +0 -9
  179. package/build/components/Tabs/Tabs.Tab.d.ts +0 -19
  180. package/build/components/Tabs/Tabs.d.ts +0 -27
  181. package/build/components/Tabs/index.d.ts +0 -4
  182. package/build/components/Tag.d.ts +0 -25
  183. package/build/components/Tooltip.d.ts +0 -8
  184. package/build/components/Utilities/Currency.d.ts +0 -32
  185. package/build/components/Utilities/Number.d.ts +0 -8
  186. package/build/components/Utilities/Phone.d.ts +0 -8
  187. package/build/full.css +0 -2
  188. package/build/helpers/avatar.d.ts +0 -1
  189. package/build/helpers/avatar.js +0 -8
  190. package/build/helpers/browser.d.ts +0 -2
  191. package/build/helpers/children.d.ts +0 -3
  192. package/build/helpers/classnames.d.ts +0 -5
  193. package/build/helpers/currency.d.ts +0 -2
  194. package/build/helpers/currency.js +0 -11
  195. package/build/helpers/date.d.ts +0 -12
  196. package/build/helpers/flash.d.ts +0 -21
  197. package/build/helpers/numbers.d.ts +0 -4
  198. package/build/helpers/numbers.js +0 -23
  199. package/build/helpers/phone.d.ts +0 -11
  200. package/build/helpers/phone.js +0 -25
  201. package/build/hooks/useId.d.ts +0 -1
  202. package/build/hooks/useId.js +0 -9
  203. package/build/hooks/useIsClient.d.ts +0 -1
  204. package/build/hooks/useViewportHeight.d.ts +0 -1
  205. package/build/icons/src/helpers/classnames.js +0 -8
  206. package/build/index.d.ts +0 -66
  207. package/build/theme.d.ts +0 -413
  208. package/build/types/index.d.ts +0 -22
  209. package/build/types/migration.d.ts +0 -2
  210. package/build/ui-kit.css +0 -1
  211. package/build/utils/avatar.d.ts +0 -1
  212. package/build/utils/currency.d.ts +0 -2
  213. package/build/utils/index.d.ts +0 -4
  214. package/build/utils/numbers.d.ts +0 -4
  215. package/build/utils/phone.d.ts +0 -2
@@ -21,6 +21,7 @@ const colors = {
21
21
  },
22
22
 
23
23
  blue: {
24
+ medium: "#B0C7F1",
24
25
  lighter: "#D1E1FF",
25
26
  light: "#2979D0",
26
27
  DEFAULT: "#1352C6",
@@ -130,8 +131,10 @@ const spacing = {
130
131
 
131
132
  export default {
132
133
  content: [
133
- "./src/**/*.{js,jsx,ts,tsx}",
134
- "!./src/**/node_modules",
134
+ "./src/**/*.js",
135
+ "./src/**/*.jsx",
136
+ "./src/**/*.ts",
137
+ "./src/**/*.tsx",
135
138
  path.join(__dirname, "build/**/*.js"),
136
139
  ],
137
140
 
package/build/base.css DELETED
@@ -1,2 +0,0 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;700&display=swap");*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }
2
- /*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:InterVariable,Inter,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:Roboto Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow:0 0 #0000}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow:0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}:root{font-feature-settings:"liga" 1,"calt" 1}html{font-size:14px;color:rgb(34 35 36/var(--tw-text-opacity,1))}a,html{--tw-text-opacity:1}a{color:rgb(19 82 198/var(--tw-text-opacity,1))}a:hover{text-decoration-line:underline}button:focus{outline:2px solid transparent;outline-offset:2px}h1{font-size:24px}h1,h2{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;line-height:130%;letter-spacing:-.4px}h2{font-size:21px}h3{font-size:18px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:700;letter-spacing:-.4px}h4{font-size:16px}h4,h5{line-height:130%;letter-spacing:-.4px}h5{font-size:14px}h6{font-size:12px;line-height:110%;letter-spacing:-.4px}.p1{font-size:16px}.p1,.p2{line-height:130%;letter-spacing:-.4px}.p2{font-size:14px}.p3{font-size:12px;line-height:110%;letter-spacing:-.4px}.ui-badge .icon{position:relative;top:-1px}sup{top:-7px}.font-bold{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
@@ -1,18 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const colors: {
3
- readonly primary: "bg-primary-lighter text-black";
4
- readonly secondary: "bg-secondary-lighter text-black";
5
- readonly success: "bg-success-lighter text-black";
6
- readonly warning: "bg-warning-lighter text-black";
7
- readonly danger: "bg-danger-lighter text-black";
8
- readonly caution: "bg-caution-lighter text-black";
9
- };
10
- type AlertColor = keyof typeof colors;
11
- export interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
12
- color?: AlertColor;
13
- children: React.ReactNode;
14
- className?: string;
15
- onClose?: () => void;
16
- }
17
- export declare const Alert: ({ color, children, className, onClose, ...rest }: AlertProps) => React.JSX.Element;
18
- export {};
@@ -1,13 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface FadeInProps {
3
- [key: string]: any;
4
- shouldShow?: boolean;
5
- shouldAppear?: boolean;
6
- tag?: React.ElementType;
7
- enter?: string;
8
- enterFrom?: string;
9
- enterTo?: string;
10
- children?: React.ReactNode;
11
- className?: string;
12
- }
13
- export declare const FadeIn: ({ shouldShow, shouldAppear, tag, enter, enterFrom, enterTo, children, className, ...rest }: FadeInProps) => React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface SlideDownProps {
3
- isOpen?: boolean;
4
- children?: React.ReactNode;
5
- }
6
- export declare const SlideDown: ({ isOpen, children }: SlideDownProps) => React.JSX.Element;
@@ -1,16 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const sizes: {
3
- readonly tiny: "h-7 w-7 text-base";
4
- readonly small: "h-10 w-10 text-base";
5
- readonly medium: "h-12 w-12 text-md";
6
- readonly large: "h-15 w-15 text-xl";
7
- };
8
- type AvatarSize = keyof typeof sizes;
9
- export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
10
- name?: string;
11
- color?: string;
12
- size?: AvatarSize;
13
- className?: string;
14
- }
15
- export declare const Avatar: ({ name, color, size, className, ...rest }: AvatarProps) => React.JSX.Element;
16
- export {};
@@ -1,28 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const colors: {
3
- readonly primary: "bg-primary-lighter text-primary-dark";
4
- readonly secondary: "bg-secondary-lighter text-black";
5
- readonly success: "bg-success-lightish text-success-darker";
6
- readonly warning: "bg-warning-lightish text-warning-darker";
7
- readonly caution: "bg-caution-lighter text-caution-dark";
8
- readonly danger: "bg-danger-lightish text-danger-dark";
9
- readonly problem: "bg-warning text-white";
10
- readonly critical: "bg-danger text-white";
11
- };
12
- declare const sizes: {
13
- readonly tiny: "px-2 py-0.5 h-4 text-xs";
14
- readonly small: "px-2 py-0.75 h-5 text-sm leading-sm";
15
- readonly medium: "px-3 py-1.5 h-7.5 text-base leading-base";
16
- readonly large: "px-3.5 py-0.75 h-8 text-md leading-md";
17
- };
18
- type BadgeColor = keyof typeof colors;
19
- type BadgeSize = keyof typeof sizes;
20
- export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
21
- color?: BadgeColor;
22
- size?: BadgeSize;
23
- icon?: React.ReactElement;
24
- children: React.ReactNode;
25
- className?: string;
26
- }
27
- export declare const Badge: ({ color, size, icon, children, className, ...rest }: BadgeProps) => React.JSX.Element;
28
- export {};
@@ -1,21 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface BreadcrumbProps extends React.HTMLAttributes<HTMLDivElement> {
3
- separator?: string;
4
- children?: React.ReactNode;
5
- classNames?: {
6
- item?: string;
7
- separator?: string;
8
- };
9
- className?: string;
10
- }
11
- export interface BreadcrumbItemProps extends React.HTMLAttributes<HTMLDivElement> {
12
- className?: string;
13
- onClick?: () => void;
14
- children: React.ReactNode;
15
- }
16
- export declare const Breadcrumb: (({ separator, children, classNames, className, ...rest }: BreadcrumbProps) => React.JSX.Element) & {
17
- Item: {
18
- ({ className, onClick, children }: BreadcrumbItemProps): React.JSX.Element;
19
- displayName: string;
20
- };
21
- };
@@ -1,63 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const colors: {
3
- readonly default: "text-gray-darker";
4
- readonly black: "text-black";
5
- readonly primary: "text-primary";
6
- readonly secondary: "text-secondary";
7
- readonly warning: "text-warning";
8
- readonly success: "text-success";
9
- readonly danger: "text-danger";
10
- readonly caution: "text-caution";
11
- };
12
- type BreakdownColor = keyof typeof colors;
13
- export interface BreakdownProps extends React.TableHTMLAttributes<HTMLTableElement> {
14
- currency: string;
15
- locale?: string;
16
- children?: React.ReactNode;
17
- className?: string;
18
- }
19
- export interface BreakdownItemProps extends React.HTMLAttributes<HTMLTableRowElement> {
20
- info?: React.ReactNode;
21
- methodIcon?: React.ReactNode;
22
- secondary?: React.ReactNode;
23
- value?: React.ReactNode;
24
- color?: BreakdownColor;
25
- children?: React.ReactNode;
26
- classNames?: {
27
- key?: string;
28
- children?: string;
29
- info?: string;
30
- value?: string;
31
- };
32
- className?: string;
33
- }
34
- export interface BreakdownSubtotalItemProps extends React.HTMLAttributes<HTMLTableRowElement> {
35
- info?: React.ReactNode;
36
- value?: number;
37
- color?: BreakdownColor;
38
- children?: React.ReactNode;
39
- classNames?: {
40
- children?: string;
41
- info?: string;
42
- value?: string;
43
- };
44
- className?: string;
45
- }
46
- export interface BreakdownSeparatorProps extends React.HTMLAttributes<HTMLTableRowElement> {
47
- className?: string;
48
- }
49
- export declare const Breakdown: (({ currency, locale, children, className, ...rest }: BreakdownProps) => React.JSX.Element) & {
50
- Item: {
51
- ({ info, methodIcon, secondary, value, color, children, classNames, className, ...rest }: BreakdownItemProps): React.JSX.Element;
52
- displayName: string;
53
- };
54
- SubtotalItem: {
55
- ({ info, value, color, children, classNames, className, ...rest }: BreakdownSubtotalItemProps): React.JSX.Element;
56
- displayName: string;
57
- };
58
- Separator: {
59
- ({ className, ...rest }: BreakdownSeparatorProps): React.JSX.Element;
60
- displayName: string;
61
- };
62
- };
63
- export {};
@@ -1,53 +0,0 @@
1
- import { default as React, ElementType } from 'react';
2
- export declare const colors: {
3
- readonly standard: {
4
- readonly common: "border-transparent text-white";
5
- readonly primary: "bg-primary hover:bg-primary-darker disabled:bg-primary active:bg-primary";
6
- readonly secondary: "bg-secondary text-white hover:bg-secondary-dark disabled:bg-secondary border-transparent active:bg-secondary";
7
- readonly success: "bg-success hover:bg-success-dark disabled:bg-success active:bg-success";
8
- readonly warning: "bg-warning hover:bg-warning-dark disabled:bg-warning active:bg-warning";
9
- readonly caution: "bg-caution hover:bg-caution-dark disabled:bg-caution active:bg-caution";
10
- readonly danger: "bg-danger hover:bg-danger-dark disabled:bg-danger active:bg-danger";
11
- };
12
- readonly outline: {
13
- readonly common: "bg-white border hover:bg-white active:text-white";
14
- readonly default: "border-gray-light hover:border-gray-dark active:bg-primary-lighter active:text-black active:border-primary";
15
- readonly primary: "text-primary border-primary hover:text-primary-dark hover:border-primary-dark active:bg-primary-light";
16
- readonly secondary: "border-gray-light hover:border-gray-dark active:bg-primary-lighter active:text-black active:border-primary";
17
- readonly success: "text-success border-success hover:text-success-dark hover:border-success-dark active:bg-success-light";
18
- readonly warning: "text-warning border-warning hover:text-warning-dark hover:border-warning-dark active:bg-warning-light";
19
- readonly caution: "text-caution border-caution hover:text-caution-dark hover:border-caution-dark active:bg-caution-light";
20
- readonly danger: "text-danger border-danger hover:text-danger-dark hover:border-danger-dark active:bg-danger-light";
21
- };
22
- readonly link: {
23
- readonly common: "border-transparent hover:underline";
24
- readonly primary: "text-primary";
25
- readonly secondary: "text-secondary";
26
- readonly success: "text-success";
27
- readonly warning: "text-warning";
28
- readonly caution: "text-caution";
29
- readonly danger: "text-danger";
30
- };
31
- };
32
- declare const sizes: {
33
- readonly tiny: "px-2 py-0.5 text-xs leading-xs";
34
- readonly small: "px-3 py-2 h-7.5 text-sm leading-sm";
35
- readonly medium: "px-4.5 py-3 h-10 text-base leading-base";
36
- readonly large: "px-6 py-4 h-[50px] text-md leading-md";
37
- };
38
- type ButtonVariant = keyof typeof colors;
39
- type ButtonColor = keyof typeof colors.outline;
40
- type ButtonSize = keyof typeof sizes;
41
- type IconPlacement = "left" | "right";
42
- export interface ButtonProps<T extends ElementType = "button"> {
43
- as?: T;
44
- variant?: ButtonVariant;
45
- color?: ButtonColor;
46
- size?: ButtonSize;
47
- icon?: React.ReactElement;
48
- iconPlacement?: IconPlacement;
49
- children: React.ReactNode;
50
- className?: string;
51
- }
52
- export declare const Button: <T extends ElementType = "button">({ as, variant, color, size, icon, iconPlacement, children, className, ...rest }: ButtonProps<T> & Omit<React.ComponentPropsWithoutRef<T>, keyof ButtonProps<T>>) => React.JSX.Element;
53
- export {};
@@ -1,35 +0,0 @@
1
- import { default as React, ElementType } from 'react';
2
- declare const sizes: {
3
- readonly small: "px-2 py-1.5 text-sm";
4
- readonly medium: "py-3 px-2.5 text-base";
5
- readonly large: "px-4 py-3.5 text-lg";
6
- };
7
- type ButtonGroupSize = keyof typeof sizes;
8
- type IconPlacement = "left" | "right";
9
- export interface ButtonGroupProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "onChange"> {
10
- size: ButtonGroupSize;
11
- value: number;
12
- isCollapsed?: boolean;
13
- children: React.ReactNode;
14
- className?: string;
15
- onChange: (index: number) => void;
16
- }
17
- export interface ButtonGroupButtonProps {
18
- as?: ElementType;
19
- isActive?: boolean;
20
- shouldShowText?: boolean;
21
- isHidden?: boolean;
22
- size?: ButtonGroupSize;
23
- icon?: React.ReactElement;
24
- iconPlacement?: IconPlacement;
25
- children: React.ReactNode;
26
- className?: string;
27
- onClick?: () => void;
28
- }
29
- export declare const ButtonGroup: (({ size, value, isCollapsed, children, className, onChange, ...rest }: ButtonGroupProps) => React.JSX.Element) & {
30
- Button: {
31
- ({ as, isActive, shouldShowText, isHidden, size, icon, iconPlacement, children, className, ...rest }: ButtonGroupButtonProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof ButtonGroupButtonProps>): React.JSX.Element;
32
- displayName: string;
33
- };
34
- };
35
- export {};
@@ -1,11 +0,0 @@
1
- import { default as React } from 'react';
2
- import { colors, ButtonProps } from './Button';
3
- type ButtonVariant = keyof typeof colors;
4
- export interface SubmitButtonProps extends Omit<ButtonProps, "icon" | "iconPlacement">, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof ButtonProps> {
5
- isLoading?: boolean;
6
- isSuccess?: boolean;
7
- disabled?: boolean;
8
- variant?: ButtonVariant;
9
- }
10
- export declare const SubmitButton: ({ color, variant, isLoading, isSuccess, disabled, children, className, ...rest }: SubmitButtonProps) => React.JSX.Element;
11
- export {};
@@ -1,21 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ButtonProps } from './Button';
3
- declare const colors: {
4
- readonly outline: {
5
- readonly primary: "bg-primary-lighter border border-primary hover:bg-primary-light hover:border-primary-dark";
6
- readonly secondary: "bg-secondary-light border border-secondary-light hover:bg-secondary-light hover:border-secondary";
7
- readonly success: "bg-success-lightish border border-success hover:bg-success-light hover:border-success-dark";
8
- readonly warning: "bg-warning-lightish border border-warning hover:bg-warning-light hover:border-warning-dark";
9
- readonly caution: "bg-caution-lightish border border-caution hover:bg-caution-light hover:border-caution-dark";
10
- readonly danger: "bg-danger-lightish border border-danger hover:bg-danger-light hover:border-danger-dark";
11
- };
12
- };
13
- type ToggleVariant = keyof typeof colors;
14
- type ToggleColor = keyof typeof colors.outline;
15
- export interface ToggleButtonProps extends Omit<ButtonProps, "variant" | "color"> {
16
- color?: ToggleColor;
17
- variant?: ToggleVariant;
18
- isActive: boolean;
19
- }
20
- export declare const ToggleButton: ({ color, variant, isActive, className, ...rest }: ToggleButtonProps) => React.JSX.Element;
21
- export {};
@@ -1,136 +0,0 @@
1
- /**
2
- * This view sets up a Chart. A 'Chart' is anything Highcharts can render (graphs, pies, donuts etc)
3
- * This is the master file of defaults for Xola's charts. Colors, sizes, dimensions etc.
4
- */
5
- export declare const BaseChartOptions: {
6
- global: {
7
- useUTC: boolean;
8
- };
9
- chart: {
10
- spacingLeft: number;
11
- };
12
- colors: (string | {
13
- lighter: string;
14
- light: string;
15
- DEFAULT: string;
16
- dark: string;
17
- darker: string;
18
- })[];
19
- xAxis: {
20
- title: {
21
- style: {
22
- color: string;
23
- fontSize: string;
24
- fontWeight: number;
25
- cursor: string;
26
- textOverflow: string;
27
- fontFamily: string[];
28
- } & {
29
- color: string;
30
- };
31
- };
32
- labels: {
33
- style: {
34
- color: string;
35
- fontSize: string;
36
- fontWeight: number;
37
- cursor: string;
38
- textOverflow: string;
39
- fontFamily: string[];
40
- };
41
- };
42
- };
43
- yAxis: {
44
- title: {
45
- style: {
46
- color: string;
47
- fontSize: string;
48
- fontWeight: number;
49
- cursor: string;
50
- textOverflow: string;
51
- fontFamily: string[];
52
- } & {
53
- color: string;
54
- };
55
- };
56
- labels: {
57
- style: {
58
- color: string;
59
- fontSize: string;
60
- fontWeight: number;
61
- cursor: string;
62
- textOverflow: string;
63
- fontFamily: string[];
64
- };
65
- };
66
- };
67
- tooltip: {
68
- enabled: boolean;
69
- backgroundColor: string;
70
- borderColor: string;
71
- borderRadius: number;
72
- borderWidth: number;
73
- valueDecimals: number;
74
- crosshairs: boolean[];
75
- shadow: boolean;
76
- useHTML: boolean;
77
- style: {
78
- color: string;
79
- fontSize: string;
80
- fontWeight: number;
81
- cursor: string;
82
- textOverflow: string;
83
- fontFamily: string[];
84
- } & {
85
- opacity: number;
86
- color: string;
87
- };
88
- };
89
- title: {
90
- text: string;
91
- style: {
92
- color: string;
93
- fontSize: string;
94
- fontWeight: number;
95
- cursor: string;
96
- textOverflow: string;
97
- fontFamily: string[];
98
- } & {
99
- color: string;
100
- fontSize: string;
101
- fontWeight: number;
102
- };
103
- };
104
- plotOptions: {
105
- series: {
106
- marker: {
107
- enabled: boolean;
108
- states: {
109
- hover: {
110
- enabled: boolean;
111
- lineWidth: number;
112
- radius: number;
113
- };
114
- };
115
- };
116
- };
117
- };
118
- legend: {
119
- enabled: boolean;
120
- itemStyle: {
121
- color: string;
122
- fontSize: string;
123
- fontWeight: number;
124
- cursor: string;
125
- textOverflow: string;
126
- fontFamily: string[];
127
- };
128
- itemMarginBottom: number;
129
- align: string;
130
- layout: string;
131
- borderWidth: number;
132
- };
133
- credits: {
134
- enabled: boolean;
135
- };
136
- };
@@ -1,192 +0,0 @@
1
- /**
2
- * This is the base Histogram chart. A histogram can be a line, column or a bar view. This is the master file
3
- * for all defaults for a histogram. This should ideally be extended by business-specific implementations like
4
- * revenue graph, turnover etc.
5
- */
6
- export declare const HistogramOptions: {
7
- global: {
8
- useUTC: boolean;
9
- };
10
- chart: {
11
- spacingLeft: number;
12
- };
13
- colors: (string | {
14
- lighter: string;
15
- light: string;
16
- DEFAULT: string;
17
- dark: string;
18
- darker: string;
19
- })[];
20
- xAxis: {
21
- title: {
22
- style: {
23
- color: string;
24
- fontSize: string;
25
- fontWeight: number;
26
- cursor: string;
27
- textOverflow: string;
28
- fontFamily: string[];
29
- } & {
30
- color: string;
31
- };
32
- };
33
- labels: {
34
- style: {
35
- color: string;
36
- fontSize: string;
37
- fontWeight: number;
38
- cursor: string;
39
- textOverflow: string;
40
- fontFamily: string[];
41
- };
42
- };
43
- };
44
- yAxis: {
45
- title: {
46
- style: {
47
- color: string;
48
- fontSize: string;
49
- fontWeight: number;
50
- cursor: string;
51
- textOverflow: string;
52
- fontFamily: string[];
53
- } & {
54
- color: string;
55
- };
56
- };
57
- labels: {
58
- style: {
59
- color: string;
60
- fontSize: string;
61
- fontWeight: number;
62
- cursor: string;
63
- textOverflow: string;
64
- fontFamily: string[];
65
- };
66
- };
67
- };
68
- tooltip: {
69
- enabled: boolean;
70
- backgroundColor: string;
71
- borderColor: string;
72
- borderRadius: number;
73
- borderWidth: number;
74
- valueDecimals: number;
75
- crosshairs: boolean[];
76
- shadow: boolean;
77
- useHTML: boolean;
78
- style: {
79
- color: string;
80
- fontSize: string;
81
- fontWeight: number;
82
- cursor: string;
83
- textOverflow: string;
84
- fontFamily: string[];
85
- } & {
86
- opacity: number;
87
- color: string;
88
- };
89
- };
90
- title: {
91
- text: string;
92
- style: {
93
- color: string;
94
- fontSize: string;
95
- fontWeight: number;
96
- cursor: string;
97
- textOverflow: string;
98
- fontFamily: string[];
99
- } & {
100
- color: string;
101
- fontSize: string;
102
- fontWeight: number;
103
- };
104
- };
105
- plotOptions: {
106
- series: {
107
- marker: {
108
- enabled: boolean;
109
- states: {
110
- hover: {
111
- enabled: boolean;
112
- lineWidth: number;
113
- radius: number;
114
- };
115
- };
116
- };
117
- };
118
- };
119
- legend: {
120
- enabled: boolean;
121
- itemStyle: {
122
- color: string;
123
- fontSize: string;
124
- fontWeight: number;
125
- cursor: string;
126
- textOverflow: string;
127
- fontFamily: string[];
128
- };
129
- itemMarginBottom: number;
130
- align: string;
131
- layout: string;
132
- borderWidth: number;
133
- };
134
- credits: {
135
- enabled: boolean;
136
- };
137
- } & {
138
- chart: {
139
- type: string;
140
- };
141
- title: {
142
- align: string;
143
- margin: number;
144
- verticalAlign: string;
145
- };
146
- xAxis: {
147
- type: string;
148
- step: number;
149
- minTickInterval: number;
150
- lineColor: string;
151
- lineWidth: number;
152
- gridLineWidth: string;
153
- gridLineColor: string;
154
- gridLineDashStyle: string;
155
- };
156
- yAxis: {
157
- lineColor: string;
158
- lineWidth: number;
159
- gridLineWidth: string;
160
- gridLineColor: string;
161
- gridLineDashStyle: string;
162
- };
163
- plotOptions: {
164
- series: {
165
- marker: {
166
- enabled: boolean;
167
- lineWidth: number;
168
- radius: number;
169
- states: {
170
- hover: {
171
- enabled: boolean;
172
- lineWidth: number;
173
- radius: number;
174
- };
175
- };
176
- };
177
- };
178
- };
179
- legend: {
180
- enabled: boolean;
181
- itemStyle: {
182
- fontSize: string;
183
- color: string;
184
- textTransform: string;
185
- fontFamily: string[];
186
- };
187
- itemMarginBottom: number;
188
- align: string;
189
- layout: string;
190
- borderWidth: number;
191
- };
192
- };