@emuanalytics/flow-rdf-ui 0.0.2 → 0.0.4

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 (235) hide show
  1. package/dist/custom-elements.json +10664 -9154
  2. package/dist/flow-rdf-ui.d.ts +3591 -0
  3. package/dist/flow-rdf-ui.js +2523 -1454
  4. package/dist/flow-rdf-ui.umd.cjs +2551 -1479
  5. package/dist/themes/dark.css +13 -0
  6. package/dist/themes/dark.styles.js +13 -0
  7. package/dist/themes/light.css +13 -0
  8. package/dist/themes/light.styles.js +13 -0
  9. package/dist/vscode.html-custom-data.json +391 -524
  10. package/package.json +7 -3
  11. package/dist/types/components/alert/alert.d.ts +0 -71
  12. package/dist/types/components/alert/alert.stories.d.ts +0 -5
  13. package/dist/types/components/alert/alert.styles.d.ts +0 -2
  14. package/dist/types/components/animation/animation.d.ts +0 -81
  15. package/dist/types/components/animation/animation.stories.d.ts +0 -5
  16. package/dist/types/components/animation/animation.styles.d.ts +0 -2
  17. package/dist/types/components/animation/animations.d.ts +0 -6
  18. package/dist/types/components/animation/index.d.ts +0 -1
  19. package/dist/types/components/avatar/avatar.d.ts +0 -40
  20. package/dist/types/components/avatar/avatar.stories.d.ts +0 -5
  21. package/dist/types/components/avatar/avatar.styles.d.ts +0 -2
  22. package/dist/types/components/badge/badge.d.ts +0 -27
  23. package/dist/types/components/badge/badge.stories.d.ts +0 -5
  24. package/dist/types/components/badge/badge.styles.d.ts +0 -2
  25. package/dist/types/components/breadcrumb/breadcrumb.d.ts +0 -35
  26. package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +0 -5
  27. package/dist/types/components/breadcrumb/breadcrumb.styles.d.ts +0 -2
  28. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -39
  29. package/dist/types/components/breadcrumb-item/breadcrumb-item.styles.d.ts +0 -2
  30. package/dist/types/components/button/button.d.ts +0 -133
  31. package/dist/types/components/button/button.stories.d.ts +0 -6
  32. package/dist/types/components/button/button.styles.d.ts +0 -2
  33. package/dist/types/components/button-group/button-group.d.ts +0 -33
  34. package/dist/types/components/button-group/button-group.stories.d.ts +0 -5
  35. package/dist/types/components/button-group/button-group.styles.d.ts +0 -2
  36. package/dist/types/components/card/card.d.ts +0 -34
  37. package/dist/types/components/card/card.stories.d.ts +0 -5
  38. package/dist/types/components/card/card.styles.d.ts +0 -2
  39. package/dist/types/components/carousel/autoplay-controller.d.ts +0 -20
  40. package/dist/types/components/carousel/carousel.d.ts +0 -105
  41. package/dist/types/components/carousel/carousel.styles.d.ts +0 -2
  42. package/dist/types/components/carousel/scroll-controller.d.ts +0 -28
  43. package/dist/types/components/carousel-item/carousel-item.d.ts +0 -24
  44. package/dist/types/components/carousel-item/carousel-item.styles.d.ts +0 -2
  45. package/dist/types/components/checkbox/checkbox.d.ts +0 -94
  46. package/dist/types/components/checkbox/checkbox.styles.d.ts +0 -2
  47. package/dist/types/components/checkbox/index.d.ts +0 -1
  48. package/dist/types/components/color-mapper/color-mapper.component.d.ts +0 -39
  49. package/dist/types/components/color-mapper/color-mapper.stories.d.ts +0 -68
  50. package/dist/types/components/color-mapper/color-mapper.styles.d.ts +0 -2
  51. package/dist/types/components/color-mapper/color-stop.component.d.ts +0 -54
  52. package/dist/types/components/color-mapper/color-stop.styles.d.ts +0 -2
  53. package/dist/types/components/color-mapper/helpers.d.ts +0 -3
  54. package/dist/types/components/color-mapper/index.d.ts +0 -4
  55. package/dist/types/components/color-mapper/types.d.ts +0 -54
  56. package/dist/types/components/color-picker/color-picker.d.ts +0 -193
  57. package/dist/types/components/color-picker/color-picker.stories.d.ts +0 -5
  58. package/dist/types/components/color-picker/color-picker.styles.d.ts +0 -2
  59. package/dist/types/components/details/details.d.ts +0 -60
  60. package/dist/types/components/details/details.stories.d.ts +0 -5
  61. package/dist/types/components/details/details.styles.d.ts +0 -2
  62. package/dist/types/components/dialog/dialog.d.ts +0 -91
  63. package/dist/types/components/dialog/dialog.styles.d.ts +0 -2
  64. package/dist/types/components/divider/divider.d.ts +0 -24
  65. package/dist/types/components/divider/divider.styles.d.ts +0 -2
  66. package/dist/types/components/drawer/drawer.d.ts +0 -106
  67. package/dist/types/components/drawer/drawer.styles.d.ts +0 -2
  68. package/dist/types/components/dropdown/dropdown.d.ts +0 -98
  69. package/dist/types/components/dropdown/dropdown.styles.d.ts +0 -2
  70. package/dist/types/components/icon/icon.d.ts +0 -45
  71. package/dist/types/components/icon/icon.stories.d.ts +0 -5
  72. package/dist/types/components/icon/icon.styles.d.ts +0 -2
  73. package/dist/types/components/icon/library.d.ts +0 -21
  74. package/dist/types/components/icon/library.default.d.ts +0 -3
  75. package/dist/types/components/icon/library.system.d.ts +0 -3
  76. package/dist/types/components/icon-button/icon-button.d.ts +0 -92
  77. package/dist/types/components/icon-button/icon-button.stories.d.ts +0 -29
  78. package/dist/types/components/icon-button/icon-button.styles.d.ts +0 -2
  79. package/dist/types/components/icon-button/index.d.ts +0 -1
  80. package/dist/types/components/input/input.d.ts +0 -176
  81. package/dist/types/components/input/input.styles.d.ts +0 -2
  82. package/dist/types/components/menu/menu.d.ts +0 -44
  83. package/dist/types/components/menu/menu.styles.d.ts +0 -2
  84. package/dist/types/components/menu-item/menu-item.d.ts +0 -50
  85. package/dist/types/components/menu-item/menu-item.styles.d.ts +0 -2
  86. package/dist/types/components/menu-label/menu-label.d.ts +0 -21
  87. package/dist/types/components/menu-label/menu-label.styles.d.ts +0 -2
  88. package/dist/types/components/mutation-observer/mutation-observer.d.ts +0 -44
  89. package/dist/types/components/mutation-observer/mutation-observer.styles.d.ts +0 -2
  90. package/dist/types/components/option/option.d.ts +0 -52
  91. package/dist/types/components/option/option.stories.d.ts +0 -7
  92. package/dist/types/components/option/option.styles.d.ts +0 -2
  93. package/dist/types/components/popup/popup.d.ts +0 -140
  94. package/dist/types/components/popup/popup.stories.d.ts +0 -5
  95. package/dist/types/components/popup/popup.styles.d.ts +0 -2
  96. package/dist/types/components/progress-bar/progress-bar.d.ts +0 -35
  97. package/dist/types/components/progress-bar/progress-bar.styles.d.ts +0 -2
  98. package/dist/types/components/progress-ring/progress-ring.d.ts +0 -37
  99. package/dist/types/components/progress-ring/progress-ring.styles.d.ts +0 -2
  100. package/dist/types/components/radio/radio.d.ts +0 -53
  101. package/dist/types/components/radio/radio.stories.d.ts +0 -5
  102. package/dist/types/components/radio/radio.styles.d.ts +0 -2
  103. package/dist/types/components/radio-button/radio-button.d.ts +0 -60
  104. package/dist/types/components/radio-button/radio-button.stories.d.ts +0 -5
  105. package/dist/types/components/radio-button/radio-button.styles.d.ts +0 -2
  106. package/dist/types/components/radio-group/radio-group.d.ts +0 -89
  107. package/dist/types/components/radio-group/radio-group.stories.d.ts +0 -5
  108. package/dist/types/components/radio-group/radio-group.styles.d.ts +0 -2
  109. package/dist/types/components/range/range.d.ts +0 -116
  110. package/dist/types/components/range/range.styles.d.ts +0 -2
  111. package/dist/types/components/resize-observer/resize-observer.d.ts +0 -31
  112. package/dist/types/components/resize-observer/resize-observer.styles.d.ts +0 -2
  113. package/dist/types/components/select/select.d.ts +0 -174
  114. package/dist/types/components/select/select.stories.d.ts +0 -5
  115. package/dist/types/components/select/select.styles.d.ts +0 -2
  116. package/dist/types/components/spinner/spinner.d.ts +0 -25
  117. package/dist/types/components/spinner/spinner.stories.d.ts +0 -5
  118. package/dist/types/components/spinner/spinner.styles.d.ts +0 -2
  119. package/dist/types/components/split-panel/split-panel.d.ts +0 -74
  120. package/dist/types/components/split-panel/split-panel.stories.d.ts +0 -5
  121. package/dist/types/components/split-panel/split-panel.styles.d.ts +0 -2
  122. package/dist/types/components/switch/switch.d.ts +0 -86
  123. package/dist/types/components/switch/switch.stories.d.ts +0 -5
  124. package/dist/types/components/switch/switch.styles.d.ts +0 -2
  125. package/dist/types/components/tab/tab.d.ts +0 -47
  126. package/dist/types/components/tab/tab.styles.d.ts +0 -2
  127. package/dist/types/components/tab-group/tab-group.d.ts +0 -76
  128. package/dist/types/components/tab-group/tab-group.stories.d.ts +0 -5
  129. package/dist/types/components/tab-group/tab-group.styles.d.ts +0 -2
  130. package/dist/types/components/tab-panel/tab-panel.d.ts +0 -31
  131. package/dist/types/components/tab-panel/tab-panel.styles.d.ts +0 -2
  132. package/dist/types/components/tag/tag.d.ts +0 -38
  133. package/dist/types/components/tag/tag.stories.d.ts +0 -5
  134. package/dist/types/components/tag/tag.styles.d.ts +0 -2
  135. package/dist/types/components/textarea/textarea.d.ts +0 -138
  136. package/dist/types/components/textarea/textarea.stories.d.ts +0 -5
  137. package/dist/types/components/textarea/textarea.styles.d.ts +0 -2
  138. package/dist/types/components/tooltip/tooltip.d.ts +0 -89
  139. package/dist/types/components/tooltip/tooltip.stories.d.ts +0 -5
  140. package/dist/types/components/tooltip/tooltip.styles.d.ts +0 -2
  141. package/dist/types/components/tree/tree.d.ts +0 -65
  142. package/dist/types/components/tree/tree.stories.d.ts +0 -5
  143. package/dist/types/components/tree/tree.styles.d.ts +0 -2
  144. package/dist/types/components/tree-item/tree-item.d.ts +0 -89
  145. package/dist/types/components/tree-item/tree-item.styles.d.ts +0 -2
  146. package/dist/types/components/visually-hidden/visually-hidden.d.ts +0 -19
  147. package/dist/types/components/visually-hidden/visually-hidden.stories.d.ts +0 -5
  148. package/dist/types/components/visually-hidden/visually-hidden.styles.d.ts +0 -2
  149. package/dist/types/events/events.d.ts +0 -34
  150. package/dist/types/events/flow-after-collapse.d.ts +0 -7
  151. package/dist/types/events/flow-after-expand.d.ts +0 -7
  152. package/dist/types/events/flow-after-hide.d.ts +0 -7
  153. package/dist/types/events/flow-after-show.d.ts +0 -7
  154. package/dist/types/events/flow-blur.d.ts +0 -7
  155. package/dist/types/events/flow-cancel.d.ts +0 -7
  156. package/dist/types/events/flow-change.d.ts +0 -7
  157. package/dist/types/events/flow-clear.d.ts +0 -7
  158. package/dist/types/events/flow-close.d.ts +0 -7
  159. package/dist/types/events/flow-collapse.d.ts +0 -7
  160. package/dist/types/events/flow-error.d.ts +0 -9
  161. package/dist/types/events/flow-expand.d.ts +0 -7
  162. package/dist/types/events/flow-finish.d.ts +0 -7
  163. package/dist/types/events/flow-focus.d.ts +0 -7
  164. package/dist/types/events/flow-hide.d.ts +0 -7
  165. package/dist/types/events/flow-hover.d.ts +0 -10
  166. package/dist/types/events/flow-initial-focus.d.ts +0 -7
  167. package/dist/types/events/flow-input.d.ts +0 -7
  168. package/dist/types/events/flow-invalid.d.ts +0 -7
  169. package/dist/types/events/flow-lazy-change.d.ts +0 -7
  170. package/dist/types/events/flow-lazy-load.d.ts +0 -7
  171. package/dist/types/events/flow-load.d.ts +0 -7
  172. package/dist/types/events/flow-mutation.d.ts +0 -9
  173. package/dist/types/events/flow-remove.d.ts +0 -7
  174. package/dist/types/events/flow-reposition.d.ts +0 -7
  175. package/dist/types/events/flow-request-close.d.ts +0 -9
  176. package/dist/types/events/flow-resize.d.ts +0 -9
  177. package/dist/types/events/flow-select.d.ts +0 -10
  178. package/dist/types/events/flow-selection-change.d.ts +0 -10
  179. package/dist/types/events/flow-show.d.ts +0 -7
  180. package/dist/types/events/flow-slide-change.d.ts +0 -11
  181. package/dist/types/events/flow-start.d.ts +0 -7
  182. package/dist/types/events/flow-tab-hide.d.ts +0 -9
  183. package/dist/types/events/flow-tab-show.d.ts +0 -9
  184. package/dist/types/flow-autoloader.d.ts +0 -4
  185. package/dist/types/index.d.ts +0 -52
  186. package/dist/types/internal/animate.d.ts +0 -22
  187. package/dist/types/internal/checks.util.d.ts +0 -28
  188. package/dist/types/internal/debounce.d.ts +0 -1
  189. package/dist/types/internal/default-value.d.ts +0 -2
  190. package/dist/types/internal/drag.d.ts +0 -15
  191. package/dist/types/internal/event.d.ts +0 -2
  192. package/dist/types/internal/flow-ui-rdf-element.d.ts +0 -43
  193. package/dist/types/internal/form.d.ts +0 -73
  194. package/dist/types/internal/math.d.ts +0 -2
  195. package/dist/types/internal/modal.d.ts +0 -12
  196. package/dist/types/internal/offset.d.ts +0 -11
  197. package/dist/types/internal/orderby.d.ts +0 -1
  198. package/dist/types/internal/scroll.d.ts +0 -11
  199. package/dist/types/internal/slot.d.ts +0 -23
  200. package/dist/types/internal/string.d.ts +0 -2
  201. package/dist/types/internal/tabbable.d.ts +0 -8
  202. package/dist/types/internal/test/data-testid-helpers.d.ts +0 -12
  203. package/dist/types/internal/test/element-visible-overflow.d.ts +0 -11
  204. package/dist/types/internal/test/form-control-base-tests.d.ts +0 -7
  205. package/dist/types/internal/test/wait-for-scrolling.d.ts +0 -9
  206. package/dist/types/internal/test.d.ts +0 -28
  207. package/dist/types/internal/throttle.d.ts +0 -1
  208. package/dist/types/internal/watch.d.ts +0 -26
  209. package/dist/types/styles/component.styles.d.ts +0 -2
  210. package/dist/types/styles/form-control.styles.d.ts +0 -2
  211. package/dist/types/translations/da.d.ts +0 -3
  212. package/dist/types/translations/de-ch.d.ts +0 -3
  213. package/dist/types/translations/de.d.ts +0 -3
  214. package/dist/types/translations/en-gb.d.ts +0 -3
  215. package/dist/types/translations/en.d.ts +0 -3
  216. package/dist/types/translations/es.d.ts +0 -3
  217. package/dist/types/translations/fa.d.ts +0 -3
  218. package/dist/types/translations/fr.d.ts +0 -3
  219. package/dist/types/translations/he.d.ts +0 -3
  220. package/dist/types/translations/hu.d.ts +0 -3
  221. package/dist/types/translations/ja.d.ts +0 -3
  222. package/dist/types/translations/nl.d.ts +0 -3
  223. package/dist/types/translations/pl.d.ts +0 -3
  224. package/dist/types/translations/pt.d.ts +0 -3
  225. package/dist/types/translations/ru.d.ts +0 -3
  226. package/dist/types/translations/sv.d.ts +0 -3
  227. package/dist/types/translations/tr.d.ts +0 -3
  228. package/dist/types/translations/zh-tw.d.ts +0 -3
  229. package/dist/types/utilities/animation-registry.d.ts +0 -24
  230. package/dist/types/utilities/animation.d.ts +0 -1
  231. package/dist/types/utilities/announce.d.ts +0 -1
  232. package/dist/types/utilities/base-path.d.ts +0 -18
  233. package/dist/types/utilities/form.d.ts +0 -11
  234. package/dist/types/utilities/icon-library.d.ts +0 -1
  235. package/dist/types/utilities/localize.d.ts +0 -30
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,3 +0,0 @@
1
- import type { Translation } from '../utilities/localize';
2
- declare const translation: Translation;
3
- export default translation;
@@ -1,24 +0,0 @@
1
- export interface ElementAnimation {
2
- keyframes: Keyframe[];
3
- rtlKeyframes?: Keyframe[];
4
- options?: KeyframeAnimationOptions;
5
- }
6
- export interface ElementAnimationMap {
7
- [animationName: string]: ElementAnimation;
8
- }
9
- export interface GetAnimationOptions {
10
- /**
11
- * The component's directionality. When set to "rtl", `rtlKeyframes` will be preferred over `keyframes` where
12
- * available using getAnimation().
13
- */
14
- dir: string;
15
- }
16
- /**
17
- * Sets a default animation. Components should use the `name.animation` for primary animations and `name.part.animation`
18
- * for secondary animations, e.g. `dialog.show` and `dialog.overlay.show`. For modifiers, use `drawer.showTop`.
19
- */
20
- export declare function setDefaultAnimation(animationName: string, animation: ElementAnimation | null): void;
21
- /** Sets a custom animation for the specified element. */
22
- export declare function setAnimation(el: Element, animationName: string, animation: ElementAnimation | null): void;
23
- /** Gets an element's animation. Falls back to the default if no animation is found. */
24
- export declare function getAnimation(el: Element, animationName: string, options: GetAnimationOptions): ElementAnimation;
@@ -1 +0,0 @@
1
- export { getAnimationNames, getEasingNames } from '../components/animation/animations';
@@ -1 +0,0 @@
1
- export default function announce(): void;
@@ -1,18 +0,0 @@
1
- /** Sets the library's base path to the specified directory. */
2
- export declare function setBasePath(path: string): void;
3
- /**
4
- * Gets the library's base path.
5
- *
6
- * The base path is used to load assets such as icons and images, so it needs to be set for components to work properly.
7
- * By default, this script will look for a script ending in shoelace.js or shoelace-autoloader.js and set the base path
8
- * to the directory that contains that file. To override this behavior, you can add the data-shoelace attribute to any
9
- * script on the page (it probably makes the most sense to attach it to the Shoelace script, but it could also be on a
10
- * bundle). The value can be a local folder or it can point to a CORS-enabled endpoint such as a CDN.
11
- *
12
- * <script src="bundle.js" data-shoelace="/custom/base/path"></script>
13
- *
14
- * Alternatively, you can set the base path manually using the exported setBasePath() function.
15
- *
16
- * @param subpath - An optional path to append to the base path.
17
- */
18
- export declare function getBasePath(subpath?: string): string;
@@ -1,11 +0,0 @@
1
- /**
2
- * Serializes a form and returns a plain object. If a form control with the same name appears more than once, the
3
- * property will be converted to an array.
4
- */
5
- export declare function serialize(form: HTMLFormElement): Record<string, unknown>;
6
- /**
7
- * Returns all form controls that are associated with the specified form. Includes both native and Shoelace form
8
- * controls. Use this function in lieu of the `HTMLFormElement.elements` property, which doesn't recognize Shoelace
9
- * form controls.
10
- */
11
- export declare function getFormControls(form: HTMLFormElement): Element[];
@@ -1 +0,0 @@
1
- export { registerIconLibrary, unregisterIconLibrary } from '../components/icon/library';
@@ -1,30 +0,0 @@
1
- import { LocalizeController as DefaultLocalizationController } from '@shoelace-style/localize';
2
- import type { Translation as DefaultTranslation } from '@shoelace-style/localize';
3
- export declare class LocalizeController extends DefaultLocalizationController<Translation> {
4
- }
5
- export { registerTranslation } from '@shoelace-style/localize';
6
- export interface Translation extends DefaultTranslation {
7
- $code: string;
8
- $name: string;
9
- $dir: 'ltr' | 'rtl';
10
- carousel: string;
11
- clearEntry: string;
12
- close: string;
13
- copy: string;
14
- currentValue: string;
15
- goToSlide: (slide: number, count: number) => string;
16
- hidePassword: string;
17
- loading: string;
18
- nextSlide: string;
19
- numOptionsSelected: (num: number) => string;
20
- previousSlide: string;
21
- progress: string;
22
- remove: string;
23
- resize: string;
24
- scrollToEnd: string;
25
- scrollToStart: string;
26
- selectAColorFromTheScreen: string;
27
- showPassword: string;
28
- slideNum: (slide: number) => string;
29
- toggleColorFormat: string;
30
- }