histoire 0.7.8 → 0.7.9

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.
@@ -2,7 +2,8 @@ import { isRef, unref } from "vue";
2
2
  const isObject = (val) => val !== null && typeof val === "object";
3
3
  function toRawDeep(val, seen = /* @__PURE__ */ new Set()) {
4
4
  const unwrappedValue = isRef(val) ? unref(val) : val;
5
- if (typeof unwrappedValue === "symbol") {
5
+ const valueType = typeof unwrappedValue;
6
+ if (valueType === "symbol" || valueType === "function") {
6
7
  return unwrappedValue.toString();
7
8
  }
8
9
  if (!isObject(unwrappedValue)) {
@@ -2,7 +2,8 @@ import { unref, isRef } from 'vue';
2
2
  const isObject = (val) => val !== null && typeof val === 'object';
3
3
  export function toRawDeep(val, seen = new Set()) {
4
4
  const unwrappedValue = isRef(val) ? unref(val) : val;
5
- if (typeof unwrappedValue === 'symbol') {
5
+ const valueType = typeof unwrappedValue;
6
+ if (valueType === 'symbol' || valueType === 'function') {
6
7
  return unwrappedValue.toString();
7
8
  }
8
9
  if (!isObject(unwrappedValue)) {
package/dist/style.css CHANGED
@@ -1057,6 +1057,10 @@ button {
1057
1057
  margin-bottom:0.5rem
1058
1058
  }
1059
1059
 
1060
+ .htw-mr-2{
1061
+ margin-right:0.5rem
1062
+ }
1063
+
1060
1064
  .htw-box-border{
1061
1065
  box-sizing:border-box
1062
1066
  }
@@ -1681,6 +1685,14 @@ button {
1681
1685
  background-color:rgb(var(--_histoire-color-primary-500) / var(--tw-bg-opacity)) !important
1682
1686
  }
1683
1687
 
1688
+ .htw-fill-primary-500{
1689
+ fill:rgb(var(--_histoire-color-primary-500))
1690
+ }
1691
+
1692
+ .htw-fill-transparent{
1693
+ fill:transparent
1694
+ }
1695
+
1684
1696
  .htw-stroke-white{
1685
1697
  stroke:#fff
1686
1698
  }
@@ -1980,6 +1992,10 @@ button {
1980
1992
  transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)
1981
1993
  }
1982
1994
 
1995
+ .htw-will-change-transform{
1996
+ will-change:transform
1997
+ }
1998
+
1983
1999
  body,
1984
2000
  pre {
1985
2001
  margin: 0;
@@ -2091,6 +2107,11 @@ body {
2091
2107
  background-color:rgb(var(--_histoire-color-gray-100) / 0.5)
2092
2108
  }
2093
2109
 
2110
+ .htw-group:hover .group-hover\:htw-border-primary-500{
2111
+ --tw-border-opacity:1;
2112
+ border-color:rgb(var(--_histoire-color-primary-500) / var(--tw-border-opacity))
2113
+ }
2114
+
2094
2115
  .htw-group:hover .group-hover\:htw-bg-primary-100{
2095
2116
  --tw-bg-opacity:1;
2096
2117
  background-color:rgb(var(--_histoire-color-primary-100) / var(--tw-bg-opacity))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "histoire",
3
- "version": "0.7.8",
3
+ "version": "0.7.9",
4
4
  "description": "A fast story book powered by Vite",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -33,9 +33,9 @@
33
33
  "histoire": "./bin.mjs"
34
34
  },
35
35
  "dependencies": {
36
- "@histoire/controls": "^0.7.8",
37
- "@histoire/plugin-vue": "^0.7.8",
38
- "@histoire/shared": "^0.7.8",
36
+ "@histoire/controls": "^0.7.9",
37
+ "@histoire/plugin-vue": "^0.7.9",
38
+ "@histoire/shared": "^0.7.9",
39
39
  "@iconify/vue": "^3.2.1",
40
40
  "@types/markdown-it": "^12.2.3",
41
41
  "@vueuse/core": "^8.2.5",
@@ -4,8 +4,9 @@ const isObject = (val) => val !== null && typeof val === 'object'
4
4
 
5
5
  export function toRawDeep (val, seen = new Set()) {
6
6
  const unwrappedValue = isRef(val) ? unref(val) : val
7
+ const valueType = typeof unwrappedValue
7
8
 
8
- if (typeof unwrappedValue === 'symbol') {
9
+ if (valueType === 'symbol' || valueType === 'function') {
9
10
  return unwrappedValue.toString()
10
11
  }
11
12