svelte-ant-design 0.9.0 → 0.9.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 +1 -1
- package/dist/Message/MessageIcon.svelte +5 -1
- package/dist/Message/MessageItem.svelte +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/tokens.css +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ Ant Design.
|
|
|
18
18
|
|
|
19
19
|
## Status
|
|
20
20
|
|
|
21
|
-
Version `0.9.
|
|
21
|
+
Version `0.9.1`. Available components: `Button`, `Checkbox` (with `CheckboxGroup`), `Grid` (`Row`, `Col` and `Breakpoints`), `Input` (with `InputTextArea`, `InputPassword`, `InputSearch` and `InputOTP`), `Radio` (with `RadioButton` and `RadioGroup`), `Select` (with `SelectOption` and `SelectOptGroup`), `Switch`, `Tooltip`, `Message` (the `message` calls and `MessageHost`). More components are planned.
|
|
22
22
|
|
|
23
23
|
## Browser support
|
|
24
24
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<circle class="track" cx="8" cy="8" r="6" />
|
|
18
18
|
<path class="arc" d="M8 2a6 6 0 0 1 6 6" />
|
|
19
19
|
{:else if name === 'close'}
|
|
20
|
-
<path d="
|
|
20
|
+
<path d="M3.8 3.8l8.4 8.4M12.2 3.8l-8.4 8.4" />
|
|
21
21
|
{:else}
|
|
22
22
|
<mask id="{uid}-cut" maskUnits="userSpaceOnUse" x="0" y="0" width="16" height="16">
|
|
23
23
|
<rect width="16" height="16" fill="#fff" stroke="none" />
|
|
@@ -48,6 +48,10 @@
|
|
|
48
48
|
stroke-linejoin: round;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
.ads-message-svg-close {
|
|
52
|
+
stroke-width: 1.8;
|
|
53
|
+
}
|
|
54
|
+
|
|
51
55
|
.ads-message-svg-loading {
|
|
52
56
|
animation: ads-message-spin var(--ads-motion-duration-spinner) linear infinite;
|
|
53
57
|
}
|
|
@@ -283,8 +283,8 @@
|
|
|
283
283
|
border: 0;
|
|
284
284
|
border-radius: var(--ads-radius-sm);
|
|
285
285
|
color: var(--ads-message-close-color);
|
|
286
|
-
background:
|
|
287
|
-
font-size:
|
|
286
|
+
background: var(--ads-message-close-bg);
|
|
287
|
+
font-size: var(--ads-message-icon-size);
|
|
288
288
|
cursor: pointer;
|
|
289
289
|
transition:
|
|
290
290
|
color var(--ads-motion-duration) var(--ads-motion-ease),
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "0.9.
|
|
1
|
+
export declare const VERSION = "0.9.1";
|
|
2
2
|
export { default as Button } from './Button/Button.svelte';
|
|
3
3
|
export { default as Switch } from './Switch/Switch.svelte';
|
|
4
4
|
export { default as Checkbox } from './Checkbox/Checkbox.svelte';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Public API of the library. Components are re-exported from here.
|
|
2
|
-
export const VERSION = '0.9.
|
|
2
|
+
export const VERSION = '0.9.1';
|
|
3
3
|
export { default as Button } from './Button/Button.svelte';
|
|
4
4
|
export { default as Switch } from './Switch/Switch.svelte';
|
|
5
5
|
export { default as Checkbox } from './Checkbox/Checkbox.svelte';
|
package/dist/tokens.css
CHANGED
|
@@ -375,7 +375,8 @@
|
|
|
375
375
|
--ads-message-close-size: 24px;
|
|
376
376
|
--ads-message-close-color: rgba(0, 0, 0, 0.65);
|
|
377
377
|
--ads-message-close-color-hover: rgba(0, 0, 0, 0.88);
|
|
378
|
-
--ads-message-close-bg
|
|
378
|
+
--ads-message-close-bg: rgba(0, 0, 0, 0.04);
|
|
379
|
+
--ads-message-close-bg-hover: rgba(0, 0, 0, 0.1);
|
|
379
380
|
--ads-message-motion-offset: 64px;
|
|
380
381
|
--ads-message-stack-offset: 8px;
|
|
381
382
|
--ads-message-stack-scale-step: 0.06;
|
|
@@ -549,5 +550,6 @@
|
|
|
549
550
|
--ads-message-icon-warning: #d89614;
|
|
550
551
|
--ads-message-close-color: rgba(255, 255, 255, 0.65);
|
|
551
552
|
--ads-message-close-color-hover: rgba(255, 255, 255, 0.88);
|
|
552
|
-
--ads-message-close-bg
|
|
553
|
+
--ads-message-close-bg: rgba(255, 255, 255, 0.08);
|
|
554
|
+
--ads-message-close-bg-hover: rgba(255, 255, 255, 0.18);
|
|
553
555
|
}
|