@eleventheye/asui 1.5.0 → 1.6.0

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 (119) hide show
  1. package/.storybook/main.ts +19 -0
  2. package/.storybook/preview.ts +14 -0
  3. package/asui.code-workspace +8 -0
  4. package/package.json +1 -7
  5. package/storybook-static/161.9b349264.iframe.bundle.js +2 -0
  6. package/storybook-static/161.9b349264.iframe.bundle.js.LICENSE.txt +9 -0
  7. package/storybook-static/167.2dacd501.iframe.bundle.js +1 -0
  8. package/storybook-static/294.9683c227.iframe.bundle.js +1 -0
  9. package/storybook-static/364.929da4fc.iframe.bundle.js +1 -0
  10. package/storybook-static/730.eecebd5e.iframe.bundle.js +405 -0
  11. package/storybook-static/730.eecebd5e.iframe.bundle.js.LICENSE.txt +9 -0
  12. package/storybook-static/730.eecebd5e.iframe.bundle.js.map +1 -0
  13. package/storybook-static/735.97d1536b.iframe.bundle.js +2 -0
  14. package/storybook-static/735.97d1536b.iframe.bundle.js.LICENSE.txt +9 -0
  15. package/storybook-static/844.3b6aa0c9.iframe.bundle.js +95 -0
  16. package/storybook-static/844.3b6aa0c9.iframe.bundle.js.LICENSE.txt +19 -0
  17. package/storybook-static/844.3b6aa0c9.iframe.bundle.js.map +1 -0
  18. package/storybook-static/929.416ba461.iframe.bundle.js +2 -0
  19. package/storybook-static/929.416ba461.iframe.bundle.js.LICENSE.txt +9 -0
  20. package/storybook-static/936.a49c8b4b.iframe.bundle.js +1 -0
  21. package/storybook-static/954.0c960d16.iframe.bundle.js +2 -0
  22. package/storybook-static/954.0c960d16.iframe.bundle.js.LICENSE.txt +9 -0
  23. package/storybook-static/961.12e539bf.iframe.bundle.js +2 -0
  24. package/storybook-static/961.12e539bf.iframe.bundle.js.LICENSE.txt +9 -0
  25. package/storybook-static/favicon.svg +1 -0
  26. package/storybook-static/iframe.html +511 -0
  27. package/storybook-static/index.html +177 -0
  28. package/storybook-static/index.json +1 -0
  29. package/storybook-static/main.b309b411.iframe.bundle.js +1 -0
  30. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  31. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  32. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  33. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  34. package/storybook-static/project.json +1 -0
  35. package/storybook-static/runtime~main.d00757b4.iframe.bundle.js +1 -0
  36. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
  37. package/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +12 -0
  38. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +402 -0
  39. package/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js +242 -0
  40. package/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +3 -0
  41. package/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +3 -0
  42. package/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +3 -0
  43. package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +3 -0
  44. package/storybook-static/sb-addons/interactions-10/manager-bundle.js +222 -0
  45. package/storybook-static/sb-addons/onboarding-9/manager-bundle.js +127 -0
  46. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  47. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  48. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  49. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  50. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  51. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  52. package/storybook-static/sb-manager/globals-module-info.js +1051 -0
  53. package/storybook-static/sb-manager/globals-runtime.js +41591 -0
  54. package/storybook-static/sb-manager/globals.js +48 -0
  55. package/storybook-static/sb-manager/runtime.js +12048 -0
  56. package/storybook-static/sb-preview/globals.js +33 -0
  57. package/storybook-static/sb-preview/runtime.js +7745 -0
  58. package/storybook-static/stories-Button-stories.b38a90e0.iframe.bundle.js +2 -0
  59. package/storybook-static/stories-Button-stories.b38a90e0.iframe.bundle.js.LICENSE.txt +9 -0
  60. package/storybook-static/stories-Configure-mdx.db355e6b.iframe.bundle.js +1 -0
  61. package/storybook-static/stories-Header-stories.0e583eb8.iframe.bundle.js +1 -0
  62. package/storybook-static/stories-Icons-stories.934f2ebc.iframe.bundle.js +8 -0
  63. package/storybook-static/stories-Icons-stories.934f2ebc.iframe.bundle.js.map +1 -0
  64. package/storybook-static/stories-Page-stories.1f5ff8f9.iframe.bundle.js +1 -0
  65. package/tsconfig.json +117 -0
  66. package/src/apptypes/ASUI.types.ts +0 -5
  67. package/src/icons/AddItemIcon.tsx +0 -36
  68. package/src/icons/AddUserIcon.tsx +0 -36
  69. package/src/icons/CheckIcon.tsx +0 -37
  70. package/src/icons/CloseIcon.tsx +0 -34
  71. package/src/icons/DeleteIcon.tsx +0 -36
  72. package/src/icons/EleventheyeIcon.tsx +0 -35
  73. package/src/icons/EyeIcon.tsx +0 -36
  74. package/src/icons/EyeSlashIcon.tsx +0 -43
  75. package/src/icons/FootballIcon.tsx +0 -35
  76. package/src/icons/GamesIcon.tsx +0 -36
  77. package/src/icons/GearUserIcon.tsx +0 -40
  78. package/src/icons/HexagonIcon.tsx +0 -38
  79. package/src/icons/HomeIcon.tsx +0 -36
  80. package/src/icons/Icons.types.tsx +0 -12
  81. package/src/icons/LockIcon.tsx +0 -38
  82. package/src/icons/PenIcon.tsx +0 -36
  83. package/src/icons/RulerIcon.tsx +0 -36
  84. package/src/icons/SaveIcon.tsx +0 -45
  85. package/src/icons/TimeLapseIcon.tsx +0 -36
  86. package/src/icons/UnlockIcon.tsx +0 -38
  87. package/src/icons/UserSettingsIcon.tsx +0 -34
  88. package/src/icons/index.ts +0 -63
  89. package/src/icons/styles.tsx +0 -9
  90. package/src/index.ts +0 -22
  91. package/src/stories/Button.stories.ts +0 -53
  92. package/src/stories/Button.tsx +0 -37
  93. package/src/stories/Configure.mdx +0 -364
  94. package/src/stories/Header.stories.ts +0 -33
  95. package/src/stories/Header.tsx +0 -56
  96. package/src/stories/Icons.stories.ts +0 -55
  97. package/src/stories/Icons.tsx +0 -182
  98. package/src/stories/Page.stories.ts +0 -32
  99. package/src/stories/Page.tsx +0 -73
  100. package/src/stories/assets/accessibility.svg +0 -1
  101. package/src/stories/assets/avif-test-image.avif +0 -0
  102. package/src/stories/button.css +0 -30
  103. package/src/stories/header.css +0 -32
  104. package/src/stories/icons.css +0 -44
  105. package/src/stories/page.css +0 -68
  106. /package/{src/stories/assets/accessibility.png → storybook-static/static/media/accessibility.2dbc6973.png} +0 -0
  107. /package/{src/stories/assets/addon-library.png → storybook-static/static/media/addon-library.7a58d2cb.png} +0 -0
  108. /package/{src/stories/assets/assets.png → storybook-static/static/media/assets.e6440a95.png} +0 -0
  109. /package/{src/stories/assets/context.png → storybook-static/static/media/context.645728c6.png} +0 -0
  110. /package/{src/stories/assets/discord.svg → storybook-static/static/media/discord.d85804c7.svg} +0 -0
  111. /package/{src/stories/assets/docs.png → storybook-static/static/media/docs.f7d8b9a8.png} +0 -0
  112. /package/{src/stories/assets/figma-plugin.png → storybook-static/static/media/figma-plugin.9335a1a9.png} +0 -0
  113. /package/{src/stories/assets/github.svg → storybook-static/static/media/github.e4e8df82.svg} +0 -0
  114. /package/{src/stories/assets/share.png → storybook-static/static/media/share.161528bb.png} +0 -0
  115. /package/{src/stories/assets/styling.png → storybook-static/static/media/styling.38cab73b.png} +0 -0
  116. /package/{src/stories/assets/testing.png → storybook-static/static/media/testing.c720ced2.png} +0 -0
  117. /package/{src/stories/assets/theming.png → storybook-static/static/media/theming.e93de094.png} +0 -0
  118. /package/{src/stories/assets/tutorials.svg → storybook-static/static/media/tutorials.fde6e46f.svg} +0 -0
  119. /package/{src/stories/assets/youtube.svg → storybook-static/static/media/youtube.fd046a09.svg} +0 -0
