@telicent-oss/ds 0.0.1

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 (259) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +135 -0
  3. package/dist/assets/fonts/figtree/figtree-black.woff2 +0 -0
  4. package/dist/assets/fonts/figtree/figtree-bold.woff2 +0 -0
  5. package/dist/assets/fonts/figtree/figtree-extrabold.woff2 +0 -0
  6. package/dist/assets/fonts/figtree/figtree-light.woff2 +0 -0
  7. package/dist/assets/fonts/figtree/figtree-medium.woff2 +0 -0
  8. package/dist/assets/fonts/figtree/figtree-regular.woff2 +0 -0
  9. package/dist/assets/fonts/figtree/figtree-semibold.woff2 +0 -0
  10. package/dist/assets/fonts/fontawesome/css/all.min.css +9 -0
  11. package/dist/assets/fonts/fontawesome/css/svg-with-js.min.css +6 -0
  12. package/dist/assets/fonts/fontawesome/webfonts/fa-brands-400.ttf +0 -0
  13. package/dist/assets/fonts/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  14. package/dist/assets/fonts/fontawesome/webfonts/fa-regular-400.ttf +0 -0
  15. package/dist/assets/fonts/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  16. package/dist/assets/fonts/fontawesome/webfonts/fa-solid-900.ttf +0 -0
  17. package/dist/assets/fonts/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  18. package/dist/assets/fonts/fontawesome/webfonts/fa-v4compatibility.ttf +0 -0
  19. package/dist/assets/fonts/fontawesome/webfonts/fa-v4compatibility.woff2 +0 -0
  20. package/dist/assets/fonts/remixicon/index.html +156 -0
  21. package/dist/assets/fonts/remixicon/remixicon.css +8640 -0
  22. package/dist/assets/fonts/remixicon/remixicon.eot +0 -0
  23. package/dist/assets/fonts/remixicon/remixicon.glyph.json +1 -0
  24. package/dist/assets/fonts/remixicon/remixicon.less +2898 -0
  25. package/dist/assets/fonts/remixicon/remixicon.module.less +2880 -0
  26. package/dist/assets/fonts/remixicon/remixicon.scss +5729 -0
  27. package/dist/assets/fonts/remixicon/remixicon.styl +2867 -0
  28. package/dist/assets/fonts/remixicon/remixicon.svg +8572 -0
  29. package/dist/assets/fonts/remixicon/remixicon.symbol.svg +11 -0
  30. package/dist/assets/fonts/remixicon/remixicon.ttf +0 -0
  31. package/dist/assets/fonts/remixicon/remixicon.woff +0 -0
  32. package/dist/assets/fonts/remixicon/remixicon.woff2 +0 -0
  33. package/dist/assets/fonts/remixicon/symbol.html +20104 -0
  34. package/dist/assets/fonts/remixicon/unicode.html +175 -0
  35. package/dist/assets/fonts/space-grotesk/space-grotesk-regular.woff2 +0 -0
  36. package/dist/ds.js +41259 -0
  37. package/dist/ds.umd.cjs +1047 -0
  38. package/dist/export.d.ts +1 -0
  39. package/dist/fontawesome.css +2 -0
  40. package/dist/src/components/AppSwitch/AppSwitch.d.ts +15 -0
  41. package/dist/src/components/AppSwitch/AppSwitch.stories.d.ts +15 -0
  42. package/dist/src/components/AppSwitch/AppSwitch.test.d.ts +1 -0
  43. package/dist/src/components/AppSwitch/appsArray.d.ts +8 -0
  44. package/dist/src/components/AppSwitch/styleLookup.d.ts +7 -0
  45. package/dist/src/components/DependenciesTable/DependenciesTable.d.ts +9 -0
  46. package/dist/src/components/DependenciesTable/DependenciesTable.stories.d.ts +6 -0
  47. package/dist/src/components/DependenciesTable/DependenciesTable.test.d.ts +1 -0
  48. package/dist/src/components/License/License.d.ts +25 -0
  49. package/dist/src/components/License/License.stories.d.ts +8 -0
  50. package/dist/src/components/License/License.test.d.ts +1 -0
  51. package/dist/src/components/OntologyClassMarker/OntologyClassMarker.d.ts +16 -0
  52. package/dist/src/components/OntologyClassMarker/OntologyClassMarker.stories.d.ts +18 -0
  53. package/dist/src/components/OntologyHierarchy/OntologyHierarchy.d.ts +22 -0
  54. package/dist/src/components/OntologyHierarchy/OntologyHierarchy.stories.d.ts +25 -0
  55. package/dist/src/components/OntologyHierarchy/OntologyHierarchyDisplay.d.ts +4 -0
  56. package/dist/src/components/OntologyHierarchy/OntologyHierarchyDisplay.test.d.ts +1 -0
  57. package/dist/src/components/OntologyHierarchy/OntologyHierarchyFunctions.d.ts +20 -0
  58. package/dist/src/components/OntologyHierarchy/OntologyHierarchyFunctions.test.d.ts +1 -0
  59. package/dist/src/components/OntologyHierarchy/data/hierarchy.d.ts +3 -0
  60. package/dist/src/components/SearchAutocomplete/SearchAutocomplete.d.ts +59 -0
  61. package/dist/src/components/SearchAutocomplete/SearchAutocomplete.stories.d.ts +48 -0
  62. package/dist/src/components/SearchAutocomplete/custom-options.d.ts +5 -0
  63. package/dist/src/components/SearchAutocompleteDialog/RecentSearches.d.ts +7 -0
  64. package/dist/src/components/SearchAutocompleteDialog/SearchAutocompleteDialog.d.ts +14 -0
  65. package/dist/src/components/SearchAutocompleteDialog/SearchAutocompleteDialog.stories.d.ts +78 -0
  66. package/dist/src/components/SearchAutocompleteDialog/SearchResults.d.ts +8 -0
  67. package/dist/src/components/SearchAutocompleteDialog/index.d.ts +3 -0
  68. package/dist/src/components/SearchAutocompleteDialog/sample-results.d.ts +6 -0
  69. package/dist/src/components/TeliAutocomplete/TeliAutocomplete.d.ts +24 -0
  70. package/dist/src/components/TeliAutocomplete/TeliAutocomplete.stories.d.ts +16 -0
  71. package/dist/src/components/TeliAutocomplete/stories/AsyncOnLoad.d.ts +3 -0
  72. package/dist/src/components/TeliAutocomplete/stories/ComboBox.d.ts +3 -0
  73. package/dist/src/components/TeliAutocomplete/stories/ComboBoxOptions.d.ts +3 -0
  74. package/dist/src/components/TeliAutocomplete/stories/Controlled.d.ts +3 -0
  75. package/dist/src/components/TeliAutocomplete/stories/CustomRenderOptions.d.ts +3 -0
  76. package/dist/src/components/TeliAutocomplete/stories/FreeSolo.d.ts +3 -0
  77. package/dist/src/components/TeliAutocomplete/stories/MultipleValues.d.ts +3 -0
  78. package/dist/src/components/TeliAutocomplete/stories/countries.d.ts +12 -0
  79. package/dist/src/components/TeliAutocomplete/stories/index.d.ts +7 -0
  80. package/dist/src/components/TeliAutocomplete/stories/options.d.ts +4 -0
  81. package/dist/src/components/TeliAutocomplete/stories/top100movies.d.ts +5 -0
  82. package/dist/src/components/TeliAvatar/TeliUserAvatar.d.ts +23 -0
  83. package/dist/src/components/TeliAvatar/TeliUserAvatar.stories.d.ts +17 -0
  84. package/dist/src/components/TeliBrand/TeliBrand.d.ts +27 -0
  85. package/dist/src/components/TeliBrand/TeliBrand.stories.d.ts +11 -0
  86. package/dist/src/components/TeliBrand/TeliBrand.test.d.ts +1 -0
  87. package/dist/src/components/TeliButton/TeliButton.d.ts +16 -0
  88. package/dist/src/components/TeliButton/TeliButton.stories.d.ts +23 -0
  89. package/dist/src/components/TeliButton/TeliButtonBase.d.ts +36 -0
  90. package/dist/src/components/TeliButton/stories/ButtonWithIcons.d.ts +3 -0
  91. package/dist/src/components/TeliButton/stories/ButtonWithTooltips.d.ts +3 -0
  92. package/dist/src/components/TeliButton/stories/DangerButtons.d.ts +3 -0
  93. package/dist/src/components/TeliButton/stories/IconButtons.d.ts +3 -0
  94. package/dist/src/components/TeliButton/stories/LinkButtons.d.ts +3 -0
  95. package/dist/src/components/TeliButton/stories/PrimaryButtons.d.ts +3 -0
  96. package/dist/src/components/TeliButton/stories/SecondaryButtons.d.ts +3 -0
  97. package/dist/src/components/TeliButton/stories/Sizes.d.ts +3 -0
  98. package/dist/src/components/TeliButton/stories/TertiaryButtons.d.ts +3 -0
  99. package/dist/src/components/TeliButton/stories/index.d.ts +9 -0
  100. package/dist/src/components/TeliCheckbox/TeliCheckbox.d.ts +13 -0
  101. package/dist/src/components/TeliCheckbox/TeliCheckbox.stories.d.ts +10 -0
  102. package/dist/src/components/TeliChip/TeliChip.d.ts +10 -0
  103. package/dist/src/components/TeliChip/TeliChip.stories.d.ts +16 -0
  104. package/dist/src/components/TeliChip/stories/BasicChips.d.ts +3 -0
  105. package/dist/src/components/TeliChip/stories/ChipsExample.d.ts +3 -0
  106. package/dist/src/components/TeliChip/stories/ClickableChips.d.ts +3 -0
  107. package/dist/src/components/TeliChip/stories/ClickableLinkChips.d.ts +3 -0
  108. package/dist/src/components/TeliChip/stories/ColorChips.d.ts +3 -0
  109. package/dist/src/components/TeliChip/stories/DeleteableChips.d.ts +3 -0
  110. package/dist/src/components/TeliChip/stories/IconChips.d.ts +3 -0
  111. package/dist/src/components/TeliChip/stories/SizeChips.d.ts +3 -0
  112. package/dist/src/components/TeliChip/stories/index.d.ts +8 -0
  113. package/dist/src/components/TeliDialog/TeliDialog.d.ts +15 -0
  114. package/dist/src/components/TeliDialog/TeliDialog.stories.d.ts +8 -0
  115. package/dist/src/components/TeliHeader/TeliHeader.d.ts +11 -0
  116. package/dist/src/components/TeliHeader/TeliHeader.stories.d.ts +8 -0
  117. package/dist/src/components/TeliHeader/TeliStandardLayoutHeader.d.ts +25 -0
  118. package/dist/src/components/TeliHeader/TeliStandardLayoutHeader.stories.d.ts +10 -0
  119. package/dist/src/components/TeliIcons/AllIcons.d.ts +2 -0
  120. package/dist/src/components/TeliIcons/AllIcons.stories.d.ts +6 -0
  121. package/dist/src/components/TeliIcons/ClockRotateLeft.d.ts +4 -0
  122. package/dist/src/components/TeliIcons/ClockRotateLeft.stories.d.ts +6 -0
  123. package/dist/src/components/TeliIcons/Icon.d.ts +13 -0
  124. package/dist/src/components/TeliIcons/TeliAddIcon.d.ts +4 -0
  125. package/dist/src/components/TeliIcons/TeliAddIcon.stories.d.ts +6 -0
  126. package/dist/src/components/TeliIcons/TeliCloseIcon.d.ts +4 -0
  127. package/dist/src/components/TeliIcons/TeliCloseIcon.stories.d.ts +6 -0
  128. package/dist/src/components/TeliIcons/TeliDeleteIcon.d.ts +4 -0
  129. package/dist/src/components/TeliIcons/TeliDeleteIcon.stories.d.ts +6 -0
  130. package/dist/src/components/TeliIcons/TeliEditIcon.d.ts +4 -0
  131. package/dist/src/components/TeliIcons/TeliEditIcon.stories.d.ts +6 -0
  132. package/dist/src/components/TeliIcons/TeliSearchIcon.d.ts +4 -0
  133. package/dist/src/components/TeliIcons/TeliSearchIcon.stories.d.ts +6 -0
  134. package/dist/src/components/TeliIcons/TeliSortIcon.stories.d.ts +7 -0
  135. package/dist/src/components/TeliIcons/TeliSortIcons.d.ts +5 -0
  136. package/dist/src/components/TeliIcons/index.d.ts +7 -0
  137. package/dist/src/components/TeliList/TeliList.d.ts +29 -0
  138. package/dist/src/components/TeliList/TeliList.stories.d.ts +8 -0
  139. package/dist/src/components/TeliMenu/BasicMenuContents.d.ts +14 -0
  140. package/dist/src/components/TeliMenu/TeliBasicMenu.d.ts +87 -0
  141. package/dist/src/components/TeliMenu/TeliBasicMenu.stories.d.ts +17 -0
  142. package/dist/src/components/TeliMenu/TeliMenu.d.ts +6 -0
  143. package/dist/src/components/TeliMenu/TeliMenu.stories.d.ts +9 -0
  144. package/dist/src/components/TeliMenu/stories/BasicMenu.d.ts +3 -0
  145. package/dist/src/components/TeliMenu/stories/ControlledBasicMenu.d.ts +3 -0
  146. package/dist/src/components/TeliMenu/stories/CustomMenuItems.d.ts +3 -0
  147. package/dist/src/components/TeliMenu/stories/PositionedMenu.d.ts +3 -0
  148. package/dist/src/components/TeliMenu/stories/SimpleMenu.d.ts +2 -0
  149. package/dist/src/components/TeliMenu/stories/WithIcon.d.ts +3 -0
  150. package/dist/src/components/TeliMenu/stories/index.d.ts +5 -0
  151. package/dist/src/components/TeliMenu/stories/menu-items.d.ts +10 -0
  152. package/dist/src/components/TeliSelect/TeliSelect.d.ts +129 -0
  153. package/dist/src/components/TeliSelect/TeliSelect.stories.d.ts +43 -0
  154. package/dist/src/components/TeliSelect/stories/BasicSelect.d.ts +3 -0
  155. package/dist/src/components/TeliSelect/stories/LabelsAndHelperText.d.ts +3 -0
  156. package/dist/src/components/TeliSelect/stories/MultiSelect.d.ts +3 -0
  157. package/dist/src/components/TeliSelect/stories/OtherStates.d.ts +3 -0
  158. package/dist/src/components/TeliSelect/stories/index.d.ts +4 -0
  159. package/dist/src/components/TeliSelect/stories/top-30-movies.d.ts +5 -0
  160. package/dist/src/components/TeliSpinner/TeliSpinner.d.ts +4 -0
  161. package/dist/src/components/TeliSpinner/TeliSpinner.stories.d.ts +9 -0
  162. package/dist/src/components/TeliSwitch/TeliSwitch.d.ts +74 -0
  163. package/dist/src/components/TeliSwitch/TeliSwitch.stories.d.ts +9 -0
  164. package/dist/src/components/TeliSwitch/stories/BasicSwitches.d.ts +3 -0
  165. package/dist/src/components/TeliSwitch/stories/ControlledSwitches.d.ts +3 -0
  166. package/dist/src/components/TeliSwitch/stories/LabelPlacement.d.ts +3 -0
  167. package/dist/src/components/TeliSwitch/stories/LabelledSwitches.d.ts +3 -0
  168. package/dist/src/components/TeliSwitch/stories/Sizes.d.ts +3 -0
  169. package/dist/src/components/TeliSwitch/stories/index.d.ts +5 -0
  170. package/dist/src/components/TeliTable/TeliBasicTable.d.ts +48 -0
  171. package/dist/src/components/TeliTable/TeliBasicTable.stories.d.ts +16 -0
  172. package/dist/src/components/TeliTable/TeliTable.d.ts +20 -0
  173. package/dist/src/components/TeliTable/TeliTable.stories.d.ts +19 -0
  174. package/dist/src/components/TeliTable/TeliTableBody.d.ts +6 -0
  175. package/dist/src/components/TeliTable/TeliTableBody.stories.d.ts +15 -0
  176. package/dist/src/components/TeliTable/TeliTableCell.d.ts +12 -0
  177. package/dist/src/components/TeliTable/TeliTableCell.stories.d.ts +8 -0
  178. package/dist/src/components/TeliTable/TeliTableContainer.d.ts +16 -0
  179. package/dist/src/components/TeliTable/TeliTableContainer.stories.d.ts +8 -0
  180. package/dist/src/components/TeliTable/TeliTableHead.d.ts +6 -0
  181. package/dist/src/components/TeliTable/TeliTableHead.stories.d.ts +15 -0
  182. package/dist/src/components/TeliTable/TeliTableRow.d.ts +13 -0
  183. package/dist/src/components/TeliTable/TeliTableRow.stories.d.ts +15 -0
  184. package/dist/src/components/TeliTable/index.d.ts +7 -0
  185. package/dist/src/components/TeliTable/stories/BasicTable.d.ts +3 -0
  186. package/dist/src/components/TeliTable/stories/Caption.d.ts +3 -0
  187. package/dist/src/components/TeliTable/stories/CustomColumns.d.ts +3 -0
  188. package/dist/src/components/TeliTable/stories/DenseTable.d.ts +3 -0
  189. package/dist/src/components/TeliTable/stories/StickyHeader.d.ts +3 -0
  190. package/dist/src/components/TeliTable/stories/TableExample.d.ts +3 -0
  191. package/dist/src/components/TeliTable/stories/index.d.ts +6 -0
  192. package/dist/src/components/TeliTable/stories/table-data.d.ts +4 -0
  193. package/dist/src/components/TeliTable/table-utils.d.ts +12 -0
  194. package/dist/src/components/TeliTabs/ExampleTeliTabs.stories.d.ts +8 -0
  195. package/dist/src/components/TeliTabs/TeliTab.d.ts +8 -0
  196. package/dist/src/components/TeliTabs/TeliTabPanel.d.ts +8 -0
  197. package/dist/src/components/TeliTabs/TeliTabs.d.ts +11 -0
  198. package/dist/src/components/TeliTabs/index.d.ts +3 -0
  199. package/dist/src/components/TeliTextField/TeliInput.d.ts +8 -0
  200. package/dist/src/components/TeliTextField/TeliTextField.d.ts +9 -0
  201. package/dist/src/components/TeliTextField/TeliTextField.stories.d.ts +10 -0
  202. package/dist/src/components/TeliTextField/TeliTextFieldProps.d.ts +74 -0
  203. package/dist/src/components/TeliTextField/stories/Adornments.d.ts +3 -0
  204. package/dist/src/components/TeliTextField/stories/Controlled.d.ts +3 -0
  205. package/dist/src/components/TeliTextField/stories/FormProps.d.ts +3 -0
  206. package/dist/src/components/TeliTextField/stories/Multiline.d.ts +3 -0
  207. package/dist/src/components/TeliTextField/stories/Validation.d.ts +3 -0
  208. package/dist/src/components/TeliTextField/stories/index.d.ts +5 -0
  209. package/dist/src/components/TeliToolbar/TeliToolbar.d.ts +19 -0
  210. package/dist/src/components/TeliToolbar/TeliToolbar.stories.d.ts +292 -0
  211. package/dist/src/components/TeliToolbar/stories/GroupedActions.d.ts +3 -0
  212. package/dist/src/components/TeliToolbar/stories/HorizontalAndVerticalToolbars.d.ts +3 -0
  213. package/dist/src/components/TeliToolbar/stories/PositionedToolbars.d.ts +3 -0
  214. package/dist/src/components/TeliToolbar/stories/index.d.ts +3 -0
  215. package/dist/src/components/TeliTypeIcon/TeliTypeIcon.d.ts +27 -0
  216. package/dist/src/components/TeliTypeIcon/TeliTypeIcon.stories.d.ts +48 -0
  217. package/dist/src/components/TeliTypeIcon/type-icon-utils.d.ts +10 -0
  218. package/dist/src/components/TeliTypeahead/TeliTypeahead.d.ts +9 -0
  219. package/dist/src/components/TeliTypeahead/TeliTypeahead.stories.d.ts +348 -0
  220. package/dist/src/components/TeliTypeahead/stories/FreeSolo.d.ts +3 -0
  221. package/dist/src/components/TeliTypeahead/stories/MultiSelect.d.ts +3 -0
  222. package/dist/src/components/TeliTypeahead/stories/index.d.ts +2 -0
  223. package/dist/src/components/TeliTypeahead/stories/utils.d.ts +10 -0
  224. package/dist/src/components/TeliUserProfile/TeliUserProfile.d.ts +9 -0
  225. package/dist/src/components/TeliUserProfile/TeliUserProfile.stories.d.ts +16 -0
  226. package/dist/src/components/TeliUserProfile/TeliUserProfileButton.d.ts +15 -0
  227. package/dist/src/components/TeliUserProfile/TeliUserProfileMenu.d.ts +17 -0
  228. package/dist/src/components/index.d.ts +30 -0
  229. package/dist/src/contexts/OntologyStyles.d.ts +48 -0
  230. package/dist/src/contexts/context-utils.d.ts +4 -0
  231. package/dist/src/export.d.ts +7 -0
  232. package/dist/src/hooks/query-utils.d.ts +5 -0
  233. package/dist/src/hooks/useDebounce.d.ts +2 -0
  234. package/dist/src/hooks/useTeliTheme.d.ts +10 -0
  235. package/dist/src/hooks/useTheme.d.ts +7 -0
  236. package/dist/src/hooks/useTypeahead.d.ts +2 -0
  237. package/dist/src/layouts/TeliBasicLayout/TeliBasicLayout.d.ts +6 -0
  238. package/dist/src/layouts/TeliBasicLayout/TeliBasicLayout.stories.d.ts +10 -0
  239. package/dist/src/layouts/TeliStandardLayout/TeliStandardLayout.d.ts +7 -0
  240. package/dist/src/layouts/TeliStandardLayout/TeliStandardLayout.stories.d.ts +8 -0
  241. package/dist/src/providers/LayoutProviders/DSProviders.d.ts +8 -0
  242. package/dist/src/providers/LayoutProviders/LayoutProviders.d.ts +5 -0
  243. package/dist/src/providers/LayoutProviders/index.d.ts +2 -0
  244. package/dist/src/providers/TeliStyledEngineProvider/TeliStyledEngineProvider.d.ts +6 -0
  245. package/dist/src/providers/TeliThemeProvider/TeliThemeProvider.d.ts +10 -0
  246. package/dist/src/providers/TeliThemeProvider/TeliThemeProvider.test.d.ts +1 -0
  247. package/dist/src/providers/TeliThemeProvider/components.d.ts +3 -0
  248. package/dist/src/providers/TeliThemeProvider/palette.d.ts +4 -0
  249. package/dist/src/providers/TeliThemeProvider/typography.d.ts +3 -0
  250. package/dist/src/providers/index.d.ts +3 -0
  251. package/dist/src/setupTests.d.ts +0 -0
  252. package/dist/src/stories/Branding/Favicons.d.ts +3 -0
  253. package/dist/src/stories/Branding/Figtree.d.ts +3 -0
  254. package/dist/src/stories/Branding/SpaceGrotesk.d.ts +3 -0
  255. package/dist/src/test-utils.d.ts +58 -0
  256. package/dist/src/types/layout.d.ts +11 -0
  257. package/dist/style.css +1 -0
  258. package/dist/telicent-favicon.svg +1 -0
  259. package/package.json +170 -0
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from "@storybook/react";
3
+ declare const meta: {
4
+ component: import("react").FC<import("./TeliTableCell").TeliTableCellProps>;
5
+ };
6
+ export default meta;
7
+ type TeliTableCellStory = StoryObj<typeof meta>;
8
+ export declare const Example: TeliTableCellStory;
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import { TableContainerProps as MUITableContainerProps } from "@mui/material";
3
+ import "./table.css";
4
+ type TableContainerProps = Omit<MUITableContainerProps, "sx" | "classes">;
5
+ export interface TeliTableContainerProps extends TableContainerProps {
6
+ /**
7
+ * If true, the table element will be bordered
8
+ */
9
+ bordered?: boolean;
10
+ /**
11
+ * Maximum height of the component
12
+ */
13
+ maxHeight?: number;
14
+ }
15
+ declare const TeliTableContainer: React.FC<TeliTableContainerProps>;
16
+ export default TeliTableContainer;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from "@storybook/react";
3
+ declare const meta: {
4
+ component: import("react").FC<import("./TeliTableContainer").TeliTableContainerProps>;
5
+ };
6
+ export default meta;
7
+ type TeliTableContainerStory = StoryObj<typeof meta>;
8
+ export declare const Example: TeliTableContainerStory;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { TableHeadProps as MUITableHeadProps } from "@mui/material";
3
+ import "./table.css";
4
+ export type TeliTableHeadProps = Omit<MUITableHeadProps, "sx" | "classes">;
5
+ declare const TeliTableHead: React.FC<TeliTableHeadProps>;
6
+ export default TeliTableHead;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from "@storybook/react";
3
+ declare const meta: {
4
+ component: import("react").FC<import("./TeliTableHead").TeliTableHeadProps>;
5
+ parameters: {
6
+ docs: {
7
+ description: {
8
+ story: string;
9
+ };
10
+ };
11
+ };
12
+ };
13
+ export default meta;
14
+ export type TeliTableHeadStory = StoryObj<typeof meta>;
15
+ export declare const Example: TeliTableHeadStory;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { TableRowProps as MUITableRowProps } from "@mui/material";
3
+ import "./table.css";
4
+ type TableRowProps = Omit<MUITableRowProps, "sx" | "classes">;
5
+ export interface TeliTableRowProps extends TableRowProps {
6
+ /**
7
+ * If true, the last table row will have a bottom border added to the table
8
+ * cell element
9
+ */
10
+ addBorderToLastRow?: boolean;
11
+ }
12
+ declare const TeliTableRow: React.FC<TeliTableRowProps>;
13
+ export default TeliTableRow;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from "@storybook/react";
3
+ declare const meta: {
4
+ component: import("react").FC<import("./TeliTableRow").TeliTableRowProps>;
5
+ parameters: {
6
+ docs: {
7
+ description: {
8
+ story: string;
9
+ };
10
+ };
11
+ };
12
+ };
13
+ export default meta;
14
+ type TeliTableRowStory = StoryObj<typeof meta>;
15
+ export declare const Example: TeliTableRowStory;
@@ -0,0 +1,7 @@
1
+ export { default as TeliTable } from "./TeliTable";
2
+ export { default as TeliTableBody } from "./TeliTableBody";
3
+ export { default as TeliTableCell } from "./TeliTableCell";
4
+ export { default as TeliTableContainer } from "./TeliTableContainer";
5
+ export { default as TeliTableHead } from "./TeliTableHead";
6
+ export { default as TeliTableRow } from "./TeliTableRow";
7
+ export { default as TeliBasicTable } from "./TeliBasicTable";
@@ -0,0 +1,3 @@
1
+ import { TeliBasicTableStory } from "../TeliBasicTable.stories";
2
+ declare const BasicTable: TeliBasicTableStory;
3
+ export default BasicTable;
@@ -0,0 +1,3 @@
1
+ import { TeliBasicTableStory } from "../TeliBasicTable.stories";
2
+ declare const CustomColumns: TeliBasicTableStory;
3
+ export default CustomColumns;
@@ -0,0 +1,3 @@
1
+ import { TeliBasicTableStory } from "../TeliBasicTable.stories";
2
+ declare const CustomColumns: TeliBasicTableStory;
3
+ export default CustomColumns;
@@ -0,0 +1,3 @@
1
+ import { TeliBasicTableStory } from "../TeliBasicTable.stories";
2
+ declare const DenseTable: TeliBasicTableStory;
3
+ export default DenseTable;
@@ -0,0 +1,3 @@
1
+ import { TeliBasicTableStory } from "../TeliBasicTable.stories";
2
+ declare const StickyHeader: TeliBasicTableStory;
3
+ export default StickyHeader;
@@ -0,0 +1,3 @@
1
+ import { TeliTableStory } from "../TeliTable.stories";
2
+ declare const TableExample: TeliTableStory;
3
+ export default TableExample;
@@ -0,0 +1,6 @@
1
+ export { default as BasicTable } from "./BasicTable";
2
+ export { default as DenseTable } from "./DenseTable";
3
+ export { default as StickyHeader } from "./StickyHeader";
4
+ export { default as CaptionedTable } from "./Caption";
5
+ export { default as CustomColumns } from "./CustomColumns";
6
+ export { default as TableExample } from "./TableExample";
@@ -0,0 +1,4 @@
1
+ export declare const TV_SERIES_RANKINGS_COLUMNS: Array<string>;
2
+ export declare const TV_SERIES_RANKINGS_ROWS: Array<Array<string>>;
3
+ declare const TV_SERIES_RANKINGS: string[][];
4
+ export default TV_SERIES_RANKINGS;
@@ -0,0 +1,12 @@
1
+ import { TableCellProps } from "@mui/material";
2
+ import { TeliBasicTableProps } from "./TeliBasicTable";
3
+ interface RowHeaderProps {
4
+ component?: TableCellProps["component"];
5
+ scope?: TableCellProps["scope"];
6
+ }
7
+ export declare const getAlignmentProp: (index: number, align: TeliBasicTableProps["align"]) => "inherit" | "right" | "left" | "center" | "justify" | undefined;
8
+ export declare const getRowHeaderProps: (index: number, isHeader: boolean) => RowHeaderProps | undefined;
9
+ export declare const createRows: (rows: Array<Array<string>>, numberRows: boolean) => string[][];
10
+ export declare const createColumns: <TCol>(columns: TCol[], numberRows: boolean, numberColumnHeading?: string) => (string | TCol)[];
11
+ export declare const createTableKey: (cellType: "column" | "row", data: string) => string;
12
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { StoryObj } from "@storybook/react";
2
+ declare const meta: {
3
+ title: string;
4
+ component: () => import("react/jsx-runtime").JSX.Element;
5
+ };
6
+ export default meta;
7
+ type Story = StoryObj<typeof meta>;
8
+ export declare const BasicTabs: Story;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { TabProps } from "@mui/material";
3
+ import "./telitabs.css";
4
+ interface TeliTabProps extends Omit<TabProps, "value"> {
5
+ tabIndex: number;
6
+ }
7
+ declare const TeliTab: React.FC<TeliTabProps>;
8
+ export default TeliTab;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface TeliTabPanelProps {
3
+ tabIndex: number;
4
+ selectedTabIndex: number;
5
+ children?: React.ReactNode;
6
+ }
7
+ declare const TeliTabPanel: React.FC<TeliTabPanelProps>;
8
+ export default TeliTabPanel;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { TabsProps } from "@mui/material";
3
+ import "./telitabs.css";
4
+ export interface TeliTabsProps extends Omit<TabsProps, "value"> {
5
+ /**
6
+ * The value of the currently selected `Tab`.
7
+ */
8
+ selectedTabIndex: number;
9
+ }
10
+ declare const TeliTabs: React.FC<TeliTabsProps>;
11
+ export default TeliTabs;
@@ -0,0 +1,3 @@
1
+ export { default as TeliTabs } from "./TeliTabs";
2
+ export { default as TeliTab } from "./TeliTab";
3
+ export { default as TeliTabPanel } from "./TeliTabPanel";
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { InputProps } from "@mui/material";
3
+ type TeliInputProps = Omit<InputProps, "classes" | "color" | "components" | "componentsProps" | "disableUnderline" | "inputComponent" | "inputProps" | "slotProps" | "slots" | "sx"> & Partial<{
4
+ cursor: React.CSSProperties["cursor"];
5
+ textAlign: React.CSSProperties["textAlign"];
6
+ }>;
7
+ declare const TeliInput: React.FC<TeliInputProps>;
8
+ export default TeliInput;
@@ -0,0 +1,9 @@
1
+ import { type FC } from "react";
2
+ import TeliTextFieldProps from "./TeliTextFieldProps";
3
+ import "./textfield.css";
4
+ /**
5
+ * Text Fields let users enter and edit text. They typically appear in forms and dialogs.
6
+ * More information about this component can be used can be found [here](https://mui.com/material-ui/react-text-field/)
7
+ */
8
+ declare const TeliTextField: FC<TeliTextFieldProps>;
9
+ export default TeliTextField;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from "@storybook/react";
3
+ import { AdornmentExamples, Controlled, FormProps, MultilineExamples, ValidationExamples } from "./stories";
4
+ declare const meta: {
5
+ component: import("react").FC<import("./TeliTextFieldProps").default>;
6
+ };
7
+ export default meta;
8
+ export type TeliTextFieldStory = StoryObj<typeof meta>;
9
+ export declare const Basic: TeliTextFieldStory;
10
+ export { FormProps, ValidationExamples, MultilineExamples, AdornmentExamples, Controlled, };
@@ -0,0 +1,74 @@
1
+ /// <reference types="react" />
2
+ import { TextFieldProps } from "@mui/material";
3
+ interface TeliTextFieldProps {
4
+ ariaLabel?: string;
5
+ /** This prop helps users to fill forms faster, especially on mobile devices.
6
+ * The name can be confusing, as it's more like an autofill. You can learn
7
+ * more about it [following the
8
+ * specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
9
+ * */
10
+ autoComplete?: TextFieldProps["autoComplete"];
11
+ /** If true, the input element is focused during the first mount.
12
+ * @default false
13
+ */
14
+ autoFocus?: TextFieldProps["autoFocus"];
15
+ /** The default value. Use when the component is not controlled. */
16
+ defaultValue?: TextFieldProps["defaultValue"];
17
+ /** If true, the component is disabled.
18
+ * @default false
19
+ */
20
+ disabled?: TextFieldProps["disabled"];
21
+ /** If true, the label is displayed in an error state.
22
+ * @default false
23
+ */
24
+ error?: TextFieldProps["error"];
25
+ /** End InputAdornment for this component. */
26
+ endAdornment?: React.ReactNode | string;
27
+ /** If true, the input will take up the full width of its container.
28
+ * @default false
29
+ */
30
+ fullWidth?: TextFieldProps["fullWidth"];
31
+ /** The helper text content. */
32
+ helperText?: TextFieldProps["helperText"];
33
+ /** The id of the input element. Use this prop to make label and helperText
34
+ * accessible for screen readers. */
35
+ id?: TextFieldProps["id"];
36
+ /** Pass a ref to the input element. */
37
+ inputRef?: TextFieldProps["inputRef"];
38
+ /** The label content. */
39
+ label?: TextFieldProps["label"];
40
+ /** Maximum number of rows to display when multiline option is set to true. */
41
+ maxRows?: TextFieldProps["maxRows"];
42
+ /** Minimum number of rows to display when multiline option is set to true. */
43
+ minRows?: TextFieldProps["minRows"];
44
+ /** If true, a textarea element is rendered instead of an input. */
45
+ multiline?: TextFieldProps["multiline"];
46
+ /** Name attribute of the input element. */
47
+ name?: TextFieldProps["name"];
48
+ /** Callback fired when the value is changed.
49
+ * (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void
50
+ * @param event The event source of the callback. You can pull out the new
51
+ * value by accessing event.target.value (string).
52
+ * @returns void
53
+ */
54
+ onChange?: TextFieldProps["onChange"];
55
+ /** The short hint displayed in the input before the user enters a value. */
56
+ placeholder?: TextFieldProps["placeholder"];
57
+ /** If true, the label is displayed as required and the input element is required. */
58
+ required?: TextFieldProps["required"];
59
+ /** Number of rows to display when multiline option is set to true. */
60
+ rows?: TextFieldProps["rows"];
61
+ /** Start InputAdornment for this component. */
62
+ startAdornment?: React.ReactNode | string;
63
+ /** If true, pointer events like onClick are enabled */
64
+ pointerEvents?: boolean;
65
+ /** If true, the input value cannot be changed */
66
+ readOnly?: boolean;
67
+ /** Type of the input element. It should be a [valid HTML5 input
68
+ * type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
69
+ * */
70
+ type?: TextFieldProps["type"];
71
+ /** The value of the input element, required for a controlled component. */
72
+ value?: TextFieldProps["value"];
73
+ }
74
+ export default TeliTextFieldProps;
@@ -0,0 +1,3 @@
1
+ import { TeliTextFieldStory } from "../TeliTextField.stories";
2
+ declare const AdornmentExamples: TeliTextFieldStory;
3
+ export default AdornmentExamples;
@@ -0,0 +1,3 @@
1
+ import { TeliTextFieldStory } from "../TeliTextField.stories";
2
+ declare const Controlled: TeliTextFieldStory;
3
+ export default Controlled;
@@ -0,0 +1,3 @@
1
+ import { TeliTextFieldStory } from "../TeliTextField.stories";
2
+ declare const FormProps: TeliTextFieldStory;
3
+ export default FormProps;
@@ -0,0 +1,3 @@
1
+ import { TeliTextFieldStory } from "../TeliTextField.stories";
2
+ declare const MultilineExamples: TeliTextFieldStory;
3
+ export default MultilineExamples;
@@ -0,0 +1,3 @@
1
+ import { TeliTextFieldStory } from "../TeliTextField.stories";
2
+ declare const ValidationExamples: TeliTextFieldStory;
3
+ export default ValidationExamples;
@@ -0,0 +1,5 @@
1
+ export { default as AdornmentExamples } from "./Adornments";
2
+ export { default as Controlled } from "./Controlled";
3
+ export { default as FormProps } from "./FormProps";
4
+ export { default as MultilineExamples } from "./Multiline";
5
+ export { default as ValidationExamples } from "./Validation";
@@ -0,0 +1,19 @@
1
+ import React, { HTMLAttributes } from "react";
2
+ import "./telitoolbar.css";
3
+ export interface TeliToolbarProps extends HTMLAttributes<HTMLUListElement> {
4
+ /**
5
+ * @default true
6
+ */
7
+ defaultControls?: boolean;
8
+ /**
9
+ * @default false
10
+ */
11
+ vertical?: boolean;
12
+ position?: "bottom-start" | "bottom-end" | "top-start" | "top-end";
13
+ variant?: "tertiary" | "basic";
14
+ onZoomIn?: () => void;
15
+ onZoomOut?: () => void;
16
+ children?: React.ReactNode;
17
+ }
18
+ declare const TeliToolbar: React.FC<TeliToolbarProps>;
19
+ export default TeliToolbar;