@histoire/controls 0.6.1 → 0.6.2

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.
Files changed (25) hide show
  1. package/.histoire/dist/__sandbox.html +1 -1
  2. package/.histoire/dist/assets/{BaseEmpty.c5f20ec7.js → BaseEmpty.d30f3079.js} +2 -2
  3. package/.histoire/dist/assets/{HomeView.d306a8d5.js → HomeView.8e044be6.js} +3 -4
  4. package/.histoire/dist/assets/{HstCheckbox.story.58c054a6.js → HstCheckbox.story.3d04d85b.js} +5 -6
  5. package/.histoire/dist/assets/{HstColorShades.story.b321a955.js → HstColorShades.story.68cf74d1.js} +9 -10
  6. package/.histoire/dist/assets/{HstCopyIcon.5a5f1bb8.js → HstCopyIcon.e40e725e.js} +1 -2
  7. package/.histoire/dist/assets/{HstNumber.story.5a14062c.js → HstNumber.story.1e1964ff.js} +3 -4
  8. package/.histoire/dist/assets/{HstSelect.story.d546c2ca.js → HstSelect.story.04860383.js} +8 -9
  9. package/.histoire/dist/assets/{HstText.story.77a76d7e.js → HstText.story.c915d831.js} +3 -4
  10. package/.histoire/dist/assets/{HstTextarea.story.a6a4d3ba.js → HstTextarea.story.802b9c26.js} +3 -4
  11. package/.histoire/dist/assets/{HstTokenGrid.story.28a4b8c9.js → HstTokenGrid.story.025819d6.js} +6 -7
  12. package/.histoire/dist/assets/{HstTokenList.story.efcdd763.js → HstTokenList.story.d3aa6575.js} +9 -10
  13. package/.histoire/dist/assets/{HstWrapper.a4ee2214.js → HstWrapper.246b6982.js} +3 -4
  14. package/.histoire/dist/assets/{SearchPane.d4c0545d.js → SearchPane.daa2675c.js} +11 -12
  15. package/.histoire/dist/assets/{StoryView.6adb630a.js → StoryView.2f64dad1.js} +74 -75
  16. package/.histoire/dist/assets/{bundle-main.2631970b.js → bundle-main.784e5bf7.js} +34 -35
  17. package/.histoire/dist/assets/{bundle-sandbox.91b9cf1c.js → bundle-sandbox.5e153933.js} +3 -4
  18. package/.histoire/dist/assets/{const.560925bb.js → const.268165fd.js} +2 -3
  19. package/.histoire/dist/assets/{global-components.1c794554.js → global-components.6736b2a9.js} +53 -46
  20. package/.histoire/dist/assets/{search-docs-data.de2485ce.js → search-docs-data.b9a75539.js} +1 -1
  21. package/.histoire/dist/assets/{vendor.96c97c65.js → vendor.2833ae3d.js} +7250 -259
  22. package/.histoire/dist/index.html +2 -2
  23. package/dist/index.es.js +10 -2
  24. package/package.json +2 -2
  25. package/vite.config.ts +8 -2
@@ -7,10 +7,10 @@
7
7
  <meta name="description" content="">
8
8
  <link rel="stylesheet" href="/assets/style.04507241.css">
9
9
  <link rel="icon" type="image/svg+xml" href="/histoire.svg"/>
10
- <link rel="preload" href="/assets/vendor.96c97c65.js" as="script" crossOrigin="anonymous"><link rel="prefetch" href="/assets/global-components.1c794554.js" as="script" crossOrigin="anonymous"><link rel="prefetch" href="/assets/StoryView.6adb630a.js" as="script" crossOrigin="anonymous">
10
+ <link rel="preload" href="/assets/vendor.2833ae3d.js" as="script" crossOrigin="anonymous"><link rel="prefetch" href="/assets/global-components.6736b2a9.js" as="script" crossOrigin="anonymous"><link rel="prefetch" href="/assets/StoryView.2f64dad1.js" as="script" crossOrigin="anonymous">
11
11
  </head>
12
12
  <body>
13
13
  <div id="app"></div>
14
- <script type="module" src="/assets/bundle-main.2631970b.js"></script>
14
+ <script type="module" src="/assets/bundle-main.784e5bf7.js"></script>
15
15
  </body>
16
16
  </html>
package/dist/index.es.js CHANGED
@@ -3162,7 +3162,7 @@ function mergeIconData(icon, alias) {
3162
3162
  }
3163
3163
  return result;
3164
3164
  }
3165
- function getIconData$1(data, name, full) {
3165
+ function getIconData$1(data, name, full = false) {
3166
3166
  function getIcon(name2, iteration) {
3167
3167
  if (data.icons[name2] !== void 0) {
3168
3168
  return Object.assign({}, data.icons[name2]);
@@ -4004,7 +4004,7 @@ function storeCallback(callback, icons, pendingSources) {
4004
4004
  });
4005
4005
  return abort;
4006
4006
  }
4007
- function listToIcons(list, validate, simpleNames2 = false) {
4007
+ function listToIcons(list, validate = true, simpleNames2 = false) {
4008
4008
  const result = [];
4009
4009
  list.forEach((item) => {
4010
4010
  const icon = typeof item === "string" ? stringToIcon(item, false, simpleNames2) : item;
@@ -5124,6 +5124,14 @@ const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !
5124
5124
  const globalKey = "__vueuse_ssr_handlers__";
5125
5125
  _global[globalKey] = _global[globalKey] || {};
5126
5126
  _global[globalKey];
5127
+ var SwipeDirection;
5128
+ (function(SwipeDirection2) {
5129
+ SwipeDirection2["UP"] = "UP";
5130
+ SwipeDirection2["RIGHT"] = "RIGHT";
5131
+ SwipeDirection2["DOWN"] = "DOWN";
5132
+ SwipeDirection2["LEFT"] = "LEFT";
5133
+ SwipeDirection2["NONE"] = "NONE";
5134
+ })(SwipeDirection || (SwipeDirection = {}));
5127
5135
  const __default__$3 = {
5128
5136
  name: "HstCopyIcon"
5129
5137
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/controls",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Prebuilt controls components",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -44,7 +44,7 @@
44
44
  "autoprefixer": "^10.4.4",
45
45
  "concurrently": "^7.1.0",
46
46
  "floating-vue": "^2.0.0-beta.16",
47
- "histoire": "0.6.1",
47
+ "histoire": "0.6.2",
48
48
  "postcss": "^8.4.12",
49
49
  "postcss-import": "^14.1.0",
50
50
  "tailwindcss": "^3.0.23",
package/vite.config.ts CHANGED
@@ -30,8 +30,14 @@ export default defineConfig({
30
30
  histoire: {
31
31
  setupFile: '/src/histoire-setup.ts',
32
32
  vite: (config) => {
33
- config.build.lib = false
34
- config.build.rollupOptions.external = []
33
+ config.plugins = [{
34
+ name: 'my-vite-config',
35
+ enforce: 'post',
36
+ config (config) {
37
+ config.build.lib = false
38
+ config.build.rollupOptions.external = []
39
+ },
40
+ }]
35
41
  },
36
42
  theme: {
37
43
  title: 'Histoire controls',