@@ -0,0 +1,19 @@
1
+ import type { StorybookConfig } from '@storybook/react-webpack5';
2
+
3
+ const config: StorybookConfig = {
4
+ "stories": [
5
+ "../src/**/*.mdx",
6
+ "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"
7
+ ],
8
+ "addons": [
9
+ "@storybook/addon-webpack5-compiler-swc",
10
+ "@storybook/addon-essentials",
11
+ "@storybook/addon-onboarding",
12
+ "@storybook/addon-interactions"
13
+ ],
14
+ "framework": {
15
+ "name": "@storybook/react-webpack5",
16
+ "options": {}
17
+ }
18
+ };
19
+ export default config;
@@ -0,0 +1,14 @@
1
+ import type { Preview } from '@storybook/react'
2
+
3
+ const preview: Preview = {
4
+ parameters: {
5
+ controls: {
6
+ matchers: {
7
+ color: /(background|color)$/i,
8
+ date: /Date$/i,
9
+ },
10
+ },
11
+ },
12
+ };
13
+
14
+ export default preview;
@@ -0,0 +1,8 @@
1
+ {
2
+ "folders": [
3
+ {
4
+ "path": "."
5
+ }
6
+ ],
7
+ "settings": {}
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eleventheye/asui",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "private": false,
5
5
  "description": "AS UI React Library by eleventheye (another one!)",
6
6
  "keywords": [
@@ -33,11 +33,6 @@
33
33
  "author": "eleventheye.com",
34
34
  "main": "dist/index.js",
35
35
  "types": "dist/index.d.ts",
36
- "files": [
37
- "src",
38
- "dist",
39
- "types/*.d.ts"
40
- ],
41
36
  "exports": {
42
37
  ".": {
43
38
  "module": "./dist/index.js",
@@ -53,7 +48,6 @@
53
48
  "preversion": "npm run build",
54
49
  "prepack": "npmignore --auto",
55
50
  "test": "jest",
56
- "version": "npm publish",
57
51
  "storybook": "storybook dev -p 6006",
58
52
  "build-storybook": "storybook build"
59
53
  },
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 161.9b349264.iframe.bundle.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_eleventheye_asui=self.webpackChunk_eleventheye_asui||[]).push([[161],{"./node_modules/react-dom/cjs/react-dom-test-utils.production.js":(__unused_webpack_module,exports,__webpack_require__)=>{var React=__webpack_require__("./node_modules/react/index.js"),didWarnAboutUsingAct=!1;exports.act=function(callback){return!1===didWarnAboutUsingAct&&(didWarnAboutUsingAct=!0,console.error("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")),React.act(callback)}},"./node_modules/react-dom/test-utils.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=__webpack_require__("./node_modules/react-dom/cjs/react-dom-test-utils.production.js")}}]);
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license React
3
+ * react-dom-test-utils.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
@@ -0,0 +1 @@
1
+ (self.webpackChunk_eleventheye_asui=self.webpackChunk_eleventheye_asui||[]).push([[167],{"./node_modules/@storybook/addon-docs/dist/DocsRenderer-CFRXHY34.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{DocsRenderer:()=>DocsRenderer});var react=__webpack_require__("./node_modules/react/index.js"),dist=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs"),react_18=__webpack_require__("./node_modules/@storybook/react-dom-shim/dist/react-18.mjs"),defaultComponents={code:dist.XA,a:dist.zE,...dist.Sw},ErrorBoundary=class extends react.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(err){let{showException}=this.props;showException(err)}render(){let{hasError}=this.state,{children}=this.props;return hasError?null:react.createElement(react.Fragment,null,children)}},DocsRenderer=class{constructor(){this.render=async(context,docsParameter,element)=>{let components={...defaultComponents,...docsParameter?.components},TDocs=dist.kQ;return new Promise(((resolve,reject)=>{__webpack_require__.e(294).then(__webpack_require__.bind(__webpack_require__,"./node_modules/@mdx-js/react/index.js")).then((({MDXProvider})=>(0,react_18.renderElement)(react.createElement(ErrorBoundary,{showException:reject,key:Math.random()},react.createElement(MDXProvider,{components},react.createElement(TDocs,{context,docsParameter}))),element))).then((()=>resolve()))}))},this.unmount=element=>{(0,react_18.unmountElement)(element)}}};__webpack_require__("./node_modules/@storybook/addon-docs/dist/chunk-H6MOWX77.mjs")},"./node_modules/@storybook/blocks/dist sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/blocks/dist sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/components sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/components sync recursive",module.exports=webpackEmptyContext},"./node_modules/@storybook/core/dist/theming sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/@storybook/core/dist/theming sync recursive",module.exports=webpackEmptyContext}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_eleventheye_asui=self.webpackChunk_eleventheye_asui||[]).push([[294],{"./node_modules/@mdx-js/react/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{MDXProvider:()=>_lib_index_js__WEBPACK_IMPORTED_MODULE_0__.x,useMDXComponents:()=>_lib_index_js__WEBPACK_IMPORTED_MODULE_0__.R});var _lib_index_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js")},"./node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_eleventheye_asui=self.webpackChunk_eleventheye_asui||[]).push([[364],{"./node_modules/storybook/core/components/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{createCopyToClipboardFunction:()=>_storybook_core_components__WEBPACK_IMPORTED_MODULE_0__.zH});var _storybook_core_components__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/core/dist/components/index.js")}}]);