@spectric/ui 0.0.7 → 0.0.9

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 (46) hide show
  1. package/README.MD +5 -28
  2. package/dist/components/Button.d.ts +14 -3
  3. package/dist/components/index.d.ts +3 -0
  4. package/dist/components/input.d.ts +5 -1
  5. package/dist/components/pagination/index.d.ts +1 -0
  6. package/dist/components/pagination/pagination.d.ts +60 -0
  7. package/dist/components/table/body.d.ts +44 -0
  8. package/dist/components/table/cell.d.ts +58 -0
  9. package/dist/components/table/header.d.ts +42 -0
  10. package/dist/components/table/index.d.ts +1 -0
  11. package/dist/components/table/table.d.ts +100 -0
  12. package/dist/components/tooltip/index.d.ts +1 -0
  13. package/dist/components/tooltip/tooltip.d.ts +95 -0
  14. package/dist/custom-elements.json +201 -7
  15. package/dist/index.es.js +2104 -1612
  16. package/dist/index.es.js.map +1 -1
  17. package/dist/index.umd.js +222 -83
  18. package/dist/index.umd.js.map +1 -1
  19. package/dist/style.css +1 -1
  20. package/package.json +1 -1
  21. package/src/components/Button.ts +23 -4
  22. package/src/components/button.css.ts +85 -2
  23. package/src/components/index.ts +4 -1
  24. package/src/components/input.css +6 -1
  25. package/src/components/input.ts +26 -5
  26. package/src/components/pagination/index.ts +1 -0
  27. package/src/components/pagination/pagination.css +10 -0
  28. package/src/components/pagination/pagination.ts +133 -0
  29. package/src/components/table/body.ts +69 -0
  30. package/src/components/table/cell.ts +133 -0
  31. package/src/components/table/header.ts +68 -0
  32. package/src/components/table/index.ts +1 -0
  33. package/src/components/table/table.css +46 -0
  34. package/src/components/table/table.ts +174 -0
  35. package/src/components/tooltip/index.ts +1 -0
  36. package/src/components/tooltip/tooltip.css +52 -0
  37. package/src/components/tooltip/tooltip.ts +228 -0
  38. package/src/docs/HTML-Vue-Python Integration.mdx +18 -0
  39. package/src/docs/React.mdx +20 -0
  40. package/src/docs/welcome.mdx +29 -0
  41. package/src/stories/Button.stories.ts +25 -2
  42. package/src/stories/fixtures/ExampleContent.ts +39 -4
  43. package/src/stories/fixtures/data.ts +20 -2
  44. package/src/stories/pagination.stories.ts +63 -0
  45. package/src/stories/table.stories.ts +88 -0
  46. package/src/stories/tooltip.stories.ts +68 -0
@@ -79,7 +79,7 @@
79
79
  },
