Skip to content

Commit

Permalink
Merge pull request #86 from kunai-consulting/radioGroup
Browse files Browse the repository at this point in the history
change to one package
  • Loading branch information
thejackshelton-kunaico authored Jan 8, 2025
2 parents e79b875 + 61560a2 commit 858a1ad
Show file tree
Hide file tree
Showing 77 changed files with 59 additions and 391 deletions.
2 changes: 1 addition & 1 deletion .changeset/brave-carpets-teach.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@kunai-consulting/qwik-components": patch
"@kunai-consulting/qwik": patch
---

Added signals to track the total number of input fields present and if all fields are filled. Applied invisible style to hiddenInput
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [["@kunai-consulting/qwik-components", "@kunai-consulting/qwik-hooks"]],
"fixed": [["@kunai-consulting/qwik"]],
"linked": [],
"access": "restricted",
"baseBranch": "main",
Expand Down
2 changes: 1 addition & 1 deletion .changeset/cyan-ants-sparkle.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@kunai-consulting/qwik-components": patch
"@kunai-consulting/qwik": patch
---

test: creating linear ticket
2 changes: 1 addition & 1 deletion .changeset/new-coats-join.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@kunai-consulting/qwik-components": patch
"@kunai-consulting/qwik": patch
"qwik-design-system-docs": patch
---

Expand Down
2 changes: 1 addition & 1 deletion .changeset/ninety-impalas-prove.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@kunai-consulting/qwik-components": patch
"@kunai-consulting/qwik": patch
---

Updated focus state, added test
5 changes: 5 additions & 0 deletions .changeset/tricky-grapes-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kunai-consulting/qwik": patch
---

feat: change to one package
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,8 @@ Create a new design system from the Qwik Design System template, a starting poin

## Installation 💻

To install Qwik the ui components, run the following command:
To install the project, run the following command:

```shell
npm i -D @kunai-consulting/qwik-components
```

To install the ui hooks, run the following command:

```shell
npm i -D @kunai-consulting/qwik-hooks
npm i -D @kunai-consulting/qwik
```
3 changes: 1 addition & 2 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
"devDependencies": {
"@builder.io/qwik": "^1.9",
"@builder.io/qwik-city": "^1.9",
"@kunai-consulting/qwik-components": "workspace:*",
"@kunai-consulting/qwik-hooks": "workspace:*",
"@kunai-consulting/qwik": "workspace:*",
"@qwik-ui/headless": "^0.6.4",
"@qwikest/icons": "^0.0.13",
"@types/estree-jsx": "1.0.5",
Expand Down
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 apps/docs/public/pagefind/pagefind-entry.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"1.2.0","languages":{"en-us":{"hash":"en-us_442e12edd512a","wasm":"en-us","page_count":7}}}
{"version":"1.2.0","languages":{"en-us":{"hash":"en-us_622db4eea94c6","wasm":"en-us","page_count":8}}}
Binary file not shown.
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/change.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $, component$, useSignal, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/description.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/disabled.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/form-mixed.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $, component$, type Signal, useSignal, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/form.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $, component$, useSignal, useStyles$, useStylesScoped$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";

