letalkui 0.0.23 → 0.0.25

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 (53) hide show
  1. package/dist/chunk-4R3RBIB5.mjs +1 -0
  2. package/dist/chunk-4R3RBIB5.mjs.map +1 -0
  3. package/dist/chunk-BPQFVMOU.mjs +1 -0
  4. package/dist/chunk-BPQFVMOU.mjs.map +1 -0
  5. package/dist/chunk-K3KP3JIB.mjs +1 -0
  6. package/dist/chunk-K3KP3JIB.mjs.map +1 -0
  7. package/dist/chunk-KSM7KBI2.mjs +1 -0
  8. package/dist/chunk-KSM7KBI2.mjs.map +1 -0
  9. package/dist/chunk-NE5V4DFR.mjs +1 -0
  10. package/dist/chunk-NE5V4DFR.mjs.map +1 -0
  11. package/dist/chunk-QEHOSBMB.mjs +1 -0
  12. package/dist/chunk-QEHOSBMB.mjs.map +1 -0
  13. package/dist/chunk-W2LVCAVL.mjs +1 -0
  14. package/dist/chunk-W2LVCAVL.mjs.map +1 -0
  15. package/dist/components/index.d.mts +176 -0
  16. package/dist/components/index.d.ts +176 -0
  17. package/dist/components/index.js +1 -0
  18. package/dist/components/index.js.map +1 -0
  19. package/dist/components/index.mjs +1 -0
  20. package/dist/components/index.mjs.map +1 -0
  21. package/dist/containers/index.d.mts +25 -0
  22. package/dist/containers/index.d.ts +25 -0
  23. package/dist/containers/index.js +1 -0
  24. package/dist/containers/index.js.map +1 -0
  25. package/dist/containers/index.mjs +1 -0
  26. package/dist/containers/index.mjs.map +1 -0
  27. package/dist/index.css +2 -0
  28. package/dist/index.css.map +1 -0
  29. package/dist/index.d.mts +8 -0
  30. package/dist/index.d.ts +8 -30
  31. package/dist/index.js +1 -2
  32. package/dist/index.js.map +1 -0
  33. package/dist/index.mjs +1 -0
  34. package/dist/index.mjs.map +1 -0
  35. package/dist/primitives/index.d.mts +25 -0
  36. package/dist/primitives/index.d.ts +25 -0
  37. package/dist/primitives/index.js +1 -0
  38. package/dist/primitives/index.js.map +1 -0
  39. package/dist/primitives/index.mjs +1 -0
  40. package/dist/primitives/index.mjs.map +1 -0
  41. package/dist/styles/index.d.mts +294 -0
  42. package/dist/styles/index.d.ts +294 -0
  43. package/dist/styles/index.js +1 -0
  44. package/dist/styles/index.js.map +1 -0
  45. package/dist/styles/index.mjs +1 -0
  46. package/dist/styles/index.mjs.map +1 -0
  47. package/dist/utils/index.d.mts +9 -0
  48. package/dist/utils/index.d.ts +9 -0
  49. package/dist/utils/index.js +1 -0
  50. package/dist/utils/index.js.map +1 -0
  51. package/dist/utils/index.mjs +1 -0
  52. package/dist/utils/index.mjs.map +1 -0
  53. package/package.json +65 -28
@@ -0,0 +1,9 @@
1
+ import { CSSProperties } from 'react';
2
+
3
+ type PseudoProperties = {
4
+ [key: `&${string}` | `:${string}`]: CSSProperties | PseudoProperties;
5
+ };
6
+ type StyleProperties = CSSProperties & PseudoProperties;
7
+ declare function makeStyles<ClassKeys extends string>(stylesFn: () => Record<ClassKeys, StyleProperties>): () => Record<ClassKeys, StyleProperties>;
8
+
9
+ export { type StyleProperties, makeStyles };
@@ -0,0 +1,9 @@
1
+ import { CSSProperties } from 'react';
2
+
3
+ type PseudoProperties = {
4
+ [key: `&${string}` | `:${string}`]: CSSProperties | PseudoProperties;
5
+ };
6
+ type StyleProperties = CSSProperties & PseudoProperties;
7
+ declare function makeStyles<ClassKeys extends string>(stylesFn: () => Record<ClassKeys, StyleProperties>): () => Record<ClassKeys, StyleProperties>;
8
+
9
+ export { type StyleProperties, makeStyles };
@@ -0,0 +1 @@
1
+ "use strict";function e(e){"@swc/helpers - typeof";return e&&typeof Symbol!=="undefined"&&e.constructor===Symbol?"symbol":typeof e}var r=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var u=function(e,t){for(var n in t)r(e,n,{get:t[n],enumerable:!0})},a=function(u,a,f,l){var i=true,c=false,y=undefined;if(a&&(typeof a==="undefined"?"undefined":e(a))=="object"||typeof a=="function")try{var s=function(){var e=v.value;!o.call(u,e)&&e!==f&&r(u,e,{get:function(){return a[e]},enumerable:!(l=t(a,e))||l.enumerable})};for(var p=n(a)[Symbol.iterator](),v;!(i=(v=p.next()).done);i=true)s()}catch(e){c=true;y=e}finally{try{if(!i&&p.return!=null){p.return()}}finally{if(c){throw y}}}return u};var f=function(e){return a(r({},"__esModule",{value:!0}),e)};var l={};u(l,{makeStyles:function(){return i}});module.exports=f(l);function i(e){return function(){return e()}}0&&(module.exports={makeStyles:makeStyles});//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/letalk-ui/letalk-ui/dist/utils/index.js","../../src/utils/index.ts","../../src/utils/makeStyles.tsx"],"names":["o","Object","defineProperty","i","getOwnPropertyDescriptor","P","getOwnPropertyNames","S","prototype","hasOwnProperty","n","e","r","s","get","enumerable","y","p","t","call","u","value","utils_exports","__export","makeStyles","module","exports","__toCommonJS","stylesFn"],"mappings":"AAAA,mIAAa,IAAIA,EAAEC,OAAOC,cAAc,CAAC,IAAIC,EAAEF,OAAOG,wBAAwB,CAAC,IAAIC,EAAEJ,OAAOK,mBAAmB,CAAC,IAAIC,EAAEN,OAAOO,SAAS,CAACC,cAAc,CAAC,IAAIC,EAAE,SAACC,EAAEC,GAAK,IAAI,IAAIC,KAAKD,EAAEZ,EAAEW,EAAEE,EAAE,CAACC,IAAIF,CAAC,CAACC,EAAE,CAACE,WAAW,CAAC,CAAC,EAAE,EAAEC,EAAE,SAACL,EAAEC,EAAEC,EAAEI,OAAwD,OAAA,QAAA,YAAnD,GAAGL,GAAG,CAAA,OAAOA,4BAAP,EAAOA,EAAAA,GAAG,UAAU,OAAOA,GAAG,gCAAe,IAAIM,EAAJ,OAAc,EAACX,EAAEY,IAAI,CAACR,EAAEO,IAAIA,IAAIL,GAAGb,EAAEW,EAAEO,EAAE,CAACJ,IAAI,kBAAIF,CAAC,CAACM,EAAE,EAACH,WAAW,CAAEE,CAAAA,EAAEd,EAAES,EAAEM,EAAC,GAAID,EAAEF,UAAU,IAA/F,QAAI,EAASV,EAAEO,sBAAX,IAAA,GAAA,EAAA,gBAAA,oBAAA,OAAA,oBAAA,GAAA,gBAAA,uBAAA,SAAA,IAA8F,OAAOD,CAAC,EAAE,IAAIS,EAAET,SAAAA,UAAGK,EAAEhB,EAAE,CAAC,EAAE,aAAa,CAACqB,MAAM,CAAC,CAAC,GAAGV,ICAta,IAAAW,EAAA,CAAA,EAAAC,EAAAD,EAAA,CAAAE,WAAA,kBAAAA,EAAAA,EAAAC,CAAAA,OAAAC,OAAA,CAAAC,EAAAL,GCQO,SAASE,EACfI,CAAAA,EAEA,OAAO,kBACCA,IAET,CAAA,GAAAH,CAAAA,OAAAC,OAAA,CAAA,CAAAF,WAAAA,UAAA,CAAA","sourcesContent":["\"use strict\";var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var n=(e,r)=>{for(var s in r)o(e,s,{get:r[s],enumerable:!0})},y=(e,r,s,p)=>{if(r&&typeof r==\"object\"||typeof r==\"function\")for(let t of P(r))!S.call(e,t)&&t!==s&&o(e,t,{get:()=>r[t],enumerable:!(p=i(r,t))||p.enumerable});return e};var u=e=>y(o({},\"__esModule\",{value:!0}),e);var l={};n(l,{makeStyles:()=>d});module.exports=u(l);function d(e){return()=>e()}0&&(module.exports={makeStyles});\n","export * from \"@/utils/makeStyles\"\n","import { CSSProperties } from \"react\"\n\ntype PseudoProperties = {\n\t[key: `&${string}` | `:${string}`]: CSSProperties | PseudoProperties\n}\n\nexport type StyleProperties = CSSProperties & PseudoProperties\n\nexport function makeStyles<ClassKeys extends string>(\n\tstylesFn: () => Record<ClassKeys, StyleProperties>\n) {\n\treturn () => {\n\t\treturn stylesFn()\n\t}\n}"]}
@@ -0,0 +1 @@
1
+ import{a as m}from"../chunk-4R3RBIB5.mjs";import"../chunk-QEHOSBMB.mjs";export{m as makeStyles};//# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/letalk-ui/letalk-ui/dist/utils/index.mjs"],"names":["a","makeStyles"],"mappings":"AAAA,OAAOA,KAAAA,CAAC,KAAK,uBAAwB,OAAM,uBAAwB,QAAOA,KAAKC,UAAU","sourcesContent":["import{a}from\"../chunk-4R3RBIB5.mjs\";import\"../chunk-QEHOSBMB.mjs\";export{a as makeStyles};\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "letalkui",
3
3
  "private": false,