80
80
  {
81
81
  "name": "spectric-button",
82
- "description": "Events:\n\n * `click` {`CustomEvent<MouseEvent>`} - \n\nAttributes:\n\n * `variant` {`\"text\" | \"primary\" | \"secondary\"`} - Is this the principal call to action on the page?\n\n * `backgroundColor` {`string | undefined`} - What background color to use\n\n * `size` {`\"small\" | \"medium\" | \"large\"`} - How large should the button be?\n\n * `label` {`string | undefined`} - \n\n * `disabled` {`boolean`} - \n\n * `danger` {`boolean`} - \n\nProperties:\n\n * `styles` {`CSSResultGroup | undefined`} - \n\n * `_onClick` - \n\n * `variant` {`\"text\" | \"primary\" | \"secondary\"`} - Is this the principal call to action on the page?\n\n * `backgroundColor` {`string | undefined`} - What background color to use\n\n * `size` {`\"small\" | \"medium\" | \"large\"`} - How large should the button be?\n\n * `label` {`string | undefined`} - \n\n * `disabled` {`boolean`} - \n\n * `danger` {`boolean`} - ",
82
+ "description": "Events:\n\n * `click` {`CustomEvent<MouseEvent>`} - \n\nAttributes:\n\n * `variant` {`\"text\" | \"primary\" | \"secondary\"`} - Is this the principal call to action on the page?\n\n * `backgroundColor` {`string | undefined`} - What background color to use\n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - How large should the button be?\n\n * `label` {`string | undefined`} - \n\n * `disabled` {`boolean`} - \n\n * `danger` {`boolean`} - \n\n * `icon` {`boolean`} - \n\n * `tooltip` {`DomRenderable | undefined`} - \n\n * `tooltipPosition` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\" | undefined`} - \n\nProperties:\n\n * `styles` {`CSSResultGroup | undefined`} - \n\n * `_onClick` - \n\n * `variant` {`\"text\" | \"primary\" | \"secondary\"`} - Is this the principal call to action on the page?\n\n * `backgroundColor` {`string | undefined`} - What background color to use\n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - How large should the button be?\n\n * `label` {`string | undefined`} - \n\n * `disabled` {`boolean`} - \n\n * `danger` {`boolean`} - \n\n * `icon` {`boolean`} - \n\n * `tooltip` {`DomRenderable | undefined`} - \n\n * `tooltipPosition` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\" | undefined`} - ",
83
83
  "attributes": [
84
84
  {
85
85
  "name": "variant",
@@ -103,16 +103,25 @@
103
103
  },
104
104
  {
105
105
  "name": "size",
106
- "description": "`size` {`\"small\" | \"medium\" | \"large\"`} - How large should the button be?\n\nProperty: size\n\nDefault: large",
106
+ "description": "`size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - How large should the button be?\n\nProperty: size\n\nDefault: small",
107
107
  "values": [
108
108
  {
109
- "name": "small"
109
+ "name": "large"
110
110
  },
111
111
  {
112
112
  "name": "medium"
113
113
  },
114
114
  {
115
- "name": "large"
115
+ "name": "small"
116
+ },
117
+ {
118
+ "name": "xsmall"
119
+ },
120
+ {
121
+ "name": "xxsmall"
122
+ },
123
+ {
124
+ "name": "tiny"
116
125
  }
117
126
  ]
118
127
  },
@@ -131,6 +140,37 @@
131
140
  "description": "`danger` {`boolean`} - \n\nProperty: danger\n\nDefault: false",
132
141
  "valueSet": "v"
133
142
  },
143
+ {
144
+ "name": "icon",
145
+ "description": "`icon` {`boolean`} - \n\nProperty: icon\n\nDefault: false",
146
+ "valueSet": "v"
147
+ },
148
+ {
149
+ "name": "tooltip",
150
+ "description": "`tooltip` {`DomRenderable | undefined`} - \n\nProperty: tooltip",
151
+ "values": []
152
+ },
153
+ {
154
+ "name": "tooltipPosition",
155
+ "description": "`tooltipPosition` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\" | undefined`} - \n\nProperty: tooltipPosition\n\nDefault: right",
156
+ "values": [
157
+ {
158
+ "name": "top"
159
+ },
160
+ {
161
+ "name": "bottom"
162
+ },
163
+ {
164
+ "name": "left"
165
+ },
166
+ {
167
+ "name": "right"
168
+ },
169
+ {
170
+ "name": "mouse"
171
+ }
172
+ ]
173
+ },
134
174
  {
135
175
  "name": "onclick",
136
176
  "description": "`click` {`CustomEvent<MouseEvent>`} - "
@@ -392,8 +432,13 @@
392
432
  },
393
433
  {
394
434
  "name": "spectric-input",
395
- "description": "Events:\n\n * `change` {`Event`} - \n\nAttributes:\n\n * `hidePasswordLabel` {`string`} - \"Hide password\" tooltip text on password visibility toggle\n\n * `showPasswordLabel` {`string`} - \"Show password\" tooltip text on password visibility toggle\n\n * `value` {`string | number | boolean`} - The value of the input.\n\n * `variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\"`} - Input type\n\n * `label` {`string`} - Label to display above the input\n\n * `placeholder` {`string`} - placeholder text to display\n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `helperText` {`string`} - The helper text.\n\n * `invalid` {`boolean`} - Specify if the currently value is invalid.\n\n * `invalidText` {`string | TemplateResult<1>`} - Message which is displayed if the value is invalid.\n\n * `maxCount` {`number`} - Max character count allowed for input. This is needed in order for enableCounter to display\n\n * `required` {`boolean`} - Boolean property to set the required status\n\n * `showPasswordVisibilityToggle` {`boolean`} - Boolean property to render password visibility toggle\n\n * `name` {`string`} - Name for the input used for form data events //TODO make sure this works\n\n * `pattern` {`string`} - Pattern to validate the input against for HTML validity checking\n\n * `autocomplete` {`AutoFill`} - The sets the autocomplete for the input.\n\nProperties:\n\n * `hidePasswordLabel` {`string`} - \"Hide password\" tooltip text on password visibility toggle\n\n * `showPasswordLabel` {`string`} - \"Show password\" tooltip text on password visibility toggle\n\n * `_value` {`string | number | boolean`} - The internal value.\n\n * `_showPassword` {`boolean`} - \n\n * `selectionStart` {`number | null`} - \n\n * `value` {`string | number | boolean`} - The value of the input.\n\n * `_handleInput` - Handles `oninput` event on the `<input>`.\n\n * `_input` {`HTMLInputElement | undefined`} - The underlying input element\n\n * `handleTogglePasswordVisibility` - \n\n * `variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\"`} - Input type\n\n * `label` {`string`} - Label to display above the input\n\n * `placeholder` {`string`} - placeholder text to display\n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `helperText` {`string`} - The helper text.\n\n * `invalid` {`boolean`} - Specify if the currently value is invalid.\n\n * `invalidText` {`string | TemplateResult<1>`} - Message which is displayed if the value is invalid.\n\n * `maxCount` {`number`} - Max character count allowed for input. This is needed in order for enableCounter to display\n\n * `required` {`boolean`} - Boolean property to set the required status\n\n * `showPasswordVisibilityToggle` {`boolean`} - Boolean property to render password visibility toggle\n\n * `name` {`string`} - Name for the input used for form data events //TODO make sure this works\n\n * `pattern` {`string`} - Pattern to validate the input against for HTML validity checking\n\n * `autocomplete` {`AutoFill`} - The sets the autocomplete for the input.",
435
+ "description": "Events:\n\n * `change` {`Event`} - \n\nAttributes:\n\n * `checked` {`boolean | undefined`} - \n\n * `hidePasswordLabel` {`string`} - \"Hide password\" tooltip text on password visibility toggle\n\n * `showPasswordLabel` {`string`} - \"Show password\" tooltip text on password visibility toggle\n\n * `value` {`string | number | boolean`} - The value of the input.\n\n * `variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\" | \"checkbox\"`} - Input type\n\n * `label` {`string`} - Label to display above the input\n\n * `placeholder` {`string`} - placeholder text to display\n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `helperText` {`string`} - The helper text.\n\n * `invalid` {`boolean`} - Specify if the currently value is invalid.\n\n * `invalidText` {`string | TemplateResult<1>`} - Message which is displayed if the value is invalid.\n\n * `maxCount` {`number`} - Max character count allowed for input. This is needed in order for enableCounter to display\n\n * `required` {`boolean`} - Boolean property to set the required status\n\n * `showPasswordVisibilityToggle` {`boolean`} - Boolean property to render password visibility toggle\n\n * `name` {`string`} - Name for the input used for form data events //TODO make sure this works\n\n * `pattern` {`string`} - Pattern to validate the input against for HTML validity checking\n\n * `autocomplete` {`AutoFill`} - The sets the autocomplete for the input.\n\nProperties:\n\n * `checked` {`boolean | undefined`} - \n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\" | undefined`} - \n\n * `hidePasswordLabel` {`string`} - \"Hide password\" tooltip text on password visibility toggle\n\n * `showPasswordLabel` {`string`} - \"Show password\" tooltip text on password visibility toggle\n\n * `_value` {`string | number | boolean`} - The internal value.\n\n * `_showPassword` {`boolean`} - \n\n * `selectionStart` {`number | null`} - \n\n * `value` {`string | number | boolean`} - The value of the input.\n\n * `_handleInput` - Handles `oninput` event on the `<input>`.\n\n * `_input` {`HTMLInputElement | undefined`} - The underlying input element\n\n * `handleTogglePasswordVisibility` - \n\n * `variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\" | \"checkbox\"`} - Input type\n\n * `label` {`string`} - Label to display above the input\n\n * `placeholder` {`string`} - placeholder text to display\n\n * `disabled` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `helperText` {`string`} - The helper text.\n\n * `invalid` {`boolean`} - Specify if the currently value is invalid.\n\n * `invalidText` {`string | TemplateResult<1>`} - Message which is displayed if the value is invalid.\n\n * `maxCount` {`number`} - Max character count allowed for input. This is needed in order for enableCounter to display\n\n * `required` {`boolean`} - Boolean property to set the required status\n\n * `showPasswordVisibilityToggle` {`boolean`} - Boolean property to render password visibility toggle\n\n * `name` {`string`} - Name for the input used for form data events //TODO make sure this works\n\n * `pattern` {`string`} - Pattern to validate the input against for HTML validity checking\n\n * `autocomplete` {`AutoFill`} - The sets the autocomplete for the input.",
396
436
  "attributes": [
437
+ {
438
+ "name": "checked",
439
+ "description": "`checked` {`boolean | undefined`} - \n\nProperty: checked",
440
+ "values": []
441
+ },
397
442
  {
398
443
  "name": "hidePasswordLabel",
399
444
  "description": "`hidePasswordLabel` {`string`} - \"Hide password\" tooltip text on password visibility toggle\n\nProperty: hidePasswordLabel\n\nDefault: Hide"
@@ -409,7 +454,7 @@
409
454
  },
410
455
  {
411
456
  "name": "variant",
412
- "description": "`variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\"`} - Input type\n\nProperty: variant\n\nDefault: text",
457
+ "description": "`variant` {`\"number\" | \"text\" | \"text-area\" | \"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"password\" | \"checkbox\"`} - Input type\n\nProperty: variant\n\nDefault: text",
413
458
  "values": [
414
459
  {
415
460
  "name": "number"
@@ -440,6 +485,9 @@
440
485
  },
441
486
  {
442
487
  "name": "password"
488
+ },
489
+ {
490
+ "name": "checkbox"
443
491
  }
444
492
  ]
445
493
  },
@@ -1814,6 +1862,57 @@
1814
1862
  }
1815
1863
  ]
1816
1864
  },
