@noya-app/noya-designsystem 0.1.95 → 0.1.96

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.
@@ -11,14 +11,14 @@ $ tsup
11
11
  CJS dist/index.js 1.44 MB
12
12
  CJS dist/emojis.js.map 194.00 B
13
13
  CJS dist/index.js.map 2.81 MB
14
- CJS ⚡️ Build success in 7440ms
14
+ CJS ⚡️ Build success in 8808ms
15
15
  ESM dist/emojis.mjs 300.00 B
16
16
  ESM dist/chunk-L6E2LZOL.mjs 2.02 KB
17
17
  ESM dist/index.mjs 1.40 MB
18
18
  ESM dist/emojis.mjs.map 157.00 B
19
19
  ESM dist/chunk-L6E2LZOL.mjs.map 71.00 B
20
20
  ESM dist/index.mjs.map 2.81 MB
21
- ESM ⚡️ Build success in 7948ms
21
+ ESM ⚡️ Build success in 9400ms
22
22
  Browserslist: caniuse-lite is outdated. Please run:
23
23
  npx update-browserslist-db@latest
24
24
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
@@ -28,9 +28,9 @@ Browserslist: browsers data (caniuse-lite) is 16 months old. Please run:
28
28
 
29
29
  Rebuilding...
30
30
 
31
- Done in 15734ms.
31
+ Done in 13161ms.
32
32
 
33
- DTS ⚡️ Build success in 83968ms
33
+ DTS ⚡️ Build success in 72908ms
34
34
  DTS dist/emojis.d.ts 43.00 B
35
35
  DTS dist/index.d.ts 131.91 KB
36
36
  DTS dist/emojis.d.mts 43.00 B
@@ -0,0 +1 @@
1
+ $ tsc --noEmit
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @noya-app/noya-designsystem
2
2
 
3
+ ## 0.1.96
4
+
5
+ ### Patch Changes
6
+
7
+ - 6fabd38: Update packages
8
+
3
9
  ## 0.1.95
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noya-app/noya-designsystem",
3
- "version": "0.1.95",
3
+ "version": "0.1.96",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -22,7 +22,8 @@
22
22
  "build:css": "tailwindcss -i ./src/index.css -o ./dist/index.css --postcss",
23
23
  "build": "tsup",
24
24
  "dev": "npm run build -- --watch",
25
- "lint": "eslint . --max-warnings 0"
25
+ "lint": "eslint . --max-warnings 0",
26
+ "typecheck": "tsc --noEmit"
26
27
  },
27
28
  "dependencies": {
28
29
  "@base-ui/react": "1.7.0",
@@ -28,7 +28,8 @@ describe("Card", () => {
28
28
  );
29
29
  const card = getByTestId("card");
30
30
 
31
- expect(card).toBe(ref.current);
31
+ expect(ref.current).not.toBeNull();
32
+ expect(card).toBe(ref.current!);
32
33
  expect(card.textContent).toBe("Content");
33
34
  expect(card.className).toContain("n-border");
34
35
  expect(card.className).toContain("n-p-4");
@@ -22,6 +22,8 @@ describe("InputField", () => {
22
22
  inputRef.current = element;
23
23
  input = element;
24
24
  }}
25
+ value=""
26
+ onChange={() => {}}
25
27
  width={240}
26
28
  renderPopoverContent={() => <button>Result</button>}
27
29
  />
@@ -181,7 +183,7 @@ describe("InputField", () => {
181
183
  const changes: Array<{ value: number; isEmpty: boolean }> = [];
182
184
 
183
185
  function OptionalNumberInput() {
184
- const [value, setValue] = useState<number>(42);
186
+ const [value, setValue] = useState<number | undefined>(42);
185
187
 
186
188
  return (
187
189
  <InputField.Root>
@@ -27,7 +27,7 @@ describe("submittable text input", () => {
27
27
  });
28
28
 
29
29
  test("change and blur, reset", () => {
30
- const handleSubmit = (value: string) => {};
30
+ const handleSubmit = (_value: string) => {};
31
31
 
32
32
  const { container, rerender } = render(
33
33
  <TextInput value="" onSubmit={handleSubmit} />
@@ -90,7 +90,7 @@ describe("submittable text input", () => {
90
90
  });
91
91
 
92
92
  test("change and submit, reset", () => {
93
- const handleSubmit = (value: string) => {};
93
+ const handleSubmit = (_value: string) => {};
94
94
 
95
95
  const { container, rerender } = render(
96
96
  <TextInput value="" onSubmit={handleSubmit} />