milk-lib 0.0.55 → 0.0.57

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.
@@ -22,6 +22,14 @@
22
22
  --focus-color: var(--line-base-emp);
23
23
  }
24
24
 
25
+ .Button.Button-base-text[data-variant="milk"] {
26
+ --background-color: #fff;
27
+ --hover-background: var(--bg-base-200);
28
+ --active-background: var(--bg-base-300);
29
+ --color: var(--text-base-main);
30
+ --focus-color: var(--line-base-emp);
31
+ }
32
+
25
33
  .Button.Button-danger-contained[data-variant="milk"] {
26
34
  --background-color: var(--bg-danger-100);
27
35
  --hover-background: var(--bg-danger-200);
@@ -28,6 +28,7 @@
28
28
  : variant === "base-contained" ? "Button-base-contained"
29
29
  : variant === "base-outlined" ? "Button-base-outlined"
30
30
  : variant === "base-emphasis" ? "Button-base-emphasis"
31
+ : variant === "base-text" ? "Button-base-text"
31
32
  : variant === "danger-contained" ? "Button-danger-contained"
32
33
  : variant === "danger-outlined" ? "Button-danger-outlined"
33
34
  : variant === "danger-emphasis" ? "Button-danger-emphasis" : ""
@@ -1,6 +1,6 @@
1
1
  import type { IButtonProps } from '../Button/Button.types';
2
2
  export type ButtonMilkSizes = 'sm' | 'md' | 'lg';
3
- export type ButtonMilkVariants = 'primary-emphasis' | 'primary-outlined' | 'primary-contained' | 'base-contained' | 'base-outlined' | 'base-emphasis' | 'danger-contained' | 'danger-outlined' | 'danger-emphasis';
3
+ export type ButtonMilkVariants = 'primary-emphasis' | 'primary-outlined' | 'primary-contained' | 'base-contained' | 'base-outlined' | 'base-emphasis' | 'base-text' | 'danger-contained' | 'danger-outlined' | 'danger-emphasis';
4
4
  export interface IButtonMilkProps extends IButtonProps {
5
5
  size?: ButtonMilkSizes;
6
6
  variant?: ButtonMilkVariants;
@@ -135,9 +135,9 @@
135
135
  overflow: hidden;
136
136
  --sheet-border-size: 1px;
137
137
  }
138
- @media (max-width: 400px) {
138
+ @media (max-width: 480px) {
139
139
  .Sheet {
140
- width: 100%;
140
+ width: 100% !important;
141
141
  }
142
142
  }
143
143
  .Sheet.Sheet-right {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "milk-lib",
3
3
  "license": "MIT",
4
- "version": "0.0.55",
4
+ "version": "0.0.57",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && npm run prepack",