Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
edd6e06
Unify DS tokens integration
evgenoid Jul 29, 2025
d4f32fb
Button theme updates
evgenoid Jul 30, 2025
974d3ce
IconButton stories updates
evgenoid Jul 30, 2025
a789b9a
Avatar theme updates
evgenoid Jul 30, 2025
986b8d4
AvatarGroup theme updates
evgenoid Jul 30, 2025
c44e60e
Block theme updates
evgenoid Jul 30, 2025
e86c73e
Avatar background update
evgenoid Jul 30, 2025
af9ec41
Remove old tokens
evgenoid Aug 4, 2025
828bf19
Checkbox theme updates
evgenoid Aug 4, 2025
9b5b879
Dialog theme updates
evgenoid Aug 4, 2025
24239c7
Input and Textarea theme updates
evgenoid Aug 4, 2025
a936b8b
List theme updates
evgenoid Aug 4, 2025
e5ffa87
JSONTree theme updates
evgenoid Aug 4, 2025
24999e0
Card and Menu theme updates
evgenoid Aug 4, 2025
d5e8e26
Notification theme updates
evgenoid Aug 4, 2025
420b4c1
RadioButton theme updates
evgenoid Aug 4, 2025
0278bd1
Range theme updates
evgenoid Aug 5, 2025
8718307
Pager theme updates
evgenoid Aug 5, 2025
e3d5cd2
Select theme updates
evgenoid Aug 5, 2025
6570340
Tabs theme updates
evgenoid Aug 5, 2025
287bba9
Toggle theme updates
evgenoid Aug 5, 2025
29cd7c8
Tree theme updates
evgenoid Aug 5, 2025
911e1fd
Calendar theme updates
evgenoid Aug 5, 2025
baa54f6
Calendar paddings updates
evgenoid Aug 5, 2025
ae0b1b1
Fix build
evgenoid Aug 5, 2025
2c2f008
Calendar theme updates
evgenoid Aug 5, 2025
b2fdda5
Fix build
evgenoid Aug 5, 2025
f5b2699
Breadcrumbs theme updates
evgenoid Aug 5, 2025
9ddef05
Stack theme updates
evgenoid Aug 5, 2025
24431c1
Backdrop theme updates
evgenoid Aug 5, 2025
439ea47
Callout theme updates
evgenoid Aug 5, 2025
db92904
Popover theme updates
evgenoid Aug 5, 2025
fcb4377
Tooltip theme updates
evgenoid Aug 5, 2025
3da7d0d
Collapse theme updates
evgenoid Aug 5, 2025
085db67
Collapse theme updates
evgenoid Aug 5, 2025
5991d43
DateInput theme updates
evgenoid Aug 5, 2025
da83a32
Input text size
evgenoid Aug 5, 2025
d10bdce
DotsLoader theme updates
evgenoid Aug 5, 2025
9751892
ContextMenu theme updates
evgenoid Aug 5, 2025
e4c31ac
Redact theme updates
evgenoid Aug 5, 2025
bfa13a2
Drawer theme updates
evgenoid Aug 5, 2025
d906fce
VerticalSpacer theme updates
evgenoid Aug 5, 2025
5ed0caa
DateFormat theme updates
evgenoid Aug 5, 2025
9d90277
Ellipsis theme updates
evgenoid Aug 5, 2025
f74113c
Sort theme updates
evgenoid Aug 5, 2025
e6ff8e5
Kbd theme updates
evgenoid Aug 5, 2025
57690fb
Stepper theme updates
evgenoid Aug 6, 2025
a644f03
Remove legacy Stepper theme
evgenoid Aug 6, 2025
42ed77e
Update variables and timeline blocks
evgenoid Aug 6, 2025
faecde9
Update avatar link
evgenoid Aug 6, 2025
9434f7d
Add background and border for card component
evgenoid Aug 6, 2025
21ae260
DotsLoader color fix
evgenoid Aug 6, 2025
5306998
Divider theme updates
evgenoid Aug 6, 2025
8296ee9
Arrow theme updates
evgenoid Aug 6, 2025
8d444cd
CommandPalette theme updates
evgenoid Aug 6, 2025
8a9e86f
Chip theme updates
evgenoid Aug 7, 2025
f3c11b6
Fix Chip story
evgenoid Aug 7, 2025
6f88291
Badge theme updates
evgenoid Aug 7, 2025
c6d60b7
Add ability to provide custom variant for Tabs component
evgenoid Aug 8, 2025
183266a
Tabs heme align with Unify
evgenoid Aug 11, 2025
a4ee694
Quote font families names
evgenoid Aug 12, 2025
f673d10
Change cursor for disabled sort component
evgenoid Aug 12, 2025
052f848
Add focus-visible for avatar component
evgenoid Aug 12, 2025
f1df09f
Update Card background
evgenoid Aug 13, 2025
0a2594f
Navigation bar/button components
evgenoid Aug 15, 2025
b1c794d
Extract button theme props to interfaces
evgenoid Aug 15, 2025
c008990
Extract Badge theme props to interfaces
evgenoid Aug 15, 2025
caa7a53
Extract Button theme props to interfaces
evgenoid Aug 15, 2025
9aae2b0
Extract Chip theme props to interfaces
evgenoid Aug 15, 2025
8e2124c
Extract DotsLoader theme props to interfaces
evgenoid Aug 15, 2025
20a1a4b
Extract Navigation theme props to interfaces
evgenoid Aug 15, 2025
9980960
Fix Navigation custom story
evgenoid Aug 15, 2025
9a07f66
Extract Checkbox theme props to interfaces
evgenoid Aug 15, 2025
9b12e5b
Extract Input theme props to interfaces
evgenoid Aug 15, 2025
d20837e
Extract Radio theme props to interfaces
evgenoid Aug 15, 2025
61b754a
Extract Select theme props to interfaces
evgenoid Aug 15, 2025
36c1132
Extract Textarea theme props to interfaces
evgenoid Aug 15, 2025
a8d449a
Extract Toggle theme props to interfaces
evgenoid Aug 15, 2025
dd2e044
Extract Callout theme props to interfaces
evgenoid Aug 15, 2025
e5ceabf
Extract Notification theme props to interfaces
evgenoid Aug 15, 2025
82c8a4e
Extract Divider theme props to interfaces
evgenoid Aug 15, 2025
1fb6f38
Extract Tabs theme props to interfaces
evgenoid Aug 15, 2025
c682217
Extract VerticalSpacer theme props to interfaces
evgenoid Aug 15, 2025
a9550a4
Export css
evgenoid Aug 18, 2025
5290225
Change Navigation style
evgenoid Aug 18, 2025
0434dfb
animationLayoutId property for NavigationButton
evgenoid Aug 18, 2025
c5e507c
Blocks theme updates
evgenoid Aug 19, 2025
f860085
Typography component updates
evgenoid Aug 19, 2025
d9b4ac9
Ability to customize merge function on scheme merging (#302)
evgenoid Aug 19, 2025
9b7b4fe
Add Tag and Badge types for Chip component
evgenoid Aug 19, 2025
dde66f2
Old theme configuration
evgenoid Aug 19, 2025
7522398
Old theme configuration update
evgenoid Aug 20, 2025
c2f8802
Rename stories
evgenoid Aug 20, 2025
6330559
Rename property
evgenoid Aug 21, 2025
94fd9a9
Fix chips wrapping for multiple select
evgenoid Aug 21, 2025
10b3a43
Deprecated disableAnimation for Button component. Use animated instead
evgenoid Aug 21, 2025
e710095
Update Navigation story
evgenoid Aug 21, 2025
7daa0ff
Align some styles with DS
evgenoid Aug 21, 2025
0a5a7db
fix font family
evgenoid Aug 21, 2025
984217e
Add typography variables and update font classes
evgenoid Aug 21, 2025
60dafc7
Change checkbox large size
evgenoid Aug 21, 2025
c99746c
Change Toggle large size
evgenoid Aug 21, 2025
9249208
Truncate typography text example
evgenoid Aug 22, 2025
2ab43b4
Remove unused imports
evgenoid Aug 22, 2025
cbfad7e
Add dimension variables
evgenoid Sep 8, 2025
8f92b8c
Some review updates
evgenoid Sep 8, 2025
6ed261b
Connect dimensions.css
evgenoid Sep 8, 2025
6229364
Use dimensions for Button/IconButton components
evgenoid Sep 8, 2025
8bfcf4c
Use dimensions for Chip components
evgenoid Sep 8, 2025
373b3fd
Use dimensions for Calendar component
evgenoid Sep 9, 2025
338aaf5
Merge remote-tracking branch 'origin/master' into unify-ds
evgenoid Sep 9, 2025
8671b8a
Fix V9 theme config
evgenoid Sep 9, 2025
7ae1536
Replace some 4th lvl tokens with 3rd lvl
evgenoid Sep 9, 2025
122e670
Use dimensions for Input component
evgenoid Sep 9, 2025
ec3e050
Use dimensions for Navigation component
evgenoid Sep 9, 2025
63d7d0e
Use dimensions for Notification component
evgenoid Sep 9, 2025
830b61e
Reorder tokens
evgenoid Sep 9, 2025
bb2672d
Use dimensions for Checkbox/Toggle/Radio components
evgenoid Sep 9, 2025
0efd8a5
Use dimensions for Tabs components
evgenoid Sep 9, 2025
3f4968c
More comments
evgenoid Sep 9, 2025
139a8c4
Update KBD style
evgenoid Sep 11, 2025
b2d938b
Update Calendar background
evgenoid Sep 11, 2025
d96f22c
Update list padding
evgenoid Sep 11, 2025
46181a0
Update color names
evgenoid Sep 15, 2025
3577571
Fix IconButton paddings
evgenoid Sep 16, 2025
11abe85
Fix Input background paddings
evgenoid Sep 16, 2025
cbc42ec
Use dialog border radius from DS tokens
evgenoid Sep 19, 2025
4c20f1d
Release 10.0.0-alpha.4
evgenoid Sep 19, 2025
5f87fff
Release 10.0.0-alpha.5
evgenoid Sep 25, 2025
7ee0321
Fix v9 theme
evgenoid Sep 25, 2025
ab01276
Fix type
evgenoid Sep 25, 2025
6d361a4
Linter rule improvements and fixes
evgenoid Sep 26, 2025
e90293e
Fix stories.mjs
evgenoid Sep 26, 2025
41cfb32
Fix import
evgenoid Sep 26, 2025
71e5154
Remove trailing comma
evgenoid Sep 29, 2025
f3c4093
release 10.0.0-alpha.6
SerhiiTsybulskyi Sep 30, 2025
3eed257
fix import paths
SerhiiTsybulskyi Sep 30, 2025
69f03e3
Extract linter rules to separate package
evgenoid Sep 30, 2025
0c06749
Merge remote-tracking branch 'origin/unify-ds' into unify-ds
evgenoid Sep 30, 2025
3794051
Update reaviz-lint-rules version
evgenoid Sep 30, 2025
7672025
release v10.0.0-alpha.7
SerhiiTsybulskyi Oct 9, 2025
6327fbe
fix classname for hover checkbox state
SerhiiTsybulskyi Oct 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# https://github.com/prettier/prettier#configuration-file
semi: true
singleQuote: true
trailingComma: none
overrides:
- files: ".prettierrc"
options:
Expand Down
55 changes: 55 additions & 0 deletions .storybook/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
@font-face {
font-family: 'Proxima Nova';
src: url('./fonts/ProximaNova/ProximaNova-Regular.otf') format('opentype');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Proxima Nova';
src: url('./fonts/ProximaNova/ProximaNova-RegularIt.otf') format('opentype');
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: 'Proxima Nova';
src: url('./fonts/ProximaNova/ProximaNova-Light.otf') format('opentype');
font-weight: 300;
font-style: normal;
}

@font-face {
font-family: 'Proxima Nova';
src: url('./fonts/ProximaNova/ProximaNova-LightIt.otf') format('opentype');
font-weight: 300;
font-style: italic;
}

@font-face {
font-family: 'Proxima Nova';
src: url('./fonts/ProximaNova/ProximaNova-Semibold.otf') format('opentype');
font-weight: 600;
font-style: normal;
}

@font-face {
font-family: 'Proxima Nova';
src: url('./fonts/ProximaNova/ProximaNova-SemiboldIt.otf') format('opentype');
font-weight: 600;
font-style: italic;
}

@font-face {
font-family: 'Proxima Nova';
src: url('./fonts/ProximaNova/ProximaNova-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: 'Proxima Nova';
src: url('./fonts/ProximaNova/ProximaNova-BoldIt.otf') format('opentype');
font-weight: 700;
font-style: italic;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const config: StorybookConfig = {
'@storybook/addon-essentials',
'@storybook/addon-themes',
'@storybook/addon-interactions',
'@storybook/addon-docs',
'@storybook/addon-docs'
],
framework: {
name: '@storybook/react-vite',
Expand Down
1 change: 1 addition & 0 deletions .storybook/manager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { addons } from '@storybook/manager-api';

import theme from './theme';

addons.setConfig({
Expand Down
4 changes: 4 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<title>reablocks</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap" rel="stylesheet">
<style>
body {
font-weight: 400;
Expand Down
30 changes: 13 additions & 17 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import React from 'react';
import theme from './theme';
import { Preview } from '@storybook/react';
import { withThemeByClassName } from '@storybook/addon-themes';
import '../src/assets/css/index.css';
import './fonts.css';

import { DocsContainer } from '@storybook/addon-docs/blocks';
import { withThemeByClassName } from '@storybook/addon-themes';
import type { Preview } from '@storybook/react';
import React from 'react';

import { ThemeProvider } from '../src/utils/Theme/ThemeProvider';
import { theme as reablocksTheme } from '../src/utils/Theme/themes/theme';

import '../src/index.css';
import theme from './theme';

const withProvider = (Story, context) => (
<ThemeProvider theme={reablocksTheme}>
Expand All @@ -21,10 +22,10 @@ const preview: Preview = {
withThemeByClassName({
themes: {
light: 'theme-light',
dark: 'theme-dark',
dark: 'theme-dark'
},
defaultTheme: 'dark',
}),
defaultTheme: 'dark'
})
],
parameters: {
layout: 'centered',
Expand All @@ -35,7 +36,8 @@ const preview: Preview = {
container: ({ children, ...props }: any) => {
// For whatever reason the theme is not getting applied to docs
// This is a workaround to apply the theme to the docs
const isLight = props.context?.store?.globals?.globals?.theme === 'light';
const isLight =
props.context?.store?.globals?.globals?.theme === 'light';

return (
<DocsContainer {...props}>
Expand All @@ -52,13 +54,7 @@ const preview: Preview = {
storySort: {
order: [
'Docs',
[
'Intro',
'Getting Started',

'Changelog',
'Support',
],
['Intro', 'Getting Started', 'Changelog', 'Support'],
'Components',
'*'
]
Expand Down
4 changes: 3 additions & 1 deletion .storybook/theme.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { create } from '@storybook/theming/create';

import ReablocksLogo from '../docs/assets/logo.svg';

export default create({
Expand All @@ -10,7 +11,8 @@ export default create({
appContentBg: '#11111F',
appPreviewBg: '#11111F',
fontBase: 'Inter,Arial,Helvetica,sans-serif',
fontCode: 'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace',
fontCode:
'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace',
appBg: '#11111F',
textColor: '#FFFFFF',
barBg: '#11111F',
Expand Down
Loading