1865
+ {
1866
+ "name": "spectric-pagination",
1867
+ "description": "Pagination Element\n\nEvents:\n\n * `change` {`CustomEvent<PaginationChangeProps>`} - \n\nAttributes:\n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - Size of the pagination buttons\n\n * `totalItems` {`number | undefined`} - \n\n * `pageSizeOptions` {`number[]`} - \n\n * `page` {`number`} - \n\n * `pageSize` {`number`} - \n\nProperties:\n\n * `_handlePageUp` - \n\n * `_handlePageDown` - \n\n * `_handleSizeChange` - \n\n * `_emitChange` - \n\n * `size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - Size of the pagination buttons\n\n * `totalItems` {`number | undefined`} - \n\n * `pageSizeOptions` {`number[]`} - \n\n * `page` {`number`} - \n\n * `pageSize` {`number`} - ",
1868
+ "attributes": [
1869
+ {
1870
+ "name": "size",
1871
+ "description": "`size` {`\"large\" | \"medium\" | \"small\" | \"xsmall\" | \"xxsmall\" | \"tiny\"`} - Size of the pagination buttons\n\nProperty: size\n\nDefault: xsmall",
1872
+ "values": [
1873
+ {
1874
+ "name": "large"
1875
+ },
1876
+ {
1877
+ "name": "medium"
1878
+ },
1879
+ {
1880
+ "name": "small"
1881
+ },
1882
+ {
1883
+ "name": "xsmall"
1884
+ },
1885
+ {
1886
+ "name": "xxsmall"
1887
+ },
1888
+ {
1889
+ "name": "tiny"
1890
+ }
1891
+ ]
1892
+ },
1893
+ {
1894
+ "name": "totalItems",
1895
+ "description": "`totalItems` {`number | undefined`} - \n\nProperty: totalItems",
1896
+ "values": []
1897
+ },
1898
+ {
1899
+ "name": "pageSizeOptions",
1900
+ "description": "`pageSizeOptions` {`number[]`} - \n\nProperty: pageSizeOptions\n\nDefault: 10,20,50,100,1000"
1901
+ },
1902
+ {
1903
+ "name": "page",
1904
+ "description": "`page` {`number`} - \n\nProperty: page\n\nDefault: 1"
1905
+ },
1906
+ {
1907
+ "name": "pageSize",
1908
+ "description": "`pageSize` {`number`} - \n\nProperty: pageSize\n\nDefault: 10"
1909
+ },
1910
+ {
1911
+ "name": "onchange",
1912
+ "description": "`change` {`CustomEvent<PaginationChangeProps>`} - "
1913
+ }
1914
+ ]
1915
+ },
1817
1916
  {
1818
1917
  "name": "spectric-query",
1819
1918
  "description": "The Query component will take Opensearch Dashboard Query language and transform it into various outputs\n\nEvents:\n\n * `change` {`CustomEvent<any>`} - \n\nAttributes:\n\n * `outputLanguage` {`\"toMongo\" | \"toCql\" | \"toDSL\" | \"AST\"`} - The output of the query in a specific format\n\n * `value` {`string`} - The value of the input.\n\n * `fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\n * `placeholder` {`string`} - Input placeholder\n\nProperties:\n\n * `_value` {`string`} - The internal value.\n\n * `suggestion` {`Suggestion | undefined`} - \n\n * `completions` {`Completion[]`} - \n\n * `completionIndex` {`number`} - \n\n * `_autocomplete` {`HTMLDivElement | undefined`} - \n\n * `_asyncAutocomplete` {`Promise<HTMLDivElement>`} - \n\n * `_input` {`SpectricInput`} - The underlying input element\n\n * `_parseQuery` - \n\n * `_selectCompletion` - \n\n * `_handleArrows` - \n\n * `uuid` {`string`} - \n\n * `outputLanguage` {`\"toMongo\" | \"toCql\" | \"toDSL\" | \"AST\"`} - The output of the query in a specific format\n\n * `value` {`string`} - The value of the input.\n\n * `fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\n * `getValuesForField` - Callback that will provide values for specific fields\n\n * `placeholder` {`string`} - Input placeholder",
@@ -1899,9 +1998,104 @@
1899
1998
  }
