antd-solid 0.0.30 → 0.0.32

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.
@@ -2,7 +2,7 @@ import { createComponent, mergeProps, insert, template } from 'solid-js/web';
2
2
  import { createSignal } from 'solid-js';
3
3
  import Modal from './index.js';
4
4
 
5
- var _tmpl$ = /*#__PURE__*/template(`<div class="flex items-center gap-12px"><span class="i-ant-design:exclamation-circle text-22px text-[var(--ant-color-warning)]">`),
5
+ var _tmpl$ = /*#__PURE__*/template(`<div class="flex items-center gap-12px"><span class="i-ant-design:exclamation-circle text-22px text-[var(--ant-color-warning)] shrink-0">`),
6
6
  _tmpl$2 = /*#__PURE__*/template(`<div class=ml-34px>`);
7
7
  function useModal() {
8
8
  const [open, setOpen] = createSignal(false);
@@ -1,5 +1,5 @@
1
1
  import { type ModalProps } from '.';
2
- export interface MethodProps extends Pick<ModalProps, 'title' | 'children' | 'onOk' | 'onCancel'> {
2
+ export interface MethodProps extends Pick<ModalProps, 'title' | 'children' | 'onOk' | 'onCancel' | 'okButtonProps' | 'cancelButtonProps'> {
3
3
  }
4
4
  declare function warning(props: MethodProps): void;
5
5
  export default warning;
@@ -1,7 +1,7 @@
1
1
  import { render, createComponent, mergeProps, insert, template } from 'solid-js/web';
2
2
  import Modal from './index.js';
3
3
 
4
- var _tmpl$ = /*#__PURE__*/template(`<div class="flex items-center gap-12px"><span class="i-ant-design:exclamation-circle text-22px text-[var(--ant-color-warning)]">`),
4
+ var _tmpl$ = /*#__PURE__*/template(`<div class="flex items-center gap-12px"><span class="i-ant-design:exclamation-circle text-22px text-[var(--ant-color-warning)] shrink-0">`),
5
5
  _tmpl$2 = /*#__PURE__*/template(`<div class=ml-34px>`);
6
6
  function warning(props) {
7
7
  const div = document.createElement('div');
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "antd-solid",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "",
5
5
  "main": "dist/index.esm.js",
6
- "module": "src/index.ts",
7
- "types": "src/index.ts",
6
+ "module": "es/index.js",
7
+ "types": "es/index.d.ts",
8
8
  "type": "module",
9
9
  "scripts": {
10
10
  "docs:dev": "vitepress dev docs",