export default component$(() => {
useStyles$(styles);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/initial.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/label.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/mixed-initial.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck, LuMinus } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/mixed-reactive.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck, LuMinus } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/programmatic.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/reactive.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal, useStyles$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/required.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $, component$, useSignal, useStyles$, useStylesScoped$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/validation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
useSignal,
useStyles$
} from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checkbox/examples/value.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $, component$, useSignal, useStyles$, useStylesScoped$ } from "@builder.io/qwik";
import { Checkbox } from "@kunai-consulting/qwik-components";
import { Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checklist/examples/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { Checklist } from "@kunai-consulting/qwik-components";
import { Checklist } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/checklist/examples/select-all.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { Checklist } from "@kunai-consulting/qwik-components";
import { Checklist } from "@kunai-consulting/qwik";
import { LuCheck, LuMinus } from "@qwikest/icons/lucide";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/otp/examples/change.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { $, type PropsOf, component$, useSignal } from "@builder.io/qwik";
import type { DocumentHead } from "@builder.io/qwik-city";
import { Otp } from "@kunai-consulting/qwik-components";
import { Otp } from "@kunai-consulting/qwik";

export const head: DocumentHead = {
title: "Qwik Design System",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/otp/examples/complete.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { $, type PropsOf, component$, useSignal } from "@builder.io/qwik";
import type { DocumentHead } from "@builder.io/qwik-city";
import { Otp } from "@kunai-consulting/qwik-components";
import { Otp } from "@kunai-consulting/qwik";
import value from "~/routes/checkbox/examples/value";

export const head: DocumentHead = {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/otp/examples/disabled.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { $, type PropsOf, component$, useSignal } from "@builder.io/qwik";
import type { DocumentHead } from "@builder.io/qwik-city";
import { Otp } from "@kunai-consulting/qwik-components";
import { Otp } from "@kunai-consulting/qwik";
import value from "~/routes/checkbox/examples/value";

export const head: DocumentHead = {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/otp/examples/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
useSignal,
useVisibleTask$
} from "@builder.io/qwik";
import { Otp, Checkbox } from "@kunai-consulting/qwik-components";
import { Otp, Checkbox } from "@kunai-consulting/qwik";
import { LuCheck } from "@qwikest/icons/lucide";

export const MyDiv = component$((props: PropsOf<"div">) => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/otp/examples/initial.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type PropsOf, component$ } from "@builder.io/qwik";
import type { DocumentHead } from "@builder.io/qwik-city";
import { Otp } from "@kunai-consulting/qwik-components";
import { Otp } from "@kunai-consulting/qwik";

export const head: DocumentHead = {
title: "Qwik Design System",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/otp/examples/reactive.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type PropsOf, component$, useSignal } from "@builder.io/qwik";
import type { DocumentHead } from "@builder.io/qwik-city";
import { Otp } from "@kunai-consulting/qwik-components";
import { Otp } from "@kunai-consulting/qwik";

export const head: DocumentHead = {
title: "Qwik Design System",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/basic.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
const selectedPageSig = useSignal(1);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/disabled.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal, useStyles$ } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
// Examples for first page and last page
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/ellipsis.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
const selectedPageSig = useSignal(5); // Middle page to show ellipsis on both sides
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/first-last.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $, component$, useSignal, useStyles$ } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
useStyles$(styles);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $, component$, useSignal, useStyles$, useTask$ } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
useStyles$(styles);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/keyboard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
const selectedPageSig = useSignal(3);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/length.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
const selectedPageSig = useSignal(1);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/navigation.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
const selectedPageSig = useSignal(1);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $, component$, useSignal, useStyles$ } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
useStyles$(styles);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/per-page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { $, component$, useSignal, useStyles$ } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
useStyles$(styles);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/pagination/examples/siblings.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal } from "@builder.io/qwik";
import { Pagination } from "@kunai-consulting/qwik-components";
import { Pagination } from "@kunai-consulting/qwik";

export default component$(() => {
const selectedPageSig = useSignal(5); // Start in middle to show siblings
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/radio-group/examples/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from '@builder.io/qwik';
import { RadioGroup } from '@kunai-consulting/qwik-components';
import { RadioGroup } from '@kunai-consulting/qwik';

export default component$(() => {
useStyles$(styles);
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/scroll-area/examples/both-test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { ScrollArea } from "@kunai-consulting/qwik-components";
import { ScrollArea } from "@kunai-consulting/qwik";
import styles from './scroll-area.css?inline';

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/scroll-area/examples/both.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { ScrollArea } from "@kunai-consulting/qwik-components";
import { ScrollArea } from "@kunai-consulting/qwik";
import styles from "./scroll-area.css?inline";

export default component$(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { ScrollArea } from "@kunai-consulting/qwik-components";
import { ScrollArea } from "@kunai-consulting/qwik";
import styles from "./scroll-area.css?inline";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/scroll-area/examples/horizontal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { ScrollArea } from "@kunai-consulting/qwik-components";
import { ScrollArea } from "@kunai-consulting/qwik";
import styles from "./scroll-area.css?inline";

export default component$(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { ScrollArea } from "@kunai-consulting/qwik-components";
import { ScrollArea } from "@kunai-consulting/qwik";
import styles from "./scroll-area.css?inline";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/routes/scroll-area/examples/vertical.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStyles$ } from "@builder.io/qwik";
import { ScrollArea } from "@kunai-consulting/qwik-components";
import { ScrollArea } from "@kunai-consulting/qwik";
import styles from "./scroll-area.css?inline";

export default component$(() => {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"paths": {
"~/*": ["./src/*"],
"@/styled/*": ["./styled-copy-paste/*"],
"@kunai-consulting/qwik-components": ["../../libs/components/src"]
"@kunai-consulting/qwik": ["../../libs/components/src"]
}
},
"include": ["src", "./*.d.ts", "./*.config.ts", "styled-copy-paste"]
Expand Down
5 changes: 2 additions & 3 deletions libs/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kunai-consulting/qwik-components",
"version": "0.0.5",
"name": "@kunai-consulting/qwik",
"version": "0.0.1",
"description": "Create a Qwik library",
"main": "./lib/index.qwik.mjs",
"qwik": "./lib/index.qwik.mjs",
Expand Down Expand Up @@ -30,7 +30,6 @@
},
"devDependencies": {
"@builder.io/qwik": "^1.9",
"@kunai-consulting/qwik-hooks": "workspace:*",
"@types/node": "20.14.11",
"typescript": "5.4.5",
"undici": "*",
Expand Down
Loading

0 comments on commit 858a1ad

Please sign in to comment.