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

Add list group component #2

Merged
merged 5 commits into from
Mar 14, 2022
Merged

Add list group component #2

merged 5 commits into from
Mar 14, 2022

Conversation

nesrinesghaier
Copy link
Collaborator

No description provided.

@render
Copy link

render bot commented Mar 13, 2022

@bacali95 bacali95 merged commit 2365ae9 into main Mar 14, 2022
@bacali95 bacali95 deleted the list-group-page branch March 14, 2022 21:22
rluders pushed a commit that referenced this pull request Oct 31, 2023
* refactor: docs - use `contentlayer` [WIP, unstable]

* remove `remark-gfm`

* add: `rehypeSlug, rehypeAutolinkHeadings`

* remove redundant `import React`

* add docs content layout

* flat path

* `next.config` minify with `swc`

* remove unused layout

* add some TODO's

* add back `remark-toc`

* highlight with `prism` on server; avoid flicker + heavy lifting client side work

* remove deprecated mdx components map

* new docs engine [WIP, `alert` only]

* add `CodeDemo` styles from deprecated `CodePreview`

* add TODO:

* `CodeDemo` render tabs dynamically

* fix eslint errors

* undo

* refactor: `CodeDemo` tabs; add active state + hover effect

* ++ accesibility

* docs.content: add `githubSlug`

* extend `CodeHighlight` languages type

* refactor docs layout; render table-of-contents on server (fixes flicker)

* move code from `layout` into `page`, simplify flow and DX

* fix alert.all-options content

* fix: add `Mdx` fallback for `<Example />` and `<Theme />` custom components in case of not found

* fix `Mdx` fallback for `<Example />` #2

* fix: docs - avatar

* refactor props sturcture of `CodeDemo`

* extend `CodeDemo` to support variants

* update all instances of `CodeData` for variants support; add `type` property

* `CodeData` display variants and handle select

* `CodeData` show variant select if variants exist

* cleanup `*.css` imports

* `CodeData` enforce min 1 elements when array structure

* `CodeData` add type `variant` inference

* remove redundant `'use client'`

* refactor:
- landing page: make it full RSC
- move landing page sections into own files, allowing for server/client toggling individually + fetch data on server [less JS bundle size to client]
- remove `<Flowbite>` wrapper since its redundant now
- split `.css` files and move them to `styles/`
- create `DocSearch` abstraction [less copy-paste]

* add TODO

* docs page cleanup; co-locate more

* rename doc-search to docsearch, keep consistent

* rename `landing -> homepage`

* deprecate old table-of-contents in .mdx files

* fix: docs - accordion

* fix: docs - badge

* fix: docs - breadcumb

* fix: docs - navbar

* fix typo

* fix: docs - footer

* fix: docs - timeline

* fix: docs - list group

* fix: docs - table

* fix typo

* fix: docs - progress

* fix: docs - progress #2

* fix: docs - banner

* fix: docs - rating

* fix: docs - button group

* fix: docs - spinner

* fix: docs - floating label

* cleanup `tailwind.config`

* fix: docs - sidebar

* fix eslint

* fix: docs - tooltip

* fix: docs - tabs

* fix: docs - toast

* change `githubSlug` to link to demo file instead of root .mdx file

* fix: docs - kbd

* add `/examples` folder to tailwind config

* cleanup

* fix docs layout styles

* fix `kbd` component style: remove `mr-1` from theme and adjust docs

* docs - remove `banner` theme until its ready

* fix: docs - pagination; fix range, now shows even if its 1 page

* fix: docs - datepicker

* fix: docs - modal

* fix: docs - carousel

* update `examples` index

* fix: docs - dropdown

* fix: docs - button

* fix: docs - blockquote

* fix: docs - forms

* replace random examples links with mock link of `#` - avoid random page change and loss of context resulting in bad UX when navigating the app for something specific; reduce bounce rate

* fix self closing tags

* fix: docs - card

* cleanup: add client/server versions for first iterations of docs (before multi-tab was implemented); rename `dismissable` to `dismissible`; rename burger-case file names to camelCase for easier DX name matching (mdx file -> tsx file -> exported variable name)

* remove `'use client';` from docs single import example since its Next.js specific for now, and RSC support is here + code examples reflect if `'use client';` is needed or not

* remove deprecated `CodePreview` component

* remove unused packages

* enhance `CodeDemo`: show expand/collapse button only when height goes beyond max-h overflow (done in SSR, no flicker)

* enhance `CodeDemo`: expand/collapse - take padding into account

* move `components` to root level

* move `data` to root level

* fix linting errors; disable `react/no-unescaped-entities` eslint rule

* pagination helpers: revert change causing test failure

* fix: add `data` folder to tailwind content paths due to `classes` key in `Component` interface

NOTE: maybe handle classes in the card component with `aspectRatio` or something

---------

Co-authored-by: Sebastian Sutu <sebastian.sutu@sensidev.com>
SutuSebastian added a commit that referenced this pull request Jun 19, 2024
* chore: improve core:
- up packages
- fix `turbo.json` config files due to package version update
- remove `React.FC` from `apps/web`
- format and fix all classNames that had double space or class duplicates

* chore: rebuild lock file

* downgrade bun version

* test bun version rollback for failure

* up bun version + some ui packages

* downgrade `execa` - vercel deploy fix #1

* revert `execa`, downgrade `storybook` - vercel deploy fix #2

* rollback `turbo` - vercel deploy fix #3

* revert `turbo` - vercel deploy fix #4

* up storybook

* rebuild lock file

* restore lock file + run `bun i`

* nvm rebuild lock file back

* rebuild lock

* rollback to stable versions

* rollback to safe lock file and run `bun i`

* rollback to safe lock file and run `bun i`

* rebuild healthy lock file + install latest packages (except `eslint@9` due to new config file structure)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants