@strands.gg/accui 2.15.4 → 2.15.5

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
@@ -6045,6 +6045,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6045
6045
  tickCount: { default: 5 },
6046
6046
  unit: { default: "" },
6047
6047
  size: { default: "md" },
6048
+ color: { default: "primary" },
6048
6049
  inputId: {}
6049
6050
  },
6050
6051
  emits: ["update:modelValue", "change", "focus", "blur"],
@@ -6066,6 +6067,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6066
6067
  const sizeClasses = computed(() => {
6067
6068
  return `slider-size-${props.size}`;
6068
6069
  });
6070
+ const colorClasses = computed(() => {
6071
+ return props.color ? `slider-color-${props.color}` : "";
6072
+ });
6069
6073
  const tickMarks = computed(() => {
6070
6074
  if (!props.showTicks) return [];
6071
6075
  const ticks = [];
@@ -6124,6 +6128,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6124
6128
  return openBlock(), createElementBlock("div", {
6125
6129
  class: normalizeClass(["slider-wrapper", [
6126
6130
  sizeClasses.value,
6131
+ colorClasses.value,
6127
6132
  {
6128
6133
  "slider-disabled": _ctx.disabled,
6129
6134
  "slider-dragging": isDragging.value
@@ -6199,7 +6204,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6199
6204
  };
6200
6205
  }
6201
6206
  });
6202
- const UiSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-39aa55d9"]]);
6207
+ const UiSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-cd50ec1f"]]);
6203
6208
  const _hoisted_1$r = {
6204
6209
  key: 0,
6205
6210
  class: "radio-group-label"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strands.gg/accui",
3
- "version": "2.15.4",
3
+ "version": "2.15.5",
4
4
  "description": "Strands Authentication UI Components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",