@mirohq/design-system-types 0.2.0 → 0.4.0-checkbox.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @mirohq-internal/design-system-types
2
2
 
3
+ ## 0.4.0-checkbox.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#122](https://github.com/miroapp-dev/design-system/pull/122) [`6add152d`](https://github.com/miroapp-dev/design-system/commit/6add152d7e1df73c3d35f3dad051baff71acb976) Thanks [@skarensmoll](https://github.com/skarensmoll)! - Added Booleanish type
8
+
9
+ ## 0.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - d218f7f3: Added Numeric type
14
+
15
+ ```ts
16
+ const a: Numeric = 1 // ok
17
+ const b: Numeric = '1' // ok
18
+ const c: Numeric = '1px' // fail
19
+ ```
20
+
3
21
  ## 0.2.0
4
22
 
5
23
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-types",
3
- "version": "0.2.0",
3
+ "version": "0.4.0-checkbox.0",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "types": "src/index.d.ts",
package/src/global.d.ts CHANGED
@@ -1 +1,5 @@
1
1
  export type Nullable<T> = T | null | undefined
2
+
3
+ export type Numeric = number | `${number}`
4
+
5
+ export type Booleanish = boolean | `${boolean}`