@marianmeres/stuic 2.0.7 → 2.1.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.
@@ -1,7 +1,7 @@
1
1
  export declare const acpDefaultIcons: {
2
- info: () => any;
3
- success: () => any;
4
- warn: () => any;
5
- error: () => any;
6
- spinner: () => any;
2
+ info: () => string;
3
+ success: () => string;
4
+ warn: () => string;
5
+ error: () => string;
6
+ spinner: () => string;
7
7
  };
@@ -1,5 +1,3 @@
1
- @import "../../_shared.css";
2
-
3
1
  /* prettier-ignore */
4
2
  @theme inline {
5
3
  --color-button-bg: var(--color-button-bg, var(--color-neutral-200));
@@ -1,6 +1,3 @@
1
- @import "../../_shared.css";
2
- @plugin '@tailwindcss/forms';
3
-
4
1
  /* prettier-ignore */
5
2
  @theme inline {
6
3
  --color-button-group-bg: var(--color-button-group-bg, var(--color-white));
@@ -1,5 +1,3 @@
1
- @import "../../_shared.css";
2
-
3
1
  /* prettier-ignore */
4
2
  @theme inline {
5
3
  --color-dismiss-bg: var(--color-dismiss-bg, var(--color-neutral-200));
@@ -1,6 +1,3 @@
1
- @import "../../_shared.css";
2
- @plugin '@tailwindcss/forms';
3
-
4
1
  /* prettier-ignore */
5
2
  @theme inline {
6
3
  --color-input-accent: var(--color-input-accent, var(--color-red-600));
@@ -1,5 +1,3 @@
1
- /* @import "../../_shared.css"; */
2
-
3
1
  /*
4
2
  When defining theme variables that reference other variables, use the inline option.
5
3
 
@@ -1,5 +1,3 @@
1
- @import "../../_shared.css";
2
-
3
1
  /* prettier-ignore */
4
2
  @theme inline {
5
3
  --color-progress-bg: var(--color-progress-bg, var(--color-neutral-200));
@@ -1,5 +1,3 @@
1
- @import "../../_shared.css";
2
-
3
1
  /* prettier-ignore */
4
2
  @theme inline {
5
3
  --color-switch-accent: var(--color-switch-accent, var(--color-red-600));
@@ -1,5 +1,3 @@
1
- @import "../../_shared.css";
2
-
3
1
  @theme inline {
4
2
  --color-twcheck-bg: var(--color-twcheck-bg, var(--color-red-600));
5
3
  }
package/dist/index.css CHANGED
@@ -1,16 +1,21 @@
1
- @import "./_shared.css";
1
+ @import "tailwindcss";
2
+ @plugin '@tailwindcss/forms';
2
3
 
3
- @source "./";
4
+ @custom-variant dark (&:where(.dark, .dark *));
4
5
 
5
- @import "./actions/tooltip/index.css";
6
- @import "./components/Button/index.css";
7
- @import "./components/ButtonGroupRadio/index.css";
8
- @import "./components/DismissibleMessage/index.css";
9
- @import "./components/Input/index.css";
10
- @import "./components/Notifications/index.css" layer(utilities);
11
- @import "./components/Progress/index.css";
12
- @import "./components/Switch/index.css";
13
- @import "./components/TwCheck/index.css";
6
+ /* @source "./"; */
7
+
8
+ @layer components {
9
+ @import "./actions/tooltip/index.css";
10
+ @import "./components/Button/index.css";
11
+ @import "./components/ButtonGroupRadio/index.css";
12
+ @import "./components/DismissibleMessage/index.css";
13
+ @import "./components/Input/index.css";
14
+ @import "./components/Notifications/index.css";
15
+ @import "./components/Progress/index.css";
16
+ @import "./components/Switch/index.css";
17
+ @import "./components/TwCheck/index.css";
18
+ }
14
19
 
15
20
  @layer base {
16
21
  button:not(:disabled),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "2.0.7",
3
+ "version": "2.1.1",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
package/dist/_shared.css DELETED
@@ -1,2 +0,0 @@
1
- @import "tailwindcss";
2
- @custom-variant dark (&:where(.dark, .dark *));