Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
31af16f
remove theming, custom styles, use antd defaults everywhere
DaveDarsa Jan 22, 2025
2e602ec
remove custom tab styles, skeleton light mode only
DaveDarsa Jan 22, 2025
5a2c9e4
padding
DaveDarsa Jan 22, 2025
8a1ea49
more vanillazation
DaveDarsa Jan 23, 2025
53eeef3
whoops
DaveDarsa Jan 23, 2025
d9330f1
build
DaveDarsa Jan 23, 2025
dfd419a
style
DaveDarsa Jan 23, 2025
d0184f6
tabs
DaveDarsa Jan 23, 2025
53f2367
tab bg
DaveDarsa Jan 23, 2025
7d04122
tab changes, use antd default dark mode
DaveDarsa Jan 24, 2025
d3737df
dark mode styles antd
DaveDarsa Jan 24, 2025
55d82fc
modify some dark mode stylers
DaveDarsa Jan 24, 2025
56eddd8
missing cy attributes
DaveDarsa Feb 19, 2025
210dfad
table data attributes
DaveDarsa Feb 19, 2025
36f8fbf
attrib
DaveDarsa Feb 19, 2025
98c2e09
stat injected cy attr
DaveDarsa Feb 20, 2025
d2a7a2f
testId
DaveDarsa Feb 20, 2025
c19f3d3
total counter
DaveDarsa Feb 20, 2025
fc19a5b
data attrs
DaveDarsa Feb 20, 2025
575f712
more data attributes
DaveDarsa Feb 20, 2025
d1a5589
copy attr
DaveDarsa Feb 20, 2025
bffca84
modal attributes
DaveDarsa Feb 20, 2025
a0267af
cy ssh
DaveDarsa Feb 20, 2025
fbb0864
ssh
DaveDarsa Feb 20, 2025
d904df8
variables table data attrs
DaveDarsa Feb 20, 2025
db9ec42
tree select data attr
DaveDarsa Feb 20, 2025
d6b7be6
task tree data-cy
DaveDarsa Feb 20, 2025
03f339c
.
DaveDarsa Feb 20, 2025
b45a39f
inject data-cy into <TreeSelect/> treeData
DaveDarsa Feb 20, 2025
096232e
revert
DaveDarsa Feb 20, 2025
dbb2324
data-cy org groups
DaveDarsa Feb 23, 2025
1d17bd4
total labels
DaveDarsa Feb 23, 2025
856e23c
treeselect color
DaveDarsa Feb 24, 2025
12c66d4
remove bg
DaveDarsa Feb 24, 2025
3e1f540
changes
DaveDarsa Mar 16, 2025
d15fea5
select dropdown padding
DaveDarsa Mar 16, 2025
b63e825
changes
DaveDarsa Mar 16, 2025
bdca1fd
stat text style
DaveDarsa Mar 16, 2025
9cf90c4
text transform control
DaveDarsa Mar 17, 2025
87c4dc6
breadcrumb and copy changes
DaveDarsa Mar 20, 2025
5918428
remove effects from orgs table
DaveDarsa Mar 25, 2025
f35d53c
missed useCallback dep
DaveDarsa Mar 25, 2025
050412e
loader styles
DaveDarsa Mar 25, 2025
1ddc011
org projects table loader
DaveDarsa Mar 25, 2025
4a89741
build
DaveDarsa Mar 25, 2025
a46c039
types
DaveDarsa Mar 25, 2025
09a0f3c
org groups table loading
DaveDarsa Mar 25, 2025
c96775c
org breadcrumbs
DaveDarsa Mar 26, 2025
1eca63b
optional slug
DaveDarsa Mar 26, 2025
59a4f6a
overflowing
DaveDarsa Mar 26, 2025
363a3bb
label size
DaveDarsa Mar 26, 2025
ee920f9
modifications
DaveDarsa Apr 11, 2025
24b10ed
projects table onVisibleDataChange
DaveDarsa Apr 17, 2025
0bac7c6
url validity checks
DaveDarsa Apr 28, 2025
f888cc9
nuke antd/styled and switch to shadcn/tailwind
DaveDarsa May 15, 2025
24176cf
use vite as a bundler
DaveDarsa May 29, 2025
a5a2345
include compiled tw css
DaveDarsa May 29, 2025
84ea2c0
no sourcemaps, modify config
DaveDarsa May 29, 2025
1feca18
add lib: prefix - no collision
DaveDarsa May 29, 2025
51a148b
components from figma
DaveDarsa Jun 24, 2025
039c3ec
fix storybook imports, rebuild
DaveDarsa Jun 26, 2025
a53cba1
Adds Accordion & Badge
CGoodwin90 Jul 3, 2025
ae1261b
Refactors Accordion & adds Switch
CGoodwin90 Jul 4, 2025
d9b6cf5
Format & build run
CGoodwin90 Jul 4, 2025
50a2064
Adds Pagination
CGoodwin90 Jul 4, 2025
80ae753
Adds Sheet
CGoodwin90 Jul 7, 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
  •  
  •  
  •  
35 changes: 0 additions & 35 deletions .eslintrc

This file was deleted.

28 changes: 26 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
#dependencies
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?


.env
.DS_Store
.DS_Store
*storybook.log

storybook-static
30 changes: 0 additions & 30 deletions .storybook/decorators/SkeletonTheme.tsx

This file was deleted.

21 changes: 21 additions & 0 deletions .storybook/decorators/withNextLink.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react';
import { Decorator } from '@storybook/react';

import { LinkProvider } from '../../src/providers/NextLinkProvider';

const withNextLink: Decorator = (StoryFn) => {
// consumers of the library pass in actual React/Next.js links
const FakeLink = function ({ children }) {
return (
<a className="peer/menu-button cursor-pointer flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left outline-hidden ring-sidebar-ring transition-[width,height,padding] focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground h-8 text-sm data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground">
{children}
</a>
);
};
return (
<LinkProvider linkComponent={FakeLink as any}>
<StoryFn />
</LinkProvider>
);
};
export default withNextLink;
79 changes: 0 additions & 79 deletions .storybook/decorators/withTheme.tsx

This file was deleted.

35 changes: 4 additions & 31 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,38 +1,11 @@
import type { StorybookConfig } from '@storybook/react-webpack5';
import type { StorybookConfig } from '@storybook/react-vite';

const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/addon-controls',
'@storybook/addon-a11y',
'@storybook/addon-designs',
],

addons: ['@storybook/addon-docs'],
framework: {
name: '@storybook/react-webpack5',
options: {
builder: {
useSWC: true,
},
},
},
docs: {
autodocs: true,
},
core: {
disableTelemetry: true,
name: '@storybook/react-vite',
options: {},
},
swc: () => ({
jsc: {
transform: {
react: {
runtime: 'automatic',
},
},
},
}),
};
export default config;
2 changes: 1 addition & 1 deletion .storybook/manager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addons } from '@storybook/manager-api';
import { addons } from 'storybook/manager-api';

import LagoonTheme from './theme';

Expand Down
57 changes: 20 additions & 37 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,54 +1,37 @@
import type { Preview } from '@storybook/react';
import withTheme from './decorators/withTheme';

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

import React from 'react';
import withNextLink from './decorators/withNextLink';
const preview: Preview = {
parameters: {
options: {
storySort: {
order: [
'Introduction',
'Guide',
['Design Tokens', 'Typography', 'Globals', 'Theming And Globals', 'Figma', 'Icons'],
'Components',
'Lagoon specific',
],
},
},
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
controls: { expanded: true },

matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},

docs: {
source: {
language: 'tsx',
},
story: {
height: '300px',
},
},
},
globalTypes: {
theme: {
description: 'Global theme for components',
defaultValue: 'light',
toolbar: {
title: 'Theme',
icon: 'circlehollow',
items: [
{ value: 'light', icon: 'circlehollow', title: 'Light Theme' },
{ value: 'dark', icon: 'circle', title: 'Dark Theme' },
{ value: 'side-by-side', icon: 'mirror', title: 'Side by side' },
],
dynamicTitle: true,
globalTypes: {
theme: {
description: 'Global theme for components',
defaultValue: 'light',
toolbar: {
title: 'Theme',
icon: 'circlehollow',
items: [
{ value: 'light', icon: 'circlehollow', title: 'Light Theme' },
{ value: 'dark', icon: 'circle', title: 'Dark Theme' },
{ value: 'side-by-side', icon: 'mirror', title: 'Side by side' },
],
dynamicTitle: true,
},
},
},
},
decorators: [withTheme],
decorators: [withNextLink],
};

export default preview;
2 changes: 1 addition & 1 deletion .storybook/theme.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { create } from '@storybook/theming';
import { create } from 'storybook/theming';

import logo from './public/logo.svg';

Expand Down
Loading