@uva-glass/component-library 1.14.0 → 1.16.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.
@@ -1,34 +1,38 @@
1
1
  import { AppStatusBar as t } from "./AppStatusBar/AppStatusBar.js";
2
2
  import { Button as p } from "./Button/Button.js";
3
3
  import { Card as x } from "./Card/Card.js";
4
- import { Icon as n } from "./Icon/Icon.js";
5
- import { IconButton as a } from "./IconButton/IconButton.js";
6
- import { InfoMessage as c } from "./InfoMessage/InfoMessage.js";
7
- import { Input as s } from "./Input/Input.js";
8
- import { InputField as B } from "./InputField/InputField.js";
9
- import { Label as d } from "./Label/Label.js";
10
- import { OverlayCloseButton as v } from "./OverlayCloseButton/OverlayCloseButton.js";
11
- import { RadioButton as L } from "./RadioButton/RadioButton.js";
12
- import { SectionNotification as y } from "./SectionNotification/SectionNotification.js";
13
- import { SelectListbox as F } from "./SelectListbox/SelectListbox.js";
14
- import { SelectProvider as N, useSelect as O } from "./SelectListbox/SelectProvider.js";
15
- import { Spinner as R } from "./Spinner/Spinner.js";
4
+ import { FieldHint as n } from "./FieldHint/FieldHint.js";
5
+ import { Icon as a } from "./Icon/Icon.js";
6
+ import { IconButton as l } from "./IconButton/IconButton.js";
7
+ import { InfoMessage as s } from "./InfoMessage/InfoMessage.js";
8
+ import { Input as d } from "./Input/Input.js";
9
+ import { InputField as I } from "./InputField/InputField.js";
10
+ import { Label as M } from "./Label/Label.js";
11
+ import { M as v } from "../MenuLink-DDAin3rf.js";
12
+ import { OverlayCloseButton as F } from "./OverlayCloseButton/OverlayCloseButton.js";
13
+ import { RadioButton as k } from "./RadioButton/RadioButton.js";
14
+ import { SectionNotification as A } from "./SectionNotification/SectionNotification.js";
15
+ import { SelectListbox as N } from "./SelectListbox/SelectListbox.js";
16
+ import { SelectProvider as P, useSelect as R } from "./SelectListbox/SelectProvider.js";
17
+ import { Spinner as j } from "./Spinner/Spinner.js";
16
18
  export {
17
19
  t as AppStatusBar,
18
20
  p as Button,
19
21
  x as Card,
20
- n as Icon,
21
- a as IconButton,
22
- c as InfoMessage,
23
- s as Input,
24
- B as InputField,
25
- d as Label,
26
- v as OverlayCloseButton,
27
- L as RadioButton,
28
- y as SectionNotification,
29
- F as SelectListbox,
30
- N as SelectProvider,
31
- R as Spinner,
32
- O as useSelect
22
+ n as FieldHint,
23
+ a as Icon,
24
+ l as IconButton,
25
+ s as InfoMessage,
26
+ d as Input,
27
+ I as InputField,
28
+ M as Label,
29
+ v as MenuLink,
30
+ F as OverlayCloseButton,
31
+ k as RadioButton,
32
+ A as SectionNotification,
33
+ N as SelectListbox,
34
+ P as SelectProvider,
35
+ j as Spinner,
36
+ R as useSelect
33
37
  };
34
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
@@ -1,10 +1,14 @@
1
1
  var Pm = Object.defineProperty;
