@manafishrov/ui 1.2.0 → 1.2.1

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/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # @manafishrov/ui
2
+
3
+ A very opinionated component library for Manafish interfaces.
4
+
5
+ ## Dependencies
6
+
7
+ The consumer project requires these peer dependencies:
8
+
9
+ - `solid-js`
10
+ - `tailwindcss`
11
+ - `@tanstack/solid-router`
12
+ - `@tanstack/solid-form`
13
+ - `unplugin-icons`
14
+ - `@iconify-json/material-symbols`
15
+
16
+ ## Usage
17
+
18
+ ### 1. Import the theme in your CSS
19
+
20
+ ```css
21
+ @import 'tailwindcss';
22
+ @import '@manafishrov/ui/theme';
23
+ ```
24
+
25
+ ### 2. Wrap your app with providers
26
+
27
+ ```tsx
28
+ import { LocaleProvider, ThemeProvider } from '@manafishrov/ui';
29
+
30
+ function App() {
31
+ return (
32
+ <ThemeProvider>
33
+ <LocaleProvider locale='en'>{/* your app */}</LocaleProvider>
34
+ </ThemeProvider>
35
+ );
36
+ }
37
+ ```
38
+
39
+ ## License
40
+
41
+ AGPL-3.0-or-later
@@ -1,10 +1,10 @@
1
1
  import { template as e, spread as r } from "solid-js/web";
