@tanishraj/ui-kit 1.0.8 → 1.1.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/dist/globals.css +58 -0
- package/dist/index.cjs.js +0 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +256 -0
- package/dist/index.es.js +0 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +18 -11
- package/readme.md +47 -3
- package/dist/.storybook/StorybookThemeProvider.d.ts +0 -6
- package/dist/.storybook/main.d.ts +0 -3
- package/dist/.storybook/preview.d.ts +0 -3
- package/dist/eslint.config.d.mts +0 -2
- package/dist/setupTests.d.ts +0 -0
- package/dist/src/components/Alert/Alert.d.ts +0 -11
- package/dist/src/components/Alert/Alert.stories.d.ts +0 -10
- package/dist/src/components/Alert/Alert.styles.d.ts +0 -35
- package/dist/src/components/Alert/Alert.test.d.ts +0 -1
- package/dist/src/components/Alert/index.d.ts +0 -2
- package/dist/src/components/Alert/types.d.ts +0 -6
- package/dist/src/components/Avatar/Avatar.d.ts +0 -17
- package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -11
- package/dist/src/components/Avatar/Avatar.styles.d.ts +0 -23
- package/dist/src/components/Avatar/Avatar.test.d.ts +0 -1
- package/dist/src/components/Avatar/index.d.ts +0 -2
- package/dist/src/components/Avatar/types.d.ts +0 -14
- package/dist/src/components/AvatarGroup/AvatarGroup.d.ts +0 -3
- package/dist/src/components/AvatarGroup/AvatarGroup.stories.d.ts +0 -9
- package/dist/src/components/AvatarGroup/AvatarGroup.styles.d.ts +0 -8
- package/dist/src/components/AvatarGroup/AvatarGroup.test.d.ts +0 -1
- package/dist/src/components/AvatarGroup/index.d.ts +0 -2
- package/dist/src/components/AvatarGroup/types.d.ts +0 -17
- package/dist/src/components/Badge/Badge.d.ts +0 -7
- package/dist/src/components/Badge/Badge.stories.d.ts +0 -10
- package/dist/src/components/Badge/Badge.styles.d.ts +0 -14
- package/dist/src/components/Badge/Badge.test.d.ts +0 -1
- package/dist/src/components/Badge/index.d.ts +0 -2
- package/dist/src/components/Badge/types.d.ts +0 -7
- package/dist/src/components/Button/Button.d.ts +0 -10
- package/dist/src/components/Button/Button.stories.d.ts +0 -12
- package/dist/src/components/Button/Button.styles.d.ts +0 -15
- package/dist/src/components/Button/Button.test.d.ts +0 -1
- package/dist/src/components/Button/index.d.ts +0 -2
- package/dist/src/components/Button/types.d.ts +0 -6
- package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +0 -3
- package/dist/src/components/ButtonGroup/ButtonGroup.stories.d.ts +0 -12
- package/dist/src/components/ButtonGroup/ButtonGroup.styles.d.ts +0 -11
- package/dist/src/components/ButtonGroup/ButtonGroup.test.d.ts +0 -1
- package/dist/src/components/ButtonGroup/index.d.ts +0 -2
- package/dist/src/components/ButtonGroup/types.d.ts +0 -15
- package/dist/src/components/OrganizationChart/OrganizationChart.d.ts +0 -2
- package/dist/src/components/OrganizationChart/OrganizationChart.stories.d.ts +0 -7
- package/dist/src/components/OrganizationChart/OrganizationChart.styles.d.ts +0 -5
- package/dist/src/components/OrganizationChart/OrganizationChart.test.d.ts +0 -1
- package/dist/src/components/OrganizationChart/index.d.ts +0 -2
- package/dist/src/components/OrganizationChart/mockData.d.ts +0 -4
- package/dist/src/components/OrganizationChart/types.d.ts +0 -62
- package/dist/src/components/OrganizationChart/utils.d.ts +0 -10
- package/dist/src/components/OrganizationChart/utils.test.d.ts +0 -1
- package/dist/src/components/index.d.ts +0 -7
- package/dist/src/hooks/index.d.ts +0 -2
- package/dist/src/hooks/useTheme.d.ts +0 -5
- package/dist/src/hooks/useToggle.d.ts +0 -1
- package/dist/src/index.d.ts +0 -3
- package/dist/src/providers/index.d.ts +0 -1
- package/dist/src/providers/theme/ThemeProvider.d.ts +0 -11
- package/dist/src/providers/theme/context.d.ts +0 -6
- package/dist/src/providers/theme/index.d.ts +0 -3
- package/dist/src/providers/theme/types.d.ts +0 -4
- package/dist/src/utils/classNames.d.ts +0 -2
- package/dist/src/utils/index.d.ts +0 -2
- package/dist/src/utils/types.d.ts +0 -3
- package/dist/vite.config.d.mts +0 -2
package/dist/globals.css
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@import 'tailwindcss';
|
|
2
|
+
@plugin "@tailwindcss/typography";
|
|
3
|
+
@plugin "tailwindcss-animate";
|
|
4
|
+
@import './colors/base.css';
|
|
5
|
+
@import '../themes/primary.css';
|
|
6
|
+
/* @import '../themes/secondary.css'; */
|
|
7
|
+
|
|
8
|
+
@utility scrollbar-hide {
|
|
9
|
+
/* For Webkit-based browsers (Chrome, Safari and Opera) */
|
|
10
|
+
&::-webkit-scrollbar {
|
|
11
|
+
display: none;
|
|
12
|
+
-webkit-appearance: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* For IE, Edge and Firefox */
|
|
16
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
17
|
+
scrollbar-width: none; /* Firefox */
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@utility transition-inherit-all {
|
|
21
|
+
transition-property: inherit;
|
|
22
|
+
transition-duration: inherit;
|
|
23
|
+
transition-timing-function: inherit;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
html,
|
|
27
|
+
body {
|
|
28
|
+
font-family: var(--font-body);
|
|
29
|
+
-webkit-font-smoothing: antialiased;
|
|
30
|
+
-moz-osx-font-smoothing: grayscale;
|
|
31
|
+
-webkit-font-variant-ligatures: contextual;
|
|
32
|
+
font-variant-ligatures: contextual;
|
|
33
|
+
-webkit-font-kerning: normal;
|
|
34
|
+
font-kerning: normal;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Hide the default expand arrow on Safari. */
|
|
38
|
+
details summary::-webkit-details-marker {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Hide default arrows from number inputs. */
|
|
43
|
+
/* Chrome, Safari, Edge, Opera */
|
|
44
|
+
input::-webkit-outer-spin-button,
|
|
45
|
+
input::-webkit-inner-spin-button {
|
|
46
|
+
-webkit-appearance: none;
|
|
47
|
+
margin: 0;
|
|
48
|
+
}
|
|
49
|
+
/* Firefox */
|
|
50
|
+
input[type='number'] {
|
|
51
|
+
appearance: textfield;
|
|
52
|
+
-moz-appearance: textfield;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Hide the default clear button (X) from search inputs. */
|
|
56
|
+
input[type='search']::-webkit-search-cancel-button {
|
|
57
|
+
-webkit-appearance: none;
|
|
58
|
+
}
|