2
2
  var Rm = (e, t, r) => t in e ? Pm(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var Wt = (e, t, r) => (Rm(e, typeof t != "symbol" ? t + "" : t, r), r);
4
+ var mr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
+ function Es(e) {
6
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
7
+ }
4
8
  var Te = (() => {
5
9
  let e;
6
10
  return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ? e = self : e = {}, e;
7
- })(), Es = ((e) => (e.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", e.CHANNEL_CREATED = "channelCreated", e.CONFIG_ERROR = "configError", e.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", e.STORY_SPECIFIED = "storySpecified", e.SET_CONFIG = "setConfig", e.SET_STORIES = "setStories", e.SET_INDEX = "setIndex", e.SET_CURRENT_STORY = "setCurrentStory", e.CURRENT_STORY_WAS_SET = "currentStoryWasSet", e.FORCE_RE_RENDER = "forceReRender", e.FORCE_REMOUNT = "forceRemount", e.PRELOAD_ENTRIES = "preloadStories", e.STORY_PREPARED = "storyPrepared", e.DOCS_PREPARED = "docsPrepared", e.STORY_CHANGED = "storyChanged", e.STORY_UNCHANGED = "storyUnchanged", e.STORY_RENDERED = "storyRendered", e.STORY_MISSING = "storyMissing", e.STORY_ERRORED = "storyErrored", e.STORY_THREW_EXCEPTION = "storyThrewException", e.STORY_RENDER_PHASE_CHANGED = "storyRenderPhaseChanged", e.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", e.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErrorsWhilePlaying", e.UPDATE_STORY_ARGS = "updateStoryArgs", e.STORY_ARGS_UPDATED = "storyArgsUpdated", e.RESET_STORY_ARGS = "resetStoryArgs", e.SET_GLOBALS = "setGlobals", e.UPDATE_GLOBALS = "updateGlobals", e.GLOBALS_UPDATED = "globalsUpdated", e.REGISTER_SUBSCRIPTION = "registerSubscription", e.PREVIEW_KEYDOWN = "previewKeydown", e.PREVIEW_BUILDER_PROGRESS = "preview_builder_progress", e.SELECT_STORY = "selectStory", e.STORIES_COLLAPSE_ALL = "storiesCollapseAll", e.STORIES_EXPAND_ALL = "storiesExpandAll", e.DOCS_RENDERED = "docsRendered", e.SHARED_STATE_CHANGED = "sharedStateChanged", e.SHARED_STATE_SET = "sharedStateSet", e.NAVIGATE_URL = "navigateUrl", e.UPDATE_QUERY_PARAMS = "updateQueryParams", e.REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", e.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", e.SET_WHATS_NEW_CACHE = "setWhatsNewCache", e.TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", e.TELEMETRY_ERROR = "telemetryError", e.FILE_COMPONENT_SEARCH_REQUEST = "fileComponentSearchRequest", e.FILE_COMPONENT_SEARCH_RESPONSE = "fileComponentSearchResponse", e.SAVE_STORY_REQUEST = "saveStoryRequest", e.SAVE_STORY_RESPONSE = "saveStoryResponse", e.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", e.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", e.CREATE_NEW_STORYFILE_REQUEST = "createNewStoryfileRequest", e.CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", e))(Es || {}), { CHANNEL_WS_DISCONNECT: pI, CHANNEL_CREATED: fI, CONFIG_ERROR: mI, CREATE_NEW_STORYFILE_REQUEST: hI, CREATE_NEW_STORYFILE_RESPONSE: yI, CURRENT_STORY_WAS_SET: bI, DOCS_PREPARED: gI, DOCS_RENDERED: vI, FILE_COMPONENT_SEARCH_REQUEST: _I, FILE_COMPONENT_SEARCH_RESPONSE: EI, FORCE_RE_RENDER: wI, FORCE_REMOUNT: uu, GLOBALS_UPDATED: AI, NAVIGATE_URL: CI, PLAY_FUNCTION_THREW_EXCEPTION: SI, UNHANDLED_ERRORS_WHILE_PLAYING: OI, PRELOAD_ENTRIES: PI, PREVIEW_BUILDER_PROGRESS: RI, PREVIEW_KEYDOWN: TI, REGISTER_SUBSCRIPTION: xI, RESET_STORY_ARGS: qI, SELECT_STORY: jI, SET_CONFIG: MI, SET_CURRENT_STORY: Tm, SET_GLOBALS: DI, SET_INDEX: II, SET_STORIES: NI, SHARED_STATE_CHANGED: $I, SHARED_STATE_SET: BI, STORIES_COLLAPSE_ALL: FI, STORIES_EXPAND_ALL: LI, STORY_ARGS_UPDATED: kI, STORY_CHANGED: UI, STORY_ERRORED: HI, STORY_INDEX_INVALIDATED: VI, STORY_MISSING: zI, STORY_PREPARED: GI, STORY_RENDER_PHASE_CHANGED: xm, STORY_RENDERED: WI, STORY_SPECIFIED: KI, STORY_THREW_EXCEPTION: YI, STORY_UNCHANGED: JI, UPDATE_GLOBALS: XI, UPDATE_QUERY_PARAMS: QI, UPDATE_STORY_ARGS: ZI, REQUEST_WHATS_NEW_DATA: eN, RESULT_WHATS_NEW_DATA: tN, SET_WHATS_NEW_CACHE: rN, TOGGLE_WHATS_NEW_NOTIFICATIONS: nN, TELEMETRY_ERROR: oN, SAVE_STORY_REQUEST: aN, SAVE_STORY_RESPONSE: iN, ARGTYPES_INFO_REQUEST: uN, ARGTYPES_INFO_RESPONSE: lN } = Es, { LOGLEVEL: qm } = Te, $t = { trace: 1, debug: 2, info: 3, warn: 4, error: 5, silent: 10 }, jm = qm, dr = $t[jm] || $t.info, Mm = { trace: (e, ...t) => {
11
+ })(), ws = ((e) => (e.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", e.CHANNEL_CREATED = "channelCreated", e.CONFIG_ERROR = "configError", e.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", e.STORY_SPECIFIED = "storySpecified", e.SET_CONFIG = "setConfig", e.SET_STORIES = "setStories", e.SET_INDEX = "setIndex", e.SET_CURRENT_STORY = "setCurrentStory", e.CURRENT_STORY_WAS_SET = "currentStoryWasSet", e.FORCE_RE_RENDER = "forceReRender", e.FORCE_REMOUNT = "forceRemount", e.PRELOAD_ENTRIES = "preloadStories", e.STORY_PREPARED = "storyPrepared", e.DOCS_PREPARED = "docsPrepared", e.STORY_CHANGED = "storyChanged", e.STORY_UNCHANGED = "storyUnchanged", e.STORY_RENDERED = "storyRendered", e.STORY_MISSING = "storyMissing", e.STORY_ERRORED = "storyErrored", e.STORY_THREW_EXCEPTION = "storyThrewException", e.STORY_RENDER_PHASE_CHANGED = "storyRenderPhaseChanged", e.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", e.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErrorsWhilePlaying", e.UPDATE_STORY_ARGS = "updateStoryArgs", e.STORY_ARGS_UPDATED = "storyArgsUpdated", e.RESET_STORY_ARGS = "resetStoryArgs", e.SET_GLOBALS = "setGlobals", e.UPDATE_GLOBALS = "updateGlobals", e.GLOBALS_UPDATED = "globalsUpdated", e.REGISTER_SUBSCRIPTION = "registerSubscription", e.PREVIEW_KEYDOWN = "previewKeydown", e.PREVIEW_BUILDER_PROGRESS = "preview_builder_progress", e.SELECT_STORY = "selectStory", e.STORIES_COLLAPSE_ALL = "storiesCollapseAll", e.STORIES_EXPAND_ALL = "storiesExpandAll", e.DOCS_RENDERED = "docsRendered", e.SHARED_STATE_CHANGED = "sharedStateChanged", e.SHARED_STATE_SET = "sharedStateSet", e.NAVIGATE_URL = "navigateUrl", e.UPDATE_QUERY_PARAMS = "updateQueryParams", e.REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", e.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", e.SET_WHATS_NEW_CACHE = "setWhatsNewCache", e.TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", e.TELEMETRY_ERROR = "telemetryError", e.FILE_COMPONENT_SEARCH_REQUEST = "fileComponentSearchRequest", e.FILE_COMPONENT_SEARCH_RESPONSE = "fileComponentSearchResponse", e.SAVE_STORY_REQUEST = "saveStoryRequest", e.SAVE_STORY_RESPONSE = "saveStoryResponse", e.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", e.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", e.CREATE_NEW_STORYFILE_REQUEST = "createNewStoryfileRequest", e.CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", e))(ws || {}), { CHANNEL_WS_DISCONNECT: pI, CHANNEL_CREATED: fI, CONFIG_ERROR: mI, CREATE_NEW_STORYFILE_REQUEST: hI, CREATE_NEW_STORYFILE_RESPONSE: yI, CURRENT_STORY_WAS_SET: bI, DOCS_PREPARED: gI, DOCS_RENDERED: vI, FILE_COMPONENT_SEARCH_REQUEST: _I, FILE_COMPONENT_SEARCH_RESPONSE: EI, FORCE_RE_RENDER: wI, FORCE_REMOUNT: uu, GLOBALS_UPDATED: AI, NAVIGATE_URL: CI, PLAY_FUNCTION_THREW_EXCEPTION: SI, UNHANDLED_ERRORS_WHILE_PLAYING: OI, PRELOAD_ENTRIES: PI, PREVIEW_BUILDER_PROGRESS: RI, PREVIEW_KEYDOWN: TI, REGISTER_SUBSCRIPTION: xI, RESET_STORY_ARGS: qI, SELECT_STORY: jI, SET_CONFIG: MI, SET_CURRENT_STORY: Tm, SET_GLOBALS: DI, SET_INDEX: II, SET_STORIES: NI, SHARED_STATE_CHANGED: $I, SHARED_STATE_SET: BI, STORIES_COLLAPSE_ALL: FI, STORIES_EXPAND_ALL: LI, STORY_ARGS_UPDATED: kI, STORY_CHANGED: UI, STORY_ERRORED: HI, STORY_INDEX_INVALIDATED: VI, STORY_MISSING: zI, STORY_PREPARED: GI, STORY_RENDER_PHASE_CHANGED: xm, STORY_RENDERED: WI, STORY_SPECIFIED: KI, STORY_THREW_EXCEPTION: YI, STORY_UNCHANGED: JI, UPDATE_GLOBALS: XI, UPDATE_QUERY_PARAMS: QI, UPDATE_STORY_ARGS: ZI, REQUEST_WHATS_NEW_DATA: eN, RESULT_WHATS_NEW_DATA: tN, SET_WHATS_NEW_CACHE: rN, TOGGLE_WHATS_NEW_NOTIFICATIONS: nN, TELEMETRY_ERROR: oN, SAVE_STORY_REQUEST: aN, SAVE_STORY_RESPONSE: iN, ARGTYPES_INFO_REQUEST: uN, ARGTYPES_INFO_RESPONSE: lN } = ws, { LOGLEVEL: qm } = Te, $t = { trace: 1, debug: 2, info: 3, warn: 4, error: 5, silent: 10 }, jm = qm, dr = $t[jm] || $t.info, Mm = { trace: (e, ...t) => {
8
12
  dr <= $t.trace && console.trace(e, ...t);
9
13
  }, debug: (e, ...t) => {
10
14
  dr <= $t.debug && console.debug(e, ...t);
@@ -27,20 +31,17 @@ Ve.info = Ve("info");
27
31
  Ve.warn = Ve("warn");
28
32
  Ve.error = Ve("error");
29
33
  Ve.log = Ve("log");
30
- var Dm = Object.create, ws = Object.defineProperty, Im = Object.getOwnPropertyDescriptor, As = Object.getOwnPropertyNames, Nm = Object.getPrototypeOf, $m = Object.prototype.hasOwnProperty, tt = (e, t) => function() {
31
- return t || (0, e[As(e)[0]])((t = { exports: {} }).exports, t), t.exports;
34
+ var Dm = Object.create, As = Object.defineProperty, Im = Object.getOwnPropertyDescriptor, Cs = Object.getOwnPropertyNames, Nm = Object.getPrototypeOf, $m = Object.prototype.hasOwnProperty, tt = (e, t) => function() {
35
+ return t || (0, e[Cs(e)[0]])((t = { exports: {} }).exports, t), t.exports;
32
36
  }, Bm = (e, t, r, n) => {
33
37
  if (t && typeof t == "object" || typeof t == "function")
34
- for (let a of As(t))
35
- !$m.call(e, a) && a !== r && ws(e, a, { get: () => t[a], enumerable: !(n = Im(t, a)) || n.enumerable });
38
+ for (let a of Cs(t))
39
+ !$m.call(e, a) && a !== r && As(e, a, { get: () => t[a], enumerable: !(n = Im(t, a)) || n.enumerable });
36
40
  return e;
37
41
  }, Za = (e, t, r) => (r = e != null ? Dm(Nm(e)) : {}, Bm(
38
- !e || !e.__esModule ? ws(r, "default", { value: e, enumerable: !0 }) : r,
42
+ !e || !e.__esModule ? As(r, "default", { value: e, enumerable: !0 }) : r,
39
43
  e
40
- )), mr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
41
- function Cs(e) {
42
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
43
- }
44
+ ));
44
45
  function jn(e) {
45
46
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
46
47
  }
@@ -165,7 +166,7 @@ var Ss = { exports: {} };
165
166
  });
166
167
  })(Ss);
167
168
  var Fm = Ss.exports;
168
- const Os = /* @__PURE__ */ Cs(Fm);
169
+ const Os = /* @__PURE__ */ Es(Fm);
169
170
  var Ps = tt({
170
171
  "node_modules/has-symbols/shams.js"(e, t) {
171
172
  t.exports = function() {
@@ -1585,7 +1586,7 @@ function Vo(e) {
1585
1586
  var t = mr.localStorage[e];
1586
1587
  return t == null ? !1 : String(t).toLowerCase() === "true";
1587
1588
  }
1588
- const iE = /* @__PURE__ */ Cs(oE);
1589
+ const iE = /* @__PURE__ */ Es(oE);
1589
1590
  var uE = Object.create, Ws = Object.defineProperty, lE = Object.getOwnPropertyDescriptor, Ks = Object.getOwnPropertyNames, sE = Object.getPrototypeOf, cE = Object.prototype.hasOwnProperty, Rt = (e, t) => function() {
1590
1591
  return t || (0, e[Ks(e)[0]])((t = { exports: {} }).exports, t), t.exports;
1591
1592
  }, dE = (e, t, r, n) => {
@@ -17395,4 +17396,4 @@ nd.__STORYBOOK_TEST_ON_MOCK_CALL__ = Tx;
17395
17396
  export {
17396
17397
  xx as f
17397
17398
  };
17398
- //# sourceMappingURL=index-Ca2Q7D5u.js.map
17399
+ //# sourceMappingURL=index-Ce_VqA9S.js.map