4
- "version": "0.0.23",
4
+ "version": "0.0.25",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -17,46 +17,83 @@
17
17
  "import": "./dist/index.mjs",
18
18
  "require": "./dist/index.js",
19
19
  "default": "./dist/index.js"
20
+ },
21
+ "./components": {
22
+ "types": "./dist/components/index.d.ts",
23
+ "import": "./dist/components/index.mjs",
24
+ "require": "./dist/components/index.js"
25
+ },
26
+ "./primitives": {
27
+ "types": "./dist/primitives/index.d.ts",
28
+ "import": "./dist/primitives/index.mjs",
29
+ "require": "./dist/primitives/index.js"
30
+ },
31
+ "./containers": {
32
+ "types": "./dist/containers/index.d.ts",
33
+ "import": "./dist/containers/index.mjs",
34
+ "require": "./dist/containers/index.js"
35
+ },
36
+ "./styles": {
37
+ "types": "./dist/styles/index.d.ts",
38
+ "import": "./dist/styles/index.mjs",
39
+ "require": "./dist/styles/index.js"
40
+ },
41
+ "./utils": {
42
+ "types": "./dist/utils/index.d.ts",
43
+ "import": "./dist/utils/index.mjs",
44
+ "require": "./dist/utils/index.js"
20
45
  }
21
46
  },
22
47
  "scripts": {
23
48
  "dev": "storybook dev -p 6006",
24
49
  "build": "tsup",
25
- "build:storybook": "storybook build"
50
+ "build:storybook": "storybook build",
51
+ "lint": "npx eslint 'src/**'"
26
52
  },
27
53
  "peerDependencies": {
28
54
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
29
- "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
30
- "@material-ui/core": "^4.12.4",
31
- "react-ace": "^14.0.1"
55
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
32
56
  },
33
57
  "devDependencies": {
34
- "react-ace": "^14.0.1",
35
- "@eslint/js": "^9.21.0",
36
- "@material-ui/core": "^4.12.4",
37
- "@storybook/addon-essentials": "^8.6.6",
38
- "@storybook/blocks": "^8.6.6",
39
- "@storybook/react": "^8.6.6",
40
- "@storybook/react-vite": "^8.6.6",
41
- "@storybook/test": "^8.6.6",
42
- "@types/react": "^16.9.0",
43
- "@types/react-dom": "^16.9.0",
44
- "@vitejs/plugin-react-swc": "^3.8.0",
58
+ "@dnd-kit/core": "^6.3.1",
59
+ "@dnd-kit/sortable": "^10.0.0",
60
+ "@emotion/react": "^11.14.0",
61
+ "@emotion/styled": "^11.14.0",
62
+ "@eslint/compat": "^1.2.5",
63
+ "@eslint/eslintrc": "^3.2.0",
64
+ "@eslint/js": "^9.17.0",
65
+ "@mui/icons-material": "^6.4.11",
66
+ "@mui/material": "^6.4.3",
67
+ "@storybook/addon-essentials": "^8.4.7",
68
+ "@storybook/blocks": "^8.4.7",
69
+ "@storybook/react": "^8.4.7",
70
+ "@storybook/react-vite": "^8.4.7",
71
+ "@storybook/test": "^8.4.7",
72
+ "@types/node": "18.19",
73
+ "@types/react": "^18.3.18",
74
+ "@types/react-dom": "^18.3.5",
75
+ "@typescript-eslint/eslint-plugin": "^8.20.0",
76
+ "@typescript-eslint/parser": "^8.20.0",
77
+ "@vitejs/plugin-react-swc": "^3.5.0",
45
78
  "@vitest/browser": "^3.0.8",
46
79
  "@vitest/coverage-v8": "^3.0.8",
47
- "eslint": "^9.21.0",
48
- "eslint-plugin-react-hooks": "^5.1.0",
49
- "eslint-plugin-react-refresh": "^0.4.19",
50
- "eslint-plugin-storybook": "^0.11.4",
51
- "globals": "^15.15.0",
80
+ "eslint": "^9.17.0",
81
+ "eslint-plugin-import": "^2.31.0",
82
+ "eslint-plugin-jsx-a11y": "^6.10.2",
83
+ "eslint-plugin-react": "^7.37.4",
84
+ "eslint-plugin-react-hooks": "^5.0.0",
85
+ "eslint-plugin-react-refresh": "^0.4.16",
86
+ "eslint-plugin-storybook": "^0.11.2",
87
+ "globals": "^15.14.0",
52
88
  "playwright": "^1.51.0",
53
- "react": "^17.0.0",
54
- "react-dom": "^17.0.0",
55
- "storybook": "^8.6.6",
56
- "tsup": "^8.4.0",
57
- "typescript": "~5.7.2",
58
- "typescript-eslint": "^8.24.1",
59
- "vite": "^6.2.0",
89
+ "react": "^18.3.1",
90
+ "react-ace": "^14.0.1",
91
+ "react-dom": "^18.3.1",
92
+ "storybook": "^8.4.7",
93
+ "tsup": "^8.3.5",
94
+ "typescript": "~5.6.2",
95
+ "typescript-eslint": "^8.18.2",
96
+ "vite": "^6.0.5",
60
97
  "vitest": "^3.0.8"
61
98
  },
62
99
  "eslintConfig": {