property-practice-ui 0.1.3 → 0.1.4

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/dist/types.cjs CHANGED
@@ -1,33 +1,8 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/types/index.ts
21
- var types_exports = {};
22
- __export(types_exports, {
23
- orderTypes: () => orderTypes
24
- });
25
- module.exports = __toCommonJS(types_exports);
1
+ 'use strict';
26
2
 
27
3
  // src/types/orderType.ts
28
4
  var orderTypes = ["asc", "desc"];
29
- // Annotate the CommonJS export names for ESM import in node:
30
- 0 && (module.exports = {
31
- orderTypes
32
- });
5
+
6
+ exports.orderTypes = orderTypes;
7
+ //# sourceMappingURL=types.cjs.map
33
8
  //# sourceMappingURL=types.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/types/index.ts","../src/types/orderType.ts"],"sourcesContent":["export * from './inputAttributes';\nexport * from './menuItem';\nexport * from './orderType';\nexport * from './tableListItem';\nexport * from './toast';\n\n","export const orderTypes = ['asc', 'desc'] as const;\nexport type OrderType = (typeof orderTypes)[number];\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,aAAa,CAAC,OAAO,MAAM;","names":[]}
1
+ {"version":3,"sources":["../src/types/orderType.ts"],"names":[],"mappings":";;;AAAO,IAAM,UAAA,GAAa,CAAC,KAAA,EAAO,MAAM","file":"types.cjs","sourcesContent":["export const orderTypes = ['asc', 'desc'] as const;\nexport type OrderType = (typeof orderTypes)[number];\n"]}
package/dist/types.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // src/types/orderType.ts
2
2
  var orderTypes = ["asc", "desc"];
3
- export {
4
- orderTypes
5
- };
3
+
4
+ export { orderTypes };
5
+ //# sourceMappingURL=types.js.map
6
6
  //# sourceMappingURL=types.js.map
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/types/orderType.ts"],"sourcesContent":["export const orderTypes = ['asc', 'desc'] as const;\nexport type OrderType = (typeof orderTypes)[number];\n"],"mappings":";AAAO,IAAM,aAAa,CAAC,OAAO,MAAM;","names":[]}
1
+ {"version":3,"sources":["../src/types/orderType.ts"],"names":[],"mappings":";AAAO,IAAM,UAAA,GAAa,CAAC,KAAA,EAAO,MAAM","file":"types.js","sourcesContent":["export const orderTypes = ['asc', 'desc'] as const;\nexport type OrderType = (typeof orderTypes)[number];\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "property-practice-ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "type": "module",
package/tsup.config.ts CHANGED
@@ -12,7 +12,7 @@ export default defineConfig({
12
12
  dts: true,
13
13
  format: ['esm', 'cjs'],
14
14
  external: ['react', 'react-dom', 'react/jsx-runtime', 'next'],
15
- // treeshake: true,
15
+ treeshake: true,
16
16
  esbuildOptions(options) {
17
17
  options.jsx = 'automatic';
18
18
  },