@access-ci/ui 0.10.0-beta1 → 0.11.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,5 +1,5 @@
1
- import { a as q, j as v, u as mt, s as To, b as hi, e as ec, h as $n, c as Is, d as ic, f as nc, B as sc } from "./index-lEG5SUtq.js";
2
- import { I as U } from "./icon-B4ZiM0pS.js";
1
+ import { a as q, j as v, u as mt, s as To, b as hi, e as ec, h as $n, c as Is, d as ic, f as nc, B as sc } from "./index-BSAautmu.js";
2
+ import { I as U } from "./icon-BRcstLNh.js";
3
3
  const Bs = () => {
4
4
  const i = new Event("accessci-update-sections");
5
5
  document.dispatchEvent(i);
@@ -1,5 +1,5 @@
1
- import { j as e, a as p, i as g, k as b, B as v } from "./index-lEG5SUtq.js";
2
- import { I as h } from "./icon-B4ZiM0pS.js";
1
+ import { j as e, a as p, i as j, k as b, B as v } from "./index-BSAautmu.js";
2
+ import { I as h } from "./icon-BRcstLNh.js";
3
3
  const C = {
4
4
  "ACCESS Pegasus": "https://pegasus.isi.edu/wordpress/wp-content/uploads/2016/01/favicon.ico",
5
5
  "ACCESS OnDemand": "https://openondemand.org/themes/fire/theme/assets/media/favicons/favicon.ico",
@@ -162,7 +162,7 @@ function y({
162
162
  }
163
163
  );
164
164
  }
165
- function k({ setBotOpen: t }) {
165
+ function S({ setBotOpen: t }) {
166
166
  const o = p.useRef(null), c = [
167
167
  {
168
168
  title: "Browse resources",
@@ -184,7 +184,7 @@ function k({ setBotOpen: t }) {
184
184
  {
185
185
  title: "Get suggestions",
186
186
  icon: "card-checklist",
187
- href: "https://access-ara.ccs.uky.edu:8080/",
187
+ href: "https://ara.access-ci.org/",
188
188
  description: "Fill out a form to get resource recommendations."
189
189
  },
190
190
  {
@@ -224,11 +224,11 @@ function I({
224
224
  showBreadcrumbs: n = !0,
225
225
  showTitle: a = !0
226
226
  }) {
227
- const [s, i] = p.useState([]), r = g(), l = p.useMemo(
227
+ const [s, i] = p.useState([]), r = j(), l = p.useMemo(
228
228
  () => r ? b(r, s) : null,
229
229
  [r, s]
230
230
  ), u = (d) => i(
231
- s.includes(d) ? s.filter((j) => j != d) : [...s, d]
231
+ s.includes(d) ? s.filter((g) => g != d) : [...s, d]
232
232
  ), m = () => i([]);
233
233
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
234
234
  n && /* @__PURE__ */ e.jsx(
@@ -240,7 +240,7 @@ function I({
240
240
  }
241
241
  ),
242
242
  o && /* @__PURE__ */ e.jsx("h1", { className: a ? "" : "visually-hidden", children: o }),
243
- /* @__PURE__ */ e.jsx(k, { setBotOpen: c }),
243
+ /* @__PURE__ */ e.jsx(S, { setBotOpen: c }),
244
244
  /* @__PURE__ */ e.jsxs("div", { id: "browse-resources", children: [
245
245
  l ? /* @__PURE__ */ e.jsx(
246
246
  y,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@access-ci/ui",
3
- "version": "0.10.0-beta1",
3
+ "version": "0.11.0",
4
4
  "description": "User interface components for ACCESS CI",
5
5
  "repository": "github:access-ci-org/access-ci-ui",
6
6
  "license": "Apache-2.0",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@glidejs/glide": "^3.6.1",
27
- "@snf/access-qa-bot": "^2.6.0",
27
+ "@snf/access-qa-bot": "^2.6.2",
28
28
  "chart.js": "^4.4.6",
29
29
  "fuse.js": "^7.0.0",
30
30
  "react": "^18.1.0",