1900
1999
  ]
1901
2000
  },
2001
+ {
2002
+ "name": "spectric-table-body",
2003
+ "description": "Table Body Element\n\nProperties:\n\n * `table` {`TableElement<T>`} - \n\n * `columns` {`ColumnSettings<T>[]`} - \n\n * `data` {`T[]`} - ",
2004
+ "attributes": []
2005
+ },
2006
+ {
2007
+ "name": "spectric-table-cell",
2008
+ "description": "Pagination Element\n\nEvents:\n\n * `filter` {`CustomEvent<FilterEvent<T>>`} - \n\nProperties:\n\n * `columns` {`ColumnSettings<T>[]`} - \n\n * `table` {`TableElement<T>`} - \n\n * `td` {`HTMLTableCellElement`} - \n\n * `_handleFilterOut` - \n\n * `_handleFilterFor` - \n\n * `styleRules` {`CSSStyleDeclaration`} - \n\n * `column` {`ColumnSettings<T>`} - \n\n * `row` {`T`} - ",
2009
+ "attributes": [
2010
+ {
2011
+ "name": "onfilter",
2012
+ "description": "`filter` {`CustomEvent<FilterEvent<T>>`} - "
2013
+ }
2014
+ ]
2015
+ },
2016
+ {
2017
+ "name": "spectric-table-header",
2018
+ "description": "Pagination Element\n\nProperties:\n\n * `columns` {`ColumnSettings<T>[]`} - ",
2019
+ "attributes": []
2020
+ },
2021
+ {
2022
+ "name": "spectric-table",
2023
+ "description": "Table Element\n\nThe table element is a bit more complex and the column settings and data can only be set through the properties\n\n\nReact\n\n``` tsx\n<spectric-table data={[{col1:1}]} columns={[{key:\"col1\",}]} ></spectric-table>\n```\n\nJavascript\n\n``` js\ntable = document.createElement(\"spectric-table\")\ntable.data = [{col1:1}]\ntable.columns = [{key:\"col1\",}]\n```\n\nHTML \n\n``` html\n<spectric-table id=\"table\"></spectric-table>\n<script>\ndocument.querySelector(\"#table\")\ntable.data = [{col1:1}]\ntable.columns = [{key:\"col1\",}]\n</script>\n```\n\nEvents:\n\n * `change` {`CustomEvent<{ pagination?: PaginationChangeProps | undefined; }>`} - \n\n * `filter` {`CustomEvent<FilterEvent<T>>`} - \n\n * `select` {`CustomEvent<T[]>`} - \n\nAttributes:\n\n * `select` {`TableSelectOptions | undefined`} - \n\nProperties:\n\n * `_handlePaginationChange` - \n\n * `_emitChange` - \n\n * `__DO_NOT_USE_filter` - \n\n * `selected` {`T[]`} - \n\n * `_handleSelectAllChange` - \n\n * `pagination` {`PaginationProps | undefined`} - \n\n * `columns` {`ColumnSettings<T>[]`} - \n\n * `data` {`T[]`} - \n\n * `select` {`TableSelectOptions | undefined`} - ",
2024
+ "attributes": [
2025
+ {
2026
+ "name": "select",
2027
+ "description": "`select` {`TableSelectOptions | undefined`} - \n\nProperty: select",
2028
+ "values": [
2029
+ {
2030
+ "name": "multi"
2031
+ },
2032
+ {
2033
+ "name": "single"
2034
+ }
2035
+ ]
2036
+ },
2037
+ {
2038
+ "name": "onchange",
2039
+ "description": "`change` {`CustomEvent<{ pagination?: PaginationChangeProps | undefined; }>`} - "
2040
+ },
2041
+ {
2042
+ "name": "onfilter",
2043
+ "description": "`filter` {`CustomEvent<FilterEvent<T>>`} - "
2044
+ },
2045
+ {
2046
+ "name": "onselect",
2047
+ "description": "`select` {`CustomEvent<T[]>`} - "
2048
+ }
2049
+ ]
2050
+ },
2051
+ {
2052
+ "name": "spectric-tooltip",
2053
+ "description": "Spectric tooltip will add a tooltip to any container\n\nAttributes:\n\n * `delay` {`number`} - How long you need to hover before the tooltip displays\n\n * `animationDuration` {`number`} - How long the fade in animation should run\n\n * `text` {`DomRenderable`} - Tooltip contents\n\n * `position` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\"`} - Where to anchor the tooltip\n\n * `maxWidth` {`number | undefined`} - Sets a max width for the contents (default:300) you can disable this by setting to 0 or -1\n\nProperties:\n\n * `portalElement` {`HTMLDivElement`} - \n\n * `mouseLocation` {`{ left: number; top: number; } | undefined`} - \n\n * `styles` {`CSSResultGroup | undefined`} - \n\n * `timer` {`number | undefined`} - \n\n * `open` {`boolean`} - \n\n * `mouseframe` {`number | undefined`} - \n\n * `target` {`HTMLElement | null`} - \n\n * `_getMousePosition` - \n\n * `_hideTooltip` - \n\n * `showToolTip` - \n\n * `applyStyle` - \n\n * `positionTooltip` - \n\n * `delay` {`number`} - How long you need to hover before the tooltip displays\n\n * `animationDuration` {`number`} - How long the fade in animation should run\n\n * `text` {`DomRenderable`} - Tooltip contents\n\n * `position` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\"`} - Where to anchor the tooltip\n\n * `maxWidth` {`number | undefined`} - Sets a max width for the contents (default:300) you can disable this by setting to 0 or -1\n\n * `portalTarget` {`HTMLElement`} - Container the tool tip will be attached to. (default:document.body)\n\n * `triggerTarget` {`HTMLElement | undefined`} - The element that triggers the tooltip. (default:node.parentElement) This is used for special cases like in the shadow dom if you want to target a host element instead of the immediate parent element",
2054
+ "attributes": [
2055
+ {
2056
+ "name": "delay",
2057
+ "description": "`delay` {`number`} - How long you need to hover before the tooltip displays\n\nProperty: delay\n\nDefault: 100"
2058
+ },
2059
+ {
2060
+ "name": "animationDuration",
2061
+ "description": "`animationDuration` {`number`} - How long the fade in animation should run\n\nProperty: animationDuration\n\nDefault: 0"
2062
+ },
2063
+ {
2064
+ "name": "text",
2065
+ "description": "`text` {`DomRenderable`} - Tooltip contents\n\nProperty: text\n\nDefault: ",
2066
+ "values": []
2067
+ },
2068
+ {
2069
+ "name": "position",
2070
+ "description": "`position` {`\"top\" | \"bottom\" | \"left\" | \"right\" | \"mouse\"`} - Where to anchor the tooltip\n\nProperty: position\n\nDefault: right",
2071
+ "values": [
2072
+ {
2073
+ "name": "top"
2074
+ },
2075
+ {
2076
+ "name": "bottom"
2077
+ },
2078
+ {
2079
+ "name": "left"
2080
+ },
2081
+ {
2082
+ "name": "right"
2083
+ },
2084
+ {
2085
+ "name": "mouse"
2086
+ }
2087
+ ]
2088
+ },
2089
+ {
2090
+ "name": "maxWidth",
2091
+ "description": "`maxWidth` {`number | undefined`} - Sets a max width for the contents (default:300) you can disable this by setting to 0 or -1\n\nProperty: maxWidth\n\nDefault: 300",
2092
+ "values": []
2093
+ }
2094
+ ]
2095
+ },
1902
2096
  {
1903
2097
  "name": "spectric-storybook-example-content",
1904
- "description": "Attributes:\n\n * `frameWidth` {`number`} - \n\nProperties:\n\n * `frameWidth` {`number`} - \n\n * `dialogOpen` {`boolean`} - ",
2098
+ "description": "Attributes:\n\n * `frameWidth` {`number`} - \n\nProperties:\n\n * `frameWidth` {`number`} - \n\n * `query` {`SpectricQuery`} - \n\n * `dialogOpen` {`boolean`} - \n\n * `tableData` {`TestData[]`} - \n\n * `pagination` {`{ page: number; pageSize: number; size: string; totalItems: number; }`} - \n\n * `_handleFilter` - \n\n * `_handlePaginationChange` - ",
1905
2099
  "attributes": [
1906
2100
  {
1907
2101
  "name": "frameWidth",