Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta tremor v4 #1146

Closed
wants to merge 47 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
8fcee4c
fix: bump headlessui
severinlandolt Dec 6, 2024
866d578
fix: dialog
severinlandolt Dec 6, 2024
dfc8978
test: uts for areaChart, barChart, sparkAreaChart, Legend (#1065)
Wajahat5 Dec 6, 2024
75cb04e
fix: datepicker position
severinlandolt Dec 6, 2024
7917815
fix: selects
severinlandolt Dec 6, 2024
9020480
chore: min width date picker
severinlandolt Dec 6, 2024
442f47d
update badge
severinlandolt Dec 6, 2024
318cd4b
add vite to storybook
severinlandolt Dec 7, 2024
19c068a
storybook
severinlandolt Dec 8, 2024
a17ea45
badge, card, remove other stuff
severinlandolt Dec 8, 2024
f25039c
multiselect
severinlandolt Dec 9, 2024
5061b5d
update components
severinlandolt Dec 9, 2024
a11c9ab
callout
severinlandolt Dec 9, 2024
468b091
update
severinlandolt Dec 10, 2024
4cd43fa
switch
severinlandolt Dec 11, 2024
cb2242f
tabs
severinlandolt Dec 11, 2024
c2e2034
lint
severinlandolt Dec 11, 2024
9e9c5ac
exports
severinlandolt Dec 11, 2024
2058acf
dialog
severinlandolt Dec 11, 2024
8f5be57
accordion
severinlandolt Dec 11, 2024
444f5c0
table and legend
severinlandolt Dec 11, 2024
6d80cd1
legend
severinlandolt Dec 11, 2024
eb9126b
progress circle
severinlandolt Dec 11, 2024
edd2287
progresssbar
severinlandolt Dec 11, 2024
706d202
barlist
severinlandolt Dec 11, 2024
a970232
barlist
severinlandolt Dec 11, 2024
c4cfa7e
spark charts
severinlandolt Dec 11, 2024
ca247e6
spark exports
severinlandolt Dec 11, 2024
ea883b9
spark area chart docs
severinlandolt Dec 11, 2024
7496bde
funnel chart
severinlandolt Dec 11, 2024
e7900f3
update donut chart
severinlandolt Dec 12, 2024
85e491c
bars
severinlandolt Dec 12, 2024
a7e19db
line chart
severinlandolt Dec 12, 2024
5042df5
scatter chart
severinlandolt Dec 12, 2024
17ba6d4
bar chart
severinlandolt Dec 12, 2024
e4bc2ac
update area chart
severinlandolt Dec 12, 2024
6ac0cc7
cleanup
severinlandolt Dec 12, 2024
6d74ad1
gacp update charts
severinlandolt Dec 12, 2024
97b69eb
udpate badge
severinlandolt Dec 12, 2024
745f89a
Delete style.ts
severinlandolt Dec 12, 2024
a7d8bfa
clean up imports
severinlandolt Dec 12, 2024
4142f28
BREAKING CHANGE: Tremor v4
severinlandolt Dec 12, 2024
a5a3439
feat!: Tremor v4
severinlandolt Dec 12, 2024
573835c
feat!: Tremor v4 \n\n BREAKING CHANGE
severinlandolt Dec 12, 2024
c8582ef
fix: accordion exports
severinlandolt Dec 12, 2024
2e9753b
fix: Tremor v4 react19 (#1145)
severinlandolt Dec 13, 2024
48a767d
fix: dot stroke chart
severinlandolt Dec 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
node-version: 20
registry-url: https://registry.npmjs.org
- name: install react
run: npm i react
run: npm i react --legacy-peer-deps
- name: install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: lint checks
run: npm run lint
- name: unit tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
node-version: 20
registry-url: https://registry.npmjs.org
- name: install react
run: npm i react
run: npm i react --legacy-peer-deps
- name: install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: build
run: npm run build
- name: release
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ dist
storybook-static
package-lock.json
.vscode
yarn.lock
yarn.lock
*storybook.log
4 changes: 3 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
"semi": true,
"printWidth": 100,
"jsxSingleQuote": false,
"endOfLine": "auto"
"endOfLine": "auto",
"plugins": ["prettier-plugin-tailwindcss"],
"tailwindFunctions": ["clsx", "cx", "twmerge", "tremorTwMerge"]
}
64 changes: 0 additions & 64 deletions .storybook/main.js

This file was deleted.

20 changes: 20 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { StorybookConfig } from "@storybook/react-vite";

const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
{
name: "@storybook/addon-essentials",
},
"@storybook/addon-interactions",
"@storybook/addon-themes",
],
framework: {
name: "@storybook/react-vite",
options: {
strictMode: true,
},
},
};

export default config;
7 changes: 0 additions & 7 deletions .storybook/manager.js

This file was deleted.

9 changes: 9 additions & 0 deletions .storybook/manager.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import "../assets/fonts/stylesheet.css";


import { addons } from "@storybook/manager-api";

addons.setConfig({
panelPosition: "bottom",
initialActive: "canvas",
});
36 changes: 0 additions & 36 deletions .storybook/preview.js

This file was deleted.

21 changes: 21 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import "../assets/fonts/stylesheet.css";
import "../src/styles.css";

import type { Preview } from "@storybook/react";

const preview = {
parameters: {
// docs: {
// theme,
// },
backgrounds: {
values: [
{ name: 'Dark', value: '#030712' },
{ name: 'Light', value: '#fff' },
],
default: 'Light',
},
},
} satisfies Preview;

export default preview;
25 changes: 25 additions & 0 deletions .storybook/theme.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { create } from "@storybook/theming";

export default create({
base: "light",
fontBase: "var(--font-geist-sans)",
fontCode: "var(--font-geist-mono)",
// appContentBg: "#161618",
// appBg: "#161618",
// barBg: "#161618",
// inputBg: "#232326",
// buttonBg: "#232326",
// booleanBg: "#232326",
// appBorderColor: "#1C1C1F",
// inputBorder: "#383A43",
// buttonBorder: "#383A43",
// textColor: "#ECEEF0",
// colorSecondary: "#1e3a8a",
// colorPrimary: "#3b82f6",
// barTextColor: "#ECEEF0",
// barHoverColor: "#3E63DD",
// barSelectedColor: "#3E63DD",
// inputTextColor: "#ECEEF0",
// textMutedColor: "#CCCED3",
// textInverseColor: "#161618",
});
21 changes: 0 additions & 21 deletions .storybook/tremorTheme.js

This file was deleted.

Binary file added assets/fonts/GeistMonoVariable.ttf
Binary file not shown.
Binary file added assets/fonts/GeistVariable.ttf
Binary file not shown.
23 changes: 23 additions & 0 deletions assets/fonts/stylesheet.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@font-face {
font-family: "Geist Sans";
src: url("./GeistVariable.ttf") format("truetype");
font-weight: 100 900;
font-style: normal;
}

@font-face {
font-family: "Geist Mono";
src: url("./GeistMonoVariable.ttf") format("truetype");
font-weight: 100 900;
font-style: normal;
}

:root {
--font-geist-sans: "Geist Sans";
--font-geist-mono: "Geist Mono";
}

/* @theme {
--font-geist-sans: "Geist Sans";
--font-geist-mono: "Geist Mono";
} */
Loading
Loading