2
- var m = /* @__PURE__ */ e('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M12 14q-.425 0-.712-.288T11 13t.288-.712T12 12t.713.288T13 13t-.288.713T12 14m-4 0q-.425 0-.712-.288T7 13t.288-.712T8 12t.713.288T9 13t-.288.713T8 14m8 0q-.425 0-.712-.288T15 13t.288-.712T16 12t.713.288T17 13t-.288.713T16 14m-4 4q-.425 0-.712-.288T11 17t.288-.712T12 16t.713.288T13 17t-.288.713T12 18m-4 0q-.425 0-.712-.288T7 17t.288-.712T8 16t.713.288T9 17t-.288.713T8 18m8 0q-.425 0-.712-.288T15 17t.288-.712T16 16t.713.288T17 17t-.288.713T16 18M5 22q-.825 0-1.412-.587T3 20V6q0-.825.588-1.412T5 4h1V2h2v2h8V2h2v2h1q.825 0 1.413.588T21 6v14q0 .825-.587 1.413T19 22zm0-2h14V10H5z">');
3
- const q = (T = {}) => (() => {
4
- var t = m();
2
+ var h = /* @__PURE__ */ e('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M12 14q-.425 0-.712-.288T11 13t.288-.712T12 12t.713.288T13 13t-.288.713T12 14m-4.712-.288Q7 13.426 7 13t.288-.712T8 12t.713.288T9 13t-.288.713T8 14t-.712-.288M16 14q-.425 0-.712-.288T15 13t.288-.712T16 12t.713.288T17 13t-.288.713T16 14m-4 4q-.425 0-.712-.288T11 17t.288-.712T12 16t.713.288T13 17t-.288.713T12 18m-4.712-.288Q7 17.426 7 17t.288-.712T8 16t.713.288T9 17t-.288.713T8 18t-.712-.288M16 18q-.425 0-.712-.288T15 17t.288-.712T16 16t.713.288T17 17t-.288.713T16 18M5 22q-.825 0-1.412-.587T3 20V6q0-.825.588-1.412T5 4h1V2h2v2h8V2h2v2h1q.825 0 1.413.588T21 6v14q0 .825-.587 1.413T19 22zm0-2h14V10H5z">');
3
+ const a = (T = {}) => (() => {
4
+ var t = h();
5
5
  return r(t, T, !0, !0), t;
6
6
  })();
7
7
  export {
8
- q as default
8
+ a as default
9
9
  };
10
10
  //# sourceMappingURL=calendar-month.js.map
@@ -1,10 +1,10 @@
1
1
  import { template as e, spread as T } from "solid-js/web";
2
- var o = /* @__PURE__ */ e('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M12 17q.425 0 .713-.288T13 16t-.288-.712T12 15t-.712.288T11 16t.288.713T12 17m-1-4h2V7h-2zm1 9q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22">');
3
- const a = (r = {}) => (() => {
2
+ var o = /* @__PURE__ */ e('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M12.713 16.713Q13 16.425 13 16t-.288-.712T12 15t-.712.288T11 16t.288.713T12 17t.713-.288M11 13h2V7h-2zm1 9q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22">');
3
+ const l = (r = {}) => (() => {
4
4
  var t = o();
5
5
  return T(t, r, !0, !0), t;
6
6
  })();
7
7
  export {
8
- a as default
8
+ l as default
9
9
  };
10
10
  //# sourceMappingURL=error.js.map
@@ -1,10 +1,10 @@
1
1
  import { template as r, spread as T } from "solid-js/web";
2
- var o = /* @__PURE__ */ r('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M11 17h2v-6h-2zm1-8q.425 0 .713-.288T13 8t-.288-.712T12 7t-.712.288T11 8t.288.713T12 9m0 13q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22">');
3
- const a = (e = {}) => (() => {
2
+ var o = /* @__PURE__ */ r('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M11 17h2v-6h-2zm1.713-8.287Q13 8.425 13 8t-.288-.712T12 7t-.712.288T11 8t.288.713T12 9t.713-.288M12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22">');
3
+ const l = (e = {}) => (() => {
4
4
  var t = o();
5
5
  return T(t, e, !0, !0), t;
6
6
  })();
7
7
  export {
8
- a as default
8
+ l as default
9
9
  };
10
10
  //# sourceMappingURL=info.js.map
@@ -1,8 +1,8 @@
1
- import { template as r, spread as T } from "solid-js/web";
2
- var o = /* @__PURE__ */ r('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M12 22q-2.05 0-3.875-.788t-3.187-2.15t-2.15-3.187T2 12q0-2.075.788-3.887t2.15-3.175t3.187-2.15T12 2q.425 0 .713.288T13 3t-.288.713T12 4Q8.675 4 6.337 6.338T4 12t2.338 5.663T12 20t5.663-2.337T20 12q0-.425.288-.712T21 11t.713.288T22 12q0 2.05-.788 3.875t-2.15 3.188t-3.175 2.15T12 22">');
1
+ import { template as r, spread as o } from "solid-js/web";
2
+ var T = /* @__PURE__ */ r('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M8.125 21.213q-1.825-.788-3.187-2.15t-2.15-3.188T2 11.988t.788-3.875t2.15-3.175t3.187-2.15T12 2q.425 0 .713.288T13 3t-.288.713T12 4Q8.675 4 6.337 6.338T4 12t2.338 5.663T12 20t5.663-2.337T20 12q0-.425.288-.712T21 11t.713.288T22 12q0 2.05-.788 3.875t-2.15 3.188t-3.175 2.15t-3.875.787t-3.887-.787">');
3
3
  const i = (e = {}) => (() => {
4
- var t = o();
5
- return T(t, e, !0, !0), t;
4
+ var t = T();
5
+ return o(t, e, !0, !0), t;
6
6
  })();
7
7
  export {
8
8
  i as default
@@ -1,8 +1,8 @@
1
- import { template as r, spread as T } from "solid-js/web";
2
- var i = /* @__PURE__ */ r('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M12 16q1.875 0 3.188-1.312T16.5 11.5t-1.312-3.187T12 7T8.813 8.313T7.5 11.5t1.313 3.188T12 16m0-1.8q-1.125 0-1.912-.788T9.3 11.5t.788-1.912T12 8.8t1.913.788t.787 1.912t-.787 1.913T12 14.2m0 4.8q-3.65 0-6.65-2.037T1 11.5q1.35-3.425 4.35-5.462T12 4t6.65 2.038T23 11.5q-1.35 3.425-4.35 5.463T12 19">');
1
+ import { template as r, spread as i } from "solid-js/web";
2
+ var T = /* @__PURE__ */ r('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M15.188 14.688Q16.5 13.375 16.5 11.5t-1.312-3.187T12 7T8.813 8.313T7.5 11.5t1.313 3.188T12 16t3.188-1.312m-5.1-1.276Q9.3 12.625 9.3 11.5t.788-1.912T12 8.8t1.913.788t.787 1.912t-.787 1.913T12 14.2t-1.912-.787m-4.738 3.55Q2.35 14.925 1 11.5q1.35-3.425 4.35-5.462T12 4t6.65 2.038T23 11.5q-1.35 3.425-4.35 5.463T12 19t-6.65-2.037">');
3
3
  const m = (e = {}) => (() => {
4
- var t = i();
5
- return T(t, e, !0, !0), t;
4
+ var t = T();
5
+ return i(t, e, !0, !0), t;
6
6
  })();
7
7
  export {
8
8
  m as default
@@ -1,10 +1,10 @@
1
1
  import { template as r, spread as a } from "solid-js/web";
2
- var l = /* @__PURE__ */ r('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M1 21L12 2l11 19zm11-3q.425 0 .713-.288T13 17t-.288-.712T12 16t-.712.288T11 17t.288.713T12 18m-1-3h2v-5h-2z">');
3
- const o = (e = {}) => (() => {
2
+ var l = /* @__PURE__ */ r('<svg viewBox="0 0 24 24"width=1.2em height=1.2em><path fill=currentColor d="M1 21L12 2l11 19zm11.713-3.287Q13 17.425 13 17t-.288-.712T12 16t-.712.288T11 17t.288.713T12 18t.713-.288M11 15h2v-5h-2z">');
3
+ const m = (e = {}) => (() => {
4
4
  var t = l();
5
5
  return a(t, e, !0, !0), t;
6
6
  })();
7
7
  export {
8
- o as default
8
+ m as default
9
9
  };
10
10
  //# sourceMappingURL=warning.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@manafishrov/ui",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "description": "Styled component library for Manafish interfaces ",
6
6
  "license": "AGPL-3.0-or-later",
7
7
  "repository": {
@@ -247,10 +247,8 @@
247
247
  "tw-animate-css": "1.4.0"
248
248
  },
249
249
  "devDependencies": {
250
- "@semantic-release/changelog": "6.0.3",
251
250
  "@semantic-release/commit-analyzer": "13.0.1",
252
251
  "@semantic-release/exec": "7.1.0",
253
- "@semantic-release/git": "10.0.1",
254
252
  "@semantic-release/github": "12.0.6",
255
253
  "@semantic-release/release-notes-generator": "14.1.0",
256
254
  "semantic-release": "25.0.3",
@@ -271,15 +269,13 @@
271
269
  "plugins": [
272
270
  "@semantic-release/commit-analyzer",
273
271
  "@semantic-release/release-notes-generator",
274
- "@semantic-release/changelog",
275
272
  [
276
273
  "@semantic-release/exec",
277
274
  {
278
- "prepareCmd": "bun -e \"const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json'));p.version='${nextRelease.version}';fs.writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\"",
275
+ "prepareCmd": "bun -e \"const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json'));p.version='${nextRelease.version}';fs.writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\" && cp ../../README.md ./README.md",
279
276
  "publishCmd": "npm publish --access public --provenance"
280
277
  }
281
278
  ],
282
- "@semantic-release/git",
283
279
  "@semantic-release/github"
284
280
  ]
285
281
  }