bianic-ui 2.8.0 → 2.9.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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  interface CheckboxSimulationProps {
3
- size?: 'md' | 'sm';
3
+ size?: 'md' | 'sm' | 'tn';
4
4
  }
5
5
  declare function CheckboxSimulation({ size }: CheckboxSimulationProps): React.JSX.Element;
6
6
  declare namespace CheckboxSimulation {
@@ -7,5 +7,9 @@ declare const sizeConfig: {
7
7
  checkClass: string;
8
8
  labelClass: string;
9
9
  };
10
+ tn: {
11
+ checkClass: string;
12
+ labelClass: string;
13
+ };
10
14
  };
11
15
  export default sizeConfig;
@@ -2,7 +2,7 @@ import React, { ComponentPropsWithoutRef } from 'react';
2
2
  interface CheckboxProps extends Omit<ComponentPropsWithoutRef<'input'>, 'size'> {
3
3
  disabled?: boolean;
4
4
  id?: string;
5
- size?: 'md' | 'sm';
5
+ size?: 'md' | 'sm' | 'tn';
6
6
  label?: string;
7
7
  onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
8
8
  value?: string | number | readonly string[] | undefined;
package/dist/index.d.ts CHANGED
@@ -305,7 +305,7 @@ declare namespace TextArea {
305
305
  interface CheckboxProps$1 extends Omit<ComponentPropsWithoutRef<'input'>, 'size'> {
306
306
  disabled?: boolean;
307
307
  id?: string;
308
- size?: 'md' | 'sm';
308
+ size?: 'md' | 'sm' | 'tn';
309
309
  label?: string;
310
310
  onChange?: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
311
311
  value?: string | number | readonly string[] | undefined;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "@biaenergi:registry": "https://gitlab.com/api/v4/projects/50905269/packages/npm/"
5
5
  },
6
- "version": "2.8.0",
6
+ "version": "2.9.0",
7
7
  "description": "Design Language System develop by BIAENERGI",
8
8
  "repository": {
9
9
  "type": "git",
@@ -14,6 +14,7 @@
14
14
  "storybook": "storybook dev -p 6006",
15
15
  "build-storybook": "storybook build",
16
16
  "publish-storybook": "npx chromatic --project-token=chpt_2ced61576f9e1e6",
17
+ "chromatic": "echo 'Chromatic not configured'",
17
18
  "lint": "npx eslint src/components",
18
19
  "lint:fix": "npx eslint src/components --fix",
19
20
  "prepare": "husky install",