diff --git a/.changeset/famous-kangaroos-sin.md b/.changeset/famous-kangaroos-sin.md new file mode 100644 index 000000000..dd6e48fa2 --- /dev/null +++ b/.changeset/famous-kangaroos-sin.md @@ -0,0 +1,5 @@ +--- +"@ryanatkn/fuz": minor +--- + +republish diff --git a/CHANGELOG.md b/CHANGELOG.md index c580a0fca..acf7a19e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# @fuz.dev/fuz +# @ryanatkn/fuz ## 0.81.0 @@ -152,7 +152,7 @@ ### Patch Changes -- 0d033d3: remove `@grogarden/util` dependency +- 0d033d3: remove `@ryanatkn/belt` dependency ## 0.70.1 @@ -165,8 +165,8 @@ ### Minor Changes - ddb3bf1: extract contextmenu -- e802137: upgrade to @grogarden/gro from @feltjs/gro -- ddb3bf1: upgrade `@grogarden/util@0.15.0` from `0.13.1` +- e802137: upgrade to @ryanatkn/gro from @feltjs/gro +- ddb3bf1: upgrade `@ryanatkn/belt@0.15.0` from `0.13.1` ### Patch Changes @@ -176,7 +176,7 @@ ### Patch Changes -- 017ebe6: upgrade @grogarden/util +- 017ebe6: upgrade @ryanatkn/belt ## 0.69.0 @@ -195,156 +195,156 @@ ### Minor Changes - 861180a: www.fuz.dev -- 0287a9b: rename to `@fuz.dev/fuz` +- 0287a9b: rename to `@ryanatkn/fuz` ## 0.66.2 ### Patch Changes -- e49ce5d2: upgrade gro and felt-mural ([#348](https://github.com/fuz-dev/fuz/pull/348)) +- e49ce5d2: upgrade gro and felt-mural ([#348](https://github.com/ryanatkn/fuz/pull/348)) ## 0.66.1 - remove a SvelteKit import as a workaround to tests failing - ([commit](https://github.com/fuz-dev/fuz/commit/ee1c3739c99b2054b8f07014fa68977827fb592a)) + ([commit](https://github.com/ryanatkn/fuz/commit/ee1c3739c99b2054b8f07014fa68977827fb592a)) ## 0.66.0 - **break**: fix contextmenu for iOS - ([#314](https://github.com/fuz-dev/fuz/pull/314), - [#319](https://github.com/fuz-dev/fuz/pull/319)) + ([#314](https://github.com/ryanatkn/fuz/pull/314), + [#319](https://github.com/ryanatkn/fuz/pull/319)) ## 0.65.4 - improve `Color_Scheme_Input` - ([commit](https://github.com/fuz-dev/fuz/commit/028a62992cfee8375c0597247b7f74b78cd37727)) + ([commit](https://github.com/ryanatkn/fuz/commit/028a62992cfee8375c0597247b7f74b78cd37727)) ## 0.65.3 - fix `aside:hover` style - ([commit](https://github.com/fuz-dev/fuz/commit/2d21458c3198522af6e520630941f21d5ca4edfd)) + ([commit](https://github.com/ryanatkn/fuz/commit/2d21458c3198522af6e520630941f21d5ca4edfd)) ## 0.65.2 - tweak `.selectable.selected` style - ([commit](https://github.com/fuz-dev/fuz/commit/f6167c678d4f1438a29d0ef4b3939382ef0d573a)) + ([commit](https://github.com/ryanatkn/fuz/commit/f6167c678d4f1438a29d0ef4b3939382ef0d573a)) ## 0.65.1 - fix `.chip` `font-weight` - ([#346](https://github.com/fuz-dev/fuz/pull/346)) + ([#346](https://github.com/ryanatkn/fuz/pull/346)) ## 0.65.0 - **break**: remove the `highlighted` prop of `Code`, use `lang={null}` instead - ([#337](https://github.com/fuz-dev/fuz/pull/337)) + ([#337](https://github.com/ryanatkn/fuz/pull/337)) - **break**: rename `Alert` from `Message` - ([#339](https://github.com/fuz-dev/fuz/pull/339)) + ([#339](https://github.com/ryanatkn/fuz/pull/339)) - add `inline` prop to `Code` - ([#337](https://github.com/fuz-dev/fuz/pull/337)) + ([#337](https://github.com/ryanatkn/fuz/pull/337)) - add classes `.inline`, `.inline_block`, `.block`, `.flex`, and `.flex_1` - ([#337](https://github.com/fuz-dev/fuz/pull/337)) + ([#337](https://github.com/ryanatkn/fuz/pull/337)) - add `--border_radius_xs2` - ([#342](https://github.com/fuz-dev/fuz/pull/342)) + ([#342](https://github.com/ryanatkn/fuz/pull/342)) ## 0.64.0 - **break**: rename `PendingButton` prop `buttonAttrs` to `attrs` - ([#336](https://github.com/fuz-dev/fuz/pull/336)) + ([#336](https://github.com/ryanatkn/fuz/pull/336)) - add props `title` and `disabled` to `PendingButton` - ([#336](https://github.com/fuz-dev/fuz/pull/336)) + ([#336](https://github.com/ryanatkn/fuz/pull/336)) ## 0.63.0 -- **break**: upgrade dep `@grogarden/util@0.9.0` - ([#326](https://github.com/fuz-dev/fuz/pull/326)) +- **break**: upgrade dep `@ryanatkn/belt@0.9.0` + ([#326](https://github.com/ryanatkn/fuz/pull/326)) - **break**: remove the keyboard shortcut that opens the contextmenu - ([#315](https://github.com/fuz-dev/fuz/pull/315)) + ([#315](https://github.com/ryanatkn/fuz/pull/315)) - **break**: remove the helper classes for colors and background colors: `.color_bg`, `.color_fg`, `.color_N`, `.bg_color_N`, `.bg`, `.fg`, `.bg_N`, `.fg_N`, `.darken_N`, and `.lighten_N` - ([#324](https://github.com/fuz-dev/fuz/pull/324)) + ([#324](https://github.com/ryanatkn/fuz/pull/324)) - **break**: change the `.icon_button` size to match `--input_height` - ([#318](https://github.com/fuz-dev/fuz/pull/318)) + ([#318](https://github.com/ryanatkn/fuz/pull/318)) - **break**: replace `scoped` behavior of `Themed` with `Themed_Scope`, publish it, and revamp the API of `Themed` - ([#317](https://github.com/fuz-dev/fuz/pull/317), - [#318](https://github.com/fuz-dev/fuz/pull/318)) + ([#317](https://github.com/ryanatkn/fuz/pull/317), + [#318](https://github.com/ryanatkn/fuz/pull/318)) - **break**: remove `PendingButton` usage of `$$restProps`, use `buttonAttrs` prop instead - ([#330](https://github.com/fuz-dev/fuz/pull/330)) + ([#330](https://github.com/ryanatkn/fuz/pull/330)) - fix theme when SSR is disabled - ([#317](https://github.com/fuz-dev/fuz/pull/317)) -- add and publish `@fuz.dev/fuz_library/Copy_To_Clipboard.svelte` - ([#318](https://github.com/fuz-dev/fuz/pull/318)) + ([#317](https://github.com/ryanatkn/fuz/pull/317)) +- add and publish `@ryanatkn/fuz_library/Copy_To_Clipboard.svelte` + ([#318](https://github.com/ryanatkn/fuz/pull/318)) - publish `$lib/prism.css` - ([#318](https://github.com/fuz-dev/fuz/pull/318)) + ([#318](https://github.com/ryanatkn/fuz/pull/318)) - add more readable dark mode text colors - ([#327](https://github.com/fuz-dev/fuz/pull/327)) + ([#327](https://github.com/ryanatkn/fuz/pull/327)) - add `attrs` prop to `PendingAnimation` - ([#327](https://github.com/fuz-dev/fuz/pull/327)) + ([#327](https://github.com/ryanatkn/fuz/pull/327)) - improve `HueInput` a11y - ([#334](https://github.com/fuz-dev/fuz/pull/334)) + ([#334](https://github.com/ryanatkn/fuz/pull/334)) - add and publish `$lib/Card.svelte` - ([#332](https://github.com/fuz-dev/fuz/pull/332)) -- publish `@fuz.dev/fuz_code/Code.svelte` and `$lib/prism.css` - ([#331](https://github.com/fuz-dev/fuz/pull/331)) + ([#332](https://github.com/ryanatkn/fuz/pull/332)) +- publish `@ryanatkn/fuz_code/Code.svelte` and `$lib/prism.css` + ([#331](https://github.com/ryanatkn/fuz/pull/331)) ## 0.62.0 - **break**: remove `Whiteboard`, use `@feltjs/felt-mural` instead - ([#312](https://github.com/fuz-dev/fuz/pull/312)) + ([#312](https://github.com/ryanatkn/fuz/pull/312)) - improve prose styles for `ul`, `ol`, and `menu` - ([#313](https://github.com/fuz-dev/fuz/pull/313)) + ([#313](https://github.com/ryanatkn/fuz/pull/313)) ## 0.61.0 - **break**: rename the `Theme_Input` prop `theme` to `selected_theme` and make it and `themes` optional - ([#310](https://github.com/fuz-dev/fuz/pull/310)) + ([#310](https://github.com/ryanatkn/fuz/pull/310)) ## 0.60.2 - improve defaults of `Color_Scheme_Input` and `Theme_Input` - ([commit](https://github.com/fuz-dev/fuz/commit/3b1d6fb03f25ce0eec4046c2cac993c6dc475d41)) + ([commit](https://github.com/ryanatkn/fuz/commit/3b1d6fb03f25ce0eec4046c2cac993c6dc475d41)) ## 0.60.1 - add store defaults for `Color_Scheme_Input` and `Theme_Input` - ([commit](https://github.com/fuz-dev/fuz/commit/5fcf82ae333a5a34e734f190d5050ab760d79729)) + ([commit](https://github.com/ryanatkn/fuz/commit/5fcf82ae333a5a34e734f190d5050ab760d79729)) ## 0.60.0 - **break**: change `Themed` to initialize the color scheme from `localStorage` and add helpers `get_color_scheme` and `set_color_scheme`, and rename its `sync` prop to `sync_color_scheme` - ([#308](https://github.com/fuz-dev/fuz/pull/308)) + ([#308](https://github.com/ryanatkn/fuz/pull/308)) - **break**: rename the `Color_Scheme_Input` prop `color_scheme` to `selected_color_scheme` to match `Theme_Input` - ([#308](https://github.com/fuz-dev/fuz/pull/308)) + ([#308](https://github.com/ryanatkn/fuz/pull/308)) ## 0.59.0 - **break**: remove `Dialog` `.pane` wrapper - ([#307](https://github.com/fuz-dev/fuz/pull/307)) + ([#307](https://github.com/ryanatkn/fuz/pull/307)) - **break**: remove the `max-width` of `.pane` - ([#307](https://github.com/fuz-dev/fuz/pull/307)) + ([#307](https://github.com/ryanatkn/fuz/pull/307)) - fix dialog and contextmenu stacking - ([#307](https://github.com/fuz-dev/fuz/pull/307)) + ([#307](https://github.com/ryanatkn/fuz/pull/307)) ## 0.58.1 - fix the `.chip` background - ([commit](https://github.com/fuz-dev/fuz/commit/4c82f4f7fa8b7687ee304b5ac45fb1dfbdd0a957)) + ([commit](https://github.com/ryanatkn/fuz/commit/4c82f4f7fa8b7687ee304b5ac45fb1dfbdd0a957)) ## 0.58.0 - **break**: remove root exports, change to supporting only full paths - ([commit](https://github.com/fuz-dev/fuz/commit/299ceae2dd08393f2e75038638593ea7547da7df)) + ([commit](https://github.com/ryanatkn/fuz/commit/299ceae2dd08393f2e75038638593ea7547da7df)) ## 0.57.0 - **break**: tweak some styles and components - ([#306](https://github.com/fuz-dev/fuz/pull/306)) + ([#306](https://github.com/ryanatkn/fuz/pull/306)) - make `Color_Scheme_Input` sync by default - rename `--button_color` to `--button_bg`, `--button_hover` to `--button_bg_hover`, `--button_active` to `--button_bg_active`, and `--button_disabled` to `--button_bg_disabled` @@ -357,7 +357,7 @@ ## 0.56.0 - **break**: add support for dark mode and systems for color-scheme and theme - ([#247](https://github.com/fuz-dev/fuz/pull/247)) + ([#247](https://github.com/ryanatkn/fuz/pull/247)) - add and publish `$lib/theme.css` - default usage imports it alongside `$lib/style.css` - add and publish `$lib/theme.ts` with `create_theme_setup_script` for setting up the color scheme - add and publish `$lib/themes.ts` with the default theme data, @@ -410,7 +410,7 @@ - add `.text_align_right` - add `--outline_width_1` to accompany 2 and 3 - **break**: more style changes - ([#304](https://github.com/fuz-dev/fuz/pull/304)) + ([#304](https://github.com/ryanatkn/fuz/pull/304)) - publish `$lib/Theme_Input.svelte` - rename `--font_X` to `--size_X` - rename `--input_padding_v` to `--input_padding_y` and @@ -421,214 +421,214 @@ ## 0.55.1 - fix root exports - ([commit](https://github.com/fuz-dev/fuz/commit/62da32e4e48e2d51d95ee413d2585e87a8146036)) + ([commit](https://github.com/ryanatkn/fuz/commit/62da32e4e48e2d51d95ee413d2585e87a8146036)) ## 0.55.0 - **break**: change root exports to include no Svelte files, requiring the restructuring of `contextmenu` component dependencies - ([#302](https://github.com/fuz-dev/fuz/pull/302)) + ([#302](https://github.com/ryanatkn/fuz/pull/302)) - **break**: rename `ContextmenuLink.svelte` to `ContextmenuLinkEntry.svelte` - ([#302](https://github.com/fuz-dev/fuz/pull/302)) + ([#302](https://github.com/ryanatkn/fuz/pull/302)) ## 0.54.2 - add `--whiteboard_bg` to replace the `Whiteboard`'s usage of `--bg` - ([#300](https://github.com/fuz-dev/fuz/pull/300)) + ([#300](https://github.com/ryanatkn/fuz/pull/300)) - fix contextmenu reactivity, support contextmenu component duplicates, and add `.chevron` - ([#299](https://github.com/fuz-dev/fuz/pull/299)) + ([#299](https://github.com/ryanatkn/fuz/pull/299)) - add and export `ContextmenuActionParams` type - ([#298](https://github.com/fuz-dev/fuz/pull/298)) + ([#298](https://github.com/ryanatkn/fuz/pull/298)) ## 0.54.1 - add contextmenu and `.menu-item` - ([#293](https://github.com/fuz-dev/fuz/pull/293)) + ([#293](https://github.com/ryanatkn/fuz/pull/293)) - relax the type of `Dialog`'s `close` from `MouseEvent` to `Event` - ([#295](https://github.com/fuz-dev/fuz/pull/295)) + ([#295](https://github.com/ryanatkn/fuz/pull/295)) ## 0.54.0 - **break**: improve dialog types, remove the dialog schema, and add the type-safe `toDialogData` - ([#294](https://github.com/fuz-dev/fuz/pull/294)) + ([#294](https://github.com/ryanatkn/fuz/pull/294)) - upgrade deps - ([#294](https://github.com/fuz-dev/fuz/pull/294)) + ([#294](https://github.com/ryanatkn/fuz/pull/294)) ## 0.53.0 - **break**: upgrade deps - ([#291](https://github.com/fuz-dev/fuz/pull/291)) + ([#291](https://github.com/ryanatkn/fuz/pull/291)) ## 0.52.2 - change the `Dialog` `close` event param to be optional - ([commit](https://github.com/fuz-dev/fuz/commit/0e1902c162e3da6730c86e68c6d2987118f50691)) + ([commit](https://github.com/ryanatkn/fuz/commit/0e1902c162e3da6730c86e68c6d2987118f50691)) ## 0.52.1 - add `close` to `Dialog` slot - ([commit](https://github.com/fuz-dev/fuz/commit/4de4ef0ab766dd2104817a68ab9fd21842378862)) + ([commit](https://github.com/ryanatkn/fuz/commit/4de4ef0ab766dd2104817a68ab9fd21842378862)) ## 0.52.0 - **break**: rename `purple` CSS variables from `violet`, because of the overlap with `pink` - ([#289](https://github.com/fuz-dev/fuz/pull/289)) + ([#289](https://github.com/ryanatkn/fuz/pull/289)) - add syntax highlighting to the library on the website - ([#288](https://github.com/fuz-dev/fuz/pull/288)) + ([#288](https://github.com/ryanatkn/fuz/pull/288)) ## 0.51.1 - style the `option` element - ([commit](https://github.com/fuz-dev/fuz/commit/8bf30d8d54982d711480f3ab9222d0825368aaac)) + ([commit](https://github.com/ryanatkn/fuz/commit/8bf30d8d54982d711480f3ab9222d0825368aaac)) ## 0.51.0 - **break**: upgrade to Node 18.14 - ([#287](https://github.com/fuz-dev/fuz/pull/287)) + ([#287](https://github.com/ryanatkn/fuz/pull/287)) - **break**: change `Surface` to default `cancelOnLeave` to `true` - ([commit](https://github.com/fuz-dev/fuz/commit/9fac84fec3aeb91b74a8a20f08af8dd00cc064b0)) + ([commit](https://github.com/ryanatkn/fuz/commit/9fac84fec3aeb91b74a8a20f08af8dd00cc064b0)) ## 0.50.2 -- upgrade `@grogarden/util@0.7.5` - ([commit](https://github.com/fuz-dev/fuz/commit/96bd481228618e07ad206e0148687c320bb9a132)) +- upgrade `@ryanatkn/belt@0.7.5` + ([commit](https://github.com/ryanatkn/fuz/commit/96bd481228618e07ad206e0148687c320bb9a132)) ## 0.50.1 -- upgrade `@grogarden/util@0.7.4` - ([commit](https://github.com/fuz-dev/fuz/commit/c78755d867acb0e0d372afda8be80b7c18904d5a)) +- upgrade `@ryanatkn/belt@0.7.4` + ([commit](https://github.com/ryanatkn/fuz/commit/c78755d867acb0e0d372afda8be80b7c18904d5a)) ## 0.50.0 -- **break**: upgrade `@grogarden/util@0.7.3` +- **break**: upgrade `@ryanatkn/belt@0.7.3` ## 0.49.1 - add `pointing` to `Surface` - ([commit](https://github.com/fuz-dev/fuz/commit/9fe2722d153c7084d0e0d668463c5a263bbdff1f)) + ([commit](https://github.com/ryanatkn/fuz/commit/9fe2722d153c7084d0e0d668463c5a263bbdff1f)) - change `Surface` to not block the contextmenu; might need to revert and fix mobile some other way - ([commit](https://github.com/fuz-dev/fuz/commit/9fe2722d153c7084d0e0d668463c5a263bbdff1f)) + ([commit](https://github.com/ryanatkn/fuz/commit/9fe2722d153c7084d0e0d668463c5a263bbdff1f)) ## 0.49.0 -- **break**: upgrade `@grogarden/util@0.6.0` - ([commit](https://github.com/fuz-dev/fuz/commit/14bf20c5f642588797f1611021899e480632ae9a)) +- **break**: upgrade `@ryanatkn/belt@0.6.0` + ([commit](https://github.com/ryanatkn/fuz/commit/14bf20c5f642588797f1611021899e480632ae9a)) - add pen brush to whiteboard - ([#286](https://github.com/fuz-dev/fuz/pull/286)) + ([#286](https://github.com/ryanatkn/fuz/pull/286)) ## 0.48.2 - fix radio button style - ([#285](https://github.com/fuz-dev/fuz/pull/285)) + ([#285](https://github.com/ryanatkn/fuz/pull/285)) ## 0.48.1 - add and publish component `Redirect.svelte` - ([#284](https://github.com/fuz-dev/fuz/pull/284)) + ([#284](https://github.com/ryanatkn/fuz/pull/284)) ## 0.48.0 - **break**: change `.markup` to apply no `display` property and remove its `width: 100%` - ([#281](https://github.com/fuz-dev/fuz/pull/281)) + ([#281](https://github.com/ryanatkn/fuz/pull/281)) - add utility classes `.width_full` and `.height_full` - ([#281](https://github.com/fuz-dev/fuz/pull/281)) + ([#281](https://github.com/ryanatkn/fuz/pull/281)) ## 0.47.1 - add [the whiteboard sketch](https://www.felt.dev/sketch/whiteboard) with the published components `Whiteboard.svelte`, `Surface.svelte`, and `Scaled.svelte` - ([#269](https://github.com/fuz-dev/fuz/pull/269), - [#274](https://github.com/fuz-dev/fuz/pull/274)) + ([#269](https://github.com/ryanatkn/fuz/pull/269), + [#274](https://github.com/ryanatkn/fuz/pull/274)) - style the `aside` element - ([#275](https://github.com/fuz-dev/fuz/pull/275)) + ([#275](https://github.com/ryanatkn/fuz/pull/275)) - delete GOVERNANCE.md for the meta-project `@feltjs/felt`'s [GOVERNANCE.md](https://github.com/feltjs/felt/blob/main/GOVERNANCE.md) - ([#278](https://github.com/fuz-dev/fuz/pull/278)) + ([#278](https://github.com/ryanatkn/fuz/pull/278)) ## 0.47.0 -- **break**: rename to `@fuz.dev/fuz` and upgrade deps - ([#271](https://github.com/fuz-dev/fuz/pull/271)) +- **break**: rename to `@ryanatkn/fuz` and upgrade deps + ([#271](https://github.com/ryanatkn/fuz/pull/271)) ## 0.46.0 - **break**: upgrade deps - ([#270](https://github.com/fuz-dev/fuz/pull/270)) + ([#270](https://github.com/ryanatkn/fuz/pull/270)) ## 0.45.1 - support stacking dialogs - ([#268](https://github.com/fuz-dev/fuz/pull/268)) + ([#268](https://github.com/ryanatkn/fuz/pull/268)) - add `.ellipsis` CSS utility class - ([#267](https://github.com/fuz-dev/fuz/pull/267)) + ([#267](https://github.com/ryanatkn/fuz/pull/267)) ## 0.45.0 - **break**: move `lib/dialog/` stuff to `lib/` - ([#264](https://github.com/fuz-dev/fuz/pull/264)) + ([#264](https://github.com/ryanatkn/fuz/pull/264)) ## 0.44.0 - **break**: remove peer dependencies - ([#263](https://github.com/fuz-dev/fuz/pull/263)) + ([#263](https://github.com/ryanatkn/fuz/pull/263)) ## 0.43.0 - **break**: move all of `ui/` into the base directory - ([#261](https://github.com/fuz-dev/fuz/pull/261)) + ([#261](https://github.com/ryanatkn/fuz/pull/261)) - **break**: remove `util/` directory; - use [`@grogarden/util`](https://github.com/grogarden/util) instead - ([#260](https://github.com/fuz-dev/fuz/pull/260)) + use [`@ryanatkn/belt`](https://github.com/ryanatkn/belt) instead + ([#260](https://github.com/ryanatkn/fuz/pull/260)) - uncenter the `legend` element - ([#259](https://github.com/fuz-dev/fuz/pull/259)) + ([#259](https://github.com/ryanatkn/fuz/pull/259)) - export everything from the root (we can because it's all browser-and-SSR-friendly) ## 0.42.0 - **break**: remove export `util/async.ts` from `index.ts` - ([#256](https://github.com/fuz-dev/fuz/pull/256)) + ([#256](https://github.com/ryanatkn/fuz/pull/256)) - **break**: remove `Falsy` from `util/types.ts` - ([#256](https://github.com/fuz-dev/fuz/pull/256)) + ([#256](https://github.com/ryanatkn/fuz/pull/256)) - stop truncating unhandled error messages - ([#258](https://github.com/fuz-dev/fuz/pull/258)) + ([#258](https://github.com/ryanatkn/fuz/pull/258)) ## 0.41.5 - improve default form spacing - ([#255](https://github.com/fuz-dev/fuz/pull/255)) + ([#255](https://github.com/ryanatkn/fuz/pull/255)) ## 0.41.4 - add default styles for the `legend` element and tweak form layouts - ([#254](https://github.com/fuz-dev/fuz/pull/254)) + ([#254](https://github.com/ryanatkn/fuz/pull/254)) ## 0.41.3 - add `line-height` to fix `input`, `textarea`, and `select` - ([#253](https://github.com/fuz-dev/fuz/pull/253)) + ([#253](https://github.com/ryanatkn/fuz/pull/253)) ## 0.41.2 - change `unwrap` to throw a `ResultError` instead of a plain `Error`, forwarding the `result` - ([#252](https://github.com/fuz-dev/fuz/pull/252)) + ([#252](https://github.com/ryanatkn/fuz/pull/252)) ## 0.41.1 - fix type of log prefixes and suffixes - ([#246](https://github.com/fuz-dev/fuz/pull/246)) + ([#246](https://github.com/ryanatkn/fuz/pull/246)) ## 0.41.0 - **break**: rename `DevLogger` to `BaseLogger` - ([#244](https://github.com/fuz-dev/fuz/pull/244)) + ([#244](https://github.com/ryanatkn/fuz/pull/244)) - **break**: share prefix/suffix state between `Logger` and `SystemLogger` by default - ([#244](https://github.com/fuz-dev/fuz/pull/244)) + ([#244](https://github.com/ryanatkn/fuz/pull/244)) - add `Logger.prefixes`, `Logger.suffixes`, `SystemLogger.prefixes`, and `SystemLogger.suffixes` for simpler global configuration - ([#244](https://github.com/fuz-dev/fuz/pull/244)) + ([#244](https://github.com/ryanatkn/fuz/pull/244)) - tweak styles for `label.row` and `button.inline` - ([#245](https://github.com/fuz-dev/fuz/pull/245)) + ([#245](https://github.com/ryanatkn/fuz/pull/245)) ## 0.40.1 @@ -637,45 +637,45 @@ ## 0.40.0 - **break**: change `Logger` prefixes and suffixes to print the return value of functions - ([#243](https://github.com/fuz-dev/fuz/pull/243)) + ([#243](https://github.com/ryanatkn/fuz/pull/243)) - fix scrollbar for `Dialog.svelte` - ([#242](https://github.com/fuz-dev/fuz/pull/242)) + ([#242](https://github.com/ryanatkn/fuz/pull/242)) ## 0.39.1 - add `null` to the type of the `FeltWindowHost.svelte` `tenant` prop - ([#241](https://github.com/fuz-dev/fuz/pull/241)) + ([#241](https://github.com/ryanatkn/fuz/pull/241)) ## 0.39.0 - **break**: upgrade SvelteKit peer dep to `>=1.0.0-next.454` - ([#239](https://github.com/fuz-dev/fuz/pull/239), - [#237](https://github.com/fuz-dev/fuz/pull/237)) + ([#239](https://github.com/ryanatkn/fuz/pull/239), + [#237](https://github.com/ryanatkn/fuz/pull/237)) - **break**: require the `tenant` prop for `FeltWindowHost.svelte` instead of autodetecting - ([#238](https://github.com/fuz-dev/fuz/pull/238)) + ([#238](https://github.com/ryanatkn/fuz/pull/238)) - add the `target_origin` prop to `FeltWindowHost.svelte` - ([#238](https://github.com/fuz-dev/fuz/pull/238)) + ([#238](https://github.com/ryanatkn/fuz/pull/238)) - fix timeout bug in `FeltWindowTenant.svelte` - ([#238](https://github.com/fuz-dev/fuz/pull/238)) + ([#238](https://github.com/ryanatkn/fuz/pull/238)) - add `removeUnordered` helper to `util/array.ts` - ([#240](https://github.com/fuz-dev/fuz/pull/240)) + ([#240](https://github.com/ryanatkn/fuz/pull/240)) ## 0.38.0 - **break**: remove `key` from `FeltWindowHost.svelte` and `FeltWindowTenant.svelte` - ([#236](https://github.com/fuz-dev/fuz/pull/236)) + ([#236](https://github.com/ryanatkn/fuz/pull/236)) ## 0.37.0 - **break**: implement the basic window host and tenant system in `FeltWindowHost.svelte` and rename `FeltWindowTenant.svelte` from `FeltWindowGuest.svelte` - ([#235](https://github.com/fuz-dev/fuz/pull/235)) + ([#235](https://github.com/ryanatkn/fuz/pull/235)) ## 0.36.0 - **break**: overhaul styles - ([#224](https://github.com/fuz-dev/fuz/pull/224)) + ([#224](https://github.com/ryanatkn/fuz/pull/224)) - remove `--input_border_width` - use `--border_width` instead - remove `--border` - use each variable directly instead so they can be overidden - remove `--icon_max` - use `--icon_size_4` instead @@ -695,108 +695,108 @@ - add `--input_height_sm` - add styles for radio inputs - bake the golden ratio constants in `util/maths.ts` - ([#223](https://github.com/fuz-dev/fuz/pull/223)) + ([#223](https://github.com/ryanatkn/fuz/pull/223)) - bold the `.title` elements in `label` elements - ([#231](https://github.com/fuz-dev/fuz/pull/231)) + ([#231](https://github.com/ryanatkn/fuz/pull/231)) - close dialog on mousedown instead of click - ([#230](https://github.com/fuz-dev/fuz/pull/230)) + ([#230](https://github.com/ryanatkn/fuz/pull/230)) ## 0.35.2 - fix dialog close event to ignore events from elements not in the DOM - ([#222](https://github.com/fuz-dev/fuz/pull/222)) + ([#222](https://github.com/ryanatkn/fuz/pull/222)) ## 0.35.1 - fix dialog click event propagation - ([#221](https://github.com/fuz-dev/fuz/pull/221)) + ([#221](https://github.com/ryanatkn/fuz/pull/221)) ## 0.35.0 - **break**: upgrade to Node 18.6 and `@sveltejs/kit@1.0.0-next.382` - ([#219](https://github.com/fuz-dev/fuz/pull/219), - [#220](https://github.com/fuz-dev/fuz/pull/220)) + ([#219](https://github.com/ryanatkn/fuz/pull/219), + [#220](https://github.com/ryanatkn/fuz/pull/220)) ## 0.34.0 - **break**: change devmode hotkey to `ctrl+Backtick` and add the `should_toggle` function as a prop - ([#218](https://github.com/fuz-dev/fuz/pull/218)) + ([#218](https://github.com/ryanatkn/fuz/pull/218)) ## 0.33.0 - **break**: default `a` styles to `display: flex` and `display: inline` inside `.markup` - ([#216](https://github.com/fuz-dev/fuz/pull/216)) + ([#216](https://github.com/ryanatkn/fuz/pull/216)) - loosen the type of `Teleport` prop `to` to accept `null` - ([#217](https://github.com/fuz-dev/fuz/pull/217)) + ([#217](https://github.com/ryanatkn/fuz/pull/217)) ## 0.32.0 - **break**: rename `Breadcrumb.svelte` from `LinkPath.svelte` - ([#214](https://github.com/fuz-dev/fuz/pull/214)) + ([#214](https://github.com/ryanatkn/fuz/pull/214)) - **break**: unpublish `Github_Logo.svelte` and `TwitterLogo.svelte` - ([#213](https://github.com/fuz-dev/fuz/pull/213)) + ([#213](https://github.com/ryanatkn/fuz/pull/213)) - add `"separator"` slot to `Breadcrumb.svelte` - ([#214](https://github.com/fuz-dev/fuz/pull/214)) + ([#214](https://github.com/ryanatkn/fuz/pull/214)) ## 0.31.0 - **break**: unset `img` stlye `display` back to the default `inline-block` - ([#210](https://github.com/fuz-dev/fuz/pull/210)) + ([#210](https://github.com/ryanatkn/fuz/pull/210)) - **break**: remove padding from `.markup` and add `.padded-md` and `.padded-xl` - ([#212](https://github.com/fuz-dev/fuz/pull/212)) + ([#212](https://github.com/ryanatkn/fuz/pull/212)) - update focus styles to use the accent color and a solid border - ([#209](https://github.com/fuz-dev/fuz/pull/209), - [#211](https://github.com/fuz-dev/fuz/pull/211)) + ([#209](https://github.com/ryanatkn/fuz/pull/209), + [#211](https://github.com/ryanatkn/fuz/pull/211)) ## 0.30.1 - fix golden ratio values in `util/maths.ts` - ([#206](https://github.com/fuz-dev/fuz/pull/206)) + ([#206](https://github.com/ryanatkn/fuz/pull/206)) - add `util/dom.ts` helper `swallow` for stopping events concisely - ([#208](https://github.com/fuz-dev/fuz/pull/208)) + ([#208](https://github.com/ryanatkn/fuz/pull/208)) - fix `.centered-hz` to explicitly set row direction - ([#207](https://github.com/fuz-dev/fuz/pull/207)) + ([#207](https://github.com/ryanatkn/fuz/pull/207)) ## 0.30.0 - **break**: replace `--border_radius_1` and `--border_radius_5` with `--border_radius_2` to 5, and rename `--border_radius_2` and `border_radius_3` to 2 and 3, respectively - ([#204](https://github.com/fuz-dev/fuz/pull/204)) + ([#204](https://github.com/ryanatkn/fuz/pull/204)) - add `fade-in` animation - ([#205](https://github.com/fuz-dev/fuz/pull/205)) + ([#205](https://github.com/ryanatkn/fuz/pull/205)) ## 0.29.0 - **break**: change `--icon_size` CSS variables a few pixels to match common standards - ([#202](https://github.com/fuz-dev/fuz/pull/202)) + ([#202](https://github.com/ryanatkn/fuz/pull/202)) - remove fixed button font size and inherit instead - ([#201](https://github.com/fuz-dev/fuz/pull/201)) + ([#201](https://github.com/ryanatkn/fuz/pull/201)) ## 0.28.1 - fix `is_editable` to return `false` for checkbox, radio, and range input types - ([#198](https://github.com/fuz-dev/fuz/pull/198)) + ([#198](https://github.com/ryanatkn/fuz/pull/198)) ## 0.28.0 - **break**: remove `last` from `util/array.ts` - ([#195](https://github.com/fuz-dev/fuz/pull/195)) + ([#195](https://github.com/ryanatkn/fuz/pull/195)) - add `--icon_size` which defaults to `--icon_size_md` - ([#195](https://github.com/fuz-dev/fuz/pull/195)) + ([#195](https://github.com/ryanatkn/fuz/pull/195)) ## 0.27.1 - add `unwrapError` `Result` helper - ([#194](https://github.com/fuz-dev/fuz/pull/194)) + ([#194](https://github.com/ryanatkn/fuz/pull/194)) - fix type of `OK` and `NOT_OK` - ([#194](https://github.com/fuz-dev/fuz/pull/194)) + ([#194](https://github.com/ryanatkn/fuz/pull/194)) ## 0.27.0 - **break**: remove `icons` module exports from root API - ([#192](https://github.com/fuz-dev/fuz/pull/192)) + ([#192](https://github.com/ryanatkn/fuz/pull/192)) - add `OK` and `NOT_OK` to `util/result.ts` - ([#193](https://github.com/fuz-dev/fuz/pull/193)) + ([#193](https://github.com/ryanatkn/fuz/pull/193)) ## 0.26.0 @@ -804,363 +804,363 @@ `--border_style_disabled`, `--button_border_style`, `--button_border_v_style_disabled`, `--button_border_h_style_disabled`, and `--input_border_style` - ([#191](https://github.com/fuz-dev/fuz/pull/191)) + ([#191](https://github.com/ryanatkn/fuz/pull/191)) - make `PendingButton.svelte` type `"button"` and disable when pending - ([#190](https://github.com/fuz-dev/fuz/pull/190)) + ([#190](https://github.com/ryanatkn/fuz/pull/190)) - improve styles of disabled buttons and inputs - ([#190](https://github.com/fuz-dev/fuz/pull/190)) + ([#190](https://github.com/ryanatkn/fuz/pull/190)) ## 0.25.1 - add `toGraphemeCount` to `util/string.ts` - ([#189](https://github.com/fuz-dev/fuz/pull/189)) + ([#189](https://github.com/ryanatkn/fuz/pull/189)) ## 0.25.0 - **break**: remove the `ok` `Result` helper - ([#188](https://github.com/fuz-dev/fuz/pull/188)) + ([#188](https://github.com/ryanatkn/fuz/pull/188)) - change the `unwrap` `Result` helper to make `value` optional - ([#188](https://github.com/fuz-dev/fuz/pull/188)) + ([#188](https://github.com/ryanatkn/fuz/pull/188)) ## 0.24.0 - **break**: rename `--duration_N` CSS variables from `--transition_duration_N` and add `--duration_6` - ([#186](https://github.com/fuz-dev/fuz/pull/186)) + ([#186](https://github.com/ryanatkn/fuz/pull/186)) - add `--animation_duration` API to `PendingAnimation.svelte` - ([#186](https://github.com/fuz-dev/fuz/pull/186)) + ([#186](https://github.com/ryanatkn/fuz/pull/186)) - relax `is_editable` type in `util/dom.js` - ([#187](https://github.com/fuz-dev/fuz/pull/187)) + ([#187](https://github.com/ryanatkn/fuz/pull/187)) ## 0.23.0 - **break**: remove all `Promise` behavior from `toObtainable` because it's too error prone - ([#185](https://github.com/fuz-dev/fuz/pull/185)) + ([#185](https://github.com/ryanatkn/fuz/pull/185)) - style `summary` elements - ([#183](https://github.com/fuz-dev/fuz/pull/183)) + ([#183](https://github.com/ryanatkn/fuz/pull/183)) ## 0.22.1 - add `Dialog` `layout` option - ([#179](https://github.com/fuz-dev/fuz/pull/179)) + ([#179](https://github.com/ryanatkn/fuz/pull/179)) - add `dialog_props` to `DialogData` - ([#179](https://github.com/fuz-dev/fuz/pull/179)) + ([#179](https://github.com/ryanatkn/fuz/pull/179)) - add new module `util/result.js` and move `Result` and `unwrap` from `util/types.js` to it, and add the new `ok` `Result` helper - ([#178](https://github.com/fuz-dev/fuz/pull/178)) + ([#178](https://github.com/ryanatkn/fuz/pull/178)) - add optional `random` arg that defaults to `Math.random` to each function in `util/random.js` - ([#178](https://github.com/fuz-dev/fuz/pull/178)) + ([#178](https://github.com/ryanatkn/fuz/pull/178)) - add optional `"icon"` slot to `Message.svelte` - ([#178](https://github.com/fuz-dev/fuz/pull/178)) + ([#178](https://github.com/ryanatkn/fuz/pull/178)) - improve env handling for log level - ([#180](https://github.com/fuz-dev/fuz/pull/180)) + ([#180](https://github.com/ryanatkn/fuz/pull/180)) - add `index` to `PendingAnimation` slot props - ([#181](https://github.com/fuz-dev/fuz/pull/181)) + ([#181](https://github.com/ryanatkn/fuz/pull/181)) ## 0.22.0 - **break**: remove `font_weight` CSS variables - ([#175](https://github.com/fuz-dev/fuz/pull/175)) + ([#175](https://github.com/ryanatkn/fuz/pull/175)) - **break**: rename `util/print.ts` `printString` from `printStr` - ([#174](https://github.com/fuz-dev/fuz/pull/174)) + ([#174](https://github.com/ryanatkn/fuz/pull/174)) - improve value formatting in `util/print.ts` - ([#174](https://github.com/fuz-dev/fuz/pull/174)) + ([#174](https://github.com/ryanatkn/fuz/pull/174)) - add `traverse` helper to `util/object.ts` - ([#173](https://github.com/fuz-dev/fuz/pull/173)) + ([#173](https://github.com/ryanatkn/fuz/pull/173)) ## 0.21.0 - **break**: change `DialogDataSchema` path to absolute - ([#172](https://github.com/fuz-dev/fuz/pull/172)) + ([#172](https://github.com/ryanatkn/fuz/pull/172)) ## 0.20.0 - **break**: rename schema export `DialogDataSchema` from `DialogState` - ([#170](https://github.com/fuz-dev/fuz/pull/170)) + ([#170](https://github.com/ryanatkn/fuz/pull/170)) ## 0.19.0 - **break**: move `dialog/Dialog.svelte` from `Dialog.svelte` - ([#169](https://github.com/fuz-dev/fuz/pull/169)) + ([#169](https://github.com/ryanatkn/fuz/pull/169)) - add and publish `dialog/Dialogs.svelte` and `dialog/dialog.ts` - ([#169](https://github.com/fuz-dev/fuz/pull/169)) + ([#169](https://github.com/ryanatkn/fuz/pull/169)) ## 0.18.0 - **break**: remove `util/terminal.js` because it evolved into just re-exporting `kleur` with one additional helper - ([#167](https://github.com/fuz-dev/fuz/pull/167)) + ([#167](https://github.com/ryanatkn/fuz/pull/167)) - **break**: remove `util/equal.js` and the `dequal` dependency - ([#167](https://github.com/fuz-dev/fuz/pull/167)) + ([#167](https://github.com/ryanatkn/fuz/pull/167)) - **break**: rename `util/maths.js` from `util/math.js` and `mix` to `lerp` - ([#168](https://github.com/fuz-dev/fuz/pull/168)) + ([#168](https://github.com/ryanatkn/fuz/pull/168)) - add `clamp` to `util/maths.js` - ([#168](https://github.com/fuz-dev/fuz/pull/168)) + ([#168](https://github.com/ryanatkn/fuz/pull/168)) ## 0.17.0 - **break**: rename `.column-min` to `.column-sm` and `--column_width_min` to `--column_width_sm` and remove `min-width` of `.column`/`.column-sm` - ([#164](https://github.com/fuz-dev/fuz/pull/164)) + ([#164](https://github.com/ryanatkn/fuz/pull/164)) - **break**: remove `util/lock.js` - ([#165](https://github.com/fuz-dev/fuz/pull/165)) + ([#165](https://github.com/ryanatkn/fuz/pull/165)) ## 0.16.0 - **break**: rename `Devmode_Controls.svelte` from `Devmode.svelte` and remove toggle button - ([#159](https://github.com/fuz-dev/fuz/pull/159)) + ([#159](https://github.com/ryanatkn/fuz/pull/159)) - **break**: remove opinionated layout CSS on the `html` and `body` elements - ([#155](https://github.com/fuz-dev/fuz/pull/155)) + ([#155](https://github.com/ryanatkn/fuz/pull/155)) - **break**: replace `--pane_box_shadow` with `--drop_shadow` and `--drop_shadow_dark` - ([#161](https://github.com/fuz-dev/fuz/pull/161)) + ([#161](https://github.com/ryanatkn/fuz/pull/161)) - add CSS variables `--transition_duration_1` to `--transition_duration_5` that get disabled with `prefers-reduced-motion` - ([#163](https://github.com/fuz-dev/fuz/pull/163)) + ([#163](https://github.com/ryanatkn/fuz/pull/163)) ## 0.15.2 - add and publish `HueInput.svelte` - ([#156](https://github.com/fuz-dev/fuz/pull/156)) + ([#156](https://github.com/ryanatkn/fuz/pull/156)) ## 0.15.1 - remove scrollbar padding hack that caused a visual error on some browsers - ([#153](https://github.com/fuz-dev/fuz/pull/153)) + ([#153](https://github.com/ryanatkn/fuz/pull/153)) ## 0.15.0 - **break**: remove most of `icons.ts` - ([#148](https://github.com/fuz-dev/fuz/pull/148)) + ([#148](https://github.com/ryanatkn/fuz/pull/148)) - export `Github_Logo.svelte` and `TwitterLogo.svelte` - ([#150](https://github.com/fuz-dev/fuz/pull/150)) + ([#150](https://github.com/ryanatkn/fuz/pull/150)) - add reusable `.pane` CSS class - ([#152](https://github.com/fuz-dev/fuz/pull/152)) + ([#152](https://github.com/ryanatkn/fuz/pull/152)) ## 0.14.1 - fix `LinkPath.svelte` to account for base path and make its props optional - ([#145](https://github.com/fuz-dev/fuz/pull/145)) + ([#145](https://github.com/ryanatkn/fuz/pull/145)) - add `.pixelated` utility class to `style.css` - ([#146](https://github.com/fuz-dev/fuz/pull/146)) + ([#146](https://github.com/ryanatkn/fuz/pull/146)) ## 0.14.0 - **break**: unset `overflow` global styles and remove `main` element styles - ([#141](https://github.com/fuz-dev/fuz/pull/141)) + ([#141](https://github.com/ryanatkn/fuz/pull/141)) - **break**: remove `wrap` from `util/async.ts` - ([#139](https://github.com/fuz-dev/fuz/pull/139)) + ([#139](https://github.com/ryanatkn/fuz/pull/139)) - publish `LinkPath.svelte` - ([#143](https://github.com/fuz-dev/fuz/pull/143)) + ([#143](https://github.com/ryanatkn/fuz/pull/143)) - add `--text_color` to `body` element style - ([#142](https://github.com/fuz-dev/fuz/pull/142)) + ([#142](https://github.com/ryanatkn/fuz/pull/142)) - prefer `system-ui` font family - ([#142](https://github.com/fuz-dev/fuz/pull/142)) + ([#142](https://github.com/ryanatkn/fuz/pull/142)) ## 0.13.0 - **break**: replace `Markup.svelte` component with class `.markup` in `style.css` - ([#138](https://github.com/fuz-dev/fuz/pull/138)) + ([#138](https://github.com/ryanatkn/fuz/pull/138)) - add `.column-min` css class for half-width layouts - ([#137](https://github.com/fuz-dev/fuz/pull/137)) + ([#137](https://github.com/ryanatkn/fuz/pull/137)) ## 0.12.0 - **break**: rename `Teleport.svelte` from `Portal.svelte` - ([#136](https://github.com/fuz-dev/fuz/pull/136)) + ([#136](https://github.com/ryanatkn/fuz/pull/136)) - **break**: update styles - ([#136](https://github.com/fuz-dev/fuz/pull/136)) + ([#136](https://github.com/ryanatkn/fuz/pull/136)) - **break**: change `PendingAnimation` property `paused` to `running` - ([#136](https://github.com/fuz-dev/fuz/pull/136)) + ([#136](https://github.com/ryanatkn/fuz/pull/136)) - add optional `separator` arg to `toToClientId` - ([#136](https://github.com/fuz-dev/fuz/pull/136)) + ([#136](https://github.com/ryanatkn/fuz/pull/136)) - graduate to pre-alpha status - ([#136](https://github.com/fuz-dev/fuz/pull/136)) + ([#136](https://github.com/ryanatkn/fuz/pull/136)) ## 0.11.0 - **break**: upgrade deps - ([#133](https://github.com/fuz-dev/fuz/pull/133)) + ([#133](https://github.com/ryanatkn/fuz/pull/133)) - **break**: update styles - ([#133](https://github.com/fuz-dev/fuz/pull/133)) + ([#133](https://github.com/ryanatkn/fuz/pull/133)) - **break**: change `kleur` exports to match original signatures now that we dropped `snake_case` - ([#133](https://github.com/fuz-dev/fuz/pull/133)) + ([#133](https://github.com/ryanatkn/fuz/pull/133)) - fix `unwrap` type - ([#135](https://github.com/fuz-dev/fuz/pull/135)) + ([#135](https://github.com/ryanatkn/fuz/pull/135)) ## 0.10.0 - **break**: rename `Dialog` from `Modal` - ([#134](https://github.com/fuz-dev/fuz/pull/134)) + ([#134](https://github.com/ryanatkn/fuz/pull/134)) ## 0.9.0 - **break**: rename to `camelCase` from `snake_case` - ([#131](https://github.com/fuz-dev/fuz/pull/131)) + ([#131](https://github.com/ryanatkn/fuz/pull/131)) - add and publish `Dialog.svelte` and `Teleport.svelte` - ([#127](https://github.com/fuz-dev/fuz/pull/127)) + ([#127](https://github.com/ryanatkn/fuz/pull/127)) - add and publish `FeltWindowHost.svelte` and `FeltWindowGuest.svelte` - ([#128](https://github.com/fuz-dev/fuz/pull/128)) + ([#128](https://github.com/ryanatkn/fuz/pull/128)) ## 0.8.1 - add and publish `PendingButton.svelte` - ([#125](https://github.com/fuz-dev/fuz/pull/125)) + ([#125](https://github.com/ryanatkn/fuz/pull/125)) ## 0.8.0 - **break**: rename to `PascalCase` from `Proper_Snake_Case` - ([#120](https://github.com/fuz-dev/fuz/pull/120)) + ([#120](https://github.com/ryanatkn/fuz/pull/120)) ## 0.7.0 - **break**: require Node >=16.6.0 - ([#116](https://github.com/fuz-dev/fuz/pull/116)) + ([#116](https://github.com/ryanatkn/fuz/pull/116)) - update styles - ([#115](https://github.com/fuz-dev/fuz/pull/115)) + ([#115](https://github.com/ryanatkn/fuz/pull/115)) ## 0.6.0 - **break**: rename and add exports in `icons.ts` - ([#108](https://github.com/fuz-dev/fuz/pull/108)) + ([#108](https://github.com/ryanatkn/fuz/pull/108)) - **break**: add peer deps `svelte` and `@sveltejs/kit` - ([#112](https://github.com/fuz-dev/fuz/pull/112)) + ([#112](https://github.com/ryanatkn/fuz/pull/112)) - update `PendingAnimation.svelte` with slot content and `running` prop - ([#108](https://github.com/fuz-dev/fuz/pull/108)) + ([#108](https://github.com/ryanatkn/fuz/pull/108)) - replace `Message.svelte` prop `text` with a slot - ([#108](https://github.com/fuz-dev/fuz/pull/108)) + ([#108](https://github.com/ryanatkn/fuz/pull/108)) - publish `Message.svelte` - ([#108](https://github.com/fuz-dev/fuz/pull/108)) + ([#108](https://github.com/ryanatkn/fuz/pull/108)) ## 0.5.5 - update `style.css` - ([#102](https://github.com/fuz-dev/fuz/pull/102)) + ([#102](https://github.com/ryanatkn/fuz/pull/102)) ## 0.5.4 - publish `util/randomSeeded.ts` - ([#106](https://github.com/fuz-dev/fuz/pull/106)) + ([#106](https://github.com/ryanatkn/fuz/pull/106)) ## 0.5.3 - add `util/randomSeeded.ts` using [code from Johannes BaagΓΈe'](https://github.com/nquinlan/better-random-numbers-for-javascript-mirror) - ([#103](https://github.com/fuz-dev/fuz/pull/103)) + ([#103](https://github.com/ryanatkn/fuz/pull/103)) ## 0.5.2 - update `style.css` - ([#101](https://github.com/fuz-dev/fuz/pull/101)) + ([#101](https://github.com/ryanatkn/fuz/pull/101)) ## 0.5.1 - publish `util/dom.ts` and `util/regexp.ts` - ([#99](https://github.com/fuz-dev/fuz/pull/99)) + ([#99](https://github.com/ryanatkn/fuz/pull/99)) - update `style.css` - ([#100](https://github.com/fuz-dev/fuz/pull/100)) + ([#100](https://github.com/ryanatkn/fuz/pull/100)) ## 0.5.0 - **break**: merge `util/uuid.ts` into `util/id.ts` - ([#96](https://github.com/fuz-dev/fuz/pull/96)) + ([#96](https://github.com/ryanatkn/fuz/pull/96)) - add `util/id.ts` and `util/counter.ts` - ([#96](https://github.com/fuz-dev/fuz/pull/96)) + ([#96](https://github.com/ryanatkn/fuz/pull/96)) - update `style.css` - ([#95](https://github.com/fuz-dev/fuz/pull/95)) + ([#95](https://github.com/ryanatkn/fuz/pull/95)) - publish `devmode.ts` and `Devmode.svelte` - ([#98](https://github.com/fuz-dev/fuz/pull/98)) + ([#98](https://github.com/ryanatkn/fuz/pull/98)) ## 0.4.5 - update `style.css` - ([#94](https://github.com/fuz-dev/fuz/pull/94)) + ([#94](https://github.com/ryanatkn/fuz/pull/94)) ## 0.4.4 - publish `style.css` and `Markup.svelte` - ([#93](https://github.com/fuz-dev/fuz/pull/93)) + ([#93](https://github.com/ryanatkn/fuz/pull/93)) ## 0.4.3 - fix published types - ([#92](https://github.com/fuz-dev/fuz/pull/92)) + ([#92](https://github.com/ryanatkn/fuz/pull/92)) ## 0.4.2 - publish component `PendingAnimation.svelte` - ([#91](https://github.com/fuz-dev/fuz/pull/91)) + ([#91](https://github.com/ryanatkn/fuz/pull/91)) ## 0.4.1 - export `AsyncStatus` and `wait` from root - ([#89](https://github.com/fuz-dev/fuz/pull/89)) + ([#89](https://github.com/ryanatkn/fuz/pull/89)) ## 0.4.0 - **break**: remove camelCase terminal color exports and rename `color_bg` from `bg_color` - ([#88](https://github.com/fuz-dev/fuz/pull/88)) + ([#88](https://github.com/ryanatkn/fuz/pull/88)) - **break**: rename `avocado` from `avacado` πŸ₯‘ - ([#88](https://github.com/fuz-dev/fuz/pull/88)) + ([#88](https://github.com/ryanatkn/fuz/pull/88)) - add `randomBool` to `util/random.ts` - ([#88](https://github.com/fuz-dev/fuz/pull/88)) + ([#88](https://github.com/ryanatkn/fuz/pull/88)) - change `randomItem` return type to exclude `undefined` - ([#88](https://github.com/fuz-dev/fuz/pull/88)) + ([#88](https://github.com/ryanatkn/fuz/pull/88)) - upgrade Gro to 0.28.2 - ([#87](https://github.com/fuz-dev/fuz/pull/87)) + ([#87](https://github.com/ryanatkn/fuz/pull/87)) ## 0.3.0 - **break**: swap the names of `spawn` and `spawnProcess` - ([#63](https://github.com/fuz-dev/fuz/pull/63)) + ([#63](https://github.com/ryanatkn/fuz/pull/63)) - **break**: rename `spawnRestartableProcess` from `createRestartableProcess` and remove its `delay` arg - ([#63](https://github.com/fuz-dev/fuz/pull/63)) + ([#63](https://github.com/ryanatkn/fuz/pull/63)) - **break**: rename `util/timings.ts` from `util/time.ts` - ([#63](https://github.com/fuz-dev/fuz/pull/63)) + ([#63](https://github.com/ryanatkn/fuz/pull/63)) - **break**: rename `Timings.get_all` from `Timings.getAll` - ([#63](https://github.com/fuz-dev/fuz/pull/63)) + ([#63](https://github.com/ryanatkn/fuz/pull/63)) - upgrade Gro to 0.28.1 - ([#63](https://github.com/fuz-dev/fuz/pull/63)) + ([#63](https://github.com/ryanatkn/fuz/pull/63)) ## 0.2.2 - fix another issue with published types - ([#86](https://github.com/fuz-dev/fuz/pull/86)) + ([#86](https://github.com/ryanatkn/fuz/pull/86)) ## 0.2.1 - fix published types - ([#86](https://github.com/fuz-dev/fuz/pull/86)) + ([#86](https://github.com/ryanatkn/fuz/pull/86)) ## 0.2.0 - **break**: convert to `snake_case` from `camelCase` - ([#50](https://github.com/fuz-dev/fuz/pull/50)) + ([#50](https://github.com/ryanatkn/fuz/pull/50)) - **break**: rename `src/util` from `src/utils` - ([#56](https://github.com/fuz-dev/fuz/pull/56)) + ([#56](https://github.com/ryanatkn/fuz/pull/56)) - add first pass at onboarding sketch - ([#32](https://github.com/fuz-dev/fuz/pull/32)) + ([#32](https://github.com/ryanatkn/fuz/pull/32)) ## 0.1.4 - update Gro and publish with its new strategy - ([#31](https://github.com/fuz-dev/fuz/pull/31)) + ([#31](https://github.com/ryanatkn/fuz/pull/31)) ## 0.1.3 -- move utils from `@grogarden/gro` - ([#30](https://github.com/fuz-dev/fuz/pull/30)) +- move utils from `@ryanatkn/gro` + ([#30](https://github.com/ryanatkn/fuz/pull/30)) ## 0.1.2 - remove remaining Svelte components from public API until the full process is ready - ([#29](https://github.com/fuz-dev/fuz/pull/29)) + ([#29](https://github.com/ryanatkn/fuz/pull/29)) ## 0.1.1 - remove `Nav.svelte` from the public API - ([#27](https://github.com/fuz-dev/fuz/pull/27)) + ([#27](https://github.com/ryanatkn/fuz/pull/27)) ## 0.1.0 - publish - ([#19](https://github.com/fuz-dev/fuz/pull/19)) + ([#19](https://github.com/ryanatkn/fuz/pull/19)) diff --git a/README.md b/README.md index e5f359166..14f133f1c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# `@fuz.dev/fuz` +# `@ryanatkn/fuz` > friendly user zystem 🧢 [fuz.dev](https://www.fuz.dev/) @@ -14,24 +14,24 @@ and SvelteKit: unless the gains are substantial - has a small set of utility classes with plans for a lot more - currently includes a single global importable `style.css`, - see [this issue about optimization](https://github.com/fuz-dev/fuz/issues/277) + see [this issue about optimization](https://github.com/ryanatkn/fuz/issues/277) ## usage ```bash -npm i -D @fuz.dev/fuz +npm i -D @ryanatkn/fuz ``` Import modules at their full paths: ```ts // plain CSS stylesheets: -import '@fuz.dev/fuz/style.css'; -import '@fuz.dev/fuz/theme.css'; // or bring your own +import '@ryanatkn/fuz/style.css'; +import '@ryanatkn/fuz/theme.css'; // or bring your own // Svelte components: -import Themed from '@fuz.dev/fuz/Themed.svelte'; +import Themed from '@ryanatkn/fuz/Themed.svelte'; // TypeScript modules: -import {type Theme, get_theme} from '@fuz.dev/fuz/theme.js'; +import {type Theme, get_theme} from '@ryanatkn/fuz/theme.js'; ``` See [the library](https://www.fuz.dev/library) and diff --git a/package-lock.json b/package-lock.json index 1f16eed01..e9a193304 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,21 +1,20 @@ { - "name": "@fuz.dev/fuz", + "name": "@ryanatkn/fuz", "version": "0.81.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@fuz.dev/fuz", + "name": "@ryanatkn/fuz", "version": "0.81.0", "license": "MIT", "devDependencies": { "@changesets/changelog-git": "^0.2.0", - "@feltjs/eslint-config": "^0.4.1", - "@fuz.dev/fuz_code": "^0.5.0", - "@fuz.dev/fuz_dialog": "^0.6.0", - "@fuz.dev/fuz_library": "^0.23.0", - "@grogarden/gro": "^0.108.0", - "@ryanatkn/orc": "^0.17.0", + "@ryanatkn/belt": "^0.20.3", + "@ryanatkn/eslint-config": "^0.1.0", + "@ryanatkn/fuz_code": "^0.6.0", + "@ryanatkn/gro": "^0.112.0", + "@ryanatkn/orc": "^0.18.0", "@sveltejs/adapter-static": "^3.0.1", "@sveltejs/kit": "^2.0.6", "@sveltejs/package": "^2.2.5", @@ -64,18 +63,6 @@ "node": ">=6.0.0" } }, - "node_modules/@apidevtools/json-schema-ref-parser": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.9.tgz", - "integrity": "sha512-GBD2Le9w2+lVFoc4vswGI/TjkNIZSVp7+9xPf+X3uidBfWnAeUWmquteSyt0+VCrhNMWj/FTABISQrD3Z/YA+w==", - "dev": true, - "dependencies": { - "@jsdevtools/ono": "^7.1.3", - "@types/json-schema": "^7.0.6", - "call-me-maybe": "^1.0.1", - "js-yaml": "^4.1.0" - } - }, "node_modules/@changesets/changelog-git": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/@changesets/changelog-git/-/changelog-git-0.2.0.tgz", @@ -538,106 +525,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@feltjs/eslint-config": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@feltjs/eslint-config/-/eslint-config-0.4.1.tgz", - "integrity": "sha512-kRedj6NXl9AD9NFKAGnxfVuyauJAMEkRYHOuWKdOzohtTWlRiK+9OWj17DpHLlNEy11qVSJSOm8N733P0yDWOg==", - "dev": true, - "engines": { - "node": ">=16.6" - }, - "peerDependencies": { - "@typescript-eslint/eslint-plugin": ">=6", - "@typescript-eslint/parser": ">=6", - "eslint": ">=8", - "eslint-plugin-svelte": ">=2", - "svelte": ">=4", - "typescript": ">=5" - } - }, - "node_modules/@fuz.dev/fuz_code": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@fuz.dev/fuz_code/-/fuz_code-0.5.0.tgz", - "integrity": "sha512-pvovlUb70qyo2XvMNxWUSmrSI2TBD0qPZsFQ0wdy8Zv5l/tS8dBbi5+tyLOz/QHWc8Y2NMMsNzd0gADPsXMP2w==", - "dev": true, - "engines": { - "node": ">=20.10" - }, - "peerDependencies": { - "svelte": "*" - } - }, - "node_modules/@fuz.dev/fuz_dialog": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@fuz.dev/fuz_dialog/-/fuz_dialog-0.6.0.tgz", - "integrity": "sha512-YVViGv5hRzBRQZ2eEV4VqOdQtSrFarJ4FM8LCvO29JYojdJORw3nfdReisjb2k9lesMeJm7WMuXTrBNVaZZ8rA==", - "dev": true, - "engines": { - "node": ">=20.10" - }, - "peerDependencies": { - "@fuz.dev/fuz_library": "*", - "@grogarden/util": "*", - "svelte": "*" - } - }, - "node_modules/@fuz.dev/fuz_library": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@fuz.dev/fuz_library/-/fuz_library-0.23.0.tgz", - "integrity": "sha512-3c4GOZiHX5lkDhdWLrqoUjpZVgU9tbShKa801jj9gmqVMPgJqTMhi25orHQoY0LBe2VPToPYqc27/4A8LAUqdg==", - "dev": true, - "engines": { - "node": ">=20.7" - }, - "peerDependencies": { - "@grogarden/util": "*", - "@sveltejs/kit": "*", - "svelte": "*" - } - }, - "node_modules/@grogarden/gro": { - "version": "0.108.0", - "resolved": "https://registry.npmjs.org/@grogarden/gro/-/gro-0.108.0.tgz", - "integrity": "sha512-SQNwvOTAmufyLCUNaMIDnb/ANe4iE0NrOpplEcbMNxzdob16LL5KHzUvW7rOC7Ia0En0bouIkwSZ/jLVgEBYKw==", - "dev": true, - "dependencies": { - "@grogarden/util": "^0.18.3", - "@ryanatkn/json-schema-to-typescript": "^11.1.5", - "chokidar": "^3.5.3", - "dotenv": "^16.3.1", - "es-module-lexer": "^1.4.1", - "kleur": "^4.1.5", - "mri": "^1.2.0", - "prettier": "^3.1.1", - "prettier-plugin-svelte": "^3.1.2", - "tiny-glob": "^0.2.9", - "ts-morph": "^21.0.1", - "tslib": "^2.6.2", - "zod": "^3.22.4" - }, - "bin": { - "gro": "dist/gro.js" - }, - "engines": { - "node": ">=20.10" - }, - "peerDependencies": { - "esbuild": "^0.19", - "svelte": "*" - } - }, - "node_modules/@grogarden/util": { - "version": "0.18.3", - "resolved": "https://registry.npmjs.org/@grogarden/util/-/util-0.18.3.tgz", - "integrity": "sha512-SjWgm3xAv7/J2Xjy61Yn34QrhMilMJJXwW4ywhNy3JS3If18abc8ewThlLVfTUSxdzdSxoAmRVAY+TyylkENgA==", - "dev": true, - "engines": { - "node": ">=20.10" - }, - "peerDependencies": { - "kleur": "^4.0.0" - } - }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.13", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", @@ -719,12 +606,6 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@jsdevtools/ono": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", - "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", - "dev": true - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -948,29 +829,86 @@ ], "peer": true }, - "node_modules/@ryanatkn/json-schema-to-typescript": { - "version": "11.1.5", - "resolved": "https://registry.npmjs.org/@ryanatkn/json-schema-to-typescript/-/json-schema-to-typescript-11.1.5.tgz", - "integrity": "sha512-meUWQJW+duixeAGizv/dcQ7Xp/RUvCUJQ68ChLqMp8kS+yshpDtr9OhSu+LVnnCz7C57WoU5kuJK0qEtYGqtXg==", + "node_modules/@ryanatkn/belt": { + "version": "0.20.3", + "resolved": "https://registry.npmjs.org/@ryanatkn/belt/-/belt-0.20.3.tgz", + "integrity": "sha512-8zj/s500HzW3Yh+/OaZOvm8zF/PBd0h0drPqV5nueBcSgJGPaaUUefXLE6vkrTB13AMG8yCVF0ZJvZlJA8yHFQ==", + "dev": true, + "engines": { + "node": ">=20.10" + }, + "peerDependencies": { + "kleur": "^4.0.0" + } + }, + "node_modules/@ryanatkn/eslint-config": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ryanatkn/eslint-config/-/eslint-config-0.1.0.tgz", + "integrity": "sha512-5DwEtUpsth+NJilm56OLEQ/YxjkN5xtxf2I5FejMrCw/3B8Osp9uiM6BVWXbRMAud9fLAHO/Vw8EQmcipHAbLA==", + "dev": true, + "engines": { + "node": ">=20.10" + }, + "peerDependencies": { + "@typescript-eslint/eslint-plugin": ">=6", + "@typescript-eslint/parser": ">=6", + "eslint": ">=8", + "eslint-plugin-svelte": ">=2", + "svelte": ">=4", + "typescript": ">=5" + } + }, + "node_modules/@ryanatkn/fuz_code": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@ryanatkn/fuz_code/-/fuz_code-0.6.0.tgz", + "integrity": "sha512-SNITnq++Ys3rM3VUNAPO+t57BuSt4SGFYn9n/MmCO+rnPQZt3HNshWPuF5knNZVLOdzqu6uglY//IX3Ge2aZTg==", + "dev": true, + "engines": { + "node": ">=20.10" + }, + "peerDependencies": { + "prism-svelte": "*", + "prismjs": "*", + "svelte": "*" + } + }, + "node_modules/@ryanatkn/gro": { + "version": "0.112.0", + "resolved": "https://registry.npmjs.org/@ryanatkn/gro/-/gro-0.112.0.tgz", + "integrity": "sha512-xReYQlRqWyjgBDKWdoe4WSwRLN4HJfyTXFgFKuCn3Wjn9M65/WUcwdkksBeFqK/EHPqg5VTvJT/GO2uFv8Jq7Q==", "dev": true, "dependencies": { - "@types/json-schema": "^7.0.6", - "@types/lodash": "^4.14.168", - "json-schema-ref-parser": "^9.0.6", - "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.20" + "@ryanatkn/belt": "^0.20.1", + "chokidar": "^3.5.3", + "dotenv": "^16.3.1", + "es-module-lexer": "^1.4.1", + "kleur": "^4.1.5", + "mri": "^1.2.0", + "prettier": "^3.1.1", + "prettier-plugin-svelte": "^3.1.2", + "tiny-glob": "^0.2.9", + "ts-morph": "^21.0.1", + "tslib": "^2.6.2", + "zod": "^3.22.4" + }, + "bin": { + "gro": "dist/gro.js" }, "engines": { - "node": ">=10.0.0" + "node": ">=20.10" + }, + "peerDependencies": { + "esbuild": "^0.19", + "svelte": "*" } }, "node_modules/@ryanatkn/orc": { - "version": "0.17.0", - "resolved": "https://registry.npmjs.org/@ryanatkn/orc/-/orc-0.17.0.tgz", - "integrity": "sha512-cnf8AwZQCucWBG273I3e7D6M8ylUmffPZ1+GeQVP5gUMFxJcadib6K/gzACUFFqxzY0nUoGA6Vp0HdGG4UMhyg==", + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/@ryanatkn/orc/-/orc-0.18.0.tgz", + "integrity": "sha512-jABm0LCuDyeZLG9vXF3WmXxRwrkKq8dpOlzlCZkT5ujECshdPaXcKvtOnBGtMagnfn0b+IIaqYDlwMlDVwAxRQ==", "dev": true, "engines": { - "node": ">=20.7" + "node": ">=20.10" }, "peerDependencies": { "@sveltejs/kit": "*", @@ -1148,12 +1086,6 @@ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true }, - "node_modules/@types/lodash": { - "version": "4.14.202", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz", - "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==", - "dev": true - }, "node_modules/@types/prismjs": { "version": "1.26.3", "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.3.tgz", @@ -1545,12 +1477,6 @@ "node": "*" } }, - "node_modules/call-me-maybe": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", - "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", - "dev": true - }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -1790,15 +1716,15 @@ } }, "node_modules/dotenv": { - "version": "16.3.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", - "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", + "version": "16.4.4", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.4.tgz", + "integrity": "sha512-XvPXc8XAQThSjAbY6cQ/9PcBXmFoWuw1sQ3b8HqUCR6ziGXjkTi//kB9SWa2UwqlgdAIuRqAa/9hVljzPehbYg==", "dev": true, "engines": { "node": ">=12" }, "funding": { - "url": "https://github.com/motdotla/dotenv?sponsor=1" + "url": "https://dotenvx.com" } }, "node_modules/es-module-lexer": { @@ -2437,19 +2363,6 @@ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", "dev": true }, - "node_modules/json-schema-ref-parser": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-9.0.9.tgz", - "integrity": "sha512-qcP2lmGy+JUoQJ4DOQeLaZDqH9qSkeGCK3suKWxJXS82dg728Mn3j97azDMaOUmJAN4uCq91LdPx4K7E8F1a7Q==", - "deprecated": "Please switch to @apidevtools/json-schema-ref-parser", - "dev": true, - "dependencies": { - "@apidevtools/json-schema-ref-parser": "9.0.9" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -2462,12 +2375,6 @@ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "dev": true }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true - }, "node_modules/keyv": { "version": "4.5.4", "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", @@ -2535,12 +2442,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", diff --git a/package.json b/package.json index 5a6c97c7c..3cbe99629 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "@fuz.dev/fuz", + "name": "@ryanatkn/fuz", "version": "0.81.0", - "description": "design system for CSS, Svelte, and SvelteKit", + "description": "UI library for Svelte and SvelteKit", "icon": "🧢", "public": true, "license": "MIT", @@ -13,10 +13,10 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/fuz-dev/fuz.git" + "url": "git+https://github.com/ryanatkn/fuz.git" }, "bugs": { - "url": "https://github.com/fuz-dev/fuz/issues", + "url": "https://github.com/ryanatkn/fuz/issues", "email": "mail@ryanatkn.com" }, "type": "module", @@ -38,12 +38,11 @@ }, "devDependencies": { "@changesets/changelog-git": "^0.2.0", - "@feltjs/eslint-config": "^0.4.1", - "@fuz.dev/fuz_code": "^0.5.0", - "@fuz.dev/fuz_dialog": "^0.6.0", - "@fuz.dev/fuz_library": "^0.23.0", - "@grogarden/gro": "^0.108.0", - "@ryanatkn/orc": "^0.17.0", + "@ryanatkn/belt": "^0.20.3", + "@ryanatkn/eslint-config": "^0.1.0", + "@ryanatkn/fuz_code": "^0.6.0", + "@ryanatkn/gro": "^0.112.0", + "@ryanatkn/orc": "^0.18.0", "@sveltejs/adapter-static": "^3.0.1", "@sveltejs/kit": "^2.0.6", "@sveltejs/package": "^2.2.5", @@ -65,7 +64,7 @@ }, "eslintConfig": { "root": true, - "extends": "@feltjs", + "extends": "@ryanatkn", "rules": { "no-console": 1 } @@ -88,11 +87,64 @@ ] }, "exports": { + "./Alert.svelte": { + "svelte": "./dist/Alert.svelte", + "default": "./dist/Alert.svelte", + "types": "./dist/Alert.svelte.d.ts" + }, + "./alert.js": { + "default": "./dist/alert.js", + "types": "./dist/alert.d.ts" + }, + "./Breadcrumb.svelte": { + "svelte": "./dist/Breadcrumb.svelte", + "default": "./dist/Breadcrumb.svelte", + "types": "./dist/Breadcrumb.svelte.d.ts" + }, + "./Card.svelte": { + "svelte": "./dist/Card.svelte", + "default": "./dist/Card.svelte", + "types": "./dist/Card.svelte.d.ts" + }, "./Color_Scheme_Input.svelte": { "svelte": "./dist/Color_Scheme_Input.svelte", "default": "./dist/Color_Scheme_Input.svelte", "types": "./dist/Color_Scheme_Input.svelte.d.ts" }, + "./Contextmenu_Entry.svelte": { + "svelte": "./dist/Contextmenu_Entry.svelte", + "default": "./dist/Contextmenu_Entry.svelte", + "types": "./dist/Contextmenu_Entry.svelte.d.ts" + }, + "./Contextmenu_Link_Entry.svelte": { + "svelte": "./dist/Contextmenu_Link_Entry.svelte", + "default": "./dist/Contextmenu_Link_Entry.svelte", + "types": "./dist/Contextmenu_Link_Entry.svelte.d.ts" + }, + "./Contextmenu_Submenu.svelte": { + "svelte": "./dist/Contextmenu_Submenu.svelte", + "default": "./dist/Contextmenu_Submenu.svelte", + "types": "./dist/Contextmenu_Submenu.svelte.d.ts" + }, + "./Contextmenu_Text_Entry.svelte": { + "svelte": "./dist/Contextmenu_Text_Entry.svelte", + "default": "./dist/Contextmenu_Text_Entry.svelte", + "types": "./dist/Contextmenu_Text_Entry.svelte.d.ts" + }, + "./Contextmenu.svelte": { + "svelte": "./dist/Contextmenu.svelte", + "default": "./dist/Contextmenu.svelte", + "types": "./dist/Contextmenu.svelte.d.ts" + }, + "./contextmenu.js": { + "default": "./dist/contextmenu.js", + "types": "./dist/contextmenu.d.ts" + }, + "./Copy_To_Clipboard.svelte": { + "svelte": "./dist/Copy_To_Clipboard.svelte", + "default": "./dist/Copy_To_Clipboard.svelte", + "types": "./dist/Copy_To_Clipboard.svelte.d.ts" + }, "./deployments.json": { "default": "./dist/deployments.json", "types": "./dist/deployments.json.d.ts" @@ -101,10 +153,111 @@ "default": "./dist/deployments.task.js", "types": "./dist/deployments.task.d.ts" }, + "./Devmode_Controls.svelte": { + "svelte": "./dist/Devmode_Controls.svelte", + "default": "./dist/Devmode_Controls.svelte", + "types": "./dist/Devmode_Controls.svelte.d.ts" + }, + "./devmode.js": { + "default": "./dist/devmode.js", + "types": "./dist/devmode.d.ts" + }, + "./Dialog.svelte": { + "svelte": "./dist/Dialog.svelte", + "default": "./dist/Dialog.svelte", + "types": "./dist/Dialog.svelte.d.ts" + }, + "./dialog.js": { + "default": "./dist/dialog.js", + "types": "./dist/dialog.d.ts" + }, + "./Dialogs.svelte": { + "svelte": "./dist/Dialogs.svelte", + "default": "./dist/Dialogs.svelte", + "types": "./dist/Dialogs.svelte.d.ts" + }, + "./Github_Logo.svelte": { + "svelte": "./dist/Github_Logo.svelte", + "default": "./dist/Github_Logo.svelte", + "types": "./dist/Github_Logo.svelte.d.ts" + }, + "./helpers.js": { + "default": "./dist/helpers.js", + "types": "./dist/helpers.d.ts" + }, + "./Hue_Input.svelte": { + "svelte": "./dist/Hue_Input.svelte", + "default": "./dist/Hue_Input.svelte", + "types": "./dist/Hue_Input.svelte.d.ts" + }, + "./Library_Footer.svelte": { + "svelte": "./dist/Library_Footer.svelte", + "default": "./dist/Library_Footer.svelte", + "types": "./dist/Library_Footer.svelte.d.ts" + }, + "./Library_Header.svelte": { + "svelte": "./dist/Library_Header.svelte", + "default": "./dist/Library_Header.svelte", + "types": "./dist/Library_Header.svelte.d.ts" + }, + "./Library_Menu.svelte": { + "svelte": "./dist/Library_Menu.svelte", + "default": "./dist/Library_Menu.svelte", + "types": "./dist/Library_Menu.svelte.d.ts" + }, + "./Library_Nav.svelte": { + "svelte": "./dist/Library_Nav.svelte", + "default": "./dist/Library_Nav.svelte", + "types": "./dist/Library_Nav.svelte.d.ts" + }, + "./Library_Panel.svelte": { + "svelte": "./dist/Library_Panel.svelte", + "default": "./dist/Library_Panel.svelte", + "types": "./dist/Library_Panel.svelte.d.ts" + }, + "./Library_Vocab.svelte": { + "svelte": "./dist/Library_Vocab.svelte", + "default": "./dist/Library_Vocab.svelte", + "types": "./dist/Library_Vocab.svelte.d.ts" + }, + "./Library.svelte": { + "svelte": "./dist/Library.svelte", + "default": "./dist/Library.svelte", + "types": "./dist/Library.svelte.d.ts" + }, "./orc.task.js": { "default": "./dist/orc.task.js", "types": "./dist/orc.task.d.ts" }, + "./Package_Detail.svelte": { + "svelte": "./dist/Package_Detail.svelte", + "default": "./dist/Package_Detail.svelte", + "types": "./dist/Package_Detail.svelte.d.ts" + }, + "./package_meta.js": { + "default": "./dist/package_meta.js", + "types": "./dist/package_meta.d.ts" + }, + "./Package_Summary.svelte": { + "svelte": "./dist/Package_Summary.svelte", + "default": "./dist/Package_Summary.svelte", + "types": "./dist/Package_Summary.svelte.d.ts" + }, + "./Pending_Animation.svelte": { + "svelte": "./dist/Pending_Animation.svelte", + "default": "./dist/Pending_Animation.svelte", + "types": "./dist/Pending_Animation.svelte.d.ts" + }, + "./Pending_Button.svelte": { + "svelte": "./dist/Pending_Button.svelte", + "default": "./dist/Pending_Button.svelte", + "types": "./dist/Pending_Button.svelte.d.ts" + }, + "./Redirect.svelte": { + "svelte": "./dist/Redirect.svelte", + "default": "./dist/Redirect.svelte", + "types": "./dist/Redirect.svelte.d.ts" + }, "./style.css": { "default": "./dist/style.css" }, @@ -112,6 +265,11 @@ "default": "./dist/swallow.js", "types": "./dist/swallow.d.ts" }, + "./Teleport.svelte": { + "svelte": "./dist/Teleport.svelte", + "default": "./dist/Teleport.svelte", + "types": "./dist/Teleport.svelte.d.ts" + }, "./Theme_Input.svelte": { "svelte": "./dist/Theme_Input.svelte", "default": "./dist/Theme_Input.svelte", @@ -142,6 +300,20 @@ "default": "./dist/themes.js", "types": "./dist/themes.d.ts" }, + "./Tome_Detail.svelte": { + "svelte": "./dist/Tome_Detail.svelte", + "default": "./dist/Tome_Detail.svelte", + "types": "./dist/Tome_Detail.svelte.d.ts" + }, + "./Tome_Title.svelte": { + "svelte": "./dist/Tome_Title.svelte", + "default": "./dist/Tome_Title.svelte", + "types": "./dist/Tome_Title.svelte.d.ts" + }, + "./tome.js": { + "default": "./dist/tome.js", + "types": "./dist/tome.d.ts" + }, "./variables.js": { "default": "./dist/variables.js", "types": "./dist/variables.d.ts" diff --git a/src/lib/Alert.svelte b/src/lib/Alert.svelte new file mode 100644 index 000000000..73155ea8a --- /dev/null +++ b/src/lib/Alert.svelte @@ -0,0 +1,55 @@ + + +{#if button} + +{:else} +
+ {#if icon !== null}
+ {final_icon} +
{/if} +
+{/if} + + diff --git a/src/lib/Breadcrumb.svelte b/src/lib/Breadcrumb.svelte new file mode 100644 index 000000000..acaef70da --- /dev/null +++ b/src/lib/Breadcrumb.svelte @@ -0,0 +1,53 @@ + + + + + diff --git a/src/lib/Card.svelte b/src/lib/Card.svelte new file mode 100644 index 000000000..007dc0a4b --- /dev/null +++ b/src/lib/Card.svelte @@ -0,0 +1,112 @@ + + + + {#if align === 'left' || align === 'above'}
+ {icon} +
{/if} +
+ {#if align === 'right' || align === 'below'}
+ {icon} +
{/if}
+ + diff --git a/src/lib/Contextmenu.svelte b/src/lib/Contextmenu.svelte new file mode 100644 index 000000000..87923ece3 --- /dev/null +++ b/src/lib/Contextmenu.svelte @@ -0,0 +1,302 @@ + + + + + + +{#if !custom_layout} +
+{/if} + +{#if open} + + {#each $contextmenu.params as p (p)} + + {/each} + +{/if} + + diff --git a/src/lib/Contextmenu_Entry.svelte b/src/lib/Contextmenu_Entry.svelte new file mode 100644 index 000000000..c88778260 --- /dev/null +++ b/src/lib/Contextmenu_Entry.svelte @@ -0,0 +1,56 @@ + + + + + + + diff --git a/src/lib/Contextmenu_Link_Entry.svelte b/src/lib/Contextmenu_Link_Entry.svelte new file mode 100644 index 000000000..723213a6c --- /dev/null +++ b/src/lib/Contextmenu_Link_Entry.svelte @@ -0,0 +1,46 @@ + + + + +
  • + contextmenu.close()}> +
    +
    πŸ”—
    +
    + {text} +
    +
    +
    +
  • + + diff --git a/src/lib/Contextmenu_Submenu.svelte b/src/lib/Contextmenu_Submenu.svelte new file mode 100644 index 000000000..81eeac1fa --- /dev/null +++ b/src/lib/Contextmenu_Submenu.svelte @@ -0,0 +1,109 @@ + + +
  • + +
  • + + diff --git a/src/lib/Contextmenu_Text_Entry.svelte b/src/lib/Contextmenu_Text_Entry.svelte new file mode 100644 index 000000000..f2a6642a7 --- /dev/null +++ b/src/lib/Contextmenu_Text_Entry.svelte @@ -0,0 +1,15 @@ + + + + {icon} + {content} + diff --git a/src/lib/Copy_To_Clipboard.svelte b/src/lib/Copy_To_Clipboard.svelte new file mode 100644 index 000000000..84eb67468 --- /dev/null +++ b/src/lib/Copy_To_Clipboard.svelte @@ -0,0 +1,40 @@ + + +
    + + {#if copied}copied!{/if} + {#if failed}failed{/if} +
    + + diff --git a/src/lib/Devmode_Controls.svelte b/src/lib/Devmode_Controls.svelte new file mode 100644 index 000000000..c0d479ce2 --- /dev/null +++ b/src/lib/Devmode_Controls.svelte @@ -0,0 +1,18 @@ + + + diff --git a/src/lib/Dialog.svelte b/src/lib/Dialog.svelte new file mode 100644 index 000000000..991cd9b78 --- /dev/null +++ b/src/lib/Dialog.svelte @@ -0,0 +1,202 @@ + + + + + + { + // Measure `padding-right` before adding the class that changes it, + // so we can set the body padding to offset any scrollbar width changes. + const computed_padding_right = + Number( + window.getComputedStyle(document.body).getPropertyValue('padding-right').slice(0, -2), + ) || 0; // just in case the parsed value is NaN + const width_before = document.body.clientWidth; + document.body.classList.add(ROOT_DIALOG_OPEN_CLASS); + const width_after = document.body.clientWidth; + const width_diff = width_after - width_before; + if (width_diff > 0) { + // Offset scrollbar width changes. + document.body.style.setProperty( + ROOT_DIALOG_PADDING_PROPERTY, + width_diff + computed_padding_right + 'px', + ); + } + ready = true; + dialog_el.focus(); // TODO make this more declarative? probably want to focus only after moving though, not on mount, which makes an action trickier + }} +> +