buildgrid-ui 1.1.0-alpha.3 → 1.1.0-alpha.6
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/.storybook/main.ts +24 -25
- package/CHANGELOG.md +25 -0
- package/dist/buildgrid-ui.es.js +5259 -891
- package/dist/buildgrid-ui.umd.js +91 -11
- package/dist/components/adaptative-input/adaptative-input.d.ts +9 -0
- package/dist/components/adaptative-input/index.d.ts +1 -0
- package/dist/components/autocomplete/autocomplete.d.ts +14 -0
- package/dist/components/autocomplete/index.d.ts +1 -0
- package/dist/components/avatar/avatar.d.ts +6 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/button/{Button.d.ts → button.d.ts} +4 -3
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +4 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +27 -0
- package/dist/components/dropdown-menu/index.d.ts +1 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/input.d.ts +9 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover/popover.d.ts +7 -0
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/index.d.ts +12 -2
- package/package.json +78 -74
- package/src/components/adaptative-input/adaptative-input.stories.tsx +30 -0
- package/src/components/adaptative-input/adaptative-input.tsx +66 -0
- package/src/components/adaptative-input/index.ts +1 -0
- package/src/components/autocomplete/autocomplete.stories.tsx +85 -0
- package/src/components/autocomplete/autocomplete.tsx +136 -0
- package/src/components/autocomplete/index.ts +1 -0
- package/src/components/avatar/avatar.stories.tsx +29 -0
- package/src/components/avatar/avatar.tsx +48 -0
- package/src/components/avatar/index.ts +1 -0
- package/src/components/badge/{Badge.stories.tsx → badge.stories.tsx} +1 -1
- package/src/components/badge/index.ts +1 -1
- package/src/components/button/button.stories.tsx +62 -0
- package/src/components/button/button.tsx +82 -0
- package/src/components/button/index.ts +1 -1
- package/src/components/card/{Card.stories.tsx → card.stories.tsx} +1 -1
- package/src/components/card/index.ts +1 -1
- package/src/components/checkbox/checkbox.stories.tsx +36 -0
- package/src/components/checkbox/checkbox.tsx +28 -0
- package/src/components/checkbox/index.ts +1 -0
- package/src/components/dropdown-menu/dropdown-menu.stories.tsx +90 -0
- package/src/components/dropdown-menu/dropdown-menu.tsx +192 -0
- package/src/components/dropdown-menu/index.ts +1 -0
- package/src/components/index.ts +7 -0
- package/src/components/input/index.ts +1 -0
- package/src/components/input/input.stories.tsx +22 -0
- package/src/components/input/input.tsx +41 -0
- package/src/components/popover/index.ts +1 -0
- package/src/components/popover/popover.stories.tsx +32 -0
- package/src/components/popover/popover.tsx +30 -0
- package/src/components/skeleton/index.ts +1 -1
- package/src/index.ts +12 -2
- package/src/components/button/Button.stories.tsx +0 -40
- package/src/components/button/Button.tsx +0 -57
- /package/dist/components/badge/{Badge.d.ts → badge.d.ts} +0 -0
- /package/dist/components/card/{Card.d.ts → card.d.ts} +0 -0
- /package/dist/components/skeleton/{Skeleton.d.ts → skeleton.d.ts} +0 -0
- /package/src/components/badge/{Badge.tsx → badge.tsx} +0 -0
- /package/src/components/card/{Card.tsx → card.tsx} +0 -0
- /package/src/components/skeleton/{Skeleton.stories.tsx → skeleton.stories.tsx} +0 -0
- /package/src/components/skeleton/{Skeleton.tsx → skeleton.tsx} +0 -0
package/.storybook/main.ts
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import type { StorybookConfig } from
|
|
2
|
-
import { mergeConfig } from
|
|
1
|
+
import type { StorybookConfig } from '@storybook/react-vite'
|
|
2
|
+
import { mergeConfig } from 'vite'
|
|
3
3
|
|
|
4
4
|
const config: StorybookConfig = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export default config;
|
|
5
|
+
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
|
6
|
+
addons: [
|
|
7
|
+
'@storybook/addon-onboarding',
|
|
8
|
+
'@storybook/addon-essentials',
|
|
9
|
+
'@chromatic-com/storybook',
|
|
10
|
+
'@storybook/addon-interactions',
|
|
11
|
+
],
|
|
12
|
+
framework: {
|
|
13
|
+
name: '@storybook/react-vite',
|
|
14
|
+
options: {},
|
|
15
|
+
},
|
|
16
|
+
async viteFinal(config) {
|
|
17
|
+
return mergeConfig(config, {
|
|
18
|
+
css: {
|
|
19
|
+
postcss: {
|
|
20
|
+
plugins: [require('tailwindcss'), require('autoprefixer')],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
})
|
|
24
|
+
},
|
|
25
|
+
}
|
|
26
|
+
export default config
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# [1.1.0-alpha.6](https://github.com/adrianomaringolo/buildgrid-ui/compare/v1.1.0-alpha.5...v1.1.0-alpha.6) (2025-01-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **avatar:** add Avatar component with fallback and image support ([893a16e](https://github.com/adrianomaringolo/buildgrid-ui/commit/893a16e8c45a35f56f91d1a11e1615cb4fa35347))
|
|
7
|
+
* **dropdown-menu:** add DropdownMenu component with stories and functionality ([5006e9d](https://github.com/adrianomaringolo/buildgrid-ui/commit/5006e9dd4c41354cda4f664f2169b6fd77a75e87))
|
|
8
|
+
|
|
9
|
+
# [1.1.0-alpha.5](https://github.com/adrianomaringolo/buildgrid-ui/compare/v1.1.0-alpha.4...v1.1.0-alpha.5) (2025-01-03)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **adaptive-input:** add AdaptiveInput component with masking functionality and stories ([d2d9794](https://github.com/adrianomaringolo/buildgrid-ui/commit/d2d97944b150163d69342ddb68e6e188283f0348))
|
|
15
|
+
* **autocomplete:** add Autocomplete component with stories and functionality ([c35b4ae](https://github.com/adrianomaringolo/buildgrid-ui/commit/c35b4ae634654b1451ab0f3936f1d757ff70e122))
|
|
16
|
+
* **input:** add Input component with stories ([8078ee7](https://github.com/adrianomaringolo/buildgrid-ui/commit/8078ee7c0e9b986007d89096d08065300c36b7c9))
|
|
17
|
+
* **popover:** add Popover component with stories ([32373a1](https://github.com/adrianomaringolo/buildgrid-ui/commit/32373a13c235e0899b9c332f42b48f13c704f82c))
|
|
18
|
+
|
|
19
|
+
# [1.1.0-alpha.4](https://github.com/adrianomaringolo/buildgrid-ui/compare/v1.1.0-alpha.3...v1.1.0-alpha.4) (2025-01-02)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* add Checkbox component and related stories ([7e2d66b](https://github.com/adrianomaringolo/buildgrid-ui/commit/7e2d66b7a19f8ddb5a6a5e5f827f1df552977113))
|
|
25
|
+
|
|
1
26
|
# [1.1.0-alpha.3](https://github.com/adrianomaringolo/buildgrid-ui/compare/v1.1.0-alpha.2...v1.1.0-alpha.3) (2025-01-02)
|
|
2
27
|
|
|
3
28
|
|