@strands.gg/accui 2.9.5 → 2.9.6

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.
package/dist/index.es.js CHANGED
@@ -93,7 +93,7 @@ const _hoisted_4$F = {
93
93
  "aria-hidden": "true"
94
94
  };
95
95
  const _hoisted_5$A = ["d"];
96
- const _hoisted_6$t = { class: "alert-text-container" };
96
+ const _hoisted_6$u = { class: "alert-text-container" };
97
97
  const _hoisted_7$s = {
98
98
  key: 0,
99
99
  class: "alert-dismiss-container"
@@ -149,7 +149,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
149
149
  }, null, 8, _hoisted_5$A)
150
150
  ]))
151
151
  ]),
152
- createElementVNode("div", _hoisted_6$t, [
152
+ createElementVNode("div", _hoisted_6$u, [
153
153
  _ctx.title ? (openBlock(), createElementBlock("h3", {
154
154
  key: 0,
155
155
  class: normalizeClass(titleClasses.value)
@@ -198,7 +198,7 @@ const _hoisted_2$K = ["width", "height"];
198
198
  const _hoisted_3$H = ["d"];
199
199
  const _hoisted_4$E = ["stroke-width"];
200
200
  const _hoisted_5$z = ["stroke-width"];
201
- const _hoisted_6$s = ["width", "height"];
201
+ const _hoisted_6$t = ["width", "height"];
202
202
  const _hoisted_7$r = {
203
203
  key: 3,
204
204
  class: "loader-text"
@@ -288,7 +288,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
288
288
  "stroke-linecap": "round",
289
289
  class: "loader-circle-path"
290
290
  }, null, -1)
291
- ])], 8, _hoisted_6$s))
291
+ ])], 8, _hoisted_6$t))
292
292
  ], 4)) : _ctx.variant === "bar" ? (openBlock(), createElementBlock("div", {
293
293
  key: 2,
294
294
  class: "loader-bar",
@@ -1872,7 +1872,7 @@ const _hoisted_5$x = {
1872
1872
  key: 1,
1873
1873
  class: "input-select-placeholder"
1874
1874
  };
1875
- const _hoisted_6$r = {
1875
+ const _hoisted_6$s = {
1876
1876
  key: 1,
1877
1877
  class: "input-trailing-icon"
1878
1878
  };
@@ -2216,7 +2216,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2216
2216
  createVNode(unref(ChevronDown))
2217
2217
  ], 2)
2218
2218
  ], 42, _hoisted_2$F),
2219
- _ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_6$r, [
2219
+ _ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_6$s, [
2220
2220
  renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
2221
2221
  ])) : createCommentVNode("", true)
2222
2222
  ], 2),
@@ -2294,7 +2294,7 @@ const _hoisted_5$w = {
2294
2294
  key: 0,
2295
2295
  class: "input-file-prompt"
2296
2296
  };
2297
- const _hoisted_6$q = { class: "input-file-prompt-text" };
2297
+ const _hoisted_6$r = { class: "input-file-prompt-text" };
2298
2298
  const _hoisted_7$p = {
2299
2299
  key: 0,
2300
2300
  class: "input-file-accept-text"
@@ -2527,7 +2527,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2527
2527
  }, null, 40, _hoisted_3$B),
2528
2528
  createElementVNode("div", _hoisted_4$A, [
2529
2529
  selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$w, [
2530
- createElementVNode("div", _hoisted_6$q, toDisplayString(_ctx.dragDropText || "Click to select or drag and drop"), 1),
2530
+ createElementVNode("div", _hoisted_6$r, toDisplayString(_ctx.dragDropText || "Click to select or drag and drop"), 1),
2531
2531
  _ctx.accept ? (openBlock(), createElementBlock("div", _hoisted_7$p, toDisplayString(_ctx.accept), 1)) : createCommentVNode("", true)
2532
2532
  ])) : (openBlock(), createElementBlock("div", _hoisted_8$n, [
2533
2533
  createElementVNode("div", _hoisted_9$m, toDisplayString(_ctx.selectedText || `${selectedFiles.value.length} file(s) selected`), 1),
@@ -3042,7 +3042,7 @@ const _hoisted_5$u = {
3042
3042
  key: 1,
3043
3043
  class: "datetime-picker-placeholder"
3044
3044
  };
3045
- const _hoisted_6$p = {
3045
+ const _hoisted_6$q = {
3046
3046
  key: 1,
3047
3047
  class: "datetime-picker-trailing-icon"
3048
3048
  };
@@ -3437,7 +3437,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3437
3437
  ]),
3438
3438
  _: 1
3439
3439
  })
3440
- ])) : (openBlock(), createElementBlock("div", _hoisted_6$p, [
3440
+ ])) : (openBlock(), createElementBlock("div", _hoisted_6$q, [
3441
3441
  createVNode(unref(ChevronDown))
3442
3442
  ]))
3443
3443
  ], 2),
@@ -24761,7 +24761,7 @@ const _hoisted_2$B = { class: "input-richtext-group" };
24761
24761
  const _hoisted_3$y = { class: "input-richtext-group" };
24762
24762
  const _hoisted_4$x = { class: "input-richtext-group" };
24763
24763
  const _hoisted_5$t = { class: "input-richtext-group" };
24764
- const _hoisted_6$o = { class: "input-richtext-group" };
24764
+ const _hoisted_6$p = { class: "input-richtext-group" };
24765
24765
  const _hoisted_7$n = { class: "input-richtext-editor-wrapper" };
24766
24766
  const _sfc_main$J = /* @__PURE__ */ defineComponent({
24767
24767
  __name: "UiInput.RichText",
@@ -25068,7 +25068,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
25068
25068
  spacing: "28px",
25069
25069
  margin: "4px"
25070
25070
  }),
25071
- createElementVNode("div", _hoisted_6$o, [
25071
+ createElementVNode("div", _hoisted_6$p, [
25072
25072
  createVNode(StrandsUiButton, {
25073
25073
  color: "secondary",
25074
25074
  size: "sm",
@@ -25869,7 +25869,7 @@ const _hoisted_3$u = {
25869
25869
  };
25870
25870
  const _hoisted_4$t = { class: "editor-main" };
25871
25871
  const _hoisted_5$q = { class: "canvas-container" };
25872
- const _hoisted_6$n = ["width", "height"];
25872
+ const _hoisted_6$o = ["width", "height"];
25873
25873
  const _hoisted_7$m = { class: "crop-overlay" };
25874
25874
  const _hoisted_8$l = { class: "crop-backdrop" };
25875
25875
  const _hoisted_9$k = { class: "crop-svg" };
@@ -26209,7 +26209,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
26209
26209
  class: "canvas",
26210
26210
  onMousedown: startDrag,
26211
26211
  onWheel: handleWheel
26212
- }, null, 40, _hoisted_6$n),
26212
+ }, null, 40, _hoisted_6$o),
26213
26213
  createElementVNode("div", _hoisted_7$m, [
26214
26214
  createElementVNode("div", _hoisted_8$l, [
26215
26215
  (openBlock(), createElementBlock("svg", _hoisted_9$k, [
@@ -26670,7 +26670,7 @@ const _hoisted_2$v = ["width", "height", "viewBox"];
26670
26670
  const _hoisted_3$t = { key: 0 };
26671
26671
  const _hoisted_4$s = ["r"];
26672
26672
  const _hoisted_5$p = ["y"];
26673
- const _hoisted_6$m = ["d", "stroke-width"];
26673
+ const _hoisted_6$n = ["d", "stroke-width"];
26674
26674
  const _hoisted_7$l = ["d", "stroke", "stroke-width"];
26675
26675
  const _hoisted_8$k = ["d"];
26676
26676
  const _hoisted_9$j = ["d", "stroke", "stroke-width"];
@@ -26882,7 +26882,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
26882
26882
  "stroke-width": thickness.value,
26883
26883
  fill: "none",
26884
26884
  "stroke-linecap": "round"
26885
- }, null, 8, _hoisted_6$m)) : createCommentVNode("", true),
26885
+ }, null, 8, _hoisted_6$n)) : createCommentVNode("", true),
26886
26886
  createElementVNode("path", {
26887
26887
  d: staticArcPath.value,
26888
26888
  stroke: staticArcGradient.value,
@@ -27160,7 +27160,11 @@ const _hoisted_1$z = {
27160
27160
  const _hoisted_2$u = { class: "ui-modal-header-content" };
27161
27161
  const _hoisted_3$s = { class: "ui-modal-title" };
27162
27162
  const _hoisted_4$r = { key: 0 };
27163
- const _hoisted_5$o = { class: "ui-modal-body-content" };
27163
+ const _hoisted_5$o = {
27164
+ key: 1,
27165
+ class: "ui-modal-subtitle"
27166
+ };
27167
+ const _hoisted_6$m = { class: "ui-modal-body-content" };
27164
27168
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
27165
27169
  __name: "UiModal",
27166
27170
  props: {
@@ -27336,7 +27340,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
27336
27340
  isOpen: isModalOpen.value,
27337
27341
  openModal
27338
27342
  }, () => [
27339
- _ctx.$props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$r, toDisplayString(_ctx.$props.title), 1)) : createCommentVNode("", true)
27343
+ _ctx.$props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$r, toDisplayString(_ctx.$props.title), 1)) : createCommentVNode("", true),
27344
+ _ctx.$props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$o, toDisplayString(_ctx.$props.subtitle), 1)) : createCommentVNode("", true)
27340
27345
  ], true)
27341
27346
  ]),
27342
27347
  _ctx.showCloseButton ? (openBlock(), createElementBlock("button", {
@@ -27360,7 +27365,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
27360
27365
  ])
27361
27366
  ]),
27362
27367
  default: withCtx(() => [
27363
- createElementVNode("div", _hoisted_5$o, [
27368
+ createElementVNode("div", _hoisted_6$m, [
27364
27369
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
27365
27370
  ])
27366
27371
  ]),
@@ -27388,7 +27393,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
27388
27393
  };
27389
27394
  }
27390
27395
  });
27391
- const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-b5e7aae1"]]);
27396
+ const UiModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-afd09625"]]);
27392
27397
  const tailwindColors = {
27393
27398
  "#000000": {
27394
27399
  label: "Black"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strands.gg/accui",
3
- "version": "2.9.5",
3
+ "version": "2.9.6",
4
4
  "description": "Strands Authentication UI Components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",