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

V2 #1326

Open
wants to merge 235 commits into
base: main
Choose a base branch
from
Open

V2 #1326

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
235 commits
Select commit Hold shift + click to select a range
8eb5736
refactor: barebone doc
zernonia May 23, 2024
e7a3f03
fix: patches, not-prose
zernonia May 23, 2024
8ddcab5
fix(Accordion): ssr animation causing flickers
zernonia Jun 19, 2024
a14f52d
refactor(Collapsible, Accordion)!: add `unmount` prop to help SEO for…
zernonia Jun 19, 2024
de5cc43
refactor(Popover)!: update aria, remove messy attribute
zernonia Jun 19, 2024
cee4148
feat(RadioGroup): emit 'select' when user click on item
zernonia Jun 19, 2024
6a62348
refactor(Select)!: fix SSR, refactor the way SelectValue renders element
zernonia Jun 20, 2024
2a0fb94
feat(Select): support different modelValue, option types
zernonia Jun 21, 2024
216bd8e
chore: revert back the SelectProvider for test
zernonia Jun 21, 2024
3000fb0
chore: cleanup BubbleSelect
zernonia Jun 21, 2024
f2ea77a
feat(Select): multiple value
zernonia Jun 25, 2024
87aa5ba
refactor(Checkbox,Switch,Toggle): rename controlled state to `v-model`
zernonia Jun 25, 2024
b79cdde
refactor(Combobox): remove ComboboxEmpty
zernonia Jun 26, 2024
395059b
feat(Listbox): highlight first item when filter changes
zernonia Jun 26, 2024
3280587
feat(usePrimitiveElement): allow infer types
zernonia Jun 27, 2024
d7feb8d
feat(useFilter): composable for easily filtering
zernonia Jun 28, 2024
e1bab65
refactor(Combobox): use listbox as base component
zernonia Jul 2, 2024
ae4223c
test: fix test, add todos
zernonia Jul 2, 2024
0816387
refactor: change popper anchor to accept any given ReferenceElement
zernonia Jul 3, 2024
27c757a
feat(Popper): allow custom reference el or virtual el for any popper …
zernonia Jul 3, 2024
8c70281
chore: remove condition to check if the el is input
zernonia Jul 3, 2024
33016c9
feat(ConfigProvider): global config for locale
zernonia Jul 3, 2024
f267daa
chore: wip
zernonia Jul 3, 2024
94df12d
Merge remote-tracking branch 'origin/main' into v2
zernonia Jul 4, 2024
cefb888
Merge remote-tracking branch 'origin/main' into v2-docs
zernonia Jul 4, 2024
9a12dbb
docs: improve site
zernonia Jul 5, 2024
c3385b1
docs: more improvement
zernonia Jul 6, 2024
ec146dd
refactor(Calendar): remove deprecated step prop (#1101)
epr3 Jul 7, 2024
5ad9e7a
docs: responsive design
zernonia Jul 8, 2024
b9d0595
chore: fix build issue
zernonia Jul 8, 2024
2de2a69
docs: home page wip
zernonia Jul 9, 2024
e1aaedc
feat(RadioGroup): support more types
zernonia Jul 9, 2024
fee0f95
feat(ToggleGroup): support more types
zernonia Jul 9, 2024
de505b4
refactor(useSingleOrMultipleValue): allow undefined value, defaulted …
zernonia Jul 10, 2024
45b4d27
feat(Checkbox): support multiple value and more types
zernonia Jul 10, 2024
be3e9c9
fix(NavigationMenu): old value causes transition when opening the menu
zernonia Jul 11, 2024
d9ac7bc
feat(NavigationMenu): ssr support
zernonia Jul 11, 2024
869790f
feat(NavigationMenu): additional css variables for better positioning
zernonia Jul 12, 2024
dcd8916
chore: update nuxt playground
zernonia Jul 12, 2024
1f7e638
chore: fix build
zernonia Jul 12, 2024
785fce0
Merge remote-tracking branch 'origin/main' into v2
zernonia Jul 12, 2024
206289d
refactor(Collection): replace old collection composable, and refactor…
zernonia Jul 12, 2024
508b3a7
fix(NavigationMenu): reset position after animation
zernonia Jul 12, 2024
107389a
refactor: move visually hidden input element inside root node to allo…
zernonia Jul 15, 2024
b567c7a
refactor: remove type `boolean` from Acceptable to prevent type casting
zernonia Jul 15, 2024
0790f87
feat(Popper): add position strategy and updateOnLayoutShift props
zernonia Jul 15, 2024
33fda6c
refactor(Popper): rename props
zernonia Jul 16, 2024
3804e11
docs: improve landing
zernonia Jul 17, 2024
4118447
Merge branch 'v2-docs' into v2
zernonia Jul 17, 2024
e0ebb4b
chore: adopt new docs
zernonia Jul 17, 2024
99bc849
docs: update new changes from v2
zernonia Jul 18, 2024
7c2158a
docs: update Combobox example
zernonia Jul 18, 2024
2bb2a21
chore: cleanup
zernonia Jul 18, 2024
12bac81
Merge remote-tracking branch 'origin/main' into v2
zernonia Jul 22, 2024
a447bd1
feat(Listbox): expose imperative API to highlight item
zernonia Jul 22, 2024
97f7023
test: fix exported utility
zernonia Jul 22, 2024
78ef11d
feat(Presence): expose component
zernonia Jul 22, 2024
d9d5439
docs: subitem for nav
zernonia Jul 23, 2024
4e0a538
docs: more work
zernonia Jul 23, 2024
7ed5463
docs: wip feature
zernonia Jul 23, 2024
a7ff10b
docs: wip hover transformer
zernonia Jul 24, 2024
b5fcb61
docs: compile and render snippet
zernonia Jul 25, 2024
6655ac6
docs: improve transformer rendering
zernonia Jul 25, 2024
7bec346
docs: finalize transformer, use custom card content renderer
zernonia Jul 25, 2024
5a1b8db
docs: minor styling and title change
zernonia Jul 25, 2024
d3d2b91
docs: improve component preview to show component from example
zernonia Jul 25, 2024
7970b87
docs: fix pipeline
zernonia Jul 25, 2024
98ea5ff
refactor!: new brand name
zernonia Jul 26, 2024
099ed49
docs: cleanup
zernonia Jul 26, 2024
d493bfb
docs: improve link hover card
zernonia Jul 26, 2024
ac8f3c3
refactor(Arrow)!: improve polygon
zernonia Jul 27, 2024
f94fa78
chore: replace radix css vars
zernonia Jul 27, 2024
90584d9
chore: ready presence, update test
zernonia Jul 29, 2024
6d17ab4
feat(Checkbox): group component with any types
zernonia Jul 30, 2024
0956b31
feat(Checkbox): add roving focus props to group
zernonia Jul 30, 2024
ea34cb6
fix(Popover): missing aria-labelledby
zernonia Jul 30, 2024
eb1b96e
refactor: change popper anchor to accept any given ReferenceElement
zernonia Jul 30, 2024
3fb95e5
refactor: rename `unmountOnHide` props
zernonia Jul 30, 2024
341ebe3
chore: fix pipeline
zernonia Jul 30, 2024
67fb25c
test(RadioGroup): emit select event
zernonia Jul 30, 2024
c6cf893
docs: fix flickers on outline item
zernonia Jul 30, 2024
2406d1c
docs: run docsgen
zernonia Jul 30, 2024
6785b51
feat: expose useful types
zernonia Jul 30, 2024
5b99e39
test: improve test
zernonia Jul 31, 2024
2882ebd
refactor(Select): allow multiple to behave similar to combobox
zernonia Jul 31, 2024
0110386
feat(Listbox, Combobox): expose highlight methods
zernonia Jul 31, 2024
ee8a3f2
refactor(Combobox): more performance, and ignore-filter props
zernonia Aug 1, 2024
9fb7f00
feat: expose combobox components
zernonia Aug 1, 2024
9550522
fix(Combobox): wrong groupId, group assignment wrong
zernonia Aug 2, 2024
5ae2079
docs: update combobox, doc outline
zernonia Aug 2, 2024
f892b54
docs: rearrange doc
zernonia Aug 2, 2024
e51e8ab
docs: improvement
zernonia Aug 3, 2024
4b8ac2b
docs: new flare
zernonia Aug 3, 2024
6f7f29a
refactor(Tabs): render ssr content
zernonia Aug 3, 2024
66c99a4
docs: fix link, use clean url, fix inline issue
zernonia Aug 3, 2024
a006f66
docs: fix jsdoc causing build error
zernonia Aug 3, 2024
1acdc44
chore: restructure folder
zernonia Aug 3, 2024
55ec58e
chore: improve better reference to constants
zernonia Aug 3, 2024
abe85c1
chore: replace more instance of Radix to Reka
zernonia Aug 6, 2024
f55c79f
refactor: visually hidden input for form components
zernonia Aug 7, 2024
37bba0c
refactor(Pagination): require `itemsPerPage` prop
zernonia Aug 7, 2024
b95dd19
chore: bump version
zernonia Aug 7, 2024
3f0c1fb
docs: migration
zernonia Aug 8, 2024
2d31b40
chore: improve eslint, run lint:fix
zernonia Aug 8, 2024
ac58e12
chore: run docs:gen
zernonia Aug 8, 2024
2c34026
docs: add doc community
zernonia Aug 8, 2024
1676719
docs: add more examples
zernonia Aug 9, 2024
82505dc
fix: comboboxEmpty render and nav menu
zernonia Aug 13, 2024
cd3f1eb
fix(Popper): position not updating when reference changes
zernonia Aug 13, 2024
76e8e3f
docs: add tooltip with cursor
zernonia Aug 13, 2024
e573345
docs: combobox-textarea
zernonia Aug 14, 2024
9004904
fix(Listbox): prevent scroll when using pointermove
zernonia Aug 14, 2024
27fb34e
fix(Combobox): empty should based on search value
zernonia Aug 14, 2024
38c51ca
docs: dialog command menu
zernonia Aug 14, 2024
71c6f53
Merge remote-tracking branch 'origin/main' into v2
zernonia Aug 26, 2024
b5adc1d
chore: reset pnpm-lock
zernonia Aug 26, 2024
8bde833
docs: add more examples
zernonia Aug 27, 2024
e21ac8a
refactor: infer form props for all form component
zernonia Aug 28, 2024
e2bc95c
chore: update test
zernonia Aug 28, 2024
6dbb2a5
chore: update all aria-hidden attribute
zernonia Aug 28, 2024
e9ffe0c
chore: run docs:gen
zernonia Aug 28, 2024
f3ec409
docs: improve style
zernonia Aug 29, 2024
171dd00
feat: added codemods to docs (#1258)
dfordp Sep 9, 2024
c66bb10
feat: bubble input/change for form component
zernonia Sep 9, 2024
4949961
docs: improve styling
zernonia Sep 11, 2024
2eadc91
chore: minor fix and updates
zernonia Sep 11, 2024
70fc867
feat: expose injectContext
zernonia Sep 11, 2024
4e5279d
docs: update migration codemods (#1285)
mohab-sameh Sep 18, 2024
0c91719
Merge remote-tracking branch 'origin/main' into v2
zernonia Sep 21, 2024
d94969e
chore: update missing out
zernonia Sep 24, 2024
ca90450
fix(Combobox): initial search not working and virtualizer
zernonia Sep 24, 2024
2da681e
docs: codegen, virtualizer guide
zernonia Sep 24, 2024
2ca1a94
docs: simple injectContext guide
zernonia Sep 24, 2024
1b4a6ea
chore(deps): update vue and related dependencies
zernonia Oct 2, 2024
f1e62ab
chore(deps): update major dependencies
zernonia Oct 2, 2024
38dfd81
chore(deps): update eslint related and lint
zernonia Oct 2, 2024
3def76e
docs: update home page
zernonia Oct 2, 2024
3d2156b
chore: fix missing nanoid
zernonia Oct 2, 2024
d96413c
chore: release v1.0.0-alpha.1
zernonia Oct 2, 2024
d612dce
chore: update readme
zernonia Oct 4, 2024
2026fcf
chore: add symbolic link
zernonia Oct 4, 2024
5923754
fix: generate scripts and results
zernonia Oct 5, 2024
b70b913
chore: fix invalid duration class name (#1345)
sunnylost Oct 7, 2024
78ac889
fix: path to constant build entry (#1349)
DamianGlowala Oct 9, 2024
65a067f
doc: incorrectly menu item highlight (#1352)
sunnylost Oct 11, 2024
e17a9b4
docs: update theme config
zernonia Oct 15, 2024
d263245
Merge remote-tracking branch 'origin/main' into v2
zernonia Oct 27, 2024
647bf39
chore: update pnpm-lock
zernonia Oct 27, 2024
63afdfd
chore: update links
zernonia Oct 28, 2024
1527642
chore: release v1.0.0-alpha.2
zernonia Oct 28, 2024
30255b6
feat(TimeField): implement TimeField component (#1380)
epr3 Oct 29, 2024
bceefb4
fix(VisuallyHidden): not focusable after native form validation
zernonia Oct 29, 2024
fb372d6
feat: bundle with preserveModules, rollup types dts
zernonia Nov 2, 2024
3302d32
docs: introduction, releases, contributors
zernonia Nov 2, 2024
5d8b413
docs: update dealink, home metric
zernonia Nov 2, 2024
4b34df6
feat(NavigationMenu): props to prevent pointer leave from closing con…
zernonia Nov 2, 2024
deaee66
docs: run codegen
zernonia Nov 2, 2024
920d402
feat(RangeCalendar): allow non contiguous ranges (#1411)
epr3 Nov 4, 2024
144999d
feat(TagsInput): support multiple delimiters via RegExp (#1414)
zernonia Nov 4, 2024
4699d4a
refactor(module): rename meta name and configKey
zernonia Nov 4, 2024
e29f3ac
chore: release v1.0.0-alpha.3
zernonia Nov 4, 2024
1e17cc4
fix(Select): render selected textValue
zernonia Nov 7, 2024
1e94a01
feat(Select): expose selected textContent as slotProps
zernonia Nov 7, 2024
4f791ad
chore: bump tailwindcss
zernonia Nov 7, 2024
588e75f
feat(Collapsible): support hidden=until-found browser search feature
zernonia Nov 7, 2024
0fc9ab2
feat(TagsInput): add addTag, removeTag events
zernonia Nov 8, 2024
84f8669
docs: run codegen
zernonia Nov 8, 2024
c3b6cad
Merge remote-tracking branch 'origin/main' into v2
zernonia Nov 8, 2024
b0ec653
chore: release v1.0.0-alpha.4
zernonia Nov 8, 2024
689b078
docs: add CheckboxGroupRoot
zernonia Nov 8, 2024
96fc383
docs: add example for unmountOnHide and hidden until-found
zernonia Nov 8, 2024
9bbe7a7
docs: add common issue for virtualizer
zernonia Nov 8, 2024
fc39270
chore: fix typo
zernonia Nov 8, 2024
efb280b
fix(Checkbox): update:modelValue typing (#1422)
aguingand Nov 17, 2024
3efabe4
feat: include sourceMap, improve build (#1432)
cyyynthia Nov 19, 2024
0ed501d
chore: update nuxt playground
zernonia Nov 19, 2024
5bafde9
Merge remote-tracking branch 'origin/main' into v2
zernonia Nov 19, 2024
653084b
chore: cleanup
zernonia Nov 19, 2024
07d29de
chore: release v1.0.0-alpha.5
zernonia Nov 19, 2024
5c30c32
fix(Combobox): revert `props.value` check (#1459)
benjamincanac Nov 27, 2024
3f52dd8
fix(Menu): Pass `positionStrategy` prop to PopperContent (#1449)
aguingand Nov 27, 2024
96eae70
fix(Combobox): some items not add into allItems map (#1368)
RayGuo-ergou Nov 27, 2024
1842ef8
fix(TimeField): not exposing emits and inject
zernonia Nov 27, 2024
d54a448
feat(Combobox): expose filterState
zernonia Nov 27, 2024
99ebe15
chore: publish any commit for v2
zernonia Nov 27, 2024
fbbf25f
fix(Checkbox): not clickable without v-model
zernonia Nov 28, 2024
752be60
fix(Listbox): missing aria-activedescendant
zernonia Nov 28, 2024
cf512a7
chore: fix story
zernonia Nov 28, 2024
eb600c2
fix(Combobox): better support for input within content
zernonia Nov 28, 2024
d1633fc
chore: change to use ohash, uncrypto
zernonia Nov 28, 2024
c8c60a6
chore: fix frozen lockfile
zernonia Nov 28, 2024
7b6b7ed
chore: bump vueuse, vue version
zernonia Nov 28, 2024
8f581a1
fix(Combobox): not highlighting item when input is missing
zernonia Nov 28, 2024
83c518e
refactor(Combobox)!: drop dismissable prop. use Listbox instead
zernonia Nov 28, 2024
6d62ca8
docs(meta): update github link to `v2` tree (#1464)
benjamincanac Nov 29, 2024
3f8e21c
docs: change demo
zernonia Nov 29, 2024
8f40689
docs: update content
zernonia Nov 29, 2024
635b90e
fix(ContextMenu): flash of closing and opening when interact with tri…
zernonia Nov 30, 2024
8238615
fix(TimeField): initial segments for TimeField based on granularity (…
epr3 Dec 1, 2024
3188f18
docs: update typo in introduction (#1483)
corydeppen Dec 6, 2024
1d0b763
Merge remote-tracking branch 'origin/main' into v2
zernonia Dec 6, 2024
9e32d7b
chore: doc gen
zernonia Dec 6, 2024
0000b6b
fix(Menu): missing `reference` prop passed to `PopperContent` (#1486)
dermitzos Dec 6, 2024
a603506
chore: release v1.0.0-alpha.6
zernonia Dec 6, 2024
39d8fde
chore: auto publish to npm
zernonia Dec 8, 2024
07afc27
chore: only publish doc on push for now
zernonia Dec 8, 2024
5e901e3
fix: missing export for inject
zernonia Dec 10, 2024
1dd5a38
docs: fix link (#1487)
Barbapapazes Dec 10, 2024
3e150bf
fix(Combobox): missing export of input emits
zernonia Dec 10, 2024
6f9e1d3
fix(Combobox): pressing enter selecting and deselect the value
zernonia Dec 11, 2024
693483c
feat(NavigationMenu)!: replace hardcoded CSS values with custom prope…
gu-stav Dec 11, 2024
538ff4f
feat: expose more slotProps
zernonia Dec 13, 2024
a4b87b2
docs: codegen, promote alpha
zernonia Dec 13, 2024
93a5856
chore: release v1.0.0-alpha.7
zernonia Dec 13, 2024
166fe8a
chore: github action for common workflow
zernonia Dec 13, 2024
4823c85
chore: fix missing checkout in build step
zernonia Dec 13, 2024
4ac8505
docs: fix highlighted code in light mode
zernonia Dec 17, 2024
47bad41
fix: uncrypto works on https and localhost only
zernonia Dec 18, 2024
ebabbb8
docs: more ComboboxVirtualization documentation and examples (#1502)
rijenkii Dec 18, 2024
623b667
Merge remote-tracking branch 'origin/main' into v2
zernonia Dec 30, 2024
87c2d89
chore: fix test
zernonia Dec 30, 2024
8f8468a
refactor(useTypeAhead): adapt for better textValue support
zernonia Dec 30, 2024
f97e60e
chore: use a simple random string generator
zernonia Dec 30, 2024
3971c02
fix(Select): selected item emit wrong type
zernonia Dec 31, 2024
a94cbc3
refactor(useSingleOrMultipleValue): improve the usability of composable
zernonia Jan 1, 2025
52028c2
feat: support `null` value for all form components
zernonia Jan 1, 2025
e967948
fix(Combobox): by props not being forwarded
zernonia Jan 2, 2025
8fda2a7
chore: release v1.0.0-alpha.8
zernonia Jan 2, 2025
b88695c
chore: revert changes to release step
zernonia Jan 2, 2025
984b74f
docs: add date picker selection example
zernonia Jan 2, 2025
f0fbbd0
feat: expose state for RadioGrouoItem, StepperIndicator
zernonia Jan 8, 2025
c2809bf
feat(RangeCalendar): reset date range selection when pressing escape
zernonia Jan 8, 2025
e1bdf69
test: range selection reset
zernonia Jan 8, 2025
17d9deb
feat(Teleport): support Vue teleport defer prop
zernonia Jan 8, 2025
bfe31a1
chore: doc gen
zernonia Jan 8, 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
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .github/DISCUSSION_TEMPLATE/example-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
title: '[Example]: '
labels: [Example Request]
body:
- type: markdown
attributes:
value: |
### Thanks for taking the time to create an example request! Please search open/closed requests before submitting, as the block or a similar one may have already been requested.

- type: textarea
id: example-description
attributes:
label: Description
description: Tell us about your example request
placeholder: A modal with tooltip
validations:
required: true

- type: input
id: example-url
attributes:
label: Example
description: Link to an example
placeholder: ex. https://example.com
validations:
required: false
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 🐞 Bug report
description: Create a report to help us improve radix-vue.
description: Create a report to help us improve reka-ui.
title: '[Bug]: '
labels: [bug]
body:
Expand All @@ -11,8 +11,8 @@ body:
This form is only for submitting bug reports. If you have a usage question
or are unsure if this is really a bug, make sure to:

- Read the [docs](https://radix-vue.com/)
- Ask on [Discord Chat](https://chat.radix-vue.com/)
- Read the [docs](https://reka-ui.com/)
- Ask on [Discord Chat](https://chat.unovue.com/)
- Ask on [GitHub Discussions](https://github.com/unovue/radix-vue/discussions)

Also try to search for your issue - it may have already been answered or even fixed.
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: 📚 Documentation
url: https://www.radix-vue.com/
url: https://reka-ui.com/
about: Check the documentation for usage of Radix Vue.
- name: 🗨️ Discord
url: https://chat.radix-vue.com/
url: https://chat.unovue.com/
about: Join the Radix Vue Discord server.
34 changes: 34 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Setup
description: Installs Node and caches pnpm.

runs:
using: composite

steps:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 9
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
shell: bash
run: pnpm i --frozen-lockfile
58 changes: 5 additions & 53 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 9
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Setup (Install node & pnpm)
uses: ./.github/actions/setup

- name: Build
run: pnpm --filter radix-vue build
run: pnpm --filter reka-ui build

- name: Check for errors
run: |
Expand All @@ -66,32 +42,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 9
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Setup (Install node & pnpm)
uses: ./.github/actions/setup

- name: Test
run: pnpm test
45 changes: 8 additions & 37 deletions .github/workflows/pkg.pr.new.yaml
Original file line number Diff line number Diff line change
@@ -1,49 +1,20 @@
name: Publish Merged PR
on:
pull_request:
types: [closed]
paths:
- 'packages/**'
name: Publish Any Commit (v2)
on: [push, pull_request]

jobs:
after_merge:
if: github.event.pull_request.merged == true
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
- name: Setup (Install node & pnpm)
uses: ./.github/actions/setup

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 9
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm i --frozen-lockfile

- name: Build Radix Vue and plugins
- name: Build Reka UI and plugins
run: pnpm run build

- run: pnpm dlx pkg-pr-new publish --compact ./packages/radix-vue
- run: pnpm dlx pkg-pr-new publish --compact ./packages/core
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47 changes: 10 additions & 37 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
paths:
- 'docs/**'
pull_request:
paths:
- 'docs/**'

jobs:
publish:
Expand All @@ -16,39 +13,14 @@ jobs:
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
- name: Checkout repository
uses: actions/checkout@v4

# Run a build step here
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 9
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Setup (Install node & pnpm)
uses: ./.github/actions/setup

- name: Build Radix Vue
run: pnpm --filter radix-vue build
- name: Build Reka UI
run: pnpm --filter reka-ui build

- name: Build Docs
run: pnpm docs:build
Expand All @@ -57,15 +29,16 @@ jobs:
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1.5.0
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: radix-vue
apiToken: ${{ secrets.CLOUDFLARE_UNOVUE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_UNOVUE_ACCOUNT_ID }}
projectName: reka-ui
directory: .vitepress/dist
# Optional: Enable this if you want to have GitHub Deployments triggered
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
# Optional: Switch what branch you are publishing to.
# By default this will be the branch which triggered this workflow
# branch: main
# TODO: remove the following branch target after merging to main
branch: main
# Optional: Change the working directory
workingDirectory: docs
wranglerVersion: '3'
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand All @@ -25,3 +28,8 @@ jobs:
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Build Packages & Publish to npm
run: pnpm build && pnpm pub:release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
17 changes: 8 additions & 9 deletions .histoire/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "histoire",
"type": "module",
"version": "0.0.0",
"version": "0.0.2",
"private": true,
"scripts": {
"story:dev": "histoire dev",
Expand All @@ -10,25 +10,24 @@
},
"peerDependencies": {
"@vitejs/plugin-vue": "^4.6.2",
"@vueuse/components": "^10.11.0",
"@vueuse/core": "^10.11.0",
"@vueuse/shared": "^10.11.0",
"@vueuse/core": "^12.0.0",
"@vueuse/shared": "^12.0.0",
"vite": "^4.5.3",
"vue": "^3.4.31"
"vue": "^3.5.13"
},
"devDependencies": {
"@antfu/eslint-config": "^2.27.3",
"@floating-ui/dom": "^1.6.7",
"@floating-ui/vue": "^1.1.0",
"@floating-ui/dom": "^1.6.11",
"@floating-ui/vue": "^1.1.5",
"@histoire/plugin-vue": "^0.17.17",
"@iconify/vue": "^4.1.2",
"@radix-ui/colors": "^3.0.0",
"@rollup/plugin-alias": "^5.1.0",
"autoprefixer": "^10.4.19",
"eslint": "^9.10.0",
"eslint": "^9.11.1",
"histoire": "^0.17.17",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.4",
"tailwindcss": "^3.4.14",
"tailwindcss-animate": "1.0.7"
}
}
Loading
Loading