@idds/react 1.6.20 → 1.6.22

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.
@@ -13,6 +13,8 @@ export interface ModalProps {
13
13
  paddingBody?: string;
14
14
  /** ARIA label for the close button */
15
15
  closeLabel?: string;
16
+ /** Hide the header (title and close button) */
17
+ hideHeader?: boolean;
16
18
  }
17
- export default function Modal({ open, onClose, title, children, closeOnBackdrop, container, dialogClassname, size, paddingBody, closeLabel, }: ModalProps): import('react').ReactPortal | null;
19
+ export default function Modal({ open, onClose, title, children, closeOnBackdrop, container, dialogClassname, size, paddingBody, closeLabel, hideHeader, }: ModalProps): import('react').ReactPortal | null;
18
20
  //# sourceMappingURL=Modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAG/D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iEAAiE;IACjE,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,EAAE,CAAC;IAC/C,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,eAAsB,EACtB,SAAS,EACT,eAAe,EACf,IAAS,EACT,WAAyB,EACzB,UAA2B,GAC5B,EAAE,UAAU,sCAsMZ"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAG/D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iEAAiE;IACjE,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,EAAE,CAAC;IAC/C,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,eAAsB,EACtB,SAAS,EACT,eAAe,EACf,IAAS,EACT,WAAyB,EACzB,UAA2B,EAC3B,UAAkB,GACnB,EAAE,UAAU,sCAwMZ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idds/react",
3
- "version": "1.6.20",
3
+ "version": "1.6.22",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -11,7 +11,8 @@
11
11
  "types": "dist/types/index.d.ts",
12
12
  "files": [
13
13
  "dist",
14
- "src/tailwind/css"
14
+ "src/tailwind/css",
15
+ "AGENT.md"
15
16
  ],
16
17
  "scripts": {
17
18
  "dev": "vite",
@@ -19,7 +20,8 @@
19
20
  "preview": "vite preview",
20
21
  "build": "vite build",
21
22
  "build:watch": "vite build --watch",
22
- "dev:link": "npm run build:watch"
23
+ "dev:link": "npm run build:watch",
24
+ "release": "npm i @idds/styles@latest && npm run build && npm version patch && npm publish"
23
25
  },
24
26
  "peerDependencies": {
25
27
  "react": ">=18.0.0",
@@ -51,7 +53,7 @@
51
53
  "./*": "./dist/*"
52
54
  },
53
55
  "dependencies": {
54
- "@idds/styles": "^1.6.20",
56
+ "@idds/styles": "^1.6.22",
55
57
  "clsx": "^2.1.1",
56
58
  "react-hook-form": "^7.60.0"
57
59
  },