@histoire/controls 0.11.4 → 0.11.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
@@ -18,7 +18,7 @@ const ca = {
18
18
  return (e, i) => {
19
19
  var n;
20
20
  return S(), _("button", {
21
- class: gt(["htw-cursor-pointer htw-rounded-sm", t[(n = s.color) != null ? n : "default"]])
21
+ class: gt(["histoire-button htw-cursor-pointer htw-rounded-sm", t[(n = s.color) != null ? n : "default"]])
22
22
  }, [
23
23
  ct(e.$slots, "default")
24
24
  ], 2);
@@ -33,7 +33,7 @@ const ca = {
33
33
  tag: { default: "label" }
34
34
  },
35
35
  setup(s) {
36
- return (t, e) => (S(), Q(sa(s.tag), { class: "htw-p-2 hover:htw-bg-primary-100 dark:hover:htw-bg-primary-800 htw-flex htw-gap-2 htw-flex-wrap" }, {
36
+ return (t, e) => (S(), Q(sa(s.tag), { class: "histoire-wrapper htw-p-2 hover:htw-bg-primary-100 dark:hover:htw-bg-primary-800 htw-flex htw-gap-2 htw-flex-wrap" }, {
37
37
  default: q(() => [
38
38
  _t((S(), _("span", fa, [
39
39
  te(Ct(s.title), 1)
@@ -73,7 +73,7 @@ const ca = {
73
73
  tag: "div",
74
74
  role: "group",
75
75
  title: s.title,
76
- class: "htw-flex-nowrap htw-items-center"
76
+ class: "histoire-button-group htw-flex-nowrap htw-items-center"
77
77
  }, {
78
78
  actions: q(() => [
79
79
  ct(r.$slots, "actions")
@@ -126,7 +126,7 @@ const ca = {
126
126
  var a, c, f;
127
127
  r.value = (f = (c = (a = n.value).getTotalLength) == null ? void 0 : c.call(a)) != null ? f : 21.21;
128
128
  }), (a, c) => (S(), _("div", {
129
- class: gt(["htw-group htw-text-white htw-w-[16px] htw-h-[16px] htw-relative", { "htw-cursor-pointer": s.withToggle }]),
129
+ class: gt(["histoire-simple-checkbox htw-group htw-text-white htw-w-[16px] htw-h-[16px] htw-relative", { "htw-cursor-pointer": s.withToggle }]),
130
130
  onClick: i
131
131
  }, [
132
132
  B("div", {
@@ -171,7 +171,7 @@ const ca = {
171
171
  return (n, r) => (S(), Q(jt, {
172
172
  role: "checkbox",
173
173
  tabindex: "0",
174
- class: "htw-cursor-pointer htw-items-center",
174
+ class: "histoire-checkbox htw-cursor-pointer htw-items-center",
175
175
  title: s.title,
176
176
  onClick: r[0] || (r[0] = (o) => i()),
177
177
  onKeydown: [
@@ -206,7 +206,7 @@ const ca = {
206
206
  return (r, o) => (S(), Q(jt, {
207
207
  role: "group",
208
208
  title: s.title,
209
- class: gt(["htw-cursor-text", r.$attrs.class]),
209
+ class: gt(["histoire-checkbox-list htw-cursor-text", r.$attrs.class]),
210
210
  style: Pt(r.$attrs.style)
211
211
  }, {
212
212
  actions: q(() => [
@@ -251,7 +251,7 @@ const ca = {
251
251
  const e = rt();
252
252
  return (i, n) => (S(), Q(jt, {
253
253
  title: s.title,
254
- class: gt(["htw-cursor-text htw-items-center", i.$attrs.class]),
254
+ class: gt(["histoire-text htw-cursor-text htw-items-center", i.$attrs.class]),
255
255
  style: Pt(i.$attrs.style),
256
256
  onClick: n[1] || (n[1] = (r) => e.value.focus())
257
257
  }, {
@@ -309,7 +309,7 @@ const ca = {
309
309
  return ra(() => {
310
310
  f();
311
311
  }), (u, d) => (S(), Q(jt, {
312
- class: gt(["htw-cursor-ew-resize htw-items-center", [
312
+ class: gt(["histoire-number htw-cursor-ew-resize htw-items-center", [
313
313
  u.$attrs.class,
314
314
  { "htw-select-none": o.value }
315
315
  ]]),
@@ -370,7 +370,7 @@ const Ra = { class: "htw-relative htw-w-full htw-flex htw-items-center" }, La =
370
370
  left: 8 + (n.value.clientWidth - 16) * o.value + "px"
371
371
  } : {});
372
372
  return (h, a) => (S(), Q(jt, {
373
- class: gt(["htw-items-center", h.$attrs.class]),
373
+ class: gt(["histoire-slider htw-items-center", h.$attrs.class]),
374
374
  title: s.title,
375
375
  style: Pt(h.$attrs.style)
376
376
  }, {
@@ -422,7 +422,7 @@ const Ra = { class: "htw-relative htw-w-full htw-flex htw-items-center" }, La =
422
422
  const e = rt();
423
423
  return (i, n) => (S(), Q(jt, {
424
424
  title: s.title,
425
- class: gt(["htw-cursor-text", i.$attrs.class]),
425
+ class: gt(["histoire-textarea htw-cursor-text", i.$attrs.class]),
426
426
  style: Pt(i.$attrs.style),
427
427
  onClick: n[1] || (n[1] = (r) => e.value.focus())
428
428
  }, {
@@ -501,7 +501,7 @@ const $a = { class: "htw-cursor-pointer htw-w-full htw-outline-none htw-px-2 htw
501
501
  setup(s, { emit: t }) {
502
502
  return (e, i) => (S(), Q(jt, {
503
503
  title: s.title,
504
- class: gt(["htw-cursor-text htw-items-center", e.$attrs.class]),
504
+ class: gt(["histoire-select htw-cursor-text htw-items-center", e.$attrs.class]),
505
505
  style: Pt(e.$attrs.style)
506
506
  }, {
507
507
  actions: q(() => [
@@ -542,7 +542,7 @@ const $a = { class: "htw-cursor-pointer htw-w-full htw-outline-none htw-px-2 htw
542
542
  }
543
543
  }), Ua = {
544
544
  key: 0,
545
- class: "htw-grid htw-gap-4 htw-grid-cols-[repeat(auto-fill,minmax(200px,1fr))] htw-m-4"
545
+ class: "histoire-color-shades htw-grid htw-gap-4 htw-grid-cols-[repeat(auto-fill,minmax(200px,1fr))] htw-m-4"
546
546
  }, Qa = ["onMouseenter"], Ja = { class: "htw-flex htw-gap-1" }, Xa = { class: "htw-my-0 htw-truncate htw-shrink" }, Ya = { class: "htw-flex htw-gap-1" }, Za = { class: "htw-my-0 htw-opacity-50 htw-truncate htw-shrink" }, tc = {
547
547
  name: "HstColorShades"
548
548
  }, ec = /* @__PURE__ */ tt({
@@ -642,7 +642,7 @@ const $a = { class: "htw-cursor-pointer htw-w-full htw-outline-none htw-px-2 htw
642
642
  }), i = rt(null);
643
643
  return (n, r) => (S(!0), _(fe, null, Be(H(e), (o) => (S(), _("div", {
644
644
  key: o.key,
645
- class: "htw-flex htw-flex-col htw-gap-2 htw-my-8",
645
+ class: "histoire-token-list htw-flex htw-flex-col htw-gap-2 htw-my-8",
646
646
  onMouseenter: (l) => i.value = o.key,
647
647
  onMouseleave: r[0] || (r[0] = (l) => i.value = null)
648
648
  }, [
@@ -690,7 +690,7 @@ const cc = ["onMouseenter"], fc = { class: "htw-flex htw-gap-1" }, uc = { class:
690
690
  });
691
691
  }), i = at(() => `${t.colSize}px`), n = rt(null);
692
692
  return (r, o) => (S(), _("div", {
693
- class: "htw-bind-col-size htw-grid htw-gap-4 htw-m-4",
693
+ class: "histoire-token-grid htw-bind-col-size htw-grid htw-gap-4 htw-m-4",
694
694
  style: Pt({
695
695
  "--histoire-col-size": H(i)
696
696
  })
@@ -750,7 +750,7 @@ const cc = ["onMouseenter"], fc = { class: "htw-flex htw-gap-1" }, uc = { class:
750
750
  return (o, l) => (S(), Q(jt, {
751
751
  role: "group",
752
752
  title: s.title,
753
- class: gt(["htw-cursor-text", o.$attrs.class]),
753
+ class: gt(["histoire-radio htw-cursor-text", o.$attrs.class]),
754
754
  style: Pt(o.$attrs.style)
755
755
  }, {
756
756
  actions: q(() => [
@@ -12289,7 +12289,7 @@ const Og = (s, t) => {
12289
12289
  }
12290
12290
  }), (c, f) => (S(), Q(jt, {
12291
12291
  title: s.title,
12292
- class: gt(["htw-cursor-text", c.$attrs.class]),
12292
+ class: gt(["histoire-json htw-cursor-text", c.$attrs.class]),
12293
12293
  style: Pt(c.$attrs.style)
12294
12294
  }, {
12295
12295
  actions: q(() => [
@@ -12312,7 +12312,7 @@ const Og = (s, t) => {
12312
12312
  _: 3
12313
12313
  }, 8, ["title", "class", "style"]));
12314
12314
  }
12315
- }), Tg = /* @__PURE__ */ Og(Dg, [["__scopeId", "data-v-35a6e314"]]), Pg = jo, Bg = wa, Rg = va, Lg = Oa, Eg = Ta, Ng = Ba, Vg = Na, Ig = Ha, Hg = Ga, $g = ec, Fg = ac, zg = mc, _g = Me, Wg = xc, jg = Tg, Jg = {
12315
+ }), Tg = /* @__PURE__ */ Og(Dg, [["__scopeId", "data-v-7e04a5c8"]]), Pg = jo, Bg = wa, Rg = va, Lg = Oa, Eg = Ta, Ng = Ba, Vg = Na, Ig = Ha, Hg = Ga, $g = ec, Fg = ac, zg = mc, _g = Me, Wg = xc, jg = Tg, Jg = {
12316
12316
  HstButton: Pg,
12317
12317
  HstButtonGroup: Bg,
12318
12318
  HstCheckbox: Rg,
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .htw-range-input::-webkit-slider-thumb{height:.75rem;width:.75rem;-webkit-appearance:none;appearance:none;border-radius:9999px;border-width:1px;border-style:solid;border-color:#00000040;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.htw-dark .htw-range-input::-webkit-slider-thumb{border-color:#ffffff40;--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.htw-range-input:hover::-webkit-slider-thumb{--tw-border-opacity: 1 !important;border-color:rgb(16 185 129 / var(--tw-border-opacity))!important;--tw-bg-opacity: 1 !important;background-color:rgb(16 185 129 / var(--tw-bg-opacity))!important}.htw-range-input::-moz-range-thumb{height:.75rem;width:.75rem;-moz-appearance:none;appearance:none;border-radius:9999px;border-width:1px;border-style:solid;border-color:#00000040;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.htw-dark .htw-range-input::-moz-range-thumb{border-color:#ffffff40;--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.htw-range-input:hover::-moz-range-thumb{--tw-border-opacity: 1 !important;border-color:rgb(16 185 129 / var(--tw-border-opacity))!important;--tw-bg-opacity: 1 !important;background-color:rgb(16 185 129 / var(--tw-bg-opacity))!important}.v-popper{line-height:0}.htw-dark .v-popper--theme-dropdown .v-popper__inner{--tw-border-opacity: 1;border-color:rgb(31 31 33 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.htw-dark .v-popper--theme-dropdown .v-popper__arrow-inner{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.htw-dark .v-popper--theme-dropdown .v-popper__arrow-outer{--tw-border-opacity: 1;border-color:rgb(31 31 33 / var(--tw-border-opacity))}.v-popper--theme-dropdown.v-popper__popper--show-from .v-popper__wrapper{transform:scale(.75)}.v-popper--theme-dropdown.v-popper__popper--show-to .v-popper__wrapper{transform:none;transition:transform .15s cubic-bezier(0,1,.5,1)}.v-popper__popper:focus-visible{outline:none}.htw-bind-col-size{grid-template-columns:repeat(auto-fill,minmax(var(--histoire-col-size),1fr))}.__histoire-json-code[data-v-35a6e314] .cm-editor{height:100%;min-width:280px}
1
+ .htw-range-input::-webkit-slider-thumb{height:.75rem;width:.75rem;-webkit-appearance:none;appearance:none;border-radius:9999px;border-width:1px;border-style:solid;border-color:#00000040;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.htw-dark .htw-range-input::-webkit-slider-thumb{border-color:#ffffff40;--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.htw-range-input:hover::-webkit-slider-thumb{--tw-border-opacity: 1 !important;border-color:rgb(16 185 129 / var(--tw-border-opacity))!important;--tw-bg-opacity: 1 !important;background-color:rgb(16 185 129 / var(--tw-bg-opacity))!important}.htw-range-input::-moz-range-thumb{height:.75rem;width:.75rem;-moz-appearance:none;appearance:none;border-radius:9999px;border-width:1px;border-style:solid;border-color:#00000040;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.htw-dark .htw-range-input::-moz-range-thumb{border-color:#ffffff40;--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.htw-range-input:hover::-moz-range-thumb{--tw-border-opacity: 1 !important;border-color:rgb(16 185 129 / var(--tw-border-opacity))!important;--tw-bg-opacity: 1 !important;background-color:rgb(16 185 129 / var(--tw-bg-opacity))!important}.v-popper{line-height:0}.htw-dark .v-popper--theme-dropdown .v-popper__inner{--tw-border-opacity: 1;border-color:rgb(31 31 33 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.htw-dark .v-popper--theme-dropdown .v-popper__arrow-inner{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.htw-dark .v-popper--theme-dropdown .v-popper__arrow-outer{--tw-border-opacity: 1;border-color:rgb(31 31 33 / var(--tw-border-opacity))}.v-popper--theme-dropdown.v-popper__popper--show-from .v-popper__wrapper{transform:scale(.75)}.v-popper--theme-dropdown.v-popper__popper--show-to .v-popper__wrapper{transform:none;transition:transform .15s cubic-bezier(0,1,.5,1)}.v-popper__popper:focus-visible{outline:none}.htw-bind-col-size{grid-template-columns:repeat(auto-fill,minmax(var(--histoire-col-size),1fr))}.__histoire-json-code[data-v-7e04a5c8] .cm-editor{height:100%;min-width:280px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/controls",
3
- "version": "0.11.4",
3
+ "version": "0.11.6",
4
4
  "description": "Prebuilt controls components",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -38,7 +38,7 @@
38
38
  "@codemirror/state": "^6.1.2",
39
39
  "@codemirror/theme-one-dark": "^6.1.0",
40
40
  "@codemirror/view": "^6.3.0",
41
- "@histoire/vendors": "^0.11.4"
41
+ "@histoire/vendors": "^0.11.6"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@peeky/server": "^0.14.0",
@@ -21,7 +21,7 @@ withDefaults(defineProps<{
21
21
  <template>
22
22
  <component
23
23
  :is="tag"
24
- class="htw-p-2 hover:htw-bg-primary-100 dark:hover:htw-bg-primary-800 htw-flex htw-gap-2 htw-flex-wrap"
24
+ class="histoire-wrapper htw-p-2 hover:htw-bg-primary-100 dark:hover:htw-bg-primary-800 htw-flex htw-gap-2 htw-flex-wrap"
25
25
  >
26
26
  <span
27
27
  v-tooltip="{
@@ -18,7 +18,7 @@ defineProps<{
18
18
 
19
19
  <template>
20
20
  <button
21
- class="htw-cursor-pointer htw-rounded-sm"
21
+ class="histoire-button htw-cursor-pointer htw-rounded-sm"
22
22
  :class="colors[color ?? 'default']"
23
23
  >
24
24
  <slot />
@@ -43,7 +43,7 @@ function selectOption (value: string) {
43
43
  tag="div"
44
44
  role="group"
45
45
  :title="title"
46
- class="htw-flex-nowrap htw-items-center"
46
+ class="histoire-button-group htw-flex-nowrap htw-items-center"
47
47
  >
48
48
  <div class="htw-flex htw-gap-px htw-border htw-border-solid htw-border-black/25 dark:htw-border-white/25 htw-rounded-sm htw-p-px">
49
49
  <HstButton
@@ -26,7 +26,7 @@ function toggle () {
26
26
  <HstWrapper
27
27
  role="checkbox"
28
28
  tabindex="0"
29
- class="htw-cursor-pointer htw-items-center"
29
+ class="histoire-checkbox htw-cursor-pointer htw-items-center"
30
30
  :title="title"
31
31
  @click="toggle()"
32
32
  @keydown.enter.prevent="toggle()"
@@ -46,7 +46,7 @@ function toggleOption (value: string) {
46
46
  <HstWrapper
47
47
  role="group"
48
48
  :title="title"
49
- class="htw-cursor-text"
49
+ class="histoire-checkbox-list htw-cursor-text"
50
50
  :class="$attrs.class"
51
51
  :style="$attrs.style"
52
52
  >
@@ -45,7 +45,7 @@ watch(path, () => {
45
45
 
46
46
  <template>
47
47
  <div
48
- class="htw-group htw-text-white htw-w-[16px] htw-h-[16px] htw-relative"
48
+ class="histoire-simple-checkbox htw-group htw-text-white htw-w-[16px] htw-h-[16px] htw-relative"
49
49
  :class="{'htw-cursor-pointer': withToggle}"
50
50
  @click="toggle"
51
51
  >
@@ -2,7 +2,7 @@
2
2
 
3
3
  exports[`HstCheckbox toggle to checked 1`] = `
4
4
  <label
5
- class="htw-p-2 hover:htw-bg-primary-100 dark:hover:htw-bg-primary-800 htw-flex htw-gap-2 htw-flex-wrap htw-cursor-pointer htw-items-center"
5
+ class="histoire-wrapper htw-p-2 hover:htw-bg-primary-100 dark:hover:htw-bg-primary-800 htw-flex htw-gap-2 htw-flex-wrap histoire-checkbox htw-cursor-pointer htw-items-center"
6
6
  role="checkbox"
7
7
  tabindex="0"
8
8
  >
@@ -11,7 +11,7 @@ exports[`HstCheckbox toggle to checked 1`] = `
11
11
  </span>
12
12
  <span class="htw-grow htw-max-w-full htw-flex htw-items-center htw-gap-1">
13
13
  <span class="htw-block htw-grow htw-max-w-full">
14
- <div class="htw-group htw-text-white htw-w-[16px] htw-h-[16px] htw-relative">
14
+ <div class="histoire-simple-checkbox htw-group htw-text-white htw-w-[16px] htw-h-[16px] htw-relative">
15
15
  <div class="htw-border htw-border-solid group-active:htw-bg-gray-500/20 htw-rounded-sm htw-box-border htw-absolute htw-inset-0 htw-transition-border htw-duration-150 htw-ease-out group-hover:htw-border-primary-500 group-hover:dark:htw-border-primary-500 htw-border-black/25 dark:htw-border-white/25 htw-delay-150">
16
16
  </div>
17
17
  <svg
@@ -37,7 +37,7 @@ exports[`HstCheckbox toggle to checked 1`] = `
37
37
 
38
38
  exports[`HstCheckbox toggle to unchecked 1`] = `
39
39
  <label
40
- class="htw-p-2 hover:htw-bg-primary-100 dark:hover:htw-bg-primary-800 htw-flex htw-gap-2 htw-flex-wrap htw-cursor-pointer htw-items-center"
40
+ class="histoire-wrapper htw-p-2 hover:htw-bg-primary-100 dark:hover:htw-bg-primary-800 htw-flex htw-gap-2 htw-flex-wrap histoire-checkbox htw-cursor-pointer htw-items-center"
41
41
  role="checkbox"
42
42
  tabindex="0"
43
43
  >
@@ -46,7 +46,7 @@ exports[`HstCheckbox toggle to unchecked 1`] = `
46
46
  </span>
47
47
  <span class="htw-grow htw-max-w-full htw-flex htw-items-center htw-gap-1">
48
48
  <span class="htw-block htw-grow htw-max-w-full">
49
- <div class="htw-group htw-text-white htw-w-[16px] htw-h-[16px] htw-relative">
49
+ <div class="histoire-simple-checkbox htw-group htw-text-white htw-w-[16px] htw-h-[16px] htw-relative">
50
50
  <div class="htw-border htw-border-solid group-active:htw-bg-gray-500/20 htw-rounded-sm htw-box-border htw-absolute htw-inset-0 htw-transition-border htw-duration-150 htw-ease-out group-hover:htw-border-primary-500 group-hover:dark:htw-border-primary-500 htw-border-primary-500 htw-border-8">
51
51
  </div>
52
52
  <svg
@@ -52,7 +52,7 @@ const hover = ref<string>(null)
52
52
  <template>
53
53
  <div
54
54
  v-if="displayedShades.length"
55
- class="htw-grid htw-gap-4 htw-grid-cols-[repeat(auto-fill,minmax(200px,1fr))] htw-m-4"
55
+ class="histoire-color-shades htw-grid htw-gap-4 htw-grid-cols-[repeat(auto-fill,minmax(200px,1fr))] htw-m-4"
56
56
  >
57
57
  <div
58
58
  v-for="shade of displayedShades"
@@ -38,7 +38,7 @@ const hover = ref<string>(null)
38
38
 
39
39
  <template>
40
40
  <div
41
- class="htw-bind-col-size htw-grid htw-gap-4 htw-m-4"
41
+ class="histoire-token-grid htw-bind-col-size htw-grid htw-gap-4 htw-m-4"
42
42
  :style="{
43
43
  '--histoire-col-size': colSizePx,
44
44
  }"
@@ -33,7 +33,7 @@ const hover = ref<string>(null)
33
33
  <div
34
34
  v-for="token of processedTokens"
35
35
  :key="token.key"
36
- class="htw-flex htw-flex-col htw-gap-2 htw-my-8"
36
+ class="histoire-token-list htw-flex htw-flex-col htw-gap-2 htw-my-8"
37
37
  @mouseenter="hover = token.key"
38
38
  @mouseleave="hover = null"
39
39
  >
@@ -117,7 +117,7 @@ watch(() => internalValue.value, () => {
117
117
  <template>
118
118
  <HstWrapper
119
119
  :title="title"
120
- class="htw-cursor-text"
120
+ class="histoire-json htw-cursor-text"
121
121
  :class="$attrs.class"
122
122
  :style="$attrs.style"
123
123
  >
@@ -67,7 +67,7 @@ onUnmounted(() => {
67
67
 
68
68
  <template>
69
69
  <HstWrapper
70
- class="htw-cursor-ew-resize htw-items-center"
70
+ class="histoire-number htw-cursor-ew-resize htw-items-center"
71
71
  :title="title"
72
72
  :class="[
73
73
  $attrs.class,
@@ -45,7 +45,7 @@ const animationEnabled = ref(false)
45
45
  <HstWrapper
46
46
  role="group"
47
47
  :title="title"
48
- class="htw-cursor-text"
48
+ class="histoire-radio htw-cursor-text"
49
49
  :class="$attrs.class"
50
50
  :style="$attrs.style"
51
51
  >
@@ -23,7 +23,7 @@ const emits = defineEmits<{
23
23
  <template>
24
24
  <HstWrapper
25
25
  :title="title"
26
- class="htw-cursor-text htw-items-center"
26
+ class="histoire-select htw-cursor-text htw-items-center"
27
27
  :class="$attrs.class"
28
28
  :style="$attrs.style"
29
29
  >
@@ -50,7 +50,7 @@ const tooltipStyle = computed<CSSProperties>(() => {
50
50
 
51
51
  <template>
52
52
  <HstWrapper
53
- class="htw-items-center"
53
+ class="histoire-slider htw-items-center"
54
54
  :title="title"
55
55
  :class="$attrs.class"
56
56
  :style="$attrs.style"
@@ -23,7 +23,7 @@ const input = ref<HTMLInputElement>()
23
23
  <template>
24
24
  <HstWrapper
25
25
  :title="title"
26
- class="htw-cursor-text htw-items-center"
26
+ class="histoire-text htw-cursor-text htw-items-center"
27
27
  :class="$attrs.class"
28
28
  :style="$attrs.style"
29
29
  @click="input.focus()"
@@ -24,7 +24,7 @@ const input = ref<HTMLInputElement>()
24
24
  <template>
25
25
  <HstWrapper
26
26
  :title="title"
27
- class="htw-cursor-text"
27
+ class="histoire-textarea htw-cursor-text"
28
28
  :class="$attrs.class"
29
29
  :style="$attrs.style"
30
30
  @click="input.focus()"
@@ -7,7 +7,7 @@ module.exports = {
7
7
  content: [
8
8
  path.resolve(__dirname, './src/**/*.{vue,js,ts,jsx,tsx,md}'),
9
9
  ],
10
- // corePlugins: {
11
- // preflight: false,
12
- // },
10
+ corePlugins: {
11
+ preflight: false,
12
+ },